From callback-dev-return-7591-apmail-incubator-callback-dev-archive=incubator.apache.org@incubator.apache.org Wed May 30 13:23:23 2012 Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 93866930C for ; Wed, 30 May 2012 13:23:23 +0000 (UTC) Received: (qmail 75847 invoked by uid 500); 30 May 2012 13:23:23 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 75824 invoked by uid 500); 30 May 2012 13:23:23 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 75807 invoked by uid 99); 30 May 2012 13:23:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 May 2012 13:23:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 02C9614035C for ; Wed, 30 May 2012 13:23:22 +0000 (UTC) Date: Wed, 30 May 2012 13:23:22 +0000 (UTC) From: "Patrick Mueller (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <754200242.16117.1338384203013.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1247212316.12823.1335865130475.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-612) Add support for native remoteInspector logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13285648#comment-13285648 ] Patrick Mueller commented on CB-612: ------------------------------------ I'm mid-way through getting a better console into Cordova. The current plan, for iOS, is to implement a console object that both delegates to the original console, and writes to the new Logger plugin. With the sprintf() style expansion. I may be able to squeeze this in for 1.8. There are some additional plans, if you check the related bugs, on other platforms. Sorry about the pull requests - there's some magic whereby an email will show up in our list for pull requests, but that's the extent of the magic. We can't actually accept them, and the only thing to do - eventually - is for the submitter to close them. I either missed the pull request on the list, or it never made it to the list (broken magic). In any case, I think I have this functionality in the base at this point, so don't see the need to pull the commit. re: the unsupported remote inspector with the iOS 5.x simulator - I think you will find - but I'm not 100% sure - that the console just simply does not work there. There's a few other things that don't work as well. Even once we have the new console going (and delegating to the original console), it's STILL not going to show up in the remote web inspector. > 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