You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Olivier Louvignes (JIRA)" <ji...@apache.org> on 2013/05/27 17:48:19 UTC

[jira] [Commented] (CB-612) Add support for native remoteInspector logging

    [ https://issues.apache.org/jira/browse/CB-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667815#comment-13667815 ] 

Olivier Louvignes commented on CB-612:
--------------------------------------

Any news on this? I'm currently trying to disable cordova's hijack of console in a regular chrome.

Tried this:

console.useConsole(true);
console.log('test');
RangeError: Maximum call stack size exceeded

Any ideas?
                
> Add support for native remoteInspector logging
> ----------------------------------------------
>
>                 Key: CB-612
>                 URL: https://issues.apache.org/jira/browse/CB-612
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>            Reporter: Olivier Louvignes
>            Assignee: Patrick Mueller
>              Labels: debugging, ios
>
> Currently, when using the awesome remote debugger provided by apple (connecting on localhost:9999 with safari) with :
> // enable remote debugging
> #if TARGET_IPHONE_SIMULATOR
> [NSClassFromString(@"WebView") _enableRemoteInspector];
> #endif
> I do not get any console log/warn/error output. I guess it is caused by the Xcode logging adaptater.
> The remote webinspector is really superior to Weinre currently as it does provide realtime dom inspection (weinre only displays initial dom, not what was built by Sencha Touch for instance).
> Also I've seen that you have made some progress on error tracing (CB-535), this would be also awesome as it is a really major issue. Since playing with api's that can't be debugged via a desktop Webkit is a real nightmare today.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira