cordova-issues 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-8359) JavaScript errors do not show in console
Date Sat, 24 Jan 2015 23:09:34 GMT

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

Patrick Mueller commented on CB-8359:
-------------------------------------

Also, there may be some special error handling support for the callback-y things that I hook,
like timers, XHRs, etc.  Because weinre is in the loop there.  ALWAYS RUN YOUR CODE IN A setTimeout(),
MAYBE????  :-)

> 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


Mime
View raw message