Add dummy var-show-attributes command
authorIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 17 Jul 2017 03:12:09 +0000 (06:12 +0300)
committerIgor Kulaychuk <i.kulaychuk@samsung.com>
Mon, 13 Nov 2017 19:22:40 +0000 (22:22 +0300)
src/debug/netcoredbg/commands.cpp

index 606a7bd..9545454 100644 (file)
@@ -401,6 +401,10 @@ HRESULT Debugger::HandleCommand(std::string command,
 
         return S_OK;
     }},
+    { "var-show-attributes", [](ICorDebugProcess *, const std::vector<std::string> &args, std::string &output) -> HRESULT {
+        output = "status=\"noneditable\"";
+        return S_OK;
+    }},
     };
 
     auto command_it = commands.find(command);