detach

Detach the debugger from a running process.

Syntax

GDB Mode:

detach

IDB Mode:

detach [pid,…]

Parameters

None

(gdb mode only)

pid

In idb mode:

The process IDs of the processes from which to detach.

Description

This command detaches the debugger from all running processes. When you detach, the debugger removes all breakpoints.

If you attached to a process using the attach command, the process continues to run, but the debugger can no longer identify or control it.

IDB Mode:

By default, the detach command detaches the debugger from the current process and, therefore, does not require a process ID. To detach a non-current process, specify the process ID.

Example

GDB Mode:

(idb) detach

IDB Mode:

(idb) detach 12345, 789

See Also


Submit feedback on this help topic

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