nobody-famous / alive

Common Lisp Extension for VSCode
The Unlicense
203 stars 19 forks source link

Suggestions: Breakpoints #178

Open uberkael opened 10 months ago

uberkael commented 10 months ago

First, thanks for the extension!

I want to use breakpoints for debugging, but I understand some of the limitations. Usually, people just add a (break) to the code and compile/relaunch it.

I wonder if it should be possible to add them to the code using the UI (or VS keybindings) and the opposite (add symbols to the UI) with the written text. In this case, we can just send it to the REPL (or a terminal) without having to connect it to the LSP etc.

image

Maybe it will also be possible to add some conditionals to the breaks.

image

I'm not an expert in VSCode extensions but I think the breakpoint UI can be added with Breadcrumbsvscode/src/vs/workbench/contrib/debug/common/debug.ts - addBreakpoints

Maybe I can help. Thanks!

nobody-famous commented 10 months ago

Do you mean add them like a snippet?

uberkael commented 10 months ago

If you mean snippet working with the GUI, then yes.