[Lazarus] Debugging the unicode RTL

Sven Barth pascaldragon at googlemail.com
Thu Jan 12 11:09:53 CET 2023

Michael Van Canneyt via lazarus <lazarus at lists.lazarus-ide.org> schrieb am
Do., 12. Jan. 2023, 10:42:

> 1/ Should the compiler provide some symbol in - say - the system unit to
> deterine
> whether the RTL is compiled in unicode mode, or is another mechanism
> preferred to do this ?

"Char" already is such a symbol that the debugger can and must use to
determine this. And if no debug information for aliases is created then
*that* needs to be fixed instead.
But the debugger also needs to be able to determine Unicode vs. ANSI if no
debug information for the System unit is available thus it needs to rely on
CodeTools then and what *that* provides for Char.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20230112/937be290/attachment.htm>

More information about the lazarus mailing list