[9538] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: gtk_init wierdness

daemon@ATHENA.MIT.EDU (Jason A. Pfeil)
Fri Oct 23 09:53:33 1998

Date: Fri, 23 Oct 1998 09:53:07 -0400 (EDT)
From: "Jason A. Pfeil" <pfeil@nu.cs.fsu.edu>
To: gtk-list@redhat.com
In-Reply-To: <199810231318.JAA07242@mousetrap.ml.org>
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

I would seriously recommend getting familiar with gdb.  It is a VERY
powerful debugger, and debuggers can sometimes get you closer to a problem
than printf()'s.  Gdb has some great online help, but I gave a tutorial on
debuggers for my CS department a year ago and can make that information
available to you.  It's in ppt format, but I can cvt it to html if you
want.  :)  (excuse:  I used ppt because that's what I created the
slideshow in for display, and I didn't have StarOffice or any other good
slideshow creator for linux.)

--Jason

On Fri, 23 Oct 1998, katre wrote:

> > 
> > 	Katre, are you sending any parameters in? Maybe this could be
> > 	OS dependent?
> > 	Have you compiled with "-Wall"?
> > 
> > 	And try to step through, you might find a bad pointer :)
> > 
> Well, the problem is fixed now.  Just to be complete, I compiled with -Wall,
> and it gave no problems.  I never did try stepping through with a debugger,
> because I don't really know how to use gdb.  When I have a bug, I usually just
> sprinkle liberally with printf's. :)
> 
> If anyone really wants me to, I could check my backups to see if any of them
> have this problem.  But whatever it is, it's beyond me.
> 
> katre
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 

-------------------------------------------------------------------------------
Jason A. Pfeil, Computer Science Graduate Student      101 Carothers Hall
http://www.cs.fsu.edu/~pfeil			       C3527 University Center
pfeil@cs.fsu.edu				       (850)644-8014

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post