<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 1, 2013 at 1:48 PM, Anthony Walter <span dir="ltr"><<a href="mailto:sysrpl@gmail.com" target="_blank">sysrpl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>As soon as I add the "gdb" debugger and set the host application to "/path/to/my/myprogram.app/Contents/MacOS/myprogram", running the app behaves exactly like I described when run from a terminal like "./myprgram". That is, the entire window is disabled. Curiously I can still debug, for example if I put a timer on my form and set a breakpoint in the timer event, lazarus will trigger the breakpoint each time the timer expires, but the window is still disabled.</div>
</div></blockquote><div>Anthony, you might need to run the debugger from "/path/to/my/myprogram.app/Contents/MacOS/" directory.<br></div><div>It might solve your problem.<br></div><div></div><div>Or you can to try to run the program from the "/path/to/my/myprogram.app/Contents/MacOS/". <br>
</div><div><br>cd "/path/to/my/myprogram.app/Contents/MacOS"<br></div><div>./myprogram<br><br></div><div>If you do that, your application should behave normally (be responsive to mouse and keyboard).<br>Please note, that this is different that running the program from the project's directory, since OSX is picky about carbon applications and bundles.<br>
</div><div></div><div><br>thanks,<br></div><div>Dmitry<br></div></div></div></div>