Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 45131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T15:45:39+00:00 2026-05-10T15:45:39+00:00

Is there a way to view the key/value pairs of a NSDictionary variable through

  • 0

Is there a way to view the key/value pairs of a NSDictionary variable through the Xcode debugger? Here’s the extent of information when it is fully expanded in the variable window:

Variable  Value      Summary jsonDict  0x45c540   4 key/value pairs  NSObject {...}   isa     0xa06e0720 

I was expecting it to show me each element of the dictionary (similar to an array variable).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T15:45:39+00:00Added an answer on May 10, 2026 at 3:45 pm

    In the gdb window you can use po to inspect the object.

    given:

    NSMutableDictionary* dict = [[NSMutableDictionary alloc] init]; [dict setObject:@'foo' forKey:@'bar']; [dict setObject:@'fiz' forKey:@'buz']; 

    setting a breakpoint after the objects are added you can inspect what is in the dictionary

    (gdb) po dict {   bar = foo;   buz = fiz; } 

    Of course these are NSString objects that print nicely. YMMV with other complex objects.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to view the activity log for the integrate SourceSafe inside
Is there any way to view the contents of the solution user options file
Is there a way to view the register contents in each stack frame in
Is there a way to link to another View that displays search results without
Is there a way to change the default pages used to edit/create/view a Sharepoint
I use ClearCase. I have a snapshot view. Is there a way to compare
Definitions lists are a great way to mark up information where some key word
If I've attached a number of key-value pairs to a DOM element using .data(),
Is there way in next piece of code to only get the first record?
is there way thats i can preselect an item when the page loads or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.