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 52497 - Debugging session is not closed when you run project during debugging
Summary: Debugging session is not closed when you run project during debugging
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-15 14:35 UTC by Jiri Skrivanek
Modified: 2006-03-24 13:14 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 Skrivanek 2004-12-15 14:35:25 UTC
If you debugging and then you try to run project,
it should ask if you want to close debugging
session. At least this is the defalt behaviour
with Tomcat server. With application server in
tries to run project and debugging session is
still active. To reproduce:

- create a web application
- add breakpoint to index.jsp
- start debugger and wait until breakpoint is reached
- call action 'Run Project' => it tries to start
server but it freezes until you don't continue
with debugging.

Build 200412141900, JDK1.5.0_01, WindowsXP,
SJSAppServer PE 8.1 2005Q1.
Comment 1 Jiri Skrivanek 2004-12-15 15:58:57 UTC
The same also applies to the case when you want start another
debugging session on the same server. It should ask whether you want
to close previous session.
Comment 2 _ ludo 2005-01-05 00:37:57 UTC
Martin: what is special in tomcat plugin to do that and not AS 8 plugin?
Comment 3 Martin Grebac 2005-01-05 09:07:15 UTC
Don't expect any difference here ... when run is invoked, we compare
debug info from debugging session with debug info taken from server,
so these two probably do not correspond. Will check.
Comment 4 Martin Grebac 2005-01-11 17:05:21 UTC
Works for me in latest builds, but perhaps I missed something.
Comment 5 Jiri Skrivanek 2005-01-12 11:31:58 UTC
Yes, it seems to be fixed. But I found that cycle Debug-Run-Debug get
stuck. Maybe this is related maybe not. I will file a different issue.
Comment 6 Jiri Skrivanek 2005-01-12 11:32:27 UTC
Verified.