<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 10pt; color: #000000'>was Re: [fpc-devel] AnsiString in DWARF2 vs DWARF3<br><br>----- "Anton Kavalenka" <anton.k@tut.by> schreef:
<br>>
<title></title>
На 26.10.2010 13:33, Felipe Monteiro de Carvalho напісаў(ла):
<blockquote cite="mid:AANLkTikw=ra9gAw=SytBjUD5uuEzzG5dktiFSHiftB-s@mail.gmail.com">
<pre>On Tue, Oct 26, 2010 at 12:08 PM, Anton Kavalenka <a class="moz-txt-link-rfc2396E" href="mailto:anton.k@tut.by" target="_blank"><anton.k@tut.by></a> wrote:
</pre>
<blockquote>
<pre>I know at least two developers who stand - the only thing preventing them of
using FPC is GDB.
</pre>
</blockquote>
<pre>Windows-only developers?
Or else I don't know another compiler which will offer better
debugging in the rest of the platforms.
</pre>
</blockquote>
<font face="Helvetica, Arial, sans-serif">Yes, windows only.<br>>
But they fully understand bonuses from FPC and Lazarus but really hate
GDB.<br>>
Their last argument - we need assembly-line stepping debugger like in
Delphi.<br>> <br><br>I count myself in that category as well. Assembler stepping is maybe not for everyone, but if you want some fine grained control, you sometimes need to delve deeper into the internals. This is especially so with compiler-code or RTL speedups.<br><br>I've been trying to see if I could write a better/faster FillChar last weekend. My asm was a bit rusty (and I definately have some learning curve to go through with gasm AT&T syntax), so I wanted to test something out looking at registers. For that (and the include-file mess in RTL that needs some getting used to), I needed to see the compiled version of a regular FPC FillChar for Win32. I suspected it to be in i386.inc, but wasn't sure.<br><br>In lazarus => complete fail.<br>lots of tries to get debuginfo/mapfiles generated. Nothing usefull came out for use in a debugger.<br>I didn't try the build with asm files of the RTL, as I inherently evolved past makefiles years ago (Delphi/ant/want/VisualStudio build systems are more in my current skillset).<br>tried a disassembler like PE Explorer (trial) => no exported methods, so I got a somewhat 'guess where everything is' -asm.<br>fpc-ide on vista => no fullscreen support, so practically unusable in too high res, but finally managed to asm-step and confirm.<br><br>While I get that gdb is a powerfull debugger (and cross-architecture/platform), it too has a steep learning curve.<br><br>So, aside from the build-system, most of the "complaints" I have about missing features are not inherent to fpc, but more to the tools around it (like lazarus with it's subpar debugging compared to D7).<br><br>I guess it's time to put my code where my mouth is, but some of the issues above make it nearly a catch 22.<br><br>kind regards,<br>Dimitri Smits<br></font></div></body></html>