Breakpoints: Go to File [message #202891] |
Fri, 27 February 2004 06:01  |
Eclipse User |
|
|
|
Originally posted by: kneipe.gmx.de
Hi again,
just a short question this time.
I have Breakpoints implemented for my small debugging tool. They show up
in the Breakpoints view.
Now I want to implement the "Go to File" mechanism. I just can't get, what
and where I have to start. The option is there by standard but I don't
know where it leads, which method it calls, which interface or method I
have to implement, ...
Thanx a lot,
Tobias
|
|
|
Re: Breakpoints: Go to File [message #203012 is a reply to message #202891] |
Fri, 27 February 2004 09:16  |
Eclipse User |
|
|
|
The action used to "open a breakpoint" can be found in
org.eclipse.debug.internal.ui.actions.OpenBreakpointMarker. The following
approach is used: the debug model presentation associated with a
breakpoint's debug model is queried for an editor input and editor id that
can be used to open an appropriate editor. The editor is then positioned
using the standard IDE mechansim to "goto" a marker.
Darin
"Tobias Kneiphoff" <kneipe@gmx.de> wrote in message
news:c1n82b$quu$1@eclipse.org...
> Hi again,
>
> just a short question this time.
>
> I have Breakpoints implemented for my small debugging tool. They show up
> in the Breakpoints view.
>
> Now I want to implement the "Go to File" mechanism. I just can't get, what
> and where I have to start. The option is there by standard but I don't
> know where it leads, which method it calls, which interface or method I
> have to implement, ...
>
> Thanx a lot,
>
> Tobias
>
|
|
|
Powered by
FUDForum. Page generated in 0.06554 seconds