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 121750

Summary: Prompt "Is the server running in debug mode buttons are reversed
Product: javaee Reporter: conwayd <conwayd>
Component: DebuggerAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: blocker Keywords: SIMPLEFIX
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description conwayd 2007-11-12 16:22:23 UTC
I had started glassfish in debugging mode before running.

When attempting to debug an Enterprise Application the Prompt "Is server running in debug mode" displays.

When I answer "Yes" the response "Either stop the server or re-start it in running mode" displays

When I answer "No"  the application runs in debug mode correctly.
Comment 1 David Konecny 2007-11-13 09:01:28 UTC
I noticed that too. Thanks for report.
Comment 2 Martin Entlicher 2009-06-12 08:23:12 UTC
I do not get such dialog in 6.7 build. 
If I start the server from within NetBeans, it probably knows if the server was started in debug mode or not, because it
restarts the server when I run Debug.
When I start the server externally from console, Debug fails with error java.net.ConnectException: Connection refused
Comment 3 Martin Entlicher 2009-06-12 08:37:57 UTC
However, I've found the problem in the code and corrected it in changeset:   134917:75cf17124898
http://hg.netbeans.org/main/rev/75cf17124898

If someone is able to verify, please do so.
Comment 4 Quality Engineering 2009-06-15 08:57:31 UTC
Integrated into 'main-golden', will be available in build *200906150201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/75cf17124898
User: mentlicher@netbeans.org
Log: #121750 - The messages logic is corrected.