Hello
I have written a plugin for eclipse that launch a java program
programmiticly. This java program i want to debug with the eclipse on
board resources.
I use the DebugUITools to launch my java program.
getDisplay().asyncExec(new Runnable() {
public void run() {
DebugUITools.launch(configuration, ILaunchManager.DEBUG_MODE);
}
});
At one class in my started program i have set a java line breakpoint with
the JDIDebugModel. I can see the breakpoint in my class, but sometimes the
program stops not at the breakpoint position. It seems that if i launch
the program the breakpoint will not installed fast enough. Then the
program runs without to stop at the breakpoint line.
What can i do, that when i launch the program first all breakpoints will
be installed? I have to ensure that my breakpoint will be hit.
FYI:
I use eclipse 3.0.2