Re: Debug execution of application in Gnome 2



On Thu, 2002-11-14 at 02:29, dballester kernpharma com wrote:
> Hi:
>      I need to know how can i debug the execution of a Gnome 2 application.
> My problem is that after the gnome2 install, and after all upgrades from
> snapshots, when I execute gnome-terminal, in 99% of times it starts up but
> when the cursor appears, the application is closed without any type of
> message ( I'm thinking in some type of issue with fonts, locales, etc... )
> and If exists ( sure ) I want to start some type of debug to see if any
> message can help me. How can I do it?
> 
> Thanks and regards


It sounds like what you want to use is GDB. In the case of
gnome-terminal, run:

gdb `which gnome-terminal`

You'll get a lot of messages and you may have to hit enter a few times,
then you'll get a gdb prompt. Hit enter `r' there, then when gdb crashes
you should get some messages. The first thing to try is running `bt'
(back trace) which shows where the program crashed.

Take that and either report back here or file a bug report on
bugzilla.gnome.org.

--Ben

Attachment: signature.asc
Description: This is a digitally signed message part



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