Breakpoints kill debugger
Issue Type: Bug
Setting a breakpoint kills or prevents debugger from running.
scenario 1:
- set breakpoint in a file
- start debugging
- watch preLaunchTask run successfully
- once preLaunchTask completes, debug console comes into focus
- debugger stops.
scenario 2:
- have no breakpoints set
- start debugging
- debugger starts successfully, api is running
- set breakpoint
- debugger stops
Extension I think is in question: Omnisharp C# Extension version: 1.19.0 VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:20:22.771Z) OS version: Linux x64 5.0.0-13-generic
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen 7 1700 Eight-Core Processor (16 x 1501) |
| GPU Status | 2d_canvas: enabled 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: disabled_software surface_synchronization: enabled_on video_decode: unavailable_off webgl: enabled webgl2: enabled |
| Load (avg) | 5, 2, 1 |
| Memory (System) | 31.40GB (24.15GB free) |
| Process Argv | --unity-launch |
| Screen Reader | no |
| VM | 0% |
@seanmccay I see that you are on Linux. Are you on Ubuntu 19.04 (or a downstream OS)? If so, I am guessing you are running into https://github.com/OmniSharp/omnisharp-vscode/issues/3010 and you should install the latest beta which has a fix.
Otherwise, can you try enabling logging?
@gregg-miskelly I am on Pop!_OS 19.04. I installed the beta and my problem has been resoved :). I was having all kinds of weird problems before, but I'm not seeing them now. Thanks.
I get something like your first issue on windows 11. Setting focus to another window, (alt tab) and then back to vs code will make omnisharp debugger work again for this debugging session.