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 7168687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:49:48+00:00 2026-05-28T14:49:48+00:00

The po command is a bit useless, at least unless there are some runes

  • 0

The po command is a bit useless, at least unless there are some runes one has to cast to make it useful, in which case what are they?

For example, take this code:

MyClass *myClass = ...
NSLog(@"stuff: %@", myClass.stuff);

If running this code in Xcode and trying to debug then po behaves as:

(gdb) po myClass
<MyClass: 0xee34567>

(gdb) po myClass.stuff
There is no member named stuff

Why does it do this. There is a property called stuff, and NSLog has no problem seeing it. So how to inspect member variables in Xcode, I know this question has been asked on here many times before, but after reading them I still can’t find a decent way of doing so.

  • 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. Editorial Team
    Editorial Team
    2026-05-28T14:49:49+00:00Added an answer on May 28, 2026 at 2:49 pm

    This answer is for Objective C, specifically. po only works with ObjC objects so I’m assuming that’s what you’re asking about here.

    Have you tried:

    po [myClass stuff]
    

    This works fine for me – assuming stuff is a property.

    po myObj is equivalent to calling [myObj description]. If you want to list all the ivars of a particular object using po you’d have to implement a suitable description method for its class. I am not aware of any automatic mechanism for listing the ivars of a class. There may well be, at least if you are dealing with properties.

    This is worth a read too: gdb for Objective C.

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

Sidebar

Related Questions

Recently a bit of code which has worked solidly for a few months now
According to MSDN , the /Zp command defaults to 8, which means 64-bit alignment
I have a command-line utility that gets quite a bit of downloads from my
Which command will executed first,If a stored procedure have individual multiple select commands;
I have written a tool that references Microsoft.TeamFoundation.VersionControl.Client.dll, which is a 32-bit DLL. When
I am using Windows 7 Enterprise 32 bit. I have used Windows command line,
I like PersistentPerl quite a bit for both web and command-line use. The only
I do a fair bit of work at the command line. When I start
I need simple example for calculate PCB bit for APDU command. For example I
with identify command I get some info about images and it looks like this

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.