Aleksandar Ristovski(deleted)
|
Re: Starting Application with GUI from gdb
|
Aleksandar Ristovski(deleted)
08/09/2011 8:55 AM
post87920
|
Re: Starting Application with GUI from gdb
You can enable verbose mi log in your debug configuration dialogue,
under 'Debugger' tab.
Or alternative 1:
on your target, open a terminal. Setup the environment so you can run
your app from that terminal. Then slay qconn and start it again from
that terminal.
or alternative 2:
When you set environment in gdb (using "set environment ..." command),
make sure you did
(gdb) set nto-inherit-env off
so that gdb's environment actually gets set when the program is started.
HTH,
Aleksandar
On 08/09/2011 05:00 AM, Christian Reinecke wrote:
> Hi all,
>
> I am trying to start an application that uses Photon from gdb by
> commandline.
> I am sure I am just missing something when setting up gdb, but I just
> get the Error "Ap: Unable to open resource file" when launching my binary.
>
> My host system is Ubuntu with Momentics 4.6.0.
>
> The Binary works fine, I can run it from IDE.
> But I want to launch gdb from commandline.
>
> I have tried to set the EnvVars (like PHOTON, PHOTON_PATH,
> LD_LIBRARY_PATH, PHFONT etc.), but it won't help.
>
> I have tried to have a look at what the IDE does to start gdb, but it
> won't show any debug-output in the console.
>
> Does anybody have a hint what to do?
>
> Thanks,
> Christian Reinecke
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87916
>
|
|
|