Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 9, 2007, 01:22 PM   #1
Spanky Deluxe
macrumors Demi-God
 
Spanky Deluxe's Avatar
 
Join Date: Mar 2005
Location: London, UK
How do I use the debugger in xcode?

Most code I've had to write before has just required simple debugging and I've never had to make use of a debugger so this is all new to me. I've got a piece of code that has a bug in it somewhere that causes a sigsev error. I worked out that I needed to use the "Enable Guard Malloc" option and the debugger has kicked up an error of "EXC_BAD_ACCESS" in what appears to be asm GMmalloc. Armed with this information, how do I find out which line of code (all C based) is causing the error? Unfortunately I haven't reached the level of "The One" yet to be able to read assembly code like a book!!

Edit: I think the bug may be being caused inside the fftw3 fink library the program causes, even more stuff that I don't really understand!!
__________________
"No, I'm from Iowa, I only work in outer space."
Spanky Deluxe is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Property doesn't show up in XCode debugger multinode Mac Programming 1 Jun 23, 2013 09:47 AM
PHP debugger 3heap Mac Applications and Mac App Store 0 Oct 25, 2012 11:28 AM
debugger stopped seeing variables BRLara iPhone/iPad Programming 1 Sep 3, 2012 06:49 PM
Viewing values in the debugger KarlJay iPhone/iPad Programming 19 Aug 9, 2012 07:26 PM
watching vars in debugger KarlJay iPhone/iPad Programming 0 Jul 11, 2012 12:57 PM

Forum Jump

All times are GMT -5. The time now is 12:23 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC