Re: debugging and gtk
- From: Jim Edwards <jimedwards altavista com>
- To: Havoc Pennington <hp redhat com>, gtk <gtk-list gnome org>
- Subject: Re: debugging and gtk
- Date: Wed, 22 Aug 2001 16:13:04 +0000
Havoc,
Well, I found that I could build Xnest without updating X so I gave it a try,
alas it wounīt work for me because I use GtkGlArea and I canīt get the GL
configuration I need on the Xnest. But you pointed me in the right direction
- I just needed to run gdb on a display different than the one I run my
application on. After that it took just a few minutes to find the problem.
Thanks
Jim
Jim Edwards wrote:
> Havoc Pennington wrote:
>
> > Jim Edwards <jimedwards altavista com> writes:
> > >
> > > When running under gdb I often find that when the run stops at a break
> > > point or because the program has crashed that my mouse focus is īstuckī
> > > in the last gtk window in use and that I canīt get back to the gdb
> > > interface in my xterm.
> > > I have to go login remotely and kill the process.
> > > Is there a way to unstick the focus or otherwise prevent this from
> > > happening.
> > >
> >
> > One useful trick is to debug inside an Xnest.
> >
> > Havoc
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
>
> Okay, this is a new one for me. It looks like I need to update my Xfree86
> version to install it. Then I would start the Xnest and run the debugger
> outside of it with the display set so that my application windows run under
> it? Or do I run the debugger inside the Xnest in which case it seems like I
> still have the same problem but can kill the process without going to
> another machine? I just want to understand just what Iīll gain before I
> go through the pain of updating XFree86.
>
> Thanks,
> Jim
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]