Nothing fancy actually. I just want to watch some string variables while
debugging, but LLDB just gives me like some kind of array with garbage values.
Not useful at all.
I'm using FPC v.3.0.2 with VS Code and LLDB (as VS Code plugin) on Mac.
–Mr Bee
Pada Sabtu, 5 Mei 2018 17.25.58 WIB, Ingemar Ragnemalm
<[email protected]> menulis:
Den 2018-05-05 kl. 12:00, skrev Mr Bee <[email protected]>:
> Hi,
> Is there a way to make LLDB able to read and display Pascal's string
> correctly? At least, ansi string. I'm now using this option '-glpsw3
> -godwarfcpp'. Did I miss some options or something?
> Thank you.
In my experience, AnsiStrings will print with no problems. For example,
they print nicely with a command like "fr v" as well as "p". Short
strings are worse, they display as arrays or separate characters.
So what are you doing with them that goes wrong?
/Ingemar
_______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal _______________________________________________
fpc-pascal maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal