Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Programmer Tools > debugging c++ u...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 573 of 628
Post > Topic >>

debugging c++ under XCode 2.2

by "scott" <scott.wakeling@[EMAIL PROTECTED] > Jan 16, 2007 at 03:08 AM

Hi,

I'm debugging a project written in C++. It comprises six dylibs and an
executable. The dylibs are not loaded dynamically, they are linked to
at compile time, and hence alll loaded everytime the executable is
debugged.

I can run into code in these dylibs ok. My breakpoints are hit
correctly, but "step over" and "step into" do not behave as expected.
Step over often just behaves like "Continue", instead of stepping to
the next line of code. Step into often does the same, but not in any
kind of consistent way.

I have switched Optimization to "None" in the project settings
(incidentally, I can only find build settings for the project as a
whole, not for individual targets, e.g. mylib2.dylib...?). This does
not help.

Is there some setting in XCode I am missing, or is this behaviour
typical for GDB stepping in and out of separate targets. Has anybody
seen this behaviour before?

Thanks in advance for any help! =)

-scott
 




 5 Posts in Topic:
debugging c++ under XCode 2.2
"scott" <sco  2007-01-16 03:08:34 
Re: debugging c++ under XCode 2.2
"scott" <sco  2007-01-17 06:32:07 
Re: debugging c++ under XCode 2.2
"scott" <sco  2007-01-19 03:17:42 
Re: debugging c++ under XCode 2.2
Sean McBride <cwatson@  2007-01-24 23:53:31 
Re: debugging c++ under XCode 2.2
"scott" <sco  2007-01-29 03:45:40 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 18:17:25 CDT 2008.