On 22/01/2023 11:53, Michael Van Canneyt via lazarus wrote:
Since the PChar/Char types are now an alias, logically the debug info
should only have references to AnsiChar/UnicodeChar.
But I have no idea how to test this assumption.
if adding a watch containing "^char(x)" fails, then that
I may have to double check some details, just going from memory
On 22/01/2023 11:46, Michael Van Canneyt wrote:
On Sun, 22 Jan 2023, Martin Frb via lazarus wrote:
On 12/01/2023 10:42, Michael Van Canneyt via lazarus wrote:
- Debugging programs works in general quite OK, except for
On Sun, 22 Jan 2023, Martin Frb via lazarus wrote:
On 12/01/2023 11:26, Michael Van Canneyt via lazarus wrote:
It needs to determine the definition of "string" which will be an
array of
unicodechar or ansichar. Once it knows that, the rest will follow,
since the definition of unicodechar
On Sun, 22 Jan 2023, Martin Frb via lazarus wrote:
On 12/01/2023 10:42, Michael Van Canneyt via lazarus wrote:
- Debugging programs works in general quite OK, except for displaying of
some strings. Most notable, the exception message is affected:
only the first character of the
On 22/01/2023 11:24, Martin Frb via lazarus wrote:
2/ Where can I find the code that extracts the message from an exception
object ? So I can have a shot at trying to fix the display.
unit FpDebugDebugger;
procedure TFpDebugDebugger.HandleSoftwareException
Important:
If you make any
On 12/01/2023 11:26, Michael Van Canneyt via lazarus wrote:
It needs to determine the definition of "string" which will be an
array of
unicodechar or ansichar. Once it knows that, the rest will follow,
since the definition of unicodechar or ansichar will have the correct
size.
The big
On 12/01/2023 10:42, Michael Van Canneyt via lazarus wrote:
- Debugging programs works in general quite OK, except for displaying of
some strings. Most notable, the exception message is affected:
only the first character of the exception message is shown.
This is hardcoded, and may be
On Thu, 12 Jan 2023, Sven Barth via lazarus wrote:
Michael Van Canneyt via lazarus 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
Michael Van Canneyt via lazarus 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