Bug 54335 - Debug UI - can not break on OutOfMemoryError
Summary: Debug UI - can not break on OutOfMemoryError
Status: RESOLVED DUPLICATE of bug 53095
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 12:45 EST by Carolyn MacLeod CLA
Modified: 2004-03-10 13:03 EST (History)
0 users

See Also:


Attachments
Add Java Exception Breakpoint dialog (740.37 KB, image/bmp)
2004-03-10 12:48 EST, Carolyn MacLeod CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2004-03-10 12:45:25 EST
I tried to add a breakpoint to catch java.lang.OutOfMemoryError, but the Add 
Java Exception Breakpoint dialog won't let me. It says that the selected type 
is not a subclass of Throwable, but it most certainly is...
So as a quick experiment, I looked at some of the *Exception* classes that are 
displayed in the list in the dialog, and it appears that OutOfMemoryError 
isn't the only one that is incorrectly labelled as "not a subclass of 
Throwable" - there's a whole bunch of them. I think there's a bug in the code 
that checks whether Throwable is a superclass.
Comment 1 Carolyn MacLeod CLA 2004-03-10 12:48:23 EST
Created attachment 8472 [details]
Add Java Exception Breakpoint dialog

In case it helps, here's a snap of the dialog not letting me add
OutOfMemoryError. Forgot to say I'm running in eclipse build 200403100800 on
WinXP.
Comment 2 Darin Wright CLA 2004-03-10 13:03:02 EST

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