How to debug D on Linux

drug drug2004 at bk.ru
Wed Jan 13 14:13:07 UTC 2021


On 1/13/21 4:47 PM, Roguish wrote:
> 
> Also, what does it mean to "always emit a stackframe" (compiler option 
> -gs) ?

Short answer - sometimes the compiler does not emit a stackframe (due to 
optimization for example). In general if you are able to debug your 
binary by gdb then you don't need to worry this flag.
I skip long answer, sorry :-) But you can google about stack frame.


More information about the Digitalmars-d-learn mailing list