Hi,

See in the org.eclipse.jdt.debug.core model, it's possible to define
different types of breakpoint (inspect variable change, method entry...),
which are not necessarily built from a line number. And there seems to be
also no strong restriction in the debug model against putting multiple
breakpoints on the same line. However, it may render a bit weird in the UI
at the moment, but that may not be a blocker and would definitely be
something open to improvements.
For the case of adding a lambda entry breakpoint, you can probably get
inspired by JavaMethodEntryBreakpoint. Once the breakpoint is defined and
working as expected, another difficulty is to find a proper way to define
and configure it in the UI.

HTH
-- 
Mickael Istria
Eclipse IDE <https://www.eclipse.org/downloads/eclipse-packages/>
developer, for Red Hat Developers <https://developers.redhat.com/>
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to