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
NEW Debugging extension & lsp server issues #60809
Comments
(Experimental duplicate detection) |
@eamodio thanks for creating this issue. Step over continues instead of steps sounds like an old node issue @weinand would know better |
@isidorn unfortunately the projects aren't currently open source. Is there other logging or something I can provide? Or can you point me where to look in the code to try to debug? |
@eamodio let's first try to figure out why there are duplicated sessoins in the dropdown In case the above really happens, we need to figure out why the Other issues might be coming from this one, so let's first fix it. |
@isidorn I debugged it a bit -- and see that when I start the first debugging session (before the attach) there are 2 sessions in that array -- and they are identical references |
@isidorn it looks like the issue is after the debug session starts an EXTENSION_ATTACH_BROADCAST_CHANNEL event is fired here: Which then re-adds the same session again. |
@eamodio thanks a lot for investigating, really appreciate it. |
@isidorn Sweet -- debugging is working again! |
Great, thanks for letting us know it is good and for filling great issues. |
I should also note that I was able to fix my issues with stepping (i.e. not stepping just running each time I tried to step in or over) by switching my webpack config to use |
@roblourens @weinand fyi regarding last comment |
Issue Type: Bug
Starting in today's insiders build, I'm running into lots of issues when debugging my extension and attaching to its associated lsp server.
First when debugging the extension and attached to the lsp server, it causes the debugging drop down to contain a duplicate item for the extension:
Also when debugging the extension and attached to the lsp server, the call stack for the lsp server doesn't even show up anymore.
I've also seen other issue where stepping over or into a function, just basically runs rather than stepping, but I can't pin that down as it doesn't happen all the time - unlike the issues above.
//cc @isidorn
VS Code version: Code - Insiders 1.29.0-insider (931c220, 2018-10-12T05:17:15.739Z)
OS version: Windows_NT x64 10.0.18252
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: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: