eclipse-lsp4e / lsp4e

Language Server Protocol support in Eclipse IDE
Eclipse Public License 2.0
67 stars 55 forks source link

Add support for conditional/inline breakpoints #1136

Open agarciadom opened 1 month ago

agarciadom commented 1 month ago

In the Eclipse Epsilon project, we've switched to using LSP4E for our debugging, which is now based on a DAP debug adapter. We've recently added support for conditional and inline breakpoints to our debug adapter, which work fine from VS Code, but we don't see a way to expose this functionality via LSP4E.

Would you be open to a contribution from us with a first stab at adding support for conditional breakpoints? We think that it could be possible to add a "Condition" property to LSP4E breakpoints, and reuse it from the appropriate DAP calls.

mickaelistria commented 1 month ago

Would you be open to a contribution from us with a first stab at adding support for conditional breakpoints?

Of course, yes!