Skip to content

Breakpoint hit -> window gets focused -> VS Code freezes for some time #123257

Closed
@ghost

Description

  • VS Code Version: 1.56.0
  • OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

  1. Set breakpoint in js.-file
  2. Launch debug-session in browser (all breakpoints in dev-mode disabled)
  3. Switch to browser window
  4. Maximize browser (because it is just half open)
  5. Hit breakpoint
  6. VSCode blinks in taskbar -> switch back to it
  7. VSCode freezes and waits for something

Hints:

  • By avoiding step 4, this issue doesn't occur.
  • Minimizing and maximizing VSCode while its freezed solves this issue.
  • This issue also happens in insider-version of VSCode.

Does this issue occur when all extensions are disabled?: Yes

Launch configuration (no, this problem is not related to brave, it happens also in google chrome):

{
    "name": "Browser debug",
    "request": "launch",
    "type": "pwa-chrome",
    "runtimeExecutable": "C:/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe",
    "runtimeArgs": ["--remote-debugging-port=9222"],
    "url": "http://127.0.0.1:5000",
    "webRoot": "${workspaceFolder}\\memory-viewer\\server",
    "pathMapping": {
        "/css": "${workspaceFolder}\\memory-viewer\\server\\static\\css",
        "/app": "${workspaceFolder}\\memory-viewer\\server\\static\\app",
        "/js": "${workspaceFolder}\\memory-viewer\\server\\static\\js"
    }       
},

Metadata

Metadata

Assignees

Labels

chromiumIssues and items related to ChromiumdebugDebug viewlet, configurations, breakpoints, adapter issueselectronIssues and items related to Electronelectron-17-updateIssues related to electron 17 updateinsiders-releasedPatch has been released in VS Code InsidersupstreamIssue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-pendingIssues that are caused by chromium but have not been reported due to pending minimal reproverifiedVerification succeededwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions