Run without debugging: Cannot run compiled application from IDE (launching application invalid)
Original Reporter info from Mantis: Hansaplast
-
Reporter name: Hans Luijten
Original Reporter info from Mantis: Hansaplast
- Reporter name: Hans Luijten
Description:
In Lazarus 1.7, SVN 52835, on MacOS X 10.11:
After compiling, an application cannot be run with the new "run without debugging" button.
See attached image.
This will always produce the same error message:
Launching application Invalid
The launching application "/&LtPos;path>/&LtPos;to>/Project1.app" does not exist or is not executable.
See Run -> Run Paramaters -> local
Steps to reproduce:
Start a new project (File -> New -> Application),
Save all (if the IDE will let you!) in a project folder.
In Project Options, create an Application bundle.
Run this application (click "Run without debugging").
Additional information:
- All settings in "Run -> Run Paramaters -> local" are default (blank).
- The project1.app application bundle exists.
- The file "project1.app/Content/MacOS/project1" links to the executable.
- Running Project1.app straight from Finder works just fine.
- Running the linked file from Finder works just fine.
- Running the binary from Finder works as well.
Note 1 - WITH debugger works:
When running WITH debugger, even though it takes a very long time to start, does work properly. I'm using GDB 4.3 that came with the last XCode that came with GDB.
Note 2 - Setting debugger to NONE works:
When using the normal "run" button (with debugger), but setting DEBUGGER to "NONE" (Tools -> options -> Debugger -> Debugger Type = none), the application DOES work properly without debugger.
Mantis conversion info:
- Mantis ID: 30490
- OS: MacOS X
- OS Build: 10.11
- Build: 52835
- Platform: Carbon
- Version: 1.7 (SVN)
- Monitored by: » Hansaplast (Hans Luijten)