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 212857

Summary: Debug Project is disabled after clicking this action
Product: projects Reporter: stefan79 <stefan79>
Component: Generic Projects UIAssignee: Jesse Glick <jglick>
Status: RESOLVED WONTFIX    
Severity: normal CC: mentlicher
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 206208    
Attachments: Video while debugging is disabled.

Description stefan79 2012-05-22 15:52:11 UTC
Created attachment 119740 [details]
Video while debugging is disabled.

When I click at "Debug Project", this Button is disabled.
So I can´t start a second Debug-Session.

When you click at an other file, the action is enabled again.

I´ve created a Screen-Video.
Comment 1 Martin Entlicher 2012-05-23 12:47:06 UTC
Thanks for the video. I've reproduced the problem.
Comment 2 Martin Entlicher 2012-05-23 14:29:43 UTC
The action is disabled because of "a.setEnabled(false);" call in ProjectAction.runSequentially()
The state of the action is reset after the action finishes by "a.resultChanged(null);" call. But it's too late in this case. The action finishes after debugger session ends.
Comment 3 Jesse Glick 2012-05-24 02:43:55 UTC
(In reply to comment #0)
> When I click at "Debug Project", this Button is disabled.
> So I can´t start a second Debug-Session.

Intentionally; see bug #206208. You can forcibly start a second session of the same project using the menu item etc.