3.2.3 Higher-Layer Triggered Events

  • When the remote session is first established, the server MUST send a REMOTE_DEBUGGER_STATE message (section 2.2.7) to the client.

  • When the server receives the SET_PSDEBUGMODE message (section 2.2.2) from the client, it MUST set the server Debugger_Mode state.

  • When server breakpoint state changes in the remote session, the server MUST send a REMOTE_DEBUGGER_BREAKPOINT_UPDATED_EVENT message (section 2.2.8) to the client.

  • When code execution is halted through debugger action in the remote session, the server MUST send a REMOTE_DEBUGGER_STOP_EVENT message (section 2.2.9) to the client.

  • When the server receives the SET_PSDEBUGGERACTION message (section 2.2.3) from the client, it MUST set the server Resume_Action state.

  • When the server receives the GET_PSDEBUGGERSTOPARGS message (section 2.2.4) from the client, it MUST return the server Debugger_Stop_Context information. 

  • When the server receives the SET_PSDEBUGGERSTEPMODE message (section 2.2.5) from the client, it MUST set the Debugger_Step_Mode state.

  • When the server receives the SET_PSUNHANDLEDBREAKPOINTMODE message (section 2.2.6) from the client, it MUST set the Debugger_UnhandledBreakpoint_Mode state.