[fpc-pascal] Debug info at runtime?

Tomas Hajny XHajT03 at hajny.biz
Tue May 26 19:32:22 CEST 2015


On Tue, May 26, 2015 19:30, Serguei TARASSOV wrote:


Hi,

> How is possible to get some debug information at runtime?
> Assuming, the program compiled with required debug information/symbols.
>
> I.e. how to get actual call stack state and called procedures names
> within the procedure or method?

Units lineinfo (Stabs debug format) and lnfodwrf (Dwarf debug format)
provide means for accessing this information.

Tomas





More information about the fpc-pascal mailing list