-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
How to remove action button and add new action button in breakpoints viewlet's action bar? #106263
Comments
Are you writing an extension or? |
For my need I opened a DAP proposal (microsoft/debug-adapter-protocol#137) since it was a generic behavior and adding a button to the breakpoints view would not have been sufficient -- I also wanted to show these breakpoints, which is a large surface area that's not contributable to right now. I wonder if @Nina0408 will face the same issue... |
Thanks @isidorn My second issue is after the debug session ended, the debuggee file (with some breakpoints on it) will be deleted by our code logic, and at the next time, I will reload a new file with the same name and same content, the previous added breakpoints will not displayed on this new file when start debugging? so I guess the breakpoints information will be deleted when the file is deleted? am I right? If I want to keep the breakpoints information and re-use it at next time , Can I take over the breakpoint management from vscode? Thanks! |
@Nina0408 yes, VS Code deletes breakpoints when the underlying file is deleted (or renamed). @isidorn please correct me if my suggestions from above are incorrect. |
@weinand Thank you for your suggestion, I will try this API vscode.debug.addBreakpoint. |
@weinand yes you are correct. |
Hi @weinand , As you suggested, use API So when the debuggee file is deleted, I plan to save the breakpoints line number list into a local file. But after I checked the api doc as below: The keys of input parameter "Breakpoint" as below, There is no key for line number which is required to indicate the breakpoint location. Please advice, Thanks!! |
|
@weinand I see, Thank you very much! |
Hi there,
I have some requests as below:
I have not found any doc about it, Please help, Thanks very much!
The text was updated successfully, but these errors were encountered: