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

  • Home
  • SEARCH
  • 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 6040155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:28:23+00:00 2026-05-23T06:28:23+00:00

Does anyone know of a really good tutorial, book or article on debugging using

  • 0

Does anyone know of a really good tutorial, book or article on debugging using GDB for MacOS and iOS? Particularly something that covers the commands added by Apple such as “po” (print object) as well as standard GDB commands. Thanks!

  • 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-23T06:28:23+00:00Added an answer on May 23, 2026 at 6:28 am

    Have you tried gdb itself? You can type ‘help’ at a ‘(gdb)’ prompt to get a list of command categories, ‘help ‘ to get a list of commands in a given category, and ‘help ‘ to get help with a specific command. For example:

    (gdb) help data
    Examining data.
    
    List of commands:
    
    append -- Append target code/data to a local file
    call -- Call a function in the program
    delete display -- Cancel some expressions to be displayed when program stops
    delete mem -- Delete memory region
    disable display -- Disable some expressions to be displayed when program stops
    disable mem -- Disable memory region
    disassemble -- Disassemble a specified section of memory
    display -- Print value of expression EXP each time the program stops
    dump -- Dump target code/data to a local file
    enable display -- Enable some expressions to be displayed when program stops
    enable mem -- Enable memory region
    inspect -- Same as "print" command
    invoke-block -- Invoke the function associated with the block passed in as the first
    mem -- Define attributes for memory region
    output -- Like "print" but don't put in value history and don't print newline
    print -- Print value of expression EXP
    print-object -- Ask an Objective-C object to print itself
    printf -- Printf "printf format string"
    ptype -- Print definition of type TYPE
    restore -- Restore the contents of FILE to target memory
    set -- Evaluate expression EXP and assign result to variable VAR
    set variable -- Evaluate expression EXP and assign result to variable VAR
    undisplay -- Cancel some expressions to be displayed when program stops
    whatis -- Print data type of expression EXP
    x -- Examine memory: x/FMT ADDRESS
    
    Type "help" followed by command name for full documentation.
    Command name abbreviations are allowed if unambiguous.
    

    That’s not going to help you much if you’ve never debugged a program, but if you know what to do with a debugger it’s probably all you need.

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

Sidebar

Related Questions

Does anyone know of a good tutorial/e-book that goes in depth on the System.Runtime.InteropServices
Does anyone know of a good Django example/tutorial/book for a first hands on? It
Does anyone know of a really good editor to debug JavaScript (other then Visual
Does anyone know of a really simple way of publishing Java methods as web
Does anyone know of a really simple way of capitalizing just the first letter
Does anyone know of an equivalent to FxCop/StyleCop for Delphi? I would really like
Does anyone know how to do this? I am really surprised at the scarce
I'm just curious about this really, does anyone know why they broke convention on
Does anyone know of a good Command Prompt replacement? I've tried bash/Cygwin, but that
Does anyone know of a good RVM clone on Windows? Are there any efforts

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.