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 269857 - Cannot run program multiple times consecutively
Summary: Cannot run program multiple times consecutively
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on: 242340
Blocks:
  Show dependency tree
 
Reported: 2017-02-17 17:30 UTC by augolini
Modified: 2017-04-04 12:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description augolini 2017-02-17 17:30:41 UTC
With a previous version of Netbeans I used to run my code by pressing the Run Project button, then changing something in the code, and run it again by pressing Run Project, while the first instance was still running.

Since I upgraded to version 8.2, when I run the code the first time and until execution ends, the Run Project button is grayed out and cannot be clicked. To enable it back I have to switch to another open source file, or click on another project. Then I can run it even before the first execution ends.
Comment 1 ilia 2017-04-04 10:11:56 UTC
This behavior was made intentionally. It was made to:
a) be consistent with Java
b) to solve UI-freeze issue [1]

You can run NetBeans with flag [2] to return the earlier behavior.
Please note that in that case you should avoid clean&building several projects simultaneously (see comments in bug [1])

[1] https://netbeans.org/bugzilla/show_bug.cgi?id=242340
[2] -J-Dorg.netbeans.modules.cnd.makeproject.parallel-build=true