Disclaimer : All the postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions.
DBX is a command line debugger and is best suited for debugging programs/applications on AIX.

It enables source-level debugging of C, C++ and FORTRAN language programs, as well as assembler-language debugging of executable programs at the machine level.

You can find more details of the dbx command from AIX’s documentation page : http://pic.dhe.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.cmds%2Fdoc%2Faixcmds2%2Fdbx.htm

There are several other sections in the official documentation page which are quite useful to get started with dbx

1. Starters guide on ‘Using the dbx debug program
2. Information on ‘Displaying and manipulating the source file with the dbx debug program
3. Details on ‘Examining Program Data
4. How to ‘Debug at the machine/assembly level with dbx
5. Details on ‘Customizing the dbx debugging environment
6. Information on ‘Creating plugin’s for dbx to aid in debugging
7. ‘Java plugin for DBX‘ provides enhanced features when working on Java processes.

Complete list of dbx subcommands are listed here : http://pic.dhe.ibm.com/infocenter/aix/v7r1/index.jsp?topic=%2Fcom.ibm.aix.genprogc%2Fdoc%2Fgenprogc%2Fls_dbx_subcmds.htm

Apart from all other resources and information available on DBX, I have learnt some tricks from my own working experience and are sharing them in these blogs :

A : Useful customization for the dbx debugging environment

B : Identifying memory corruption in dbx

C : Watching changes on a particular address

D : How to debug both the parent and child in a forking (i.e. multi-process) program


What do you think ?

Set your Twitter account name in your settings to use the TwitterBar Section.
%d bloggers like this: