how to debug a program when the session freezes



Can somebody tell me how to get a gdb trace when the app I'm debugging
freezes my X session ? I'm running gnome-system-monitor from a
terminal : gdb gnome-system-monitor which freezes up the X session when
I click on the top menu line. The only way I can get out is by by
al-ctl-f1 and killing the X session from the linux command line. How do
I send the gdb output to a file for later retrieval, and is it possible
to get the stack trace some other way, without X ?
thanks
Rod  
-- 
http://distributedcomputing.info - find out how to make your pc work for
the community




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