Running the 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:

DBX Mode

 

% idb a.out

 

or

 

% idb

(idb) load a.out

GDB Mode

 

% idb -gdb a.out

 

or

 

% idb -gdb

(idb) file a.out