eclipse-epsilon / epsilon

Epsilon is a family of Java-based scripting languages for automating common model-based software engineering tasks, such as code generation, model-to-model transformation and model validation, that work out of the box with EMF (including Xtext and Sirius), UML (including Cameo/MagicDraw), Simulink, XML and other types of models.
https://eclipse.org/epsilon
Eclipse Public License 2.0
67 stars 10 forks source link

[DAP] Add an option to stop at all statements on a line breakpoint #132

Closed agarciadom closed 3 weeks ago

agarciadom commented 1 month ago

Since we added support for inline breakpoints, we changed how line breakpoints work to match their behaviour in traditional programming languages, which stop right before the first statement on that line, and no more.

This poses a problem for people who may want to debug the second statement on a line and who are using an IDE that doesn't support inline breakpoints yet (like Eclipse via LSP4E).

We could add a "Line breakpoints stop on all statements" option that we could pass at initialize() time, which would return to the original behaviour of stopping at every statement on a given line.

agarciadom commented 3 weeks ago

This is implemented as of 4b3f2f5b9.