Skip to content

Commit

Permalink
[dap] dummy handler for pause
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGeorge committed Jun 4, 2021
1 parent 4fc00d3 commit 92a6ed2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/els_dap/src/els_dap_general_provider.erl
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,12 @@ handle_request( {<<"next">>, Params}
Pid = to_pid(ThreadId, Threads),
ok = els_dap_rpc:next(ProjectNode, Pid),
{#{}, State};
handle_request( {<<"pause">>, _}
, State
) ->
%% pause is not supported by the OTP debugger
%% but we cannot disable it in the UI either
{#{}, State};
handle_request( {<<"continue">>, Params}
, #{ threads := Threads
, project_node := ProjectNode
Expand Down

0 comments on commit 92a6ed2

Please sign in to comment.