• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode 1.5 debugger question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 1.5 debugger question


  • Subject: Re: XCode 1.5 debugger question
  • From: Jim Ingham <email@hidden>
  • Date: Sun, 24 Apr 2005 11:06:56 -0700

You can determine this directly. Go to your binary (if it's in an app wrapper, that will be <Foo.app/Contents/MacOS/Foo> - or if you are building with ZeroLink look for the .ob files in the Object direct of your project , and do:

nm -ap <Binary> | grep "SO "

this will give you the list of source files for which debug info exists. If you are using ZeroLink, try:

nm -ap <File.ob> | grep "SO "

in this case you should see a line with the path to the source file, and another with the file name (and one blank entry). If you don't see this in one of the .ob files, it means that bundle got built without debug info.

Jim

On Apr 22, 2005, at 11:59 PM, Dmitry Markman wrote:

Hi
I have a project that contains
2 cpp files and few static libraries

I can debug everything in one cpp file
but xcode doesn't stop in the code related to the second file

for example

first file Game.cpp

bool
Game::Initialize( int argc, char* argv[] )
{
    // Set up base class
    if ( !IvGame::Initialize( argc, argv ) )
        return false;

    mPlayer = new PlayerTorque();
    if (!mPlayer)
        return false;

    ::IvSetDefaultLighting();

    return true;
}   // End of Game::Initialize()

I can stop at any place in the file (at the line mPlayer = new PlayerTorque();)
but I can not go inside to any PlayerTorque code (second cpp file)
for example into the constructor code
I can put breakpoints inside of PlayerTorque code but XCode doesn't see it (doesn't stop there)


is there possibility to put debug symbols only into one of two sources of the target?

what could be a problem
thanks

Dmitry Markman

_______________________________________________
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


_______________________________________________ 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
  • Follow-Ups:
    • Re: XCode 1.5 debugger question
      • From: Dmitry Markman <email@hidden>
References: 
 >XCode 1.5 debugger question (From: Dmitry Markman <email@hidden>)

  • Prev by Date: Re: BuildStyle duplication question (v1.5)
  • Next by Date: Re: XCode 1.5 debugger question
  • Previous by thread: XCode 1.5 debugger question
  • Next by thread: Re: XCode 1.5 debugger question
  • Index(es):
    • Date
    • Thread