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 40424 - Server status is not updated during debugging
Summary: Server status is not updated during debugging
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-24 15:52 UTC by L Martinek
Modified: 2004-02-26 10:26 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 L Martinek 2004-02-24 15:52:35 UTC
I noticed that server node in Server Registry has
now status. However this status is not updated
when you run debugger. The server is running in
debug mode, but status is 'stopped'.
Comment 1 Nam Nguyen 2004-02-24 23:09:13 UTC
The reason is that the update of state depends on
ServerInstance.isRunning() calls.  With debugger,
ServerInstance.getStartServer().isDebuggable(target) is called
instead.  The fix is to write ServerInstance.isDebugging() to wrap
isDebuggle() call and if isAlsoTargetServer(target) then do same thing
as isRunning doing.
Comment 2 Martin Grebac 2004-02-25 09:43:40 UTC
Fixed in trunk - status is refreshed now when server starts in debug mode.
http://j2eeserver.netbeans.org/source/browse/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java.diff?r1=1.24&r2=1.25

Nam, I believe you have been thinking of a different thing - adding
info that server is started in debug mode - this is an enhancement. I
asked Libor to file an enhancement for this, I don't think we must
have it in this release.
Comment 3 L Martinek 2004-02-25 10:34:28 UTC
Enhancement filled as issue #40449.
Comment 4 L Martinek 2004-02-26 10:26:52 UTC
verified