[Lazarus] Viewing stack content

Martin lazarus at mfriebe.de
Thu Aug 9 15:13:57 CEST 2012


On 09/08/2012 14:09, Martin wrote:
> On 09/08/2012 14:02, Mark Morgan Lloyd wrote:
>> When debugging e.g. a cdecl call to a standard library, how can one 
>> inspect the top few words on the stack?
>>
>
> Usually at least the top most frame is shown (though locals, and 
> params may not)
> If further frames or some info is missing, then it usually means gdb 
> does not know how to read the stackframe.
>
> Not sure what can be done.
>
If you mean raw memory

depends on cpu. Intel with esp, add a watch, set to memory dump:
   ^Byte($esp)[-20]

starts 20 bytes before esp




More information about the Lazarus mailing list