View Source edb_dap_request_evaluate (edb v0.5.0)

Summary

Types

arguments/0

-type arguments() ::
          #{expression := binary(),
            frameId => number(),
            line => number(),
            column => number(),
            source => edb_dap:source(),
            context => watch | repl | hover | clipboard | variables | atom(),
            format => edb_dap_request_variables:value_format()}.

response_body/0

-type response_body() ::
          #{result := binary(),
            type => binary(),
            presentationHint => edb_dap_request_variables:variable_presentation_hint(),
            variablesReference := number(),
            namedVariables => number(),
            indexedVariables => number(),
            memoryReference => binary(),
            valueLocationReference => number()}.

Functions

handle(State, Args)

-spec handle(State, Args) -> edb_dap_request:reaction(response_body())
                when State :: edb_dap_server:state(), Args :: arguments().

parse_arguments(Args)

-spec parse_arguments(edb_dap:arguments()) -> {ok, arguments()} | {error, Reason :: binary()}.