hxcpp-debugger icon indicating copy to clipboard operation
hxcpp-debugger copied to clipboard

Strings containing Unicode crash on breakpoints.

Open EliteMasterEric opened this issue 3 years ago • 0 comments

I encountered this while trying to process some data, and I've been able to reproduce a crash reliably:

Reproduction

  1. Create a simple program containing something like this:
var test = "Ω";
  1. Place a breakpoint on the above line.

  2. 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.

  3. 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.

EliteMasterEric avatar Aug 22 '22 08:08 EliteMasterEric