uncaught exceptions: stack trace truncated at NUL char

kdevel kdevel at vogtner.de
Sun Dec 13 21:22:16 UTC 2020


On Sunday, 13 December 2020 at 20:58:42 UTC, rikki cattermole 
wrote:

[...]

> String literals are null terminated by the compiler. It is very 
> useful for communicating with C.

Sure, but in the example given there is an embedded NUL which as 
part
of an exception msg. If caught everything works as expected, but 
if
the stack is unwound the information is lost due to truncation.


More information about the Digitalmars-d-learn mailing list