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.
Created attachment 142647 [details] IDE log Please check this screenshot, debugging is paused on the first line but I have no other option than to Stop debugging, other controls are disabled. It happened when I had following Java code: ... engine.eval("function hi(){\nvar a = 'PROSPER'.toLowerCase(); \nmiddle(); \nprint('Live long and' + a)}\n function middle(){\n var b = 1; for(var i=0, max = 5; i<max;i++){\nb++;\n}\n print('b is '+b);}"); ... now on this line with engine.eval(), I had line breakpoint and once it was hit, I pressed Step Into twice, at this moment <eval>.js was opened with debugger paused at the first line, so I pressed Step Into. And now the only option I can do is to stop debugging. I'm attaching 3 thread dumps taken ~25 sec apart each other. It is not always reproducible, but it happen very often Product Version: NetBeans IDE Dev (Build 201311270002) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b59 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b117 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Created attachment 142648 [details] thread dumps
Created attachment 142650 [details] screenshot
It really happens a bit often, also basically all debugger-related windows (like Call stack, Variables, Breakpoints) are then stuck on "please wait"
The thread dump shows, that there is some watch being evaluated. But the watch evaluation does not end. This is why the debugger can not proceed with anything. Can you recall what expression do you have in watches? Reducing to P3 for now. This does not seem to be a real bug in debugger implementation...
I don't remember but I'll try to find it out during this week.
Using the snippet from description, to reproduce please try: - add line breakpoint to line with engine.eval() - debug project - once it stops on engine.eval(), press Step Into twice so debuggers stops on 1st line of <eval> - add following 2 watches: a b - finish debugging - debug project - once it stops on engine.eval(), press Step Into twice so debuggers stops on 1st line of <eval> - press Step Into => now you can only finish debugging. It seems like you need both watches to reproduce it. Product Version: NetBeans IDE Dev (Build 201401060002) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b65 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)