-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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
Stepping through code with debugger not showing other file #68106
Comments
This is also happening if I run a node process (still jest) and then attach to it via {
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"processId": "${command:PickProcess}"
}, |
Does the callstack show up? It might help if you include a screenshot just to be totally clear about the state that the UI is in. |
Sure, here is a zipped mp4 (zipped gif was over 10MB limit still) even: I disabled all extensions prior to recording this. The call stack does show up but the variables are blank. As I hit the step into button, it takes a couple till it jumps to the |
Ok, so you click 'step in' and it doesn't open Table.js on the first step. You can see the row grayed out in the callstack. Could you set |
Maybe it's just jest but adding {
"type": "node",
"request": "attach",
"name": "Attach by Process ID",
"processId": "${command:PickProcess}",
"trace": true
},
{
"type": "node",
"request": "launch",
"name": "[BE] Jest Current File",
"program": "${workspaceFolder}/mydir/backend/node_modules/.bin/jest",
"cwd": "${workspaceFolder}/mydir/backend",
"args": ["${relativeFile}"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"trace": true
}, I get this output either way:
This is executing the jest bin that has |
The log path will be in the debug consol |
Or can you share the project? That would help too |
My bad, here is the log: debugadapter.txt |
The log just shows that the problem happened but I can't tell why it happened, unfortunately. Can you share the project? |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
Issue Type: Bug
debugger;
in a spec and run the launch config.The
debugger;
is stopped in the file you have active but as you are stepping into code from another file a tab does not automatically open (or switch to that tab if it is already open) but the debug bar still allows you to step into things and seems to work as expected, just vscode doesn't show you where the debugger currently is. If you already have a tab open, if you switch to that tab the debugger is not showing any information of where the debugger is so you have no idea where the debugger is.Since my example is using Jest, I am using version 24.0.0 but this was working just fine before this VSCode 1.31.0 release.
VS Code version: Code 1.31.0 (7c66f58, 2019-02-05T22:32:14.164Z)
OS version: Darwin x64 18.0.0
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: