Bug#506506: Another very similar phenomenon
Josselin Mouette
joss at debian.org
Tue Mar 24 11:38:41 UTC 2009
Le lundi 23 mars 2009 à 23:33 -0600, Paul E Condon a écrit :
> I'm following the steps. It is taking a while. I'm not surprised or
> worried by the time. But while its working, I'm thinking I see that
> I am to run the program under gdb by invoking gdb from a command line.
> I run programs from a command line all the time, but from a command
> line in a gnome-terminal window under gnome and X. So what do I really
> do to run gnome-terminal under the control of gdb? I've never done
> this before. I think I need some very explicit instructions. When I
> get to the place were the web site says type:
> $ gdb hello
>
> What do I actually do instead? I'm sure its 'obvious', but it's only
> obvious after one has been told.
That would be gdb /usr/bin/gnome-terminal.
As for debugging the terminal itself, you have several solutions:
* From another terminal. Run xterm, and from it run gdb on
gnome-terminal.
* From the console. Run gnome-terminal, then attach gdb to it from
the text console (gdb /usr/bin/gnome-terminal `pidof
gnome-terminal`).
* By launching two instances. At the execution step of gdb, type
"run --disable-factory". This will start a new gnome-terminal
process. Then you have to pray that changing the settings will
make this new process crash and not the one from which you are
running gdb.
Cheers,
--
.''`. Debian 5.0 "Lenny" has been released!
: :' :
`. `' Last night, Darth Vader came down from planet Vulcan and told
`- me that if you don't install Lenny, he'd melt your brain.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090324/00b99d8f/attachment.pgp
More information about the pkg-gnome-maintainers
mailing list