[
https://issues.apache.org/jira/browse/CB-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285582#comment-13285582
]
Steve Sims commented on CB-612:
-------------------------------
Thanks Olivier, that patch is a distinct improvement over the default cordova
logging output.
The remote inspector would still be more useful, since it allows browsing
objects rather than just outputting [object Object] - however any improvement
is welcome.
> 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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira