PDA Debugger Protocol Reference

clear

Clears any breakpoint set on given line
   C: clear {line}
   R: ok

data

Retrieves data stack information
   C: data
   R: {value 1}|{value 2}|{value 3}|...|

drop

Returns from the current frame without executing the rest of instructions.
   C: drop
   R: ok
   E: resumed drop
   E: suspended drop

eval

Sets what events cause the execution to stop.
   C: eval {instruction}%20{parameter}|{instruction}%20{parameter}|...
   R: ok
   E: resume client
   E: evalresult result
   E: suspended eval

eventstop

Sets what events cause the execution to stop.
   C: eventstop {event_name} {0|1}
   R: ok
   ...
   E: suspended event {event_name}

exit

Instructs the debugger to exit.
   C: exit
   R: ok

popdata

Pops the top value from the data stack
   C: popdata
   R: ok

pushdata

Pushes the given value on top of the data stack.
   C: pushdata {value}
   R: ok

resume

Resumes the execution
   C: resume
   R: ok
   E: resumed client

set

Sets a breakpoint at given line
   C: set {line_number}
   R: ok
   C: resume
   E: resumed client
   E: suspended breakpoint line_number

setdata

Sets a data value in the data stack at the given location
   C: setdata {index} {value}
   R: ok

setvar

Sets a variable value
   C: setvar {frame_number} {variable} {value}
   R: ok

stack

Retrieves command stack information
   C: stack
   R: {file}|{line}|{function}|{var_1}|{var_2}|...{file}|{line}|{function}|{var_1}|{var_2}|......

step

Executes next instruction
   C: step
   R: ok
   E: resumed step
   E: suspended step

stepreturn

Executes instructions until the current subroutine is finished
   C: stepreturn
   R: ok
   E: resumed step
   E: suspended step

suspend

Suspends execution
   C: suspend
   R: ok
   E: suspended client

var

Retrieves variable value
   C: var {frame_number} {variable_name}
   R: {variable_value}

watch

Sets a watchpoint on a given variable
   C: watch {function}::{variable_name} {watch_operation}
   R: ok
   C: resume
   R: resumed client
   E: suspended watch {watch_operation} {function}::{variable_name}
The watch_operation value can be: