Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions: Breakpoints #178

Open
uberkael opened this issue Dec 3, 2023 · 2 comments
Open

Suggestions: Breakpoints #178

uberkael opened this issue Dec 3, 2023 · 2 comments

Comments

@uberkael
Copy link

uberkael commented Dec 3, 2023

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
Copy link
Owner

Do you mean add them like a snippet?

@uberkael
Copy link
Author

uberkael commented Dec 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants