Re: [Anjuta-list] Debugger and Anjuta Newbie



On Fri, 2004-01-30 at 23:31, Luca Rosellini wrote:
> Hello to everybody,
> I've imported a project in anjuta, everything went fine, but I have this problem:
> When starting debugger I get:
> "The target executable does not exist for this project"
> And, of course, the target executables exists and is in the project's top directory.
> So the question is: how do I tell Anjuta which is the project's target executable?
> 
You can set the target executable in Project->configure project. If your
project links with shared libraries within your project, then GDB cannot
load your executable (because that won't be an executable, libtool will
just create a shell script to wrap around for loading correct shared
libraries). In that case, you will find the real executable in ".lib/"
subdirectory.

> More, I easily solve the above problem manually loading the executable
> in the debugger, but, once I've done this, where can I tell the
> debugger the paramters it should pass to the executable?
> 
Debugger will take any command line paramenters given in the Run dialog.
Just set your paramenters in Build->Set Program parameters.

Regards,
-Naba






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]