Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Breakpoints: Go to File
Breakpoints: Go to File [message #202891] Fri, 27 February 2004 06:01 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Reference request about PDE 3.0
Next Topic:Eclipse SecurityManager
Goto Forum:
  


Current Time: Sun May 11 14:37:27 EDT 2025

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

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

Back to the top