[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [platform-dev] generic editor and breakpoints | 
That sounds like a good aproach, I'll play around with that, currently 
there is the problem that my adapter is called and also 
canToggleBreakpoints is called but the method toggleBreakpoints is never 
called so there still seem some magic missing here :-)
Am 14.09.21 um 14:49 schrieb Alexander Fedorov via platform-dev:
Since debug.ui already depends on generic editor via 
"org.eclipse.ui.genericeditor.hoverProviders" extension, the additional 
code could go to debug.ui bundle directly.
Regards,
AF
9/14/2021 2:40 PM, Christoph Läubrich пишет:
I'd like to provide breakpoints for an editor based on the Generic 
Editor.
As far as I understand there is currently no support for this kind of 
usage but I still like to ask if there are anything out there to be 
reused, any work in progress. If not I could try to add basic support 
for this if there are no objections.
From [1] it seems the very first step would be to add a adapter 
factory to register IToggleBreakpointsTarget to target the generic 
editor for a given content type...
As currently generic editor does not depend on debug.ui, should this 
ne functionality go into a separate plugin or is it okay to extend the 
scope of generic editor to debug.ui?
[1] 
https://www.eclipse.org/articles/Article-Debugger/how-to.html#Breakpoints
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev