Skip to content
Permalink
Browse files
Merge pull request #34 from itowlson/patch-1
Fix data breakpoint not appearing on mock globals
  • Loading branch information
weinand committed Nov 6, 2020
2 parents d53567f + 8714e3d commit d066fc61f9c7ecdc25b0a3a15606792d99ab72c4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -474,7 +474,7 @@ export class MockDebugSession extends LoggingDebugSession {

if (args.variablesReference && args.name) {
const id = this._variableHandles.get(args.variablesReference);
if (id.startsWith("global_")) {
if (id === "global") {
response.body.dataId = args.name;
response.body.description = args.name;
response.body.accessTypes = [ "read" ];

0 comments on commit d066fc6

Please sign in to comment.