hxcpp-debugger
hxcpp-debugger copied to clipboard
Strings containing Unicode crash on breakpoints.
I encountered this while trying to process some data, and I've been able to reproduce a crash reliably:
Reproduction
- Create a simple program containing something like this:
var test = "Ω";
-
Place a breakpoint on the above line.
-
Start the program in debug mode. The program should pause and the variable scope should appear on the left alongside the call stack and watch list.
-
Step forward in the program.
Expected Behavior
The user should see the variable test in the scope with the value Ω.
Actual Behavior
The debugged program immediately crashes with no error message and the VSCode debugger detaches.