Coder Social home page Coder Social logo

Comments (9)

roblourens avatar roblourens commented on September 28, 2024

I am patching the unhandled error but I would appreciate if you can get a log for the next time you see this, because I think it would imply that VS Code is asking for the wrong variables reference at the time, or that the DA has lost the reference.

from vscode-chrome-debug-core.

eamodio avatar eamodio commented on September 28, 2024

Will keep an eye out for it.

from vscode-chrome-debug-core.

eamodio avatar eamodio commented on September 28, 2024

@roblourens It happened again (though I know your fix isn't live yet), here is the log:

vscode-node-debug2.txt

from vscode-chrome-debug-core.

roblourens avatar roblourens commented on September 28, 2024

Thanks! Yeah FYI @isidorn, the DA paused, and sent scopes to vscode, then resumed, then paused again, and vscode sent a variables request for one of the original scopes, when it should have sent a scopes request.

It could be a race, but vscode did ask for the new stackTrace, so it knew that the DA was paused again at that point.

from vscode-chrome-debug-core.

isidorn avatar isidorn commented on September 28, 2024

We update the variables tree with a slight timeout, so that could in theory explain this.

from vscode-chrome-debug-core.

roblourens avatar roblourens commented on September 28, 2024

It sounds like something changed though, because I don't remember seeing this before, and now it has been reported a few times.

from vscode-chrome-debug-core.

isidorn avatar isidorn commented on September 28, 2024

I did an rewirte from Promises to async/await, that might have caused some timing issue in theory.
Though if there are steps that would be great

from vscode-chrome-debug-core.

roblourens avatar roblourens commented on September 28, 2024

It doesn't sound like anyone is able to repro it 100% consistently but there is a log above if it helps.

from vscode-chrome-debug-core.

Elias-Graf avatar Elias-Graf commented on September 28, 2024

Edit 2
Just checked the console and this might be related (no idea if it helps)?
ERR File not found (/Contents/Resources/app/extensions/ms-vscode.node-debug2/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js): Error: File not found (/Contents/Resources/app/extensions/ms-vscode.node-debug2/node_modules/vscode-chrome-debug-core/out/src/chrome/chromeDebugAdapter.js) at S.resolve (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1555:706)

Edit
Nope, nevermind now it's gone... weird.

I'm having the same issue but not consistent. I will see how I can replicate it, but in my case, it seems to occur after (quite some time) the actual code throws an error.

from vscode-chrome-debug-core.

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.