View Source edb_dap_request_variables (edb v0.4.0)
Summary
Types
-type arguments() :: #{variablesReference := number(), filter => binary(), start => number(), count => number(), format => value_format()}.
-type response_body() :: #{variables := [variable()]}.
-type value_format() :: #{hex => boolean()}.
-type variable() :: #{name := binary(), value := binary(), type => binary(), presentationHint => variable_presentation_hint(), evaluateName => binary(), variablesReference := number(), namedVariables => number(), indexedVariables => number(), memoryReference => binary(), declarationLocationReference => number(), valueLocationReference => number()}.
Functions
-spec handle(State, Args) -> edb_dap_request:reaction(response_body()) when State :: edb_dap_server:state(), Args :: arguments().
-spec parse_arguments(edb_dap:arguments()) -> {ok, arguments()} | {error, Reason :: binary()}.