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 241188 - Disabled "Debug > Finish Debugger Session" even though application is running
Summary: Disabled "Debug > Finish Debugger Session" even though application is running
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 16:33 UTC by Jiri Kovalsky
Modified: 2014-02-03 09:57 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 Jiri Kovalsky 2014-01-30 16:33:32 UTC
Mac OS X Mountain Lion, development build #201401300001 of NetBeans IDE 8.0 running on JDK 8 EA build #125

Description:
============
It took ages to start the AnagramGame application in debugging mode but then I was not able to finish it via "Debug > Finish Debugger Session" menu item, because it was disabled. The only workaround was to hit the "Stop" button in "Output" tab.

Steps to reproduce:
===================
1. Launch NetBeans 8.0 on JDK 8 on Mac OS X.
2. Create AnagramGame sample project and switch to "Files" view.
3. Invoke "Debug Target > run" on "build.xml" file.
4. After the debugger stops at line 35, toggle line 36 breakpoint and push "Continue".
5. Once the breakpoint is hit, push "Continue" again.
6. Wait until the application is started.
7. Try killing the application via "Debug > Finish Debugger Session" but the menu item is disabled.
Comment 1 Martin Entlicher 2014-01-31 15:48:14 UTC
Reproduced.
Comment 2 Jiri Kovalsky 2014-01-31 16:40:07 UTC
I just want to add that this is not Mac OS X specific issue. I was able to reproduce it on Windows 7 too.
Comment 3 Martin Entlicher 2014-01-31 21:32:36 UTC
Fixed by changeset:   271478:3e4a3cecd201
http://hg.netbeans.org/core-main/rev/3e4a3cecd201
Comment 4 Quality Engineering 2014-02-02 02:17:38 UTC
Integrated into 'main-silver', will be available in build *201402020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3e4a3cecd201
User: mentlicher@netbeans.org
Log: #241188: Handle the finish action in a better way.
Comment 5 Jiri Kovalsky 2014-02-03 09:57:33 UTC
Verified in development build #201402030001. Thanks for the fix.