Comments (9)
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.
Will keep an eye out for it.
from vscode-chrome-debug-core.
@roblourens It happened again (though I know your fix isn't live yet), here is the log:
from vscode-chrome-debug-core.
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.
We update the variables tree with a slight timeout, so that could in theory explain this.
from vscode-chrome-debug-core.
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.
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.
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.
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)
- Rely upon Target domain instead of the json/list for page discovery and engagement
- Consider deprecating CRDPMultiplexor HOT 2
- Error processing "completions": Error: not available HOT 3
- Prerequisites for `setVariable` to work? HOT 9
- Hermes debugger problems HOT 6
- Is it possible to move location of ClientApp folder (or even change it's name)? HOT 1
- Improve multi-target debugging for Chrome/Node HOT 2
- Redundant inline breakpoints on Expo app debugging in VS Code HOT 5
- Error processing "breakpointLocations" HOT 10
- Add more exceptions handling for breakpoints position requests for inline breakpoints HOT 6
- Breakpoints sometimes don't get hit HOT 3
- Compile error with using [email protected] HOT 1
- Chrome debugger crashes immediately HOT 2
- Devtools opens automatically on launch and won't close HOT 1
- sourcemap failing inside vscode but working inside chrome devtools HOT 10
- sourceRoot override config HOT 10
- Error: EMFILE: too many open files
- Stack Trace shows localhost in links HOT 9
- consider adding vscode-debugger-extension-for-office-addins to the README.md 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-chrome-debug-core.