[fpc-pascal] working with lldb
Mr Bee
pak.lebah at yahoo.com
Sat May 5 14:31:50 CEST 2018
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 <ingemar at ragnemalm.se> menulis:
Den 2018-05-05 kl. 12:00, skrev Mr Bee <pak.lebah at yahoo.com>:
> 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 - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180505/e0d52205/attachment.html>
More information about the fpc-pascal
mailing list