Slippery Breakpoint, Stops then Continues by Itself [message #329418] |
Mon, 23 June 2008 17:01 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: geoff.roberts.qinteiq-na.com
All,
I have a situation where my program stops at a breakpoint, then execution
continues of its own accord with no action on my part. No errors are
thrown. I don't get it.
The class in question is in an OSGi plug in. It also spawns a thread by
implementing runnable. It is under the execution of the spawned thread
(in the run() method) where the slippery breakpoint occurs. The line
with the breakpoint highlights in the debugger then the highlight
disappears. The code seems to run correctly under run; break points work
properly before the thread is spawned.
What's wrong with this picture?
Here's how I'm spawning the thread:
go(){
Thread th = new Thread(this);
th.start();
}
Here's where its giving me trouble:
run() {
...
slippery breakpoint set here.
...
}
|
|
|
Powered by
FUDForum. Page generated in 0.02858 seconds