Debugger Methods Fling OS

The Debugger type exposes the following members.

Methods

  Name Description
Public method BeginBreak
Breaks OS execution at the nearest possible moment. Note: EndBreak has to be called unless execution is immediately continued.
Public method ClearInt3
Performs a delayed-clear of an Int3 at the specified address.
Public method Continue
Continues OS execution - can be called immediately after OnBreak without EndBreak being called.
Public method Dispose
Disposes of the debugger instance cleanly.
Public method EndBreak
Completes breaking of OS execution. Must be called immediately after OnBreak event is fired unless Continue is immediately called.
Public method GetArguments
Gets the argument values as they were immediately prior to the break interrupt.
Public method GetBreakAddress
Sends a request for the brwak address.
Public method GetLocals
Gets the locals values as they were immediately prior to the break interrupt.
Public method GetMemory
Gets the value of the specified memory.
Public method GetRegisters
Gets the register values as they were immediately prior to the break interrupt.
Private method Handle_BreakCmd
Handles a received break command.
Private method Handle_ClearInt3Cmd
Handles a received ClearInt3 command.
Private method Handle_ContinueCmd
Handles a received Continue command.
Private method Handle_GetArgumentsCmd
Handles a received GetArguments command.
Private method Handle_GetBreakAddressCmd
Handles a received GetBreakAddress command.
Private method Handle_GetLocalsCmd
Handles a received GetLocals command.
Private method Handle_GetMemoryCmd
Handles a received GetMemory command.
Private method Handle_GetRegistersCmd
Handles a received GetRegisters command.
Private method Handle_MessageCmd
Handles a received Message command.
Private method Handle_SendArgumentsCmd
Handles a received SendArguments command.
Private method Handle_SendBreakAddressCmd
Handles a received SendBreakAddress command.
Private method Handle_SendLocalsCmd
Handles a received SendLocals command.
Private method Handle_SendMemoryCmd
Handles a received SendMemory command.
Private method Handle_SendRegistersCmd
Handles a received SendRegisters command.
Private method Handle_SetInt3Cmd
Handles a received SetInt3 command.
Private method Handle_StepNextCmd
Handles a received StepNext command.
Private method HandleCommand(Byte)
Handles the specified command as though it were received from the OS being debugged.
Private method HandleCommand(DebugCommands)
Handles the specified command as though it were received from the OS being debugged.
Public method Init
Initialises the debugger, connects to the specified pipe and loads debug info from the build directory.
Private method LoadCurrentIlOp
Loads the current line's IL Op info (assuming we aren't in a plugged method)
Private method LoadCurrentMethodASM_Plugged
Loads the current method's ASM assuming it is plugged.
Private method LoadCurrentMethodASM_Unplugged
Loads the current method's ASM assuming it is not plugged.
Private method LoadCurrentMethodCS
Loads the current method's C# code (if it isn't plugged).
Public method LoadMemoryValue
Adds a memory request to the queue of memory requests.
Private method LoadMemoryValue_Run
Underlying method that asynchronously executes all the memory requests.
Private method SendPendingInt3Changes
Public method SetInt3
Performs a delayed-set of an Int3 at the specified address.
Public method StepNext
Performs an Int1 step
Public method StepToNextIL
Steps to the beggining of the next line of IL code.
Public method Stop
Stops the debugger and closes the connection.
Private method TryLoadCurrentPluggedMethod
Loads the current method from the debug database based on the break address.
Private method TryLoadCurrentUnpluggedMethod
Loads the current method from the debug database based on the break address.
Public method WaitForCommand
Waits for and then handles an incoming command from the kernel
Top
See Also