You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Patrick Mueller (JIRA)" <ji...@apache.org> on 2015/01/24 23:52:35 UTC
[jira] [Commented] (CB-8359) JavaScript errors do not show in
console
[ https://issues.apache.org/jira/browse/CB-8359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290856#comment-14290856 ]
Patrick Mueller commented on CB-8359:
-------------------------------------
I think I had experimental support this at one point, via {{window.onerror}} or some such. Some quick experiments running weinre on the built-in demo on my laptop, and using chrome dev tools on the demo web page to monkey with things, this no longer works. I know there were some problems with this in the past, the support I might have had may have actually caused other issues.
Off top of my head, I don't know how to catch these kinds of things, but if you know of a way to do that, we can wire it into a console.log invocation.
> JavaScript errors do not show in console
> ----------------------------------------
>
> Key: CB-8359
> URL: https://issues.apache.org/jira/browse/CB-8359
> Project: Apache Cordova
> Issue Type: Bug
> Components: weinre
> Reporter: Raymond Camden
> Assignee: Patrick Mueller
>
> Given a simple error:
> function blah() {
> doX(); // doX isn't defined
> }
> The error does not show up in the console. Other things, like basic console.log('foo') messages show up fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org