• 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: variable scope in gdb/xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: variable scope in gdb/xcode


  • Subject: Re: variable scope in gdb/xcode
  • From: Tony Romano <email@hidden>
  • Date: Mon, 21 Jun 2010 13:17:41 -0700

Still wondering how your reply helps...  Of course I have a breakpoint there when I am issuing the command to gdb.

On Jun 21, 2010, at 12:58 PM, Christiaan Hofman wrote:

>
> On Jun 21, 2010, at 21:14, Tony Romano wrote:
>
>> Given this snippet:
>>
>> -(void) foo: (id) bar
>> {
>> 	...
>> 	[receiver method:fn completionHandler:^(...)
>> 	{
>> 		// I use bar within scope no problems, but ...
>>
>> 		// try to examine bar in the block(po bar) and you get a message in the console that says
>> 		//  No symbol "bar" in current context
>> 	}];
>>
>> 	...
>>
>> }
>>
>> Can someone tell me what I need to do to examine the parameter bar in the block?  Thanks.
>>
>> XCode 3.2.2/Snow 10.6.4
>>
>> -Tony
>
> Add a breakpoint somewhere inside the foo: method.
>
> Christiaan
>
>

-Tony

 _______________________________________________
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: variable scope in gdb/xcode
      • From: Christiaan Hofman <email@hidden>
References: 
 >variable scope in gdb/xcode (From: Tony Romano <email@hidden>)
 >Re: variable scope in gdb/xcode (From: Christiaan Hofman <email@hidden>)

  • Prev by Date: Re: iOS 4 release - when is the SDK NDA lifted?
  • Next by Date: Re: variable scope in gdb/xcode
  • Previous by thread: Re: variable scope in gdb/xcode
  • Next by thread: Re: variable scope in gdb/xcode
  • Index(es):
    • Date
    • Thread