Skip to content

Crash with large source maps #1911

@segevfiner

Description

@segevfiner

Describe the bug
On trying to debug using the "JavaScript Debug Terminal", a project that has quite a bunch of very large source maps, the debugger, debug adapter & extension host crash with: "Debug adapter process has terminated unexpectedly (Extension host shut down)".

To Reproduce
Steps to reproduce the behavior:

  1. Debug a project with very large source maps using the "JavaScript Debug Terminal".

My project is proprietary, so I can't provide it directly as a repro, but I will see if I can mock something similar that exhibits the same behavior if you can't figure out what's going on from logs alone.

Log File

vscode-debugadapter-28a26b60.json.gz

It also sometimes produces a cpuprofile in the "Window" log of VS Code:
image
exthost-d35bd5.cpuprofile

VS Code Version: 1.85.1

Additional context
Wasn't able to figure out exactly why it crashes. As in, if it hangs the extension host, and gets terminated by something, OOM, or something else... Any ideas how to figure this out?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions