<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">Il 18/07/2014 14:30, Sven Barth ha
scritto:<br>
</div>
<blockquote
cite="mid:CAFMUeB-FbdwvWFtEvauDs5=4VR9+W5uN8oqpy79uH5FLeP0-4w@mail.gmail.com"
type="cite">
<p>Am 18.07.2014 14:09 schrieb "Giuliano Colla" <<a
moz-do-not-send="true"
href="mailto:giuliano.colla@fastwebnet.it">giuliano.colla@fastwebnet.it</a>>:<br>
><br>
> Hi fpc team.<br>
> When I need to understand how some code works, I frequently
use the debugger, and single-step.<br>
> But when debugging Lazarus applications, I can single-step
through user code and Lazarus code only, while fpc code is
skipped.<br>
> I presume that this is happening because my fpc binary is
stripped of debug information.<br>
> In the zillion of compiler options, which are the best ones
to provide a non-stripped fpc binary?<br>
> My environment is Linux, fpc 2.7.1 from svn.</p>
<p>Generation of debug information is disabled by default for RTL,
FCL and packages units (those distributed with FPC). To enable
it you must build FPC like this:</p>
<p>make OPT=-gl</p>
<p>Of course you can add any other options you need for building.</p>
<p>Regards,<br>
Sven</p>
<br>
</blockquote>
<br>
Thanks a lot,<br>
<br>
Giuliano<br>
<br>
</body>
</html>