Bug 6659 - stepping out of main produces "VMDisconnected" dialog
Summary: stepping out of main produces "VMDisconnected" dialog
Status: RESOLVED DUPLICATE of bug 7804
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: 2.0 M4   Edit
Assignee: Jared Burns CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-06 16:36 EST by Darin Wright CLA
Modified: 2002-02-26 14:29 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 Darin Wright CLA 2001-12-06 16:36:14 EST
On Linux, when a user steps out of a main method, the VM throws a disconnected 
exception. This does not happen on other platforms. The result is that an error 
dialog appears describing the "VMDisconnect" exception, but there are no bad 
side effects (the debug target then appears as terminated, as expected).

Unsure of good fix, as this is a special case of "if stepping out of main, and 
on Linux, ignore disconnect exception". 

Problem occurred on IBM 1.3.0 VM cx130-20010502.
Comment 1 Darin Wright CLA 2001-12-06 17:09:25 EST
Problem does not occurr on JDK1.4
Comment 2 Mike Wilson CLA 2001-12-07 09:44:42 EST
Does the VM really disconnect when you step out of main, or does it disconnect 
when there are no more running threads? It actually doesn't seem unreasonable 
to disconnect in the latter case.

Easiest fix: Add a "Print stack trace on VM disconnect" option and clear it by 
default.

Comment 3 Jared Burns CLA 2002-02-26 14:29:03 EST

*** This bug has been marked as a duplicate of 7804 ***