Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 9, 2007, 12:22 PM   #1
Spanky Deluxe
macrumors 601
 
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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How do I compile a framework in Xcode? natatos Mac Programming 6 Sep 23, 2011 07:41 PM
How Do You Use the iPhone in Your Work Life? jw nyc iPhone and iPod touch Apps 3 Feb 16, 2011 02:48 PM
How do you use the Java Debugger in Eclipse 3.6SR1? wrldwzrd89 Mac Programming 2 Oct 8, 2010 10:46 AM
How do I use the vocoder/auto tune in Logic Pro? jayeskreezy Digital Audio 2 Feb 15, 2009 08:29 PM
How do I use the number pad on my Mac keyboard when using Windows? MK25toLife Windows, Linux & Others on the Mac 2 Mar 29, 2008 05:29 AM


All times are GMT -5. The time now is 01:48 AM.

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

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