Running a Program in the Debugger

If your program can be run using a simple command line, you can load it when you start the debugger. For example:

GDB Mode

% idb a.out

or

% idb

(idb) file a.out

DBX Mode

% idb -dbx a.out

or

% idb -dbx

(idb) load a.out