View Source edb_dap_events (edb v0.3.0)

DAP Events Handle events coming from the debugger. This function should be invoked by the DAP server.

Summary

Types

reaction/0

-type reaction() :: #{actions => [edb_dap_server:action()], state => edb_dap_state:t()}.

Functions

exited(State, Node, Reason)

-spec exited(edb_dap_state:t(), Node :: node(), Reason :: term()) -> reaction().

stopped(State, Event)

-spec stopped(edb_dap_state:t(), edb:stopped_event()) -> reaction().