Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] Support for adding multiple breakpoints in the same line.

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 developer, for Red Hat Developers

Back to the top