-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug pauses, callstack not available #24348
Comments
I had some code with the "co" library, lot's of generator and promises, |
Could you post a simple code example that reproduces the problem? |
@Eli-Goldberg does it make a difference if you set the "protocol" to "inspector"? |
@Eli-Goldberg in VS Code 1.12.0 "inspect" is only used for node >= 8.0. |
With the old "legacy" protocol, the node debugger of VS Code will most likely run into callstack timeouts if there are big data structures kept in local variables or passed as parameters. |
@weinand Thanks that's right, the tooltip got me confused: I will do the check with inspector. |
Yes, that's a bit confusing: node >= 6.3 already supports the new protocol but we are only auto detecting it for versions >= 8.0. /cc @roblourens |
That is due to an unfortunate Node bug, nodejs/node#11589, which I think should be fixed in Node 7.8. I don't think it should continue stopping there after removing breakpoints, but I guess it would be part of the same issue. Regarding the fact that 'auto' only uses inspector for v8+, that's a good point. Maybe the label of 'auto' should reflect this... |
@roblourens |
Glad that worked. I think we can close this issue then right? |
VSCode Version:
Version 1.12.0-insider
Commit 77df764
Date 2017-04-07T06:09:22.690Z
OS Version: Ubuntu 16.04
Debug protocol: "Auto (inspect, Node 7.7.1)"
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: