Exec file not saved to bundle lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- AL · 2022-10-09 17:38 I am trying to debug a program but so far not too much success. The project options / application has a checkbox for Run and Debug with App bundle.  But so far when I compile and run the program, it is not copied in the App bundle!  What is the best way to proceed to debug a program and find where it crash?  I have installed LLDB with FpDebug.  Lazarus 2.2.5 / FPC 3.3.1 /Monterey on VMWare running on Win 10. I can start the program directly by clicking on it and watching the result in Terminal, but I am afraid the App bundle may make a difference as far as permissions, etc. It it make any difference, the source is located on a VMWare shared directory located on the Win 10 machine. Thanks for the help. ---------------------------------------------------------------------- madref · 2022-10-11 12:11 Make a copy is of the bundle and copy your compiled program to it. and then debug ---------------------------------------------------------------------- AL · 2022-10-11 21:11 Thank you, can you run the bundle from the Lazarus so that the debugger is used? ---------------------------------------------------------------------- AL · 2022-10-12 13:18 OK I think I understand the way it work. You have to use the command "Create App Bundle" from the project option menu, even if you already have an existing App bundle. I did not use that as I did not want to overwrite my App Bundle manually created. This command create a bundle with an ALIAS to the compiled exec file which reside in the directory. Progressing slowly!