incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-612) Add support for native remoteInspector logging
Date Tue, 01 May 2012 13:01:48 GMT

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

Patrick Mueller commented on CB-612:
------------------------------------

One of the fixes for https://issues.apache.org/jira/browse/CB-348 should be to always delegate
to the existing console functions, if available AS WELL AS call our own overrides.  I think/hope
this may fix THIS particular issue.

There are actually a number of issues with "real remote inspector" usage within Cordova apps
- or actually anywhere.  Not sure I want to deal with this in Cordova proper - I think a better
place to hack on this would be the plugin that Shaz pointed to.  Pull requests accepted!

I will add a little note that if indeed you are seeing that ??"weinre only displays initial
dom, not what was built by Sencha Touch for instance"??, then that's a weinre bug.  Way back
when, the dom was not updated in a useful way, but it should be now.
                
> Add support for native remoteInspector logging
> ----------------------------------------------
>
>                 Key: CB-612
>                 URL: https://issues.apache.org/jira/browse/CB-612
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Olivier Louvignes
>            Assignee: Shazron Abdullah
>              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

        

Mime
View raw message