XCode Debugger: Code window does not match stack window
XCode Debugger: Code window does not match stack window
- Subject: XCode Debugger: Code window does not match stack window
- From: Adrian Grigore <email@hidden>
- Date: Thu, 26 Feb 2009 11:07:07 +0100
Hi,
I'm trying to port a fairly large windows project based on SDL and WxWidgets to MacOs X.
For the first time ever on a Mac, I can run my application, but the
debugger does not seem to work properly. When breaking into my
application, the stack view seems to make sense, but when I click on
one of the function names shown in the debugger stack view, the code
view below shows me a completely different piece of code.
For example, I click on "main" in the stack view, but the code window below jumps to line 100 of stdexcept from the MacOS SDK.
I've tried using the debugger with a "hello world" project and
everything worked, so the problem must be related to my project. I've
already checked the following settings in the project options:
Generate Debug Symbols: 1 Level of Debug Symbols: All Symbols Optimization Level: None Build Variants: debug
I've also made sure that "Load Symbols Lazily" is switched off in the debugger preferences.
I have converted all cpp and header files to unix line endings via
"find /wherever -name "*.myfileextension" -print -exec flip -u {} \;"
I've also deleted the "build" directory and clean all before rebuilding the application.
All this did not help. The debugger does work properly in a "hello
world" application, so the problem must have to do with my project. But
starting from scratch would take quite some time and I do not even know
what do to different the next time around.
Any suggestions on how to get the debugger to work again would be greatly appreciated.
Thanks,
Adrian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden