Giter Site home page Giter Site logo

Comments (4)

ChuckJonas avatar ChuckJonas commented on September 1, 2024

@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.

weinand avatar weinand commented on September 1, 2024

@ChuckJonas are you inspecting large data structures?

from vscode-node-debug.

ChuckJonas avatar ChuckJonas commented on September 1, 2024

Yes, it was about 2mb in size. I switched to the experimental debugger and everything is good now.

from vscode-node-debug.

weinand avatar weinand commented on September 1, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.