Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Enable Debug in Custom Editor(Enabling debug (toolbar/menu) commands in a custom [not JavaEditor] editor)
Enable Debug in Custom Editor [message #1711125] Tue, 13 October 2015 06:05 Go to next message
Eclipse UserFriend
I've created a custom editor that is based on TextEditor (so nothing to do with JavaEditor). I'm trying to enable debugging with in this editor but I'm not able to work out how to hook into the debug toolbar.

Ideally I'd enable the toolbar [buttons] when Debug is run and handle the events myself as they come in although there could be other ways.

Does anyone have any ideas?
Re: Enable Debug in Custom Editor [message #1712961 is a reply to message #1711125] Thu, 29 October 2015 11:11 Go to previous message
Eclipse UserFriend
The following article provides a [rather awkward] demo but it contains enough information to enable debugging in a custom editor (including toggle breakpoints, breakpoint and debug views): https://www.eclipse.org/articles/Article-Debugger/how-to.html

Note: You may need to open the Debug view and select your launch delegate from the list in order for the debug toolbar to enable correctly.
Previous Topic:SWT Browser on Windows
Next Topic:Event.{x,y} are zero
Goto Forum:
  


Current Time: Sun Aug 31 22:24:30 EDT 2025

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

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

Back to the top