|[Debug + GMF] Displaying debugger annotations on a diagram [message #648577]
||Thu, 13 January 2011 10:01
| Marin rli?
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? 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?
Powered by FUDForum
. Page generated in 0.01516 seconds