Debugging Multiple Processes

Note iconNote

The debugger does not support debugging multiple processes with the GUI. Use the command-line interface instead.

The debugger can find and control more than one process at a time. The debugger can find and control a process for one of the following reasons:

At any one time, you can examine or execute only one of the processes that the debugger controls. The rest are stalled. You must explicitly switch the debugger to the process you want to work with, stalling the one it was controlling.

To show the processes that the debugger controls:

  1. If you are not already in IDB mode, switch to IDB mode using the following command.
    1. (idb) $cmdset = "idb"
    2. Enter the process or show process command.

      The debugger displays any processes it controls.

  2. If you want to switch to GDB mode, use the following command:
    1. (idb) $cmdset = "gdb"
  3. To switch the debugger to a specific process:
    1. If you are not already in IDB mode, switch to IDB mode using the following command.

      (idb) $cmdset = "idb"

    2. Enter the process command.

      The process you are switching away from remains stalled until either the debugger exits or until you switch to it and continue it.

  4. If you want to switch to GDB mode, use the following command:
    1. (idb) $cmdset = "gdb"

Note iconNote

The attach command and the IDB mode command load switch the debugger to the process on which they operate.

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.