| Summary: | Frequent short-lived thread make debugger unusable | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Mario Cormier <w3aponx> |
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 2.0.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Mario Cormier
The debugger only shows source if the thread suspsneds. Does the thread suspend? If so, why? is there a breakpoint or exception being thrown? What happens is a ThreadDeath *Error*, which is Throwable but not a sub-class Exception. That's what threw me off. The pattern they seem to use is to launch a thread to cancel long running operations. If the operation completes within the acceptable time limit, the thread killer is simply stopped, which causes the ThreadDeath. Turning off "suspend on uncaught exception" fixes my problem, but a little more flexibility than all-or-nothing would be nice. Specifically I'm thinking of simply filtering out some special cases like that while still being notified of other uncaught exceptions. I know you can add breakpoints for specific exceptions, but that seems tedious if what you want is "all exceptions but these few". I'll leave it up to you to decide if you want to close this bug or turn it into an enhancement request. You did help me solve the problem at hand though. Thanks a lot. No plans to change this support for 2.1. Marking as later for future consideration. open for 3.1 |