Re: How can I get xcode to show classes from a library?
Re: How can I get xcode to show classes from a library?
- Subject: Re: How can I get xcode to show classes from a library?
- From: Yves Poissant <email@hidden>
- Date: Wed, 22 Mar 2006 09:32:02 -0800
From: "Lyndsey Ferguson"
> On Mar 22, 2006, at 11:07 AM, Yves Poissant wrote:
>>
>> Can anyone give me some directions for debugging a library?
>
> I am including the relevant build settings here:
>
> INSTALL_PATH = "@executable_path/../../../Plug-Ins"
> GCC_GENERATE_DEBUGGING_SYMBOLS = YES
> GCC_DEBUGGING_SYMBOLS = default
> GCC_OPTIMIZATION_LEVEL = 0
>
> The one that most of us do not know about is the install path. My
> dynamic library will exist in a folder titled "Plug-Ins" that exists
> beside the MyApp.app package, so that is why I use the
> @executable_path specifier.
Thanks Lyndsey,
Here are my settings for the variables you are mentioning:
INSTALL_PATH = "$(MASTER_BUILD)"
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_DEBUGGING_SYMBOLS = default
GCC_OPTIMIZATION_LEVEL = 0
In my case, the library sits at the path defined by $(MASTER_BUILD)
Other things I did : I opened the library project and added the executable
path to it. I now can "debug" the library and it launches the executable.
However, I still can't see the members of a class when I click on the
disclosure triangle. The disclosure Triangle turns downside but displays
nothing. The variable is a pointer to an instance of the class. What I find
strange is that if I enter the command "print *pState" in the DBG console,
it displays all the member variables. But it will not do that in the
debugger UI.
I had this issue in the past and I found out that if I waited long enough,
the debugger would eventually retrieve the member variable info and display
them. But right now, I let it think for a good while and it still will not
show the variable expanded content.
I can work with the console but I prefer to work with the debugger UI if
possible.
Any more clues anyone?
_______________________________________________
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