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 Dec 1, 2011, 05:59 PM   #1
Madd the Sane
macrumors 6502
 
Join Date: Nov 2010
Location: Utah
Wirelessly posted (Mozilla/5.0 (iPod; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)

When I put a breakpoint on my project, PCSXR, and try to skip to the next line, it goes to a completely different place (using gdb) or complains about EXEC_BAD_ACCESS (using lldb). What am I doing wrong?
__________________
Get out of my mind, idea! I already have an idea in here!
Madd the Sane is offline   0 Reply With Quote
Old Dec 1, 2011, 06:20 PM   #2
Sydde
macrumors 68000
 
Sydde's Avatar
 
Join Date: Aug 2009
My experience has been that erratic stepping is often caused by trying to step through a release version of code: some of what you have written may have been optimized away by the compiler.

If that is not it, try posting some code so we can guess blindly at what your problem might be.
__________________
You got to be a spirit. You can't be no ghost.
Sydde is offline   1 Reply With Quote
Old Dec 1, 2011, 07:17 PM   #3
Madd the Sane
Thread Starter
macrumors 6502
 
Join Date: Nov 2010
Location: Utah
Let's see...
Generate Debug Symbols is on; Optimization level is 0; Strip Debug Symbols During Copy is off.

When I press the step over button, I get to the function dyld_stub_objc_msgSend.

The only thing that I can think of that's causing it is the following cflags:-fomit-frame-pointer -funroll-loops -falign-loops=16

Okay, it was -fomit-frame-pointer that was causing it. I'm removing it from my debug build process.
__________________
Get out of my mind, idea! I already have an idea in here!
Madd the Sane 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
Weird Mavericks Issues, with Dropbox, and other issues mashinhead OS X Mavericks (10.9) 4 Jan 12, 2014 05:23 PM
Weird issues with a 5S Lmorris96 iPhone 1 Sep 23, 2013 02:07 AM
Weird issues w/ BT keyboard and Wi-Fi pat park MacBook Pro 1 Jan 1, 2013 02:21 PM
Weird RAM issues krash91 MacBook Pro 11 Dec 26, 2012 09:43 PM
Macbook Pro Retina - Weird Weird issues MishalGunner MacBook Pro 14 Oct 18, 2012 12:02 PM

Forum Jump

All times are GMT -5. The time now is 09:34 PM.

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

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