<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Il 19/04/2023 18:34, Bo Berglund via lazarus ha scritto:<br>
</p>
<blockquote type="cite"
cite="mid:np504ilr0shl6a7h5pmonp79nk3gsjrbou@4ax.com">
<pre wrap="">Result:
When I use Release the symbols are not added and when using Debug, then the
symbols are added <b class="moz-txt-star"><span class="moz-txt-tag">*</span>and<span class="moz-txt-tag">*</span></b> the executable name is changed to originalname.dbg.
This is of course on Linux, what happens on Windows I don't know.
originalname.exe.dbg would not work of course...</pre>
</blockquote>
<br>
No, you have misunderstood. The executable name is unchanged.
Originalname.dbg is *added*. It contains only the debug symbols. If
you check you'll see that both originalname and originalname.dbg
have exactly the same timestamp.<br>
<br>
You have an option in Project->Options->Debugging, named "Use
external debug symbols file".<br>
If checked you get two files: originalname and originalname.dbg. If
you uncheck it you get only originalname, but much larger.<br>
<br>
With the external debug symbols file you may, if you want, deploy
the debug version by releasing just originalname. It will be larger
and less optimized than a release version, but it will be identical
to the one you have debugged. The choice is yours.<br>
<br>
Giuliano<br>
<pre class="moz-signature" cols="72">--
Do not do to others as you would have them do to you.They might have different tastes.</pre>
</body>
</html>