Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

Debugger - Failed to load file: .../myproject.app: No such file or directory

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

Hello Lazarus mailing list!

I reinstalled my Mac and decided to have lazarus in ~/lazarus instead of /usr/local/share/lazarus, but I receive error message when I want to debug from IDE.

What could be a problem?

I don't think, that it is the length of path, but something else.

Why doesn't it want to load

.../myproject.app/Content/MacOS/myproject instead?

Reply by email

Mattias Gaertner
to Roland Turcan
Show quoted text 5 lines
Hello Lazarus mailing list! I reinstalled my Mac and decided to have lazarus in ~/lazarus instead of /usr/local/share/lazarus, but I receive error message when I want to debug from IDE.

What error message?

Show quoted text 7 lines
What could be a problem? I don't think, that it is the length of path, but something else. Why doesn't it want to load .../myproject.app/Content/MacOS/myproject instead?

Mattias

Reply by email

Roland Turcan
to Mattias Gaertner

<<< 20.5.2009 18:53 - Mattias Gaertner "" >>>
MG> On Wed, 20 May 2009 16:33:52 +0200

MG> Roland Turcan wrote 5 lines
> Hello Lazarus mailing list! > > I reinstalled my Mac and decided to have lazarus in ~/lazarus instead > of /usr/local/share/lazarus, but I receive error message when I want > to debug from IDE.

MG> What error message?

If it a warning message box with:

Debugger

Failed to load file:
/User/test/lazarus/rotursoft/work/projects/myproject/lib/i386-darwin/my project.app: No such file or directory.

----
but there is everything as expected.

MG>

Show quoted text 7 lines
> What could be a problem? > > I don't think, that it is the length of path, but something else. > > Why doesn't it want to load > > .../myproject.app/Content/MacOS/myproject instead?

MG> Mattias

MG> _______________________________________________ MG> Lazarus mailing list
MG>
MG> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Roland Turcan
to Roland Turcan

Hello All,

I'll answer myself to help anybody else in the future.

I checked out my project files from SVN, but my repository didn't have all files from "Contents" directory, especially info.plist file which speaks about executable name and therefore gdb was unable to debug.

TRoland;

<<< 20.5.2009 20:20 - Roland Turcan "" >>>
RT> <<< 20.5.2009 18:53 - Mattias Gaertner "" >>>
MG>> On Wed, 20 May 2009 16:33:52 +0200

MG>> Roland Turcan wrote 5 lines
>> Hello Lazarus mailing list! >> >> I reinstalled my Mac and decided to have lazarus in ~/lazarus instead >> of /usr/local/share/lazarus, but I receive error message when I want >> to debug from IDE.

MG>> What error message?

RT> If it a warning message box with:

RT> Debugger

RT> Failed to load file:
RT> /User/test/lazarus/rotursoft/work/projects/myproject/lib/i386-darwin/my RT> project.app: No such file or directory.

RT> ----
RT> but there is everything as expected.

MG>>

Show quoted text 7 lines
>> What could be a problem? >> >> I don't think, that it is the length of path, but something else. >> >> Why doesn't it want to load >> >> .../myproject.app/Content/MacOS/myproject instead?

MG>> Mattias

MG>> _______________________________________________ MG>> Lazarus mailing list
MG>>
MG>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email