Is there anything like sdb in OS X?

Discussion in 'Programmer Misc' started by Robert Peirce, Feb 12, 2008.

  1. I need to debug a C program and am at a loss how to do it short of
    sticking debug print statements in it. I used to use sdb to get a quick
    stack trace or to single step through a program. Is there anything like
    that in OS X?
     
    Robert Peirce, Feb 12, 2008
    #1
    1. Advertisements

  2. gdb
     
    David Phillip Oster, Feb 12, 2008
    #2
    1. Advertisements

  3. Thanks. That should do it. I tried adb and sdb but not gdb!!
     
    Robert Peirce, Feb 12, 2008
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.