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.

Bug 248973

Summary: Missing Finish debugger session button if JavaSE is not activated
Product: javascript Reporter: Vladimir Riha <vriha>
Component: Node.js DebuggerAssignee: Martin Entlicher <mentlicher>
Status: REOPENED ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description Vladimir Riha 2014-11-28 10:18:42 UTC
If I have a full distro with ergonomics and only HTML5 is activated, then once I'm debugging NodeJS project (sample Messages), then main toolbar is missing the "Finish debugger session" button. Once I activate JavaSE, the button is displayed.

Thank you


Product Version: NetBeans IDE Dev (Build 201411280001)
Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Martin Entlicher 2014-11-28 12:45:10 UTC
The client-side web JavaScript debugger does not provide the "Finish debugger session" action, because debugging is activated as a side-effect of run. However, node.js debugger provides the action and the toolbar button should be visible. When node.js debugger starts up, I have the "Finish debugger session" action in the toolbar and it works as expected. I do not have J2SE activated.
Is the problem reproducible also when you start node.js debugger via "Debug File" action?
Comment 2 Vladimir Riha 2014-11-28 13:30:41 UTC
I'll try it in a moment. This happened to me when I invoked Debug on project via context menu
Comment 3 Vladimir Riha 2014-11-28 14:43:34 UTC
I'm sorry, I cannot reproduce it anymore. I'll keep trying (when the toolbar button was missing, I was still able to finish debugging session from Debug menu)
Comment 4 Vladimir Riha 2014-12-28 17:23:10 UTC
I've just seen it again. The button is missing also after invoking Debug File action.

Could it be caused by importing settings? What I did this time:
 - downloaded trunk build, full distro
 - installed Dark Look & Feel plugin
 - created HTML/JS project to activate HTML/JS
 - imported settings from [1]
 - opened project with NodeJS, debugged project

[1] https://drive.google.com/file/d/0B6Sd5ov8j7IUd25obTZQbkRRTnc/view?usp=sharing


Product Version: NetBeans IDE Dev (Build 201412270001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-43-generic running on amd64; UTF-8; en_US (nb)
Comment 5 Vladimir Riha 2014-12-28 17:23:25 UTC
Created attachment 151300 [details]
IDE log
Comment 6 Martin Entlicher 2015-03-25 14:59:21 UTC
I've tried to follow the steps, including import of the settings, but it still behaves correctly for me.
The only case when the kill action disappears is when I finish the node.js debugger and the Easel debugger (client-side) is still running.

It's true, that it might be confusing, that the client-side process can not be easily finished. But it's not only about debugging, the browser connection brings also DOM browser, etc. When closing the browser, or canceling the NetBeans connector plugin, it finishes the debugger, DOM browser, etc.