-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
VSCode should only reset breakpoints after save when already debugging #8077
Comments
Assigning first to @weinand to add protocol additions - if all looks good there then I can make changes on the vscode side. |
@nojvek please correct me if I'm wrong but the purpose of the
|
Hi Andre, That is true. It's basically signaling the debugAdapter that the sourcemaps The premise is this: The v8 vm, chakra, clr and newer VMs can hot load source with their debug On Friday, June 24, 2016, Andre Weinand [email protected] wrote:
|
@isidorn here are the details: If breakpoints are changed and ...
In both cases the result status returned from the |
@weinand sounds good, assigning to me so I look into it on the vscode side |
@weinand just to clarify, if the auto save is turned on then the source is never dirty, sourceModified is false and requests are issued immedtly? |
@isidorn even with auto save turned on there is a short period of time (500ms?) where the file is dirty and where breakpoints should not be updated. So I suggest that the two cases are not treated differently. Breakpoints are always updated after the next save. I'll add the |
Here's a proposal for debugAdapters to support Edit on Idle, Edit and Continue scenarios.
Only reset the breakpoints after the file has been saved rather than every keystroke.
Notify the debugAdapter with an extra afterEdit:true arg in setBreakpoints
The debugAdapter can then asynchronously come back when it the new edited code is all mapped.
The text was updated successfully, but these errors were encountered: