This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Mac OS X version 10.9.2 running on x86_64 Java; VM; Vendor = 1.7.0_25 Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01 So I have installed Cordova 3.4.1 and generated the example Hello application from the project template, I find though that I cannot get the tool to reliably hit any of the breakpoints - sometimes they get hit if I restart both the iOS simulator and the Netbeans I am using; but not always. I placed breakpoints both in index.js and in index.html. I did note the following output in the browser log: "Debugging session with browser was closed." Everything else, XCode etc is up to date on my machine. Note I also tried to follow this; but it didn't appear to work properly either with the google map never rendering in the browser. https://netbeans.org/kb/docs/webclient/cordova-gettingstarted.html
Created attachment 147188 [details] IDE log
Created attachment 147191 [details] Screen grab showing breakpoints added
I can randomly reproduce it when re-running project from NetBeans, then the simulator becomes black and web inspection does not start (thus debugging does not work either). In that case restarting only IDE does help
I updated ios-sim binary. Let's see if it helps.
changeset : 274995:e803e497f0c2 author : Jan Becicka <jbecicka@netbeans.org> date : Fri Jul 04 15:58:41 CEST 2014 summary : updated ios-sim
Thank you, I'll try it early next week.
Unfortunately, it seems like it didn't help. When you re-run project from IDE, Simulator goes still black and all inspection related windows are closed
... when the black screen happens, I can press Shift+Cmd+H (aka Home button) to "close" the application and now if you re-run it again from IDE, the application starts OK but still without inspection
sounds similar, https://github.com/phonegap/ios-sim/issues/86. Calling "killall launched_sim" before running app from IDE seems to help to avoid the black screen.
Changeset: f291a0deaf9c Author: Jan Becicka <jbecicka@netbeans.org> Date: 2014-07-16 13:38 Message: Black scree fix
I fixed the issue with black screen (thanks Vlada for workaround). Unfortunately I cannot reproduce the issue, that inspection did not start. I will keep trying...
Integrated into 'main-silver', will be available in build *201407170001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f291a0deaf9c User: Jan Becicka <jbecicka@netbeans.org> Log: Black scree fix Issue #244388 - Debug breapoints hardly ever hit
Changeset: 5965a83b053c Author: Jan Becicka <jbecicka@netbeans.org> Date: 2014-07-17 16:11 Message: Fixed hanging connections to iOS Simulator, added progress to show "connecting to device" and ability to cancel connection.
Integrated into 'main-silver', will be available in build *201407180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/5965a83b053c User: Jan Becicka <jbecicka@netbeans.org> Log: Fixed hanging connections to iOS Simulator, added progress to show "connecting to device" and ability to cancel connection. Issue #244388 - Debug breapoints hardly ever hit
Thank you, I've tried it maybe 10 times in a row and it works fine for me. The same if I close the application prior re-running from IDE. I'll try it with iOS Device tomorrow. Gerard, could you please try it as well? You can download Dev build from [1]. Thanks [1] http://bits.netbeans.org/netbeans/trunk/nightly/latest/ Product Version: NetBeans IDE Dev (Build 201407220001) Java: 1.7.0_65; Java HotSpot(TM) 64-Bit Server VM 24.65-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_65-b17 System: Mac OS X version 10.9.2 running on x86_64; UTF-8; en_US (nb)
I tried to test this with a build from today; but it deleted all my plugins so my project doesn't entirely work anymore. Is this a new bug - all the plugins had been added on the command line.