Bug 5871 - VMDisconnectedException notification on resume
Summary: VMDisconnectedException notification on resume
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 5113 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-13 17:09 EST by Jared Burns CLA
Modified: 2001-11-19 20:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jared Burns CLA 2001-11-13 17:09:30 EST
Everytime the user resumes a program which quickly exits, a
VMDisconnectedException is thrown from the JDI client. When we receive this
exception, we either dump it to the console or throw up an error dialog.

We should handle this gracefully.
Comment 1 Jared Burns CLA 2001-11-13 17:20:54 EST
JDIThread now catches the VMDisconnected exception and deals with it gracefully.
In addition, the JDIDebugTarget now makes a real distinction between
isTerminated and isDisconnected. Finally, JDIModelPresentation has been updated
to display "<disconnected>" on JDIDebugTargets which disconnected instead of
terminating.
Comment 2 Jared Burns CLA 2001-11-13 17:21:06 EST
Please verify.
Comment 3 Jared Burns CLA 2001-11-14 11:03:25 EST
*** Bug 5113 has been marked as a duplicate of this bug. ***
Comment 4 Darin Wright CLA 2001-11-14 23:15:49 EST
Re-openning
Comment 5 Darin Wright CLA 2001-11-14 23:16:37 EST
We discussed a re-work of the "disconnect" - it's implementation should be 
moved up to the JDIDebugElement. There are many cases were we want to handle 
the disconnect in the same manor.
Comment 6 Jared Burns CLA 2001-11-15 10:13:49 EST
Fixed as part of 5792.
Comment 7 Jared Burns CLA 2001-11-15 10:14:01 EST
Please verify.
Comment 8 Darin Wright CLA 2001-11-19 20:11:25 EST
Verified.