Debugger Command Reference (IDB Mode)
address / size format (idb mode only)
Dump memory in a range you specify.
/ | ?[string] (idb mode only)
Search in the source for a string, or repeat the last search.
!
Repeat a command in the command history.
^
Find, and optionally change a command in the command history.
#
Specify a comment.
alias (idb mode only)
Define an alias for one or more commands.
assign (idb mode only)
Change a program variable.
attach
Connect to a running process.
call
Call a function in the debuggee.
catch (idb mode only)
Catch a signal.
catch unaligned (idb mode only)
Catch unaligned accesses.
class (idb mode only)
Show or change the current class scope.
cont (idb mode only)
Continue program execution.
delete (idb mode only)
Delete all or specific breakpoints.
delete breakpoints (gdb mode only)
Delete all or a specific breakpoint.
delsharedobj (idb mode only)
Delete symbol information for a shared object.
detach
Detach the debugger from a running process.
disable
Disable one or more breakpoints.
down
Move a number of frames down the stack and print them.
dump (idb mode only)
List the parameters and local variables on the stack.
edit (idb mode only)
Edit the current source file or a specified file.
enable
Enable one or more breakpoints.
exit (idb mode only)
Exit the debugger.
expand aggregated message
Expand the specified or most recent message.
export (idb mode only)
Set an environment variable or print all environment variables.
file (idb mode only)
Switch to the specified source file.
fileexpr (idb mode only)
Switch to the specified source file.
focus (idb mode only)
Change or display the current process set.
func (idb mode only)
Show or change the current function scope.
goto (idb mode only)
Skip to a specific line number.
help
Display help for debugger commands.
history (idb mode only)
Show the most recently used debugger commands.
if
Conditionalize command execution.
ignore (idb mode only)
Ignore the specified signal.
info handle (gdb mode only)
Print available signals and signal setting information.
info source (gdb mode only)
Print information about the current source file.
kill
Kill the current process.
list
Display lines of source code.
listobj (idb mode only)
List all loaded objects, including the main image and the shared libraries.
load (idb mode only)
Load an executable and core file for debugging.
map source directory (idb mode only)
Map one source directory to another one.
monitor (gdb mode only)
Reserved for future extensions. Sends a request to a target.
next
Step forward in source, over any function calls.
nexti
Step forward in assembler instructions, over any function calls.
patch (idb mode only)
Modify an executable by writing the value of an expression to a specific address or variable.
playback input (idb mode only)
Execute commands from a file.
pop (idb mode only)
Remove frames from the call stack.
print
Print the value of an expression.
printenv (idb mode only)
Display the value of one or all environment variables.
printf
Display a complex structure with formatting.
printi
Display the value as an assembly instruction.
printregs (idb mode only)
Display the values of hardware registers.
printt (idb mode only)
Interpret integer values as seconds since the epoch.
process (idb mode only)
Show or change the current process.
quit
Exit the debugger.
readsharedobj (idb mode only)
Read symbol information for a shared object.
record (idb mode only)
Record debugger interactions to a file.
rerun (idb mode only)
Restart the program.
return (idb mode only)
Continue execution until the current or specified function returns.
run
Run the debuggee program.
set (idb mode only)
Set a debugger variable to a value or show all debugger variables.
set history save
Switch command-line history on or off.
set history size
Specify the size of the command-line history.
setenv (idb mode only)
Set the value of an environment variable.
sh (idb mode only)
Execute a shell command.
show aggregated message
Print the specified aggregated messages.
show condition (idb mode only)
List information about pthreads condition variables.
show lock (idb mode only)
List information about OpenMP* locks.
show mutex (idb mode only)
Show information about pthreads mutexes.
show openmp thread tree (idb mode only)
Display the threads in the process in a tree format.
show process (idb mode only)
Show process information.
show process set
List information about one or all process sets.
show source directory (idb mode only)
List information about directory mappings.
show team (idb mode only)
List information about OpenMP* teams.
show thread (idb mode only)
List information about a thread.
source
Execute commands from a batch file.
status (idb mode only)
Print info on all breakpoints and tracepoints.
step
Step forward in source, into any function calls.
stepi
Step forward in assembler instructions, into any function calls.
stop at (idb mode only)
Set a breakpoint at a line number or expression.
stop every (idb mode only)
Set a breakpoint on every function entry point or on every instruction.
stop in (idb mode only)
Set a breakpoint in a function.
stop memory (idb mode only)
Set a breakpoint on a region in memory.
stop pc (idb mode only)
Set a breakpoint when PC equals a specific address.
stop signal (idb mode only)
Set a breakpoint on a signal.
stop unaligned (idb mode only)
Set a breakpoint on unaligned accesses.
stop variable (idb mode only)
Set a breakpoint on a specific variable.
stopi (idb mode only)
Set a breakpoint at an instruction, or if a variable changes.
tbreak (gdb mode only)
Set a temporary breakpoint at specified location.
thread
Show or change the current thread.
unalias (idb mode only)
Remove an alias.
unload (idb mode only)
Unload an image or a core file from the debugger.
unmap source directory (idb mode only)
Remove a directory mapping.
unrecord (idb mode only)
Stop recording debugger input, output, or both.
unset (idb mode only)
Delete the specified debugger variable.
unsetenv (idb mode only)
Delete the specified environment variable, or all.
unuse (idb mode only)
Remove the specified directories from the source path or set path to default.
up
Move a specific number of frames up the stack and print them.
use (idb mode only)
Add a directory to the source path, or show directories in the source path.
watch (idb mode only)
Set a watchpoint on the specified variable or memory range.
whatis
Print the type of a variable.
when (idb mode only)
Set a breakpoint that executes a command list when it is hit.
wheni (idb mode only)
Set an instruction breakpoint that executes a command list when it is hit.
where (idb mode only)
Show the current stack trace of currently active functions.
whereis (idb mode only)
Show all declarations of a specific expression.
which (idb mode only)
Show the full scope of an expression.
while
Execute the command list while the specified expression is not zero.
Copyright © 2001-2011, Intel Corporation. All rights reserved.