Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » [Debug + GMF] Displaying debugger annotations on a diagram
[Debug + GMF] Displaying debugger annotations on a diagram [message #648577] Thu, 13 January 2011 15:01
Marin  rli? is currently offline Marin rli?Friend
Messages: 35
Registered: October 2009

I'm implementing a debugger for a graphical DSL implemented in GMF (hence the crosspost to GMF/Debug groups).

I'm wondering what would be the proper/best way to display current instruction pointer annotation during debugging/stepping in a GMF-based editor?

I;ve implemented debug model presentation extension with both IDebugModelPresentation and IDebugEditorPresentation, and my GMF editor is opened during source lookup, and IDebugEditorPresentation.addAnnotations() gets called when displaying stack frame.

In addAnnotations(), I can tell the editor to select and reveal elements on a diagram using their ID, I guess I could also add decorations to them, but in order to do so, I need to modify the editor. I'd rather have something loosely coupled because I don't own all editors in the project.

Any ideas? Smile Is there a way to have the entire annotation system in the debug plugins, the same way it's done in the org.eclipse.debug.ui for text editors?

Previous Topic:pydev plugin installs but not operational on Windows7
Next Topic:DragSourceListener.dragSetData() never called
Goto Forum:

Current Time: Thu Jan 21 08:27:31 GMT 2021

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

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

Back to the top