<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 30/10/2013 01:56, Anthony Walter
wrote:<br>
</div>
<blockquote
cite="mid:CAHmPLWXa71+Edi9ehoqXKznfCEyZhun4Q-Cxkvz4EeEiJ_OiEQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Problem 2</div>
<div>--------------</div>
<div><br>
</div>
<div>
<div><a moz-do-not-send="true"
href="http://cache.codebot.org/development/lazarus-run-error.png">http://cache.codebot.org/development/lazarus-run-error.png</a><br>
</div>
</div>
<div><br>
</div>
<div>When I try to run a program (either in debug mode or
release mode which has no debugging on) I get that message
from OS X. It seems to build fine. I mentioned above the
debugger was gotten from macports and is named ggdb on disk
rather than gdb and is at version 7.6, if that's important. </div>
<div><br>
</div>
<div>It is located on my system at</div>
<div>
<p style="margin:0px;font-size:13px;font-family:'Lucida
Grande'">/opt/local/bin/ggdb</p>
<p style="margin:0px;font-size:13px;font-family:'Lucida
Grande'">
<br>
</p>
<p style="margin:0px;font-size:13px;font-family:'Lucida
Grande'">I'd very much appreciate it if anyone could help me
setup correctly working near trunk versions of fpc and
lazarus on OS X.<br>
</p>
<p style="margin:0px;font-size:13px;font-family:'Lucida
Grande'">
<br>
</p>
<br>
</div>
</div>
</blockquote>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Xcode_5">http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Xcode_5</a><br>
<br>
read the link to the forum<br>
<br>
You need:<br>
<br>
<blockquote type="cite"><br>
the IDE passes the app bundle. But gdb expects the actual exe
inside the app bundle.<br>
/Users/admin/Documents/project1.app<br>
1) If you can do without, uncheck "generate app bundle" in the
project settings.<br>
2) Menu > Run > Run Param > Edit: "Host Application"<br>
/Users/admin/Documents/project1.app/Content/MacOS/project1 </blockquote>
<br>
and<br>
<br>
<blockquote type="cite">But also, try this: In the Menu > Tools
> Options > Debugger<br>
There is a grid with options. It has:<br>
<div class="codeheader"><br>
<span class="codeoperation"></span></div>
<pre style="margin: 0; padding: 0;"><code class="bbc_code"> EncodeCurrentDirPath = gdfeDefault</code></pre>
</blockquote>
<code>and same for setting ExeEncoding<br>
<br>
All those are automated in </code>revision 43255 and later<br>
<br>
<div class="smalltext modified" id="modified_131610"> </div>
</body>
</html>