Skip to content

Slow call stack response for TS repository #5645

@isidorn

Description

@isidorn

Steps to Reproduce:

  1. git clone https://github.com/Microsoft/TypeScript.git
  2. npm install, npm install jake
  3. jake local
  4. set breakpoint in checker.ts:47
  5. Use the following launch.json
  6. Launch and notice getting call stack is slower than node inspector
  7. I originally specualted the large Locals are slowing us down, but they are loaded lazily and still the callStack takes a long time to respond. Not sure if we are doing something special on the debug adapter side for the call stack request
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "node",
            "request": "launch",
            "program": "${workspaceRoot}/src/compiler/tsc.ts",
            "stopOnEntry": false,
            "args": ["PATH TO ANY TS FILE"],
            "cwd": "${workspaceRoot}",
            "preLaunchTask": null,
            "runtimeExecutable": null,
            "runtimeArgs": [
                "--nolazy"
            ],
            "env": {
                "NODE_ENV": "development"
            },
            "externalConsole": false,
            "sourceMaps": true,
            "outDir": "${workspaceRoot}/built/local"
        }
    ]
}

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions