Skip to content

Commit

Permalink
Debug Commands
Browse files Browse the repository at this point in the history
  • Loading branch information
torusrxxx committed Jun 18, 2016
1 parent 02c4922 commit 2aa1b3d
Show file tree
Hide file tree
Showing 11 changed files with 92 additions and 0 deletions.
8 changes: 8 additions & 0 deletions commands/debug-control/SingleStep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# SingleStep[,sstep,sst]
Step a specified number of instructions using the Trap-Flag.

## arguments
[arg1]: The number of instructions to executre (this can be any valid expression). When not specified, a StepInto is performed.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/StepOver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# StepOver[,step,sto,st]
Step over calls. When the instruction at EIP/RIP isn't a call, a StepInto is performed.

## arguments
This command has no arguments.

## results
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/eSingleStep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# eSingleStep[,esstep,esst]
Step a specified number of instructions using the Trap-Flag, skipping first-chance exceptions.

## arguments
[arg1]: The number of instructions to executre (this can be any valid expression). When not specified, a StepInto is performed.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/eStepOver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# eStepOver[,estep,esto,est]
Step over calls, skipping first-chance exceptions. When the instruction at EIP/RIP isn't a call, a StepInto is performed.

## arguments
This command has no arguments.

## result
This command does not set any result variables.
10 changes: 10 additions & 0 deletions commands/debug-control/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,23 @@ Contents:
DebugContinue
DetachDebugger
erun
eSingleStep
eStepInto
eStepOut
eStepOver
InitDebug
killthread
pause
resumeallthreads
resumethread
run
SingleStep
StepInto
StepOut
StepOver
StopDebug
suspendallthreads
suspendthread
switchthread
TraceIntoConditional
TraceOverConditional
10 changes: 10 additions & 0 deletions commands/debug-control/killthread.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# killthread[,threadkill]
Kill a thread in the debuggee.

## arguments
[arg1]: ThreadId of the thread to kill (see the Threads tab). When not specified, the main thread is used.

[arg2]: Thread exit code. When not specified, 0 will be used.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/resumeallthreads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# resumeallthreads[,threadresumeall]
Resume all threads in the debuggee.

## arguments
This command has no arguments.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/resumethread.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# resumethread[,threadresume]
Resume a thread in the debuggee.

## arguments
[arg1]: ThreadId of the thread to resume (see the Threads tab). When not specified, the main thread is used.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/suspendallthreads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# suspendallthreads[,threadsuspendall]
Suspend all threads in the debuggee.

## arguments
This command has no arguments.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/suspendthread.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# suspendthread[,threadsuspend]
Suspend a thread in the debuggee.

## arguments
[arg1]: ThreadId of the thread to suspend (see the Threads tab). When not specified, the main thread is used.

## result
This command does not set any result variables.
8 changes: 8 additions & 0 deletions commands/debug-control/switchthread.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# switchthread[,threadswitch]
Switch the internal current thread to another thread (resulting in different callstack + different registers displayed).

## arguments
[arg1]: ThreadId of the thread to switch to (see the Threads tab). When not specified, the main thread is used.

## result
This command does not set any result variables.

0 comments on commit 2aa1b3d

Please sign in to comment.