Skip to content

debug.breakpoints always returns empty list after reopening vscode #130138

@GYK90

Description

@GYK90

Issue Type: Bug

problem summary

As title. debug.breakpoints always returns empty list after I reopen vscode.

Reproduce steps:

  1. in a webview, create a button. Add callback to the button so that after clicking the button, console.log this:
    debug.breakpoints
  2. open a python file and put some breakpoints in it. Make sure they are enabled. Then close vscode.
  3. open vscode. Make sure the breakpoints are still enabled. Then click the button in step one.

Expected:
console.log should show some Breakpoints in an Array.

Actual result:
There are no breakpoints in the Array.
If I click the button for second time, console.log shows the correct breakpoints in the Array.

VS Code version: Version: 1.55.2021071201
OS: Darwin x64 20.5.0
OS version: macOS Big Sur version 11.4 (20F71)

Metadata

Metadata

Assignees

Labels

debtCode quality issuesdebugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions