Skip to content

Commit

Permalink
Fix VSCode protocol scopes command, add expensive field.
Browse files Browse the repository at this point in the history
Related to #104
  • Loading branch information
viewizard authored and Alexander Soldatov/Platform Lab /SRR/Staff Engineer/Samsung Electronics committed Sep 16, 2022
1 parent fb63fd9 commit 1ebcb00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/protocols/vscodeprotocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ void to_json(json &j, const Thread &t) {
void to_json(json &j, const Scope &s) {
j = json{
{"name", s.name},
{"variablesReference", s.variablesReference}};
{"variablesReference", s.variablesReference},
{"expensive", false}};

if (s.variablesReference > 0)
{
Expand Down

0 comments on commit 1ebcb00

Please sign in to comment.