|
From: | Fred Kiefer |
Subject: | [bug #25243] Art backend Seg Faults |
Date: | Sat, 31 Jan 2009 22:01:34 +0000 |
User-agent: | Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE |
Follow-up Comment #11, bug #25243 (project gnustep): Now getting the backtrace is the hard bit and you managed that already :-) To get gdb to print out the value of a locally visible variable you just type "p" and the name of that variable. In your case p face If you want to print the value of an object (which face isn't) you use "po". Debugging the function is only slightly harder. First you need to get gdb to stop in that function. For this you use "b" to define a break point. I suggest using b ftfont.m:144 This gets gdb to stop on an interesting line in that function. Next you use "p" to print out everything interesting and get gdb going again with "c". It will come back to that function multiple times and the last time is the most interesting one. to get the value of face printed out here you will need to use p *pface Thank you for your effort. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?25243> _______________________________________________ Nachricht geschickt von/durch Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |