Using Intel® Debugger for Linux* on the Command Line

Intel® Debugger for Linux*(IDB) comes with a Graphical User Interface but is supports command line debugging as well. The command "idbc" starts the command line version of IDB.

Many of the commands are similar to the GNU Debugger (GDB) in the default mode. An application can be attached in IDB by including it as an argument at launch, "idbc foo.exe" or attaching the process-id within GDB. To exit IDB, use the command "quit" or "q".
The key differences between IDB and GDB are:

  • Enhanced support for Fortran 90/95/2003 in IDB
  • Enhanced threading and parallelism support in IDB
  • IDB does not support GDB style catch catch and catch throw
  • IDB does not automatically run to main() when a program is attached.


IDB specific parallelism commands: 

  • idb freeze: Set the execution attribute of the specified threads to frozen.
  • idb info barrier: Shows information for existing barriers in an OpenMP* application.
  • idb info lock: Shows information for existing locks in an OpenMP* application.
  • idb info openmp thread tree: Display the threads in the process in a tree format.
  • idb info task: Display information for existing tasks in an OpenMP* application.
  • idb info taskwait: Display information for any existing taskwait.
  • idb info team: Display information for any existing team.
  • idb info thread: Show the specified threads in the process.
  • idb process: Show or specify a process.
  • idb reentrancy: Enable re-entrancy detection on a function.
  • idb set cilk-serialization: Enable or disable serial execution of parallel regions in Intel® Cilk™ Plus code.
  • idb set openmp-serialization: Enable or disable serial execution of parallel regions in an OpenMP* process.
  • idb set solib-path-substitute: Substitute a directory path when loading shared libraries.
  • idb sharing: Disable or enable data sharing event detection.
  • idb sharing event expand: Display detailed information for data sharing detection events.
  • idb sharing event list: Display a summary of all data sharing detection events.
  • idb sharing filter add file: Ignore data sharing events in the named file.
  • idb sharing filter add function: Ignore data sharing events in the named function.
  • idb sharing filter add range: Ignore data sharing events in an address range.
  • idb sharing filter add variable: Ignore data sharing events on the specified variable.
  • idb sharing filter delete: Delete data sharing detection filters.
  • idb sharing filter disable: Disable data sharing detection filters.
  • idb sharing filter enable: Enable data sharing detection filters.
  • idb sharing filter list: List all data sharing detection filters.
  • idb sharing filter toggle: Toggle data sharing detection filters.
  • idb sharing reset: Clear the data sharing event list.
  • idb sharing status: Show if data sharing detection is on or off.
  • idb sharing stop: Stop or continue the debuggee when a data sharing event occurs.
  • idb show cilk-serialization: Show if serialization of parallel regions in Intel® Cilk™ Plus code is enabled.
  • idb show openmp-serialization: Show if serialization of parallel regions in an OpenMP* process is enabled.
  • idb show solib-path-substitute: Show the replacement directory for loading shared libraries.
  • idb stopping threads: Specify the threads that stop when a breakpoint is hit.
  • idb synchronize: Set a thread syncpoint at a location you specify.
  • idb target threads: Specify the threads that subsequent mover commands apply to.
  • idb thaw: Set the execution attribute of the specified threads to thawed.
  • idb uninterrupt: Set the execution attribute of the specified threads to uninterrupt.

idb unset solib-path-substitute - Remove a path substitution rule.
Note: On Mac OS* X, the command "idb" starts the Command Line Version of Intel® Debugger. On Linux*, "idb" will start the GUI version of IDB. There is no GUI version of IDB for Mac Os* X.
* Other names and brands may be claimed as the property of others.

For more complete information about compiler optimizations, see our Optimization Notice.