View Source edb_dap_request_stack_trace (edb v0.4.0)

Summary

Types

arguments/0

-type arguments() ::
          #{threadId := edb_dap:thread_id(),
            startFrame => number(),
            levels => number(),
            format => stack_frame_format()}.

response_body/0

-type response_body() :: #{stackFrames := [stack_frame()], totalFrames => number()}.

stack_frame/0

-type stack_frame() ::
          #{id := number(),
            name := binary(),
            source => edb_dap:source(),
            line := number(),
            column := number(),
            endLine => number(),
            endColumn => number(),
            canRestart => boolean(),
            instructionPointerReference => binary(),
            moduleId => number() | binary(),
            presentationHint => binary()}.

stack_frame_format/0

-type stack_frame_format() ::
          #{hex => boolean(),
            parameters => boolean(),
            parameterTypes => boolean(),
            parameterNames => boolean(),
            parameterValues => boolean(),
            line => boolean(),
            module => boolean(),
            includeAll => boolean()}.

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()}.