-
Notifications
You must be signed in to change notification settings - Fork 27.9k
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
TypeError: Cannot read property 'onError' of undefined #58847
Comments
(Experimental duplicate detection) |
Not a duplicate of any of those issues. |
I also encountered this issue trying to debug a C# netcoreapp2.0. |
Unfortunately, in the latest insiders (d59d9f5) it's still broken. |
I just ran a test on another machine. I was able to launch and debug a .net core app just fine. The one difference I noticed was in this system I have the LiveShare extension installed and loaded. As a test, I disabled the LiveShare extension and attempted to run the app. This time I received the TypeError error. I re-enabled LiveShare and was able to run the app again. I'm pretty sure I have LiveShare extension disabled on the other system where I noticed this. A further test of completely uninstalling the LiveShare extension lets me run and debug my app just fine. Re-installing LiveShare returns to the above conditions (disabled == TypeError) So it looks like even though LiveShare is disabled, something is causing a crash when attempting to run. |
I have the same problem, which began approximately 24 hours ago. I had the same problem with the red flame mentioned above about 1 week ago. I uninstalled omnisharp and also deleted references to it on the file system, then reinstalled it. That seemed to fix it. |
@jtsom I have checked and found no such extension. |
I accidentally broke the legacy command based mechanism ( Funny enough avoids an installed LiveShare extension the problem because it uses an alternative (and not broken) approach for the |
I encoured the same problem. |
C++ and C# debugging works again in the latest Insiders. |
It works for me too, thank you! |
It works for me as well. Thanks! |
Issue Type: Bug
When trying to start a C# application using the debugger, the above message is displayed in an alert and the below is generated in the debugging tools:
VS Code version: Code - Insiders 1.28.0-insider (7fcd81c, 2018-09-17T09:30:49.336Z)
OS version: Darwin x64 17.7.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
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Extensions (12)
(3 theme extensions excluded)
The text was updated successfully, but these errors were encountered: