
Steps to reproduce Debugger crashes
Abbreviations:
breakpoint (bkpt)
SS: (single-step)
JDWP (the Debugger)
R&D ('Run and Debug' (Ctrl+Shift+D) BREAKPOINTS sidebar panel)
Before launching the JDWP, open R&D.
Expand the BREAKPOINTS list:
Do either:
a. Clear the [x] checkbox for ALL programs which ARE NOT (your debug target) program,
b. Remove ALL bkpt items for other programs which ARE NOT (your debug target) program,
NOTE: If you forget to Add a bkpt for the target program, JDWP will execute to completion without stopping!
FEATURE REQUEST: When zero bkpt are present, JDWP "should" automatically break on line 1.
This is what competing IDEs do, which is auto break at line 1
TIP: Add a bkpt on line 1 of proc (NOT line 1 of CREATE package) to SS declaration assignments,
Or add bkpt after begin block to SS the body.
Launch [DEBUG]. It automatically opens the 'Run and Debug' sidebar panel.
BUG: DO NOT HIDE the R&D
OR collapse the 'Variables' panel within R&D.
EITHER will cause JDWP to crash as son as you start SS the code, consistently
REPRODUCE: Open a new SQL Worksheet (Ctrl+Shift+W). Its name by default "Untitled-1"
Click in gutter to add bkpt on line 1 of the empty worksheet.
Maybe you have an existing unsaved worksheet opened named "Untitled-1" containing queries,
where you've set bkpts.
For each worksheet having a bkpt set, an item will appear in the R&D BREAKPOINTS panel.
Every worksheet ot program (whether opened or closed) is listed.
BUG: Ensure the checkbox is checked.
[X] "Untitled-1"
Launch the debugger. See the IMAGE. Single step few times, JDWP crashes & its toolbar buttons are DISABLED.
Terminate JDWP.
Clear that checkbox [ ] "Untitled-1"
Launch Debugger, NO IMAGE, single step to the end. NO CRASH.
NEXT: Reboot VsCode. Open a large package and follow the tips clearing unrelated debug targets.
Launch JDWP. SS and it CRASHES!
My saved TRACE log contains approximately 5K lines. Contains errors ORA-12705: No stack traces. Let me know if you need additional information.