Comments (4)
@weinand I just started having this issue... When I try to inspect certain elements, VS-code becomes unresponsive and my CPU shoots up to 100% & memory jump to over a 1 gb.
Then I'll get an error:
messageService.ts:128 Request 'continue' was cancelled because Node.js is unresponsive.: Error: Request 'continue' was cancelled because Node.js is unresponsive.
at file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:88:22168
at Object.v [as _notify] (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:31:8549)
at Object.enter (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:31:12054)
at _run (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:31:13375)
at _error (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:31:12892)
at file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:83:9407
at t.e.dispatch (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:83:10752)
at t.e.handleData (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:83:10264)
at Socket.<anonymous> (file:////Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:83:9267)
at emitOne (events.js:96:13)```
and eventually things will calm back down. I can never actually get the inspected variable to show. After VS-Code starts to respond again I just see `<...>` for the value of the variable I tried to inspect.
The program itself runs fine on its own, so I don't think it's a memory leak on my end (could be wrong but I also have reverted back to code that I know I was able to debug and it's still happening)
from vscode-node-debug.
@ChuckJonas are you inspecting large data structures?
from vscode-node-debug.
Yes, it was about 2mb in size. I switched to the experimental debugger and everything is good now.
from vscode-node-debug.
@ChuckJonas yes, the old v8 debug protocol cannot deal with large data structures.
Closing, since we cannot do much about this in the old debugger.
from vscode-node-debug.
Related Issues (20)
- Debug restart, breakpoint will automatically jump to unknown line HOT 4
- "legacy" is still the default for attach
- Local root property in nested config file HOT 1
- Debugging meteor with sourcemaps: package-name with colons crash discovery HOT 6
- Need to ensure that log folder exists HOT 1
- smartStep should only skip unmapped lines in files that have sourcemaps
- Simplify generated launch.json HOT 3
- Cannot embed node-debug in other module layouts HOT 1
- Releases do not contain vsix extention HOT 8
- Support showing numbers as hex HOT 1
- Unable to do npm i HOT 1
- Calculate name for attached processes HOT 1
- debug.node.autoAttach=0 results in high CPU on Windows HOT 2
- autoAttachChildProcesses looses uncaught exception output HOT 1
- Auto Attach not working in VsCode when debugging a simple node js application HOT 2
- Cannot view static variables when debuger is paused HOT 1
- SIGKILL sent instead of SIGINT on stop of Debug HOT 1
- Support Workspace Trust HOT 1
- Support virtual workspaces
- Auto attach fails when pid is greater than 6 digits. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-node-debug.