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 - Debug Project is disabled after clicking this action
Summary: Debug Project is disabled after clicking this action
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 206208
  Show dependency tree
 
Reported: 2012-05-22 15:52 UTC by stefan79
Modified: 2012-05-24 02:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Video while debugging is disabled. (2.86 MB, video/x-ms-wmv)
2012-05-22 15:52 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
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.