View Source edb_dap_request_set_exception_breakpoints (edb v0.4.0)

Summary

Types

arguments/0

-type arguments() ::
          #{filters := [binary()],
            filterOptions => [exception_filter_options()],
            exceptionOptions => [exception_options()]}.

exception_break_mode/0

-type exception_break_mode() :: never | always | unhandled | userUnhandled.

exception_filter_options/0

-type exception_filter_options() :: #{filterId := binary(), condition => binary(), mode => binary()}.

exception_options/0

-type exception_options() :: #{path => [exception_path_segment()], breakMode := exception_break_mode()}.

exception_path_segment/0

-type exception_path_segment() :: #{negate => boolean(), names := [binary()]}.

response/0

Functions

handle(State, Args)

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

parse_arguments(Args)

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