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 - Prompt "Is the server running in debug mode buttons are reversed
Summary: Prompt "Is the server running in debug mode buttons are reversed
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2007-11-12 16:22 UTC by conwayd
Modified: 2009-06-15 08: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 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.