[Lazarus] debug hints in lazarus [Re: [fpc-devel] Status and ideas about debug info (stabs, dwarf / dwar3)]
lazarus at mfriebe.de
Tue Sep 13 17:15:27 CEST 2011
On 13/09/2011 15:49, Joost van der Sluis wrote:
> On Tue, 2011-09-13 at 15:41 +0100, Martin wrote:
>> On 13/09/2011 14:01, Joost van der Sluis wrote:
>>> On Tue, 2011-09-13 at 14:07 +0200, Graeme Geldenhuys wrote:
>> BTW: is it correct that some info about classes from units without debug
>> info, does get into the app?
>> At least if you have an inherited class, in a unit with debug info.
>> e.g If TForm1 in unit1 has debug info, then TComponent (which is a base
>> class) appears to be included too?
> I think so. If you want to know this, do a 'objdump -W
> programexecutable'. I don't remember it's Windows counterpart, but you
> could ask google. It will show you the Dwarf-data. This is imho also the
> first step if you want to learn more about the Dwarf-debug information
Thanks for the tip, should hopefully be very valuable in future.
I think fpc distributes a windows copy of objdmp
As for the original question, I just did the test => compiled an app
with a debug free lcl => fields from parent classes are present
More information about the Lazarus