Tom Gregorovic wrote:
Felipe Monteiro de Carvalho napsal(a):

Hi,

Does the debugger work on gtk ide running on mac os x?

I set gdb as my debugger, made a very simple carbon app (pure carbon,
not lcl), set some breakpoints on the software beginning, but when I
run it nothing happens. I mean, the app doesn' t start, and the
breakpoints aren' t activated, but lazarus shows as if it was being
run. At this point I must exit the IDE.

Hi,
I have encoutered the same problem. Debugging from IDE does not function, because it's trying to debug the executable instead of app. bundle. Manually via terminal (command: gdb project.app) there is no problem. The solution would be to generate app. bundle automatically and link the executbale into it. Then the IDE would know path to bundle for executing or debugging.

A way to work around this is:
Create an app bundle in your project dir and symlink the exe inside the bundle to the compiled exe in the project dir. Then for debugging set Run parameters -> host application to yourbundle.app

Marc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to