Skip to content

Commit

Permalink
DAP: add expensive field to scopes type. (#1347)
Browse files Browse the repository at this point in the history
There's a required `expensive` field on the Scope Type used
to hint to the client whether the variables in the given scope are
expensive to retrieve.

https://microsoft.github.io/debug-adapter-protocol/specification#Types_Scope
  • Loading branch information
the-mikedavis authored Aug 1, 2022
1 parent 92df400 commit a45c2e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/els_dap/src/els_dap_general_provider.erl
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ handle_request(
#{
<<"name">> => <<"Locals">>,
<<"presentationHint">> => <<"locals">>,
<<"variablesReference">> => Ref
<<"variablesReference">> => Ref,
<<"expensive">> => false
}
]
},
Expand Down

0 comments on commit a45c2e6

Please sign in to comment.