Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 123321 - Invisible breakpoint?
Summary: Invisible breakpoint?
Status: RESOLVED DUPLICATE of bug 44894
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: 3.1.1   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 16:28 EST by Jens Elkner CLA
Modified: 2006-01-11 08:36 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Elkner CLA 2006-01-10 16:28:31 EST
At the moment, using the debugger is a pain, since it always suspends the application, when a FileNotFoundException will be thrown (which is occurs very frequently, if resources are involved - like in TimeZone.getTimzone(id) or
several DateFormatters etc).

The strange thing is: there is no breakpoint enabled for this exception, i.e. the Breakpoint View does not contain any breakpoints! I even used the "remove all breakpoint" button, to be sure, that there is no breakpoint enabled.

So this bug gets driving me crazy! 

E.g. which shows this behavior:

public static void main(String[] args) throws Exception {
	String[] tz = TimeZone.getAvailableIDs();
	Arrays.sort(tz);
	for (int i=0; i < tz.length; i++) {
		int raw = TimeZone.getTimeZone(tz[i]).getRawOffset();
		System.out.println(tz[i] + " = " + raw/60000);
	}
}

Just running it as debug without setting a breakpoint will suspend the main thread several times!
Comment 1 Darin Wright CLA 2006-01-11 08:36:10 EST
There are preferences to suspend on uncaught exceptions. See "Java > Debug" preference page. Also see a bug asking to make these preferences into more visible breakpoint settings - bug 

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