<font face="verdana,sans-serif">I´ll gonna test stabs for a while as i´m using <i>Lazarus 0.9.31 r32454 FPC 2.5.1 i386-win32-win32/win64</i>. I´ve worryed with FPC version, but, as you said, dwarf may not work on 64Bits versions...<br>

<br>Thanks for information...<br clear="all"></font><font face="verdana, sans-serif">________________________________<br>William de Oliveira Ferreira<br>Bacharel em Sistemas de Informação</font><br>
<br><br><div class="gmail_quote">2011/12/14 Martin <span dir="ltr"><<a href="mailto:lazarus@mfriebe.de">lazarus@mfriebe.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    On 14/12/2011 01:14, William Oliveira Ferreira wrote:
    <blockquote type="cite"><font face="verdana,sans-serif">does lazarus takes
        some especific advantage changing the type of debug info?
        (project options > compiler options > linking)</font><font face="verdana, sans-serif"></font><br>
    </blockquote>
    <br></div>
    yes, but only for a few things.<br>
    <br>
    Before changing it, ensure your gdb can deal with it. Normally that
    is the cases<br>
    - On Mac, not sure as apple still distributes 6.3.50<br>
    - win 64 before fpc 2.6 , dwarf may not work<br>
    <br>
    when choosing dwarf, always use "+ sets" (unless maybe again your
    gdb is real old, I have used it with gdb 6.7.5 all ok)<br>
    <br>
    dwarf 3 is experimental and works LESS well than dwarf (2) =>
    unless you have a specially patched gdb (archer branch). <br>
    (Though I did not test the archer gdb, no idea, if it is good)<br>
    <br>
    <br>
    ----------------<br>
    biggest diff is<br>
    <br>
    with dwarf you  can inspect certain properties. that is ONLY
    properties that directly map to  a field.<br>
    Neither stabs, nor any dwarf will call a getter function.<br>
    <br>
    stabs deals better with<br>
    - nested (dynamic) array<br>
    - param-by-ref  "function foo( var RefParam: TBar)"<br>
    <br>
    however Laz 0.9.31 deals with most of this.<br>
    <br>
    there may be a few other diffs. I have no complete list<br>
    <br>
    some fpc (or maybe the linker) had bugs, leaving out line info for
    parts of try except. But I do not recall the exact details<br>
    <br>
    <br>
  </div>

<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br>