You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Malumbo Chipeta (JIRA)" <ji...@apache.org> on 2015/12/21 11:05:46 UTC
[jira] [Created] (CB-10230) [WP8] Out of memory exception thrown
when console.log added to cordova/exec function
Malumbo Chipeta created CB-10230:
------------------------------------
Summary: [WP8] Out of memory exception thrown when console.log added to cordova/exec function
Key: CB-10230
URL: https://issues.apache.org/jira/browse/CB-10230
Project: Apache Cordova
Issue Type: Bug
Components: WP8
Affects Versions: 3.8.2
Reporter: Malumbo Chipeta
Assignee: Jesse MacFadyen
1. Create a new WP8 Cordova project in Visual Studio (I used the 2015 version)
2. Press F5 to start debugging the project
3. Notice that the project runs without any issues
4. Stop debugging
5. Open cordova.js
6. Search for 'window.external.Notify'
7. Insert 'console.log("Command: " + command);' before Notify is called
8. Press F5
9. Notice that an out of memory exception is thrown (console.log calls cordova/exec which in turns calls console.log again, so an infinite loop is entered, and the loop is only broken when the out of memory exception is thrown)
--
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