Skip to content

Debugger Step Over into skipFiles #118282

@re4388

Description

@re4388

VS Code Version:

Version: 1.54.1 (user setup)
Commit: f30a9b7
Date: 2021-03-04T22:38:31.419Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Windows_NT x64 10.0.18363

OS Version:

  • win10 1909

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

Steps to Reproduce:

  1. npm install -g @angular/cli
  2. ng new my-dream-app
  3. cd my-dream-app
  4. ng serve

launch.json setting (both 2 settings are not working)

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "pwa-chrome",
      "request": "launch",
      "name": "Launch Chrome",
      "url": "http://localhost:4200",
      "webRoot": "${workspaceFolder}",
      "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "${workspaceFolder}/lib/**/*.js",
        "<node_internals>/**/*.js"
      ],
    }
  ]
}
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "pwa-chrome",
      "request": "launch",
      "name": "Launch Chrome",
      "url": "http://localhost:4200",
      "webRoot": "${workspaceFolder}",
      "skipFiles": [
        "${workspaceFolder}/node_modules/**/*.js",
        "${workspaceFolder}/lib/**/*.js",
        "<node_internals>/**/*.js"
      ],
      "sourceMaps": true,
      "sourceMapPathOverrides": {
        "webpack:/*": "${webRoot}/*",
        "/./*": "${webRoot}/*",
        "/src/*": "${webRoot}/*",
        "/*": "*",
        "/./~/*": "${webRoot}/node_modules/*"
      }
    }
  ]
}
  1. set breakpoint
    image

  2. Start debuggining by click the below panel
    image

7.Stop at breakpoint
image

  1. After 3 Step Over, we end up in the below screenshot (sometimes, it seems to skip, but sometimes not)
    On the right, we see those files are indeed skipped in the call stack? But the Step Over still stop inside the file.
    image

--

I apologize for my mistake if this is more about Angular specific not Vscode, but I think maybe Vscode debugger shall work as well?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions