Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Breakpoint not installed
Breakpoint not installed [message #286091] Thu, 02 June 2005 05:55 Go to next message
Eclipse UserFriend
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
Re: Breakpoint not installed [message #286123 is a reply to message #286091] Thu, 02 June 2005 17:29 Go to previous message
Eclipse UserFriend
Create the breakpoints before you launch your program.

Darin

"Karsten Lehmann" <KarstenLehmann@web.de> wrote in message
news:7669dcb7567f0cd5ca314506b99c8bf4$1@www.eclipse.org...
> 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
>
Previous Topic:MarkerImageProvider
Next Topic:3.1RC1 pde build failing on os fragments
Goto Forum:
  


Current Time: Fri May 09 18:59:44 EDT 2025

Powered by FUDForum. Page generated in 0.03276 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top