@theia/debug 1.17.0-next.ff9e0507 → 1.18.0-next.04e2816d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/lib/browser/breakpoint/breakpoint-manager.js +159 -382
  2. package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -1
  3. package/lib/browser/breakpoint/breakpoint-marker.js +4 -15
  4. package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -1
  5. package/lib/browser/console/debug-console-contribution.d.ts.map +1 -1
  6. package/lib/browser/console/debug-console-contribution.js +132 -221
  7. package/lib/browser/console/debug-console-contribution.js.map +1 -1
  8. package/lib/browser/console/debug-console-items.js +231 -451
  9. package/lib/browser/console/debug-console-items.js.map +1 -1
  10. package/lib/browser/console/debug-console-session.js +86 -223
  11. package/lib/browser/console/debug-console-session.js.map +1 -1
  12. package/lib/browser/debug-configuration-manager.js +281 -623
  13. package/lib/browser/debug-configuration-manager.js.map +1 -1
  14. package/lib/browser/debug-configuration-model.js +31 -108
  15. package/lib/browser/debug-configuration-model.js.map +1 -1
  16. package/lib/browser/debug-frontend-application-contribution.d.ts +1 -0
  17. package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
  18. package/lib/browser/debug-frontend-application-contribution.js +577 -780
  19. package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
  20. package/lib/browser/debug-frontend-module.js +46 -82
  21. package/lib/browser/debug-frontend-module.js.map +1 -1
  22. package/lib/browser/debug-keybinding-contexts.js +41 -59
  23. package/lib/browser/debug-keybinding-contexts.js.map +1 -1
  24. package/lib/browser/debug-monaco-contribution.js +17 -17
  25. package/lib/browser/debug-monaco-contribution.js.map +1 -1
  26. package/lib/browser/debug-package.spec.js +2 -2
  27. package/lib/browser/debug-package.spec.js.map +1 -1
  28. package/lib/browser/debug-preferences.js +7 -11
  29. package/lib/browser/debug-preferences.js.map +1 -1
  30. package/lib/browser/debug-prefix-configuration.js +101 -117
  31. package/lib/browser/debug-prefix-configuration.js.map +1 -1
  32. package/lib/browser/debug-resource.js +29 -79
  33. package/lib/browser/debug-resource.js.map +1 -1
  34. package/lib/browser/debug-schema-updater.js +54 -193
  35. package/lib/browser/debug-schema-updater.js.map +1 -1
  36. package/lib/browser/debug-session-connection.js +137 -235
  37. package/lib/browser/debug-session-connection.js.map +1 -1
  38. package/lib/browser/debug-session-contribution.js +91 -120
  39. package/lib/browser/debug-session-contribution.js.map +1 -1
  40. package/lib/browser/debug-session-manager.js +368 -652
  41. package/lib/browser/debug-session-manager.js.map +1 -1
  42. package/lib/browser/debug-session.js +556 -1279
  43. package/lib/browser/debug-session.js.map +1 -1
  44. package/lib/browser/debug-tab-bar-decorator.js +32 -38
  45. package/lib/browser/debug-tab-bar-decorator.js.map +1 -1
  46. package/lib/browser/debug-watch-manager.js +41 -138
  47. package/lib/browser/debug-watch-manager.js.map +1 -1
  48. package/lib/browser/editor/debug-breakpoint-widget.js +142 -255
  49. package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -1
  50. package/lib/browser/editor/debug-editor-model.js +299 -474
  51. package/lib/browser/editor/debug-editor-model.js.map +1 -1
  52. package/lib/browser/editor/debug-editor-service.js +128 -206
  53. package/lib/browser/editor/debug-editor-service.js.map +1 -1
  54. package/lib/browser/editor/debug-exception-widget.js +56 -119
  55. package/lib/browser/editor/debug-exception-widget.js.map +1 -1
  56. package/lib/browser/editor/debug-expression-provider.js +21 -24
  57. package/lib/browser/editor/debug-expression-provider.js.map +1 -1
  58. package/lib/browser/editor/debug-hover-source.js +83 -249
  59. package/lib/browser/editor/debug-hover-source.js.map +1 -1
  60. package/lib/browser/editor/debug-hover-widget.js +151 -224
  61. package/lib/browser/editor/debug-hover-widget.js.map +1 -1
  62. package/lib/browser/editor/debug-inline-value-decorator.js +96 -193
  63. package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -1
  64. package/lib/browser/model/debug-breakpoint.js +52 -102
  65. package/lib/browser/model/debug-breakpoint.js.map +1 -1
  66. package/lib/browser/model/debug-function-breakpoint.js +54 -124
  67. package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
  68. package/lib/browser/model/debug-source-breakpoint.js +111 -265
  69. package/lib/browser/model/debug-source-breakpoint.js.map +1 -1
  70. package/lib/browser/model/debug-source.js +45 -126
  71. package/lib/browser/model/debug-source.js.map +1 -1
  72. package/lib/browser/model/debug-stack-frame.js +85 -199
  73. package/lib/browser/model/debug-stack-frame.js.map +1 -1
  74. package/lib/browser/model/debug-thread.js +132 -304
  75. package/lib/browser/model/debug-thread.js.map +1 -1
  76. package/lib/browser/preferences/launch-preferences.js +3 -3
  77. package/lib/browser/preferences/launch-preferences.js.map +1 -1
  78. package/lib/browser/view/debug-action.js +13 -29
  79. package/lib/browser/view/debug-action.js.map +1 -1
  80. package/lib/browser/view/debug-breakpoints-source.js +42 -169
  81. package/lib/browser/view/debug-breakpoints-source.js.map +1 -1
  82. package/lib/browser/view/debug-breakpoints-widget.js +43 -82
  83. package/lib/browser/view/debug-breakpoints-widget.js.map +1 -1
  84. package/lib/browser/view/debug-configuration-widget.js +89 -136
  85. package/lib/browser/view/debug-configuration-widget.js.map +1 -1
  86. package/lib/browser/view/debug-exception-breakpoint.js +7 -9
  87. package/lib/browser/view/debug-exception-breakpoint.js.map +1 -1
  88. package/lib/browser/view/debug-session-widget.js +80 -114
  89. package/lib/browser/view/debug-session-widget.js.map +1 -1
  90. package/lib/browser/view/debug-stack-frames-source.js +58 -169
  91. package/lib/browser/view/debug-stack-frames-source.js.map +1 -1
  92. package/lib/browser/view/debug-stack-frames-widget.js +89 -155
  93. package/lib/browser/view/debug-stack-frames-widget.js.map +1 -1
  94. package/lib/browser/view/debug-threads-source.js +37 -124
  95. package/lib/browser/view/debug-threads-source.js.map +1 -1
  96. package/lib/browser/view/debug-threads-widget.js +61 -99
  97. package/lib/browser/view/debug-threads-widget.js.map +1 -1
  98. package/lib/browser/view/debug-toolbar-widget.js +58 -76
  99. package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
  100. package/lib/browser/view/debug-variables-source.js +32 -102
  101. package/lib/browser/view/debug-variables-source.js.map +1 -1
  102. package/lib/browser/view/debug-variables-widget.js +35 -74
  103. package/lib/browser/view/debug-variables-widget.js.map +1 -1
  104. package/lib/browser/view/debug-view-model.js +172 -381
  105. package/lib/browser/view/debug-view-model.js.map +1 -1
  106. package/lib/browser/view/debug-watch-expression.js +34 -112
  107. package/lib/browser/view/debug-watch-expression.js.map +1 -1
  108. package/lib/browser/view/debug-watch-source.js +30 -87
  109. package/lib/browser/view/debug-watch-source.js.map +1 -1
  110. package/lib/browser/view/debug-watch-widget.js +35 -74
  111. package/lib/browser/view/debug-watch-widget.js.map +1 -1
  112. package/lib/browser/view/debug-widget.js +63 -105
  113. package/lib/browser/view/debug-widget.js.map +1 -1
  114. package/lib/common/debug-service.js +5 -5
  115. package/lib/common/debug-service.js.map +1 -1
  116. package/lib/node/debug-adapter-contribution-registry.js +133 -489
  117. package/lib/node/debug-adapter-contribution-registry.js.map +1 -1
  118. package/lib/node/debug-adapter-factory.js +38 -57
  119. package/lib/node/debug-adapter-factory.js.map +1 -1
  120. package/lib/node/debug-adapter-session-manager.js +50 -98
  121. package/lib/node/debug-adapter-session-manager.js.map +1 -1
  122. package/lib/node/debug-adapter-session.js +44 -93
  123. package/lib/node/debug-adapter-session.js.map +1 -1
  124. package/lib/node/debug-backend-module.js +13 -17
  125. package/lib/node/debug-backend-module.js.map +1 -1
  126. package/lib/node/debug-service-impl.js +71 -213
  127. package/lib/node/debug-service-impl.js.map +1 -1
  128. package/lib/node/vscode/vscode-debug-adapter-contribution.js +153 -294
  129. package/lib/node/vscode/vscode-debug-adapter-contribution.js.map +1 -1
  130. package/package.json +16 -16
  131. package/src/browser/console/debug-console-contribution.tsx +3 -3
  132. package/src/browser/debug-frontend-application-contribution.ts +69 -18
  133. package/src/browser/debug-prefix-configuration.ts +1 -1
  134. package/src/browser/style/index.css +28 -10
  135. package/src/browser/view/debug-action.tsx +2 -2
  136. package/src/browser/view/debug-configuration-widget.tsx +3 -3
  137. package/src/browser/view/debug-session-widget.ts +2 -2
  138. package/src/browser/view/debug-toolbar-widget.tsx +8 -8
  139. package/src/browser/view/debug-widget.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"debug-configuration-manager.js","sourceRoot":"","sources":["../../src/browser/debug-configuration-manager.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElF;;;+FAG+F;AAE/F,qCAAwC;AACxC,6CAA4C;AAC5C,0DAAiF;AAEjF,sDAA8E;AAC9E,qDAAwE;AACxE,yEAAuE;AACvE,mDAA6G;AAC7G,gFAA6E;AAC7E,oFAAkF;AAClF,yEAAsE;AAEtE,yDAAuD;AACvD,mFAA4F;AAE5F,gHAA6G;AAC7G,2GAAyG;AACzG,iGAA6F;AAM7F;IAAA;QAAA,iBAsTC;QA5RsB,uBAAkB,GAAG,IAAI,eAAO,EAAQ,CAAC;QACnD,gBAAW,GAAgB,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC;QAE/C,2CAAsC,GAAG,IAAI,eAAO,EAAiC,CAAC;QAChG,oCAA+B,GAAyC,IAAI,CAAC,sCAAsC,CAAC,KAAK,CAAC;QAgBhH,WAAM,GAAG,IAAI,GAAG,EAAmC,CAAC;QAC7D,iBAAY,GAAG,QAAQ,CAAC;;;;;;4BAChB,qBAAM,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAA;;wBAAzC,KAAK,GAAG,SAAiC;wBACzC,QAAQ,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;4CAClC,QAAQ;4BACf,IAAM,GAAG,GAAG,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC;4BACzC,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;4BACrB,IAAI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yB,CAsTrC;AAtTY,8DAAyB"}
@@ -14,136 +14,59 @@
14
14
  *
15
15
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
16
  ********************************************************************************/
17
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
18
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
19
- return new (P || (P = Promise))(function (resolve, reject) {
20
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
21
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
22
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
23
- step((generator = generator.apply(thisArg, _arguments || [])).next());
24
- });
25
- };
26
- var __generator = (this && this.__generator) || function (thisArg, body) {
27
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
28
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
29
- function verb(n) { return function (v) { return step([n, v]); }; }
30
- function step(op) {
31
- if (f) throw new TypeError("Generator is already executing.");
32
- while (_) try {
33
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
34
- if (y = 0, t) op = [op[0] & 2, t.value];
35
- switch (op[0]) {
36
- case 0: case 1: t = op; break;
37
- case 4: _.label++; return { value: op[1], done: false };
38
- case 5: _.label++; y = op[1]; op = [0]; continue;
39
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
40
- default:
41
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
42
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
43
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
44
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
45
- if (t[2]) _.ops.pop();
46
- _.trys.pop(); continue;
47
- }
48
- op = body.call(thisArg, _);
49
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
50
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
51
- }
52
- };
53
- var __values = (this && this.__values) || function(o) {
54
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
55
- if (m) return m.call(o);
56
- if (o && typeof o.length === "number") return {
57
- next: function () {
58
- if (o && i >= o.length) o = void 0;
59
- return { value: o && o[i++], done: !o };
60
- }
61
- };
62
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
63
- };
64
17
  Object.defineProperty(exports, "__esModule", { value: true });
65
18
  exports.DebugConfigurationModel = void 0;
66
- var event_1 = require("@theia/core/lib/common/event");
67
- var disposable_1 = require("@theia/core/lib/common/disposable");
68
- var debug_common_1 = require("../common/debug-common");
69
- var DebugConfigurationModel = /** @class */ (function () {
70
- function DebugConfigurationModel(workspaceFolderUri, preferences) {
71
- var _this = this;
19
+ const event_1 = require("@theia/core/lib/common/event");
20
+ const disposable_1 = require("@theia/core/lib/common/disposable");
21
+ const debug_common_1 = require("../common/debug-common");
22
+ class DebugConfigurationModel {
23
+ constructor(workspaceFolderUri, preferences) {
72
24
  this.workspaceFolderUri = workspaceFolderUri;
73
25
  this.preferences = preferences;
74
26
  this.onDidChangeEmitter = new event_1.Emitter();
75
27
  this.onDidChange = this.onDidChangeEmitter.event;
76
28
  this.toDispose = new disposable_1.DisposableCollection(this.onDidChangeEmitter);
77
29
  this.reconcile();
78
- this.toDispose.push(this.preferences.onPreferenceChanged(function (e) {
30
+ this.toDispose.push(this.preferences.onPreferenceChanged(e => {
79
31
  if (e.preferenceName === 'launch' && e.affects(workspaceFolderUri)) {
80
- _this.reconcile();
32
+ this.reconcile();
81
33
  }
82
34
  }));
83
35
  }
84
- Object.defineProperty(DebugConfigurationModel.prototype, "uri", {
85
- get: function () {
86
- return this.json.uri;
87
- },
88
- enumerable: false,
89
- configurable: true
90
- });
91
- DebugConfigurationModel.prototype.dispose = function () {
36
+ get uri() {
37
+ return this.json.uri;
38
+ }
39
+ dispose() {
92
40
  this.toDispose.dispose();
93
- };
94
- Object.defineProperty(DebugConfigurationModel.prototype, "onDispose", {
95
- get: function () {
96
- return this.toDispose.onDispose;
97
- },
98
- enumerable: false,
99
- configurable: true
100
- });
101
- Object.defineProperty(DebugConfigurationModel.prototype, "configurations", {
102
- get: function () {
103
- return this.json.configurations;
104
- },
105
- enumerable: false,
106
- configurable: true
107
- });
108
- DebugConfigurationModel.prototype.reconcile = function () {
109
- return __awaiter(this, void 0, void 0, function () {
110
- return __generator(this, function (_a) {
111
- this.json = this.parseConfigurations();
112
- this.onDidChangeEmitter.fire(undefined);
113
- return [2 /*return*/];
114
- });
115
- });
116
- };
117
- DebugConfigurationModel.prototype.parseConfigurations = function () {
118
- var e_1, _a;
119
- var configurations = [];
41
+ }
42
+ get onDispose() {
43
+ return this.toDispose.onDispose;
44
+ }
45
+ get configurations() {
46
+ return this.json.configurations;
47
+ }
48
+ async reconcile() {
49
+ this.json = this.parseConfigurations();
50
+ this.onDidChangeEmitter.fire(undefined);
51
+ }
52
+ parseConfigurations() {
53
+ const configurations = [];
120
54
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
121
- var _b = this.preferences.resolve('launch', undefined, this.workspaceFolderUri), configUri = _b.configUri, value = _b.value;
55
+ const { configUri, value } = this.preferences.resolve('launch', undefined, this.workspaceFolderUri);
122
56
  if (value && typeof value === 'object' && 'configurations' in value) {
123
57
  if (Array.isArray(value.configurations)) {
124
- try {
125
- for (var _c = __values(value.configurations), _d = _c.next(); !_d.done; _d = _c.next()) {
126
- var configuration = _d.value;
127
- if (debug_common_1.DebugConfiguration.is(configuration)) {
128
- configurations.push(configuration);
129
- }
58
+ for (const configuration of value.configurations) {
59
+ if (debug_common_1.DebugConfiguration.is(configuration)) {
60
+ configurations.push(configuration);
130
61
  }
131
62
  }
132
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
133
- finally {
134
- try {
135
- if (_d && !_d.done && (_a = _c.return)) _a.call(_c);
136
- }
137
- finally { if (e_1) throw e_1.error; }
138
- }
139
63
  }
140
64
  }
141
65
  return {
142
66
  uri: configUri,
143
- configurations: configurations
67
+ configurations
144
68
  };
145
- };
146
- return DebugConfigurationModel;
147
- }());
69
+ }
70
+ }
148
71
  exports.DebugConfigurationModel = DebugConfigurationModel;
149
72
  //# sourceMappingURL=debug-configuration-model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"debug-configuration-model.js","sourceRoot":"","sources":["../../src/browser/debug-configuration-model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGlF,sDAA8D;AAC9D,gEAAqF;AACrF,uDAA4D;AAG5D;IAWI,iCACa,kBAA0B,EAChB,WAA8B;QAFrD,iBAUC;QATY,uBAAkB,GAAlB,kBAAkB,CAAQ;QAChB,gBAAW,GAAX,WAAW,CAAmB;QATlC,uBAAkB,GAAG,IAAI,eAAO,EAAQ,CAAC;QACnD,gBAAW,GAAgB,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC;QAE/C,cAAS,GAAG,IAAI,iCAAoB,CACnD,IAAI,CAAC,kBAAkB,CAC1B,CAAC;QAME,IAAI,CAAC,SAAS,EAAE,CAAC;QACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,UAAA,CAAC;YACtD,IAAI,CAAC,CAAC,cAAc,KAAK,QAAQ,IAAI,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE;gBAChE,KAAI,CAAC,SAAS,EAAE,CAAC;aACpB;QACL,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;IAED,sBAAI,wCA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DY,0DAAuB"}
1
+ {"version":3,"file":"debug-configuration-model.js","sourceRoot":"","sources":["../../src/browser/debug-configuration-model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAGlF,wDAA8D;AAC9D,kEAAqF;AACrF,yDAA4D;AAG5D,MAAa,uBAAuB;IAWhC,YACa,kBAA0B,EAChB,WAA8B;QADxC,uBAAkB,GAAlB,kBAAkB,CAAQ;QAChB,gBAAW,GAAX,WAAW,CAAmB;QATlC,uBAAkB,GAAG,IAAI,eAAO,EAAQ,CAAC;QACnD,gBAAW,GAAgB,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC;QAE/C,cAAS,GAAG,IAAI,iCAAoB,CACnD,IAAI,CAAC,kBAAkB,CAC1B,CAAC;QAME,IAAI,CAAC,SAAS,EAAE,CAAC;QACjB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE;YACzD,IAAI,CAAC,CAAC,cAAc,KAAK,QAAQ,IAAI,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,EAAE;gBAChE,IAAI,CAAC,SAAS,EAAE,CAAC;aACpB;QACL,CAAC,CAAC,CAAC,CAAC;IACR,CAAC;IAED,IAAI,GAAG;QACH,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;IACzB,CAAC;IAED,OAAO;QACH,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IAC7B,CAAC;IACD,IAAI,SAAS;QACT,OAAO,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;IACpC,CAAC;IAED,IAAI,cAAc;QACd,OAAO,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC;IACpC,CAAC;IAED,KAAK,CAAC,SAAS;QACX,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,mBAAmB,EAAE,CAAC;QACvC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC5C,CAAC;IACS,mBAAmB;QACzB,MAAM,cAAc,GAAyB,EAAE,CAAC;QAChD,8DAA8D;QAC9D,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAM,QAAQ,EAAE,SAAS,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACzG,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,gBAAgB,IAAI,KAAK,EAAE;YACjE,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,EAAE;gBACrC,KAAK,MAAM,aAAa,IAAI,KAAK,CAAC,cAAc,EAAE;oBAC9C,IAAI,iCAAkB,CAAC,EAAE,CAAC,aAAa,CAAC,EAAE;wBACtC,cAAc,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;qBACtC;iBACJ;aACJ;SACJ;QACD,OAAO;YACH,GAAG,EAAE,SAAS;YACd,cAAc;SACjB,CAAC;IACN,CAAC;CAEJ;AA7DD,0DA6DC"}
@@ -57,6 +57,7 @@ export declare namespace DebugMenus {
57
57
  const DEBUG_BREAKPOINTS: string[];
58
58
  }
59
59
  export declare namespace DebugCommands {
60
+ const DEBUG_CATEGORY = "Debug";
60
61
  const START: Command;
61
62
  const START_NO_DEBUG: Command;
62
63
  const STOP: Command;
@@ -1 +1 @@
1
- {"version":3,"file":"debug-frontend-application-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/debug-frontend-application-contribution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;;AAElF,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,kBAAkB,EAA6B,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAGnJ,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAiB,OAAO,EAAoB,MAAM,wBAAwB,CAAC;AACtH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAA4B,aAAa,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G,SAAS,CAG/C;IACD,IAAI,aAAa,IAAI,eAAe,GAAG,SAAS,CAG/C;IAED,IAAI,WAAW,IAAI,sBAAsB,GAAG,SAAS,CAGpD;IACD,IAAI,qBAAqB,IAAI,eAAe,GAAG,SAAS,CAIvD;IACD,IAAI,kBAAkB,IAAI,qBAAqB,GAAG,SAAS,CAG1D;IACD,IAAI,gBAAgB,IAAI,qBAAqB,GAAG,SAAS,CAGxD;IACD,IAAI,0BAA0B,IAAI,uBAAuB,GAAG,SAAS,CAGpE;IAED,IAAI,SAAS,IAAI,oBAAoB,GAAG,SAAS,CAGhD;IACD,IAAI,gBAAgB,IAAI,aAAa,GAAG,SAAS,CAGhD;IAED,IAAI,KAAK,IAAI,gBAAgB,GAAG,SAAS,CAGxC;IACD,IAAI,eAAe,IAAI,oBAAoB,GAAG,SAAS,CAGtD;IAED,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,OAAO;IAIxD,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAmE3C,SAAS,CAAC,eAAe,IAAI,IAAI;IAOjC,SAAS,KAAK,kBAAkB,IAAI,OAAO,CAW1C;CAEJ"}
1
+ {"version":3,"file":"debug-frontend-application-contribution.d.ts","sourceRoot":"","sources":["../../src/browser/debug-frontend-application-contribution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;;AAElF,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,kBAAkB,EAA6B,aAAa,EAAW,MAAM,yBAAyB,CAAC;AAG5J,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAiB,OAAO,EAAoB,MAAM,wBAAwB,CAAC;AACtH,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAA4B,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAA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AW,IAAI,sBAAsB,GAAG,SAAS,CAGpD;IACD,IAAI,qBAAqB,IAAI,eAAe,GAAG,SAAS,CAIvD;IACD,IAAI,kBAAkB,IAAI,qBAAqB,GAAG,SAAS,CAG1D;IACD,IAAI,gBAAgB,IAAI,qBAAqB,GAAG,SAAS,CAGxD;IACD,IAAI,0BAA0B,IAAI,uBAAuB,GAAG,SAAS,CAGpE;IAED,IAAI,SAAS,IAAI,oBAAoB,GAAG,SAAS,CAGhD;IACD,IAAI,gBAAgB,IAAI,aAAa,GAAG,SAAS,CAGhD;IAED,IAAI,KAAK,IAAI,gBAAgB,GAAG,SAAS,CAGxC;IACD,IAAI,eAAe,IAAI,oBAAoB,GAAG,SAAS,CAGtD;IAED,SAAS,CAAC,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,OAAO;IAIxD,cAAc,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI;IAoH3C,SAAS,CAAC,eAAe,IAAI,IAAI;IAOjC,SAAS,KAAK,kBAAkB,IAAI,OAAO,CAW1C;CAEJ"}
@@ -14,30 +14,6 @@
14
14
  *
15
15
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16
16
  ********************************************************************************/
17
- var __extends = (this && this.__extends) || (function () {
18
- var extendStatics = function (d, b) {
19
- extendStatics = Object.setPrototypeOf ||
20
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
21
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
22
- return extendStatics(d, b);
23
- };
24
- return function (d, b) {
25
- extendStatics(d, b);
26
- function __() { this.constructor = d; }
27
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
- };
29
- })();
30
- var __assign = (this && this.__assign) || function () {
31
- __assign = Object.assign || function(t) {
32
- for (var s, i = 1, n = arguments.length; i < n; i++) {
33
- s = arguments[i];
34
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
- t[p] = s[p];
36
- }
37
- return t;
38
- };
39
- return __assign.apply(this, arguments);
40
- };
41
17
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
42
18
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
43
19
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -47,126 +23,59 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
47
23
  var __metadata = (this && this.__metadata) || function (k, v) {
48
24
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
49
25
  };
50
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
51
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
52
- return new (P || (P = Promise))(function (resolve, reject) {
53
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
54
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
55
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
56
- step((generator = generator.apply(thisArg, _arguments || [])).next());
57
- });
58
- };
59
- var __generator = (this && this.__generator) || function (thisArg, body) {
60
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
61
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
62
- function verb(n) { return function (v) { return step([n, v]); }; }
63
- function step(op) {
64
- if (f) throw new TypeError("Generator is already executing.");
65
- while (_) try {
66
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
67
- if (y = 0, t) op = [op[0] & 2, t.value];
68
- switch (op[0]) {
69
- case 0: case 1: t = op; break;
70
- case 4: _.label++; return { value: op[1], done: false };
71
- case 5: _.label++; y = op[1]; op = [0]; continue;
72
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
73
- default:
74
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
75
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
76
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
77
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
78
- if (t[2]) _.ops.pop();
79
- _.trys.pop(); continue;
80
- }
81
- op = body.call(thisArg, _);
82
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
83
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
84
- }
85
- };
86
- var __read = (this && this.__read) || function (o, n) {
87
- var m = typeof Symbol === "function" && o[Symbol.iterator];
88
- if (!m) return o;
89
- var i = m.call(o), r, ar = [], e;
90
- try {
91
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
92
- }
93
- catch (error) { e = { error: error }; }
94
- finally {
95
- try {
96
- if (r && !r.done && (m = i["return"])) m.call(i);
97
- }
98
- finally { if (e) throw e.error; }
99
- }
100
- return ar;
101
- };
102
- var __spread = (this && this.__spread) || function () {
103
- for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
104
- return ar;
105
- };
106
- var __values = (this && this.__values) || function(o) {
107
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
108
- if (m) return m.call(o);
109
- if (o && typeof o.length === "number") return {
110
- next: function () {
111
- if (o && i >= o.length) o = void 0;
112
- return { value: o && o[i++], done: !o };
113
- }
114
- };
115
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
116
- };
117
26
  Object.defineProperty(exports, "__esModule", { value: true });
118
27
  exports.DebugFrontendApplicationContribution = exports.DebugBreakpointWidgetCommands = exports.DebugEditorContextCommands = exports.DebugSessionContextCommands = exports.DebugThreadContextCommands = exports.DebugCommands = exports.DebugMenus = void 0;
119
- var browser_1 = require("@theia/core/lib/browser");
120
- var inversify_1 = require("@theia/core/shared/inversify");
121
- var theming_1 = require("@theia/core/lib/browser/theming");
122
- var common_1 = require("@theia/core/lib/common");
123
- var browser_2 = require("@theia/editor/lib/browser");
124
- var debug_session_manager_1 = require("./debug-session-manager");
125
- var debug_widget_1 = require("./view/debug-widget");
126
- var breakpoint_marker_1 = require("./breakpoint/breakpoint-marker");
127
- var breakpoint_manager_1 = require("./breakpoint/breakpoint-manager");
128
- var debug_configuration_manager_1 = require("./debug-configuration-manager");
129
- var debug_session_1 = require("./debug-session");
130
- var debug_breakpoints_widget_1 = require("./view/debug-breakpoints-widget");
131
- var debug_source_breakpoint_1 = require("./model/debug-source-breakpoint");
132
- var debug_threads_widget_1 = require("./view/debug-threads-widget");
133
- var debug_thread_1 = require("./model/debug-thread");
134
- var debug_stack_frames_widget_1 = require("./view/debug-stack-frames-widget");
135
- var debug_stack_frame_1 = require("./model/debug-stack-frame");
136
- var debug_variables_widget_1 = require("./view/debug-variables-widget");
137
- var debug_console_items_1 = require("./console/debug-console-items");
138
- var debug_session_widget_1 = require("./view/debug-session-widget");
139
- var debug_keybinding_contexts_1 = require("./debug-keybinding-contexts");
140
- var debug_editor_model_1 = require("./editor/debug-editor-model");
141
- var debug_editor_service_1 = require("./editor/debug-editor-service");
142
- var debug_console_contribution_1 = require("./console/debug-console-contribution");
143
- var debug_service_1 = require("../common/debug-service");
144
- var debug_schema_updater_1 = require("./debug-schema-updater");
145
- var debug_preferences_1 = require("./debug-preferences");
146
- var debug_watch_widget_1 = require("./view/debug-watch-widget");
147
- var debug_watch_expression_1 = require("./view/debug-watch-expression");
148
- var debug_watch_manager_1 = require("./debug-watch-manager");
149
- var debug_function_breakpoint_1 = require("./model/debug-function-breakpoint");
150
- var debug_breakpoint_1 = require("./model/debug-breakpoint");
28
+ const browser_1 = require("@theia/core/lib/browser");
29
+ const inversify_1 = require("@theia/core/shared/inversify");
30
+ const theming_1 = require("@theia/core/lib/browser/theming");
31
+ const common_1 = require("@theia/core/lib/common");
32
+ const browser_2 = require("@theia/editor/lib/browser");
33
+ const debug_session_manager_1 = require("./debug-session-manager");
34
+ const debug_widget_1 = require("./view/debug-widget");
35
+ const breakpoint_marker_1 = require("./breakpoint/breakpoint-marker");
36
+ const breakpoint_manager_1 = require("./breakpoint/breakpoint-manager");
37
+ const debug_configuration_manager_1 = require("./debug-configuration-manager");
38
+ const debug_session_1 = require("./debug-session");
39
+ const debug_breakpoints_widget_1 = require("./view/debug-breakpoints-widget");
40
+ const debug_source_breakpoint_1 = require("./model/debug-source-breakpoint");
41
+ const debug_threads_widget_1 = require("./view/debug-threads-widget");
42
+ const debug_thread_1 = require("./model/debug-thread");
43
+ const debug_stack_frames_widget_1 = require("./view/debug-stack-frames-widget");
44
+ const debug_stack_frame_1 = require("./model/debug-stack-frame");
45
+ const debug_variables_widget_1 = require("./view/debug-variables-widget");
46
+ const debug_console_items_1 = require("./console/debug-console-items");
47
+ const debug_session_widget_1 = require("./view/debug-session-widget");
48
+ const debug_keybinding_contexts_1 = require("./debug-keybinding-contexts");
49
+ const debug_editor_model_1 = require("./editor/debug-editor-model");
50
+ const debug_editor_service_1 = require("./editor/debug-editor-service");
51
+ const debug_console_contribution_1 = require("./console/debug-console-contribution");
52
+ const debug_service_1 = require("../common/debug-service");
53
+ const debug_schema_updater_1 = require("./debug-schema-updater");
54
+ const debug_preferences_1 = require("./debug-preferences");
55
+ const debug_watch_widget_1 = require("./view/debug-watch-widget");
56
+ const debug_watch_expression_1 = require("./view/debug-watch-expression");
57
+ const debug_watch_manager_1 = require("./debug-watch-manager");
58
+ const debug_function_breakpoint_1 = require("./model/debug-function-breakpoint");
59
+ const debug_breakpoint_1 = require("./model/debug-breakpoint");
151
60
  var DebugMenus;
152
61
  (function (DebugMenus) {
153
- DebugMenus.DEBUG = __spread(common_1.MAIN_MENU_BAR, ['6_debug']);
154
- DebugMenus.DEBUG_CONTROLS = __spread(DebugMenus.DEBUG, ['a_controls']);
155
- DebugMenus.DEBUG_CONFIGURATION = __spread(DebugMenus.DEBUG, ['b_configuration']);
156
- DebugMenus.DEBUG_THREADS = __spread(DebugMenus.DEBUG, ['c_threads']);
157
- DebugMenus.DEBUG_SESSIONS = __spread(DebugMenus.DEBUG, ['d_sessions']);
158
- DebugMenus.DEBUG_BREAKPOINT = __spread(DebugMenus.DEBUG, ['e_breakpoint']);
159
- DebugMenus.DEBUG_NEW_BREAKPOINT = __spread(DebugMenus.DEBUG_BREAKPOINT, ['a_new_breakpoint']);
160
- DebugMenus.DEBUG_BREAKPOINTS = __spread(DebugMenus.DEBUG, ['f_breakpoints']);
62
+ DebugMenus.DEBUG = [...common_1.MAIN_MENU_BAR, '6_debug'];
63
+ DebugMenus.DEBUG_CONTROLS = [...DebugMenus.DEBUG, 'a_controls'];
64
+ DebugMenus.DEBUG_CONFIGURATION = [...DebugMenus.DEBUG, 'b_configuration'];
65
+ DebugMenus.DEBUG_THREADS = [...DebugMenus.DEBUG, 'c_threads'];
66
+ DebugMenus.DEBUG_SESSIONS = [...DebugMenus.DEBUG, 'd_sessions'];
67
+ DebugMenus.DEBUG_BREAKPOINT = [...DebugMenus.DEBUG, 'e_breakpoint'];
68
+ DebugMenus.DEBUG_NEW_BREAKPOINT = [...DebugMenus.DEBUG_BREAKPOINT, 'a_new_breakpoint'];
69
+ DebugMenus.DEBUG_BREAKPOINTS = [...DebugMenus.DEBUG, 'f_breakpoints'];
161
70
  })(DebugMenus = exports.DebugMenus || (exports.DebugMenus = {}));
162
71
  var DebugCommands;
163
72
  (function (DebugCommands) {
164
- var DEBUG_CATEGORY = 'Debug';
73
+ DebugCommands.DEBUG_CATEGORY = 'Debug';
165
74
  DebugCommands.START = {
166
75
  id: 'workbench.action.debug.start',
167
- category: DEBUG_CATEGORY,
76
+ category: DebugCommands.DEBUG_CATEGORY,
168
77
  label: 'Start Debugging',
169
- iconClass: 'fa fa-play'
78
+ iconClass: browser_1.codicon('debug-alt')
170
79
  };
171
80
  DebugCommands.START_NO_DEBUG = {
172
81
  id: 'workbench.action.debug.run',
@@ -174,13 +83,13 @@ var DebugCommands;
174
83
  };
175
84
  DebugCommands.STOP = {
176
85
  id: 'workbench.action.debug.stop',
177
- category: DEBUG_CATEGORY,
86
+ category: DebugCommands.DEBUG_CATEGORY,
178
87
  label: 'Stop Debugging',
179
- iconClass: 'fa fa-stop'
88
+ iconClass: browser_1.codicon('debug-stop')
180
89
  };
181
90
  DebugCommands.RESTART = {
182
91
  id: 'workbench.action.debug.restart',
183
- category: DEBUG_CATEGORY,
92
+ category: DebugCommands.DEBUG_CATEGORY,
184
93
  label: 'Restart Debugging',
185
94
  };
186
95
  DebugCommands.OPEN_CONFIGURATIONS = {
@@ -193,104 +102,104 @@ var DebugCommands;
193
102
  };
194
103
  DebugCommands.STEP_OVER = {
195
104
  id: 'workbench.action.debug.stepOver',
196
- category: DEBUG_CATEGORY,
105
+ category: DebugCommands.DEBUG_CATEGORY,
197
106
  label: 'Step Over',
198
- iconClass: 'fa fa-arrow-right'
107
+ iconClass: browser_1.codicon('debug-step-over')
199
108
  };
200
109
  DebugCommands.STEP_INTO = {
201
110
  id: 'workbench.action.debug.stepInto',
202
- category: DEBUG_CATEGORY,
111
+ category: DebugCommands.DEBUG_CATEGORY,
203
112
  label: 'Step Into',
204
- iconClass: 'fa fa-arrow-down'
113
+ iconClass: browser_1.codicon('debug-step-into')
205
114
  };
206
115
  DebugCommands.STEP_OUT = {
207
116
  id: 'workbench.action.debug.stepOut',
208
- category: DEBUG_CATEGORY,
117
+ category: DebugCommands.DEBUG_CATEGORY,
209
118
  label: 'Step Out',
210
- iconClass: 'fa fa-arrow-up'
119
+ iconClass: browser_1.codicon('debug-step-out')
211
120
  };
212
121
  DebugCommands.CONTINUE = {
213
122
  id: 'workbench.action.debug.continue',
214
- category: DEBUG_CATEGORY,
123
+ category: DebugCommands.DEBUG_CATEGORY,
215
124
  label: 'Continue',
216
- iconClass: 'fa fa-play-circle'
125
+ iconClass: browser_1.codicon('debug-continue')
217
126
  };
218
127
  DebugCommands.PAUSE = {
219
128
  id: 'workbench.action.debug.pause',
220
- category: DEBUG_CATEGORY,
129
+ category: DebugCommands.DEBUG_CATEGORY,
221
130
  label: 'Pause',
222
- iconClass: 'fa fa-pause'
131
+ iconClass: browser_1.codicon('debug-pause')
223
132
  };
224
133
  DebugCommands.CONTINUE_ALL = {
225
134
  id: 'debug.thread.continue.all',
226
- category: DEBUG_CATEGORY,
135
+ category: DebugCommands.DEBUG_CATEGORY,
227
136
  label: 'Continue All',
228
- iconClass: 'fa fa-play-circle'
137
+ iconClass: browser_1.codicon('debug-continue')
229
138
  };
230
139
  DebugCommands.PAUSE_ALL = {
231
140
  id: 'debug.thread.pause.all',
232
- category: DEBUG_CATEGORY,
141
+ category: DebugCommands.DEBUG_CATEGORY,
233
142
  label: 'Pause All',
234
- iconClass: 'fa fa-pause'
143
+ iconClass: browser_1.codicon('debug-pause')
235
144
  };
236
145
  DebugCommands.TOGGLE_BREAKPOINT = {
237
146
  id: 'editor.debug.action.toggleBreakpoint',
238
- category: DEBUG_CATEGORY,
147
+ category: DebugCommands.DEBUG_CATEGORY,
239
148
  label: 'Toggle Breakpoint',
240
149
  };
241
150
  DebugCommands.INLINE_BREAKPOINT = {
242
151
  id: 'editor.debug.action.inlineBreakpoint',
243
- category: DEBUG_CATEGORY,
152
+ category: DebugCommands.DEBUG_CATEGORY,
244
153
  label: 'Inline Breakpoint',
245
154
  };
246
155
  DebugCommands.ADD_CONDITIONAL_BREAKPOINT = {
247
156
  id: 'debug.breakpoint.add.conditional',
248
- category: DEBUG_CATEGORY,
157
+ category: DebugCommands.DEBUG_CATEGORY,
249
158
  label: 'Add Conditional Breakpoint...',
250
159
  };
251
160
  DebugCommands.ADD_LOGPOINT = {
252
161
  id: 'debug.breakpoint.add.logpoint',
253
- category: DEBUG_CATEGORY,
162
+ category: DebugCommands.DEBUG_CATEGORY,
254
163
  label: 'Add Logpoint...',
255
164
  };
256
165
  DebugCommands.ADD_FUNCTION_BREAKPOINT = {
257
166
  id: 'debug.breakpoint.add.function',
258
- category: DEBUG_CATEGORY,
167
+ category: DebugCommands.DEBUG_CATEGORY,
259
168
  label: 'Add Function Breakpoint...',
260
169
  };
261
170
  DebugCommands.ENABLE_ALL_BREAKPOINTS = {
262
171
  id: 'debug.breakpoint.enableAll',
263
- category: DEBUG_CATEGORY,
172
+ category: DebugCommands.DEBUG_CATEGORY,
264
173
  label: 'Enable All Breakpoints',
265
174
  };
266
175
  DebugCommands.DISABLE_ALL_BREAKPOINTS = {
267
176
  id: 'debug.breakpoint.disableAll',
268
- category: DEBUG_CATEGORY,
177
+ category: DebugCommands.DEBUG_CATEGORY,
269
178
  label: 'Disable All Breakpoints',
270
179
  };
271
180
  DebugCommands.EDIT_BREAKPOINT = {
272
181
  id: 'debug.breakpoint.edit',
273
- category: DEBUG_CATEGORY,
182
+ category: DebugCommands.DEBUG_CATEGORY,
274
183
  label: 'Edit Breakpoint...',
275
184
  };
276
185
  DebugCommands.EDIT_LOGPOINT = {
277
186
  id: 'debug.logpoint.edit',
278
- category: DEBUG_CATEGORY,
187
+ category: DebugCommands.DEBUG_CATEGORY,
279
188
  label: 'Edit Logpoint...',
280
189
  };
281
190
  DebugCommands.REMOVE_BREAKPOINT = {
282
191
  id: 'debug.breakpoint.remove',
283
- category: DEBUG_CATEGORY,
192
+ category: DebugCommands.DEBUG_CATEGORY,
284
193
  label: 'Remove Breakpoint',
285
194
  };
286
195
  DebugCommands.REMOVE_LOGPOINT = {
287
196
  id: 'debug.logpoint.remove',
288
- category: DEBUG_CATEGORY,
197
+ category: DebugCommands.DEBUG_CATEGORY,
289
198
  label: 'Remove Logpoint',
290
199
  };
291
200
  DebugCommands.REMOVE_ALL_BREAKPOINTS = {
292
201
  id: 'debug.breakpoint.removeAll',
293
- category: DEBUG_CATEGORY,
202
+ category: DebugCommands.DEBUG_CATEGORY,
294
203
  label: 'Remove All Breakpoints',
295
204
  };
296
205
  DebugCommands.TOGGLE_BREAKPOINTS_ENABLED = {
@@ -302,62 +211,62 @@ var DebugCommands;
302
211
  };
303
212
  DebugCommands.RESTART_FRAME = {
304
213
  id: 'debug.frame.restart',
305
- category: DEBUG_CATEGORY,
214
+ category: DebugCommands.DEBUG_CATEGORY,
306
215
  label: 'Restart Frame',
307
216
  };
308
217
  DebugCommands.COPY_CALL_STACK = {
309
218
  id: 'debug.callStack.copy',
310
- category: DEBUG_CATEGORY,
219
+ category: DebugCommands.DEBUG_CATEGORY,
311
220
  label: 'Copy Call Stack',
312
221
  };
313
222
  DebugCommands.SET_VARIABLE_VALUE = {
314
223
  id: 'debug.variable.setValue',
315
- category: DEBUG_CATEGORY,
224
+ category: DebugCommands.DEBUG_CATEGORY,
316
225
  label: 'Set Value',
317
226
  };
318
227
  DebugCommands.COPY_VARIABLE_VALUE = {
319
228
  id: 'debug.variable.copyValue',
320
- category: DEBUG_CATEGORY,
229
+ category: DebugCommands.DEBUG_CATEGORY,
321
230
  label: 'Copy Value',
322
231
  };
323
232
  DebugCommands.COPY_VARIABLE_AS_EXPRESSION = {
324
233
  id: 'debug.variable.copyAsExpression',
325
- category: DEBUG_CATEGORY,
234
+ category: DebugCommands.DEBUG_CATEGORY,
326
235
  label: 'Copy As Expression',
327
236
  };
328
237
  DebugCommands.WATCH_VARIABLE = {
329
238
  id: 'debug.variable.watch',
330
- category: DEBUG_CATEGORY,
239
+ category: DebugCommands.DEBUG_CATEGORY,
331
240
  label: 'Add to Watch',
332
241
  };
333
242
  DebugCommands.ADD_WATCH_EXPRESSION = {
334
243
  id: 'debug.watch.addExpression',
335
- category: DEBUG_CATEGORY,
244
+ category: DebugCommands.DEBUG_CATEGORY,
336
245
  label: 'Add Watch Expression'
337
246
  };
338
247
  DebugCommands.EDIT_WATCH_EXPRESSION = {
339
248
  id: 'debug.watch.editExpression',
340
- category: DEBUG_CATEGORY,
249
+ category: DebugCommands.DEBUG_CATEGORY,
341
250
  label: 'Edit Watch Expression'
342
251
  };
343
252
  DebugCommands.COPY_WATCH_EXPRESSION_VALUE = {
344
253
  id: 'debug.watch.copyExpressionValue',
345
- category: DEBUG_CATEGORY,
254
+ category: DebugCommands.DEBUG_CATEGORY,
346
255
  label: 'Copy Watch Expression Value'
347
256
  };
348
257
  DebugCommands.REMOVE_WATCH_EXPRESSION = {
349
258
  id: 'debug.watch.removeExpression',
350
- category: DEBUG_CATEGORY,
259
+ category: DebugCommands.DEBUG_CATEGORY,
351
260
  label: 'Remove Watch Expression'
352
261
  };
353
262
  DebugCommands.COLLAPSE_ALL_WATCH_EXPRESSIONS = {
354
263
  id: 'debug.watch.collapseAllExpressions',
355
- category: DEBUG_CATEGORY,
264
+ category: DebugCommands.DEBUG_CATEGORY,
356
265
  label: 'Collapse All Watch Expressions'
357
266
  };
358
267
  DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS = {
359
268
  id: 'debug.watch.removeAllExpressions',
360
- category: DEBUG_CATEGORY,
269
+ category: DebugCommands.DEBUG_CATEGORY,
361
270
  label: 'Remove All Watch Expressions'
362
271
  };
363
272
  })(DebugCommands = exports.DebugCommands || (exports.DebugCommands = {}));
@@ -454,10 +363,10 @@ var DebugBreakpointWidgetCommands;
454
363
  id: 'debug.breakpointWidget.close'
455
364
  };
456
365
  })(DebugBreakpointWidgetCommands = exports.DebugBreakpointWidgetCommands || (exports.DebugBreakpointWidgetCommands = {}));
457
- var darkCss = require('../../src/browser/style/debug-dark.useable.css');
458
- var lightCss = require('../../src/browser/style/debug-bright.useable.css');
366
+ const darkCss = require('../../src/browser/style/debug-dark.useable.css');
367
+ const lightCss = require('../../src/browser/style/debug-bright.useable.css');
459
368
  function updateTheme() {
460
- var themeType = theming_1.ThemeService.get().getCurrentTheme().type;
369
+ const themeType = theming_1.ThemeService.get().getCurrentTheme().type;
461
370
  if (themeType === 'dark' || themeType === 'hc') {
462
371
  lightCss.unuse();
463
372
  darkCss.use();
@@ -468,11 +377,10 @@ function updateTheme() {
468
377
  }
469
378
  }
470
379
  updateTheme();
471
- theming_1.ThemeService.get().onDidColorThemeChange(function () { return updateTheme(); });
472
- var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
473
- __extends(DebugFrontendApplicationContribution, _super);
474
- function DebugFrontendApplicationContribution() {
475
- var _this = _super.call(this, {
380
+ theming_1.ThemeService.get().onDidColorThemeChange(() => updateTheme());
381
+ let DebugFrontendApplicationContribution = class DebugFrontendApplicationContribution extends browser_1.AbstractViewContribution {
382
+ constructor() {
383
+ super({
476
384
  widgetId: debug_widget_1.DebugWidget.ID,
477
385
  widgetName: debug_widget_1.DebugWidget.LABEL,
478
386
  defaultWidgetOptions: {
@@ -481,97 +389,61 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
481
389
  },
482
390
  toggleCommandId: 'debug:toggle',
483
391
  toggleKeybinding: 'ctrlcmd+shift+d'
484
- }) || this;
485
- _this.firstSessionStart = true;
486
- _this.sessionWidgets = new Map();
487
- return _this;
392
+ });
393
+ this.firstSessionStart = true;
394
+ this.sessionWidgets = new Map();
488
395
  }
489
- DebugFrontendApplicationContribution.prototype.initializeLayout = function () {
490
- return __awaiter(this, void 0, void 0, function () {
491
- return __generator(this, function (_a) {
492
- switch (_a.label) {
493
- case 0: return [4 /*yield*/, this.openView()];
494
- case 1:
495
- _a.sent();
496
- return [2 /*return*/];
497
- }
498
- });
499
- });
500
- };
501
- DebugFrontendApplicationContribution.prototype.onStart = function () {
502
- return __awaiter(this, void 0, void 0, function () {
503
- var _this = this;
504
- return __generator(this, function (_a) {
505
- switch (_a.label) {
506
- case 0:
507
- this.manager.onDidCreateDebugSession(function (session) { return _this.openSession(session, { reveal: false }); });
508
- this.manager.onDidStartDebugSession(function (session) {
509
- var noDebug = session.configuration.noDebug;
510
- var openDebug = session.configuration.openDebug || _this.preference['debug.openDebug'];
511
- var internalConsoleOptions = session.configuration.internalConsoleOptions || _this.preference['debug.internalConsoleOptions'];
512
- if (internalConsoleOptions === 'openOnSessionStart' ||
513
- (internalConsoleOptions === 'openOnFirstSessionStart' && _this.firstSessionStart)) {
514
- _this.console.openView({
515
- reveal: true,
516
- activate: false,
517
- });
518
- }
519
- if (!noDebug && (openDebug === 'openOnSessionStart' || (openDebug === 'openOnFirstSessionStart' && _this.firstSessionStart))) {
520
- _this.openSession(session);
521
- }
522
- _this.firstSessionStart = false;
523
- });
524
- this.manager.onDidStopDebugSession(function (session) {
525
- var openDebug = session.configuration.openDebug;
526
- if (openDebug === 'openOnDebugBreak') {
527
- _this.openSession(session);
528
- }
529
- });
530
- this.updateStatusBar();
531
- this.manager.onDidChange(function () { return _this.updateStatusBar(); });
532
- this.schemaUpdater.update();
533
- this.configurations.load();
534
- return [4 /*yield*/, this.breakpointManager.load()];
535
- case 1:
536
- _a.sent();
537
- return [4 /*yield*/, this.watchManager.load()];
538
- case 2:
539
- _a.sent();
540
- return [2 /*return*/];
541
- }
542
- });
396
+ async initializeLayout() {
397
+ await this.openView();
398
+ }
399
+ async onStart() {
400
+ this.manager.onDidCreateDebugSession(session => this.openSession(session, { reveal: false }));
401
+ this.manager.onDidStartDebugSession(session => {
402
+ const { noDebug } = session.configuration;
403
+ const openDebug = session.configuration.openDebug || this.preference['debug.openDebug'];
404
+ const internalConsoleOptions = session.configuration.internalConsoleOptions || this.preference['debug.internalConsoleOptions'];
405
+ if (internalConsoleOptions === 'openOnSessionStart' ||
406
+ (internalConsoleOptions === 'openOnFirstSessionStart' && this.firstSessionStart)) {
407
+ this.console.openView({
408
+ reveal: true,
409
+ activate: false,
410
+ });
411
+ }
412
+ if (!noDebug && (openDebug === 'openOnSessionStart' || (openDebug === 'openOnFirstSessionStart' && this.firstSessionStart))) {
413
+ this.openSession(session);
414
+ }
415
+ this.firstSessionStart = false;
543
416
  });
544
- };
545
- DebugFrontendApplicationContribution.prototype.onStop = function () {
417
+ this.manager.onDidStopDebugSession(session => {
418
+ const { openDebug } = session.configuration;
419
+ if (openDebug === 'openOnDebugBreak') {
420
+ this.openSession(session);
421
+ }
422
+ });
423
+ this.updateStatusBar();
424
+ this.manager.onDidChange(() => this.updateStatusBar());
425
+ this.schemaUpdater.update();
426
+ this.configurations.load();
427
+ await this.breakpointManager.load();
428
+ await this.watchManager.load();
429
+ }
430
+ onStop() {
546
431
  this.configurations.save();
547
432
  this.breakpointManager.save();
548
433
  this.watchManager.save();
549
- };
550
- DebugFrontendApplicationContribution.prototype.registerMenus = function (menus) {
551
- _super.prototype.registerMenus.call(this, menus);
552
- var registerMenuActions = function (menuPath) {
553
- var e_1, _a;
554
- var commands = [];
555
- for (var _i = 1; _i < arguments.length; _i++) {
556
- commands[_i - 1] = arguments[_i];
557
- }
558
- try {
559
- for (var _b = __values(commands.entries()), _c = _b.next(); !_c.done; _c = _b.next()) {
560
- var _d = __read(_c.value, 2), index = _d[0], command = _d[1];
561
- menus.registerMenuAction(menuPath, {
562
- commandId: command.id,
563
- label: command.label && command.label.startsWith('Debug: ') && command.label.slice('Debug: '.length) || command.label,
564
- icon: command.iconClass,
565
- order: String.fromCharCode('a'.charCodeAt(0) + index)
566
- });
567
- }
568
- }
569
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
570
- finally {
571
- try {
572
- if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
573
- }
574
- finally { if (e_1) throw e_1.error; }
434
+ }
435
+ registerMenus(menus) {
436
+ super.registerMenus(menus);
437
+ const registerMenuActions = (menuPath, ...commands) => {
438
+ for (const [index, command] of commands.entries()) {
439
+ const label = command.label;
440
+ const debug = `${DebugCommands.DEBUG_CATEGORY}:`;
441
+ menus.registerMenuAction(menuPath, {
442
+ commandId: command.id,
443
+ label: label && label.startsWith(debug) && label.slice(debug.length).trimStart() || label,
444
+ icon: command.iconClass,
445
+ order: String.fromCharCode('a'.charCodeAt(0) + index)
446
+ });
575
447
  }
576
448
  };
577
449
  menus.registerSubmenu(DebugMenus.DEBUG, 'Run');
@@ -583,434 +455,403 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
583
455
  menus.registerSubmenu(DebugMenus.DEBUG_NEW_BREAKPOINT, 'New Breakpoint');
584
456
  registerMenuActions(DebugMenus.DEBUG_NEW_BREAKPOINT, DebugCommands.ADD_CONDITIONAL_BREAKPOINT, DebugCommands.INLINE_BREAKPOINT, DebugCommands.ADD_FUNCTION_BREAKPOINT, DebugCommands.ADD_LOGPOINT);
585
457
  registerMenuActions(DebugMenus.DEBUG_BREAKPOINTS, DebugCommands.ENABLE_ALL_BREAKPOINTS, DebugCommands.DISABLE_ALL_BREAKPOINTS, DebugCommands.REMOVE_ALL_BREAKPOINTS);
586
- registerMenuActions(debug_threads_widget_1.DebugThreadsWidget.CONTROL_MENU, __assign(__assign({}, DebugCommands.PAUSE), DebugThreadContextCommands.PAUSE), __assign(__assign({}, DebugCommands.CONTINUE), DebugThreadContextCommands.CONTINUE), __assign(__assign({}, DebugCommands.STEP_OVER), DebugThreadContextCommands.STEP_OVER), __assign(__assign({}, DebugCommands.STEP_INTO), DebugThreadContextCommands.STEP_INTO), __assign(__assign({}, DebugCommands.STEP_OUT), DebugThreadContextCommands.STEP_OUT), __assign(__assign({}, DebugCommands.PAUSE_ALL), DebugSessionContextCommands.PAUSE_ALL), __assign(__assign({}, DebugCommands.CONTINUE_ALL), DebugSessionContextCommands.CONTINUE_ALL));
587
- registerMenuActions(debug_threads_widget_1.DebugThreadsWidget.TERMINATE_MENU, __assign(__assign(__assign({}, DebugCommands.RESTART), DebugSessionContextCommands.RESTART), { label: 'Restart' }), __assign(__assign(__assign({}, DebugCommands.STOP), DebugSessionContextCommands.STOP), { label: 'Stop' }), __assign(__assign({}, DebugThreadContextCommands.TERMINATE), { label: 'Terminate Thread' }));
588
- registerMenuActions(debug_threads_widget_1.DebugThreadsWidget.OPEN_MENU, __assign(__assign({}, DebugSessionContextCommands.REVEAL), { label: 'Reveal' }), __assign(__assign({}, DebugSessionContextCommands.OPEN_LEFT), { label: 'Open Left' }), __assign(__assign({}, DebugSessionContextCommands.OPEN_RIGHT), { label: 'Open Right' }), __assign(__assign({}, DebugSessionContextCommands.OPEN_BOTTOM), { label: 'Open Bottom' }));
458
+ registerMenuActions(debug_threads_widget_1.DebugThreadsWidget.CONTROL_MENU, Object.assign(Object.assign({}, DebugCommands.PAUSE), DebugThreadContextCommands.PAUSE), Object.assign(Object.assign({}, DebugCommands.CONTINUE), DebugThreadContextCommands.CONTINUE), Object.assign(Object.assign({}, DebugCommands.STEP_OVER), DebugThreadContextCommands.STEP_OVER), Object.assign(Object.assign({}, DebugCommands.STEP_INTO), DebugThreadContextCommands.STEP_INTO), Object.assign(Object.assign({}, DebugCommands.STEP_OUT), DebugThreadContextCommands.STEP_OUT), Object.assign(Object.assign({}, DebugCommands.PAUSE_ALL), DebugSessionContextCommands.PAUSE_ALL), Object.assign(Object.assign({}, DebugCommands.CONTINUE_ALL), DebugSessionContextCommands.CONTINUE_ALL));
459
+ registerMenuActions(debug_threads_widget_1.DebugThreadsWidget.TERMINATE_MENU, Object.assign(Object.assign(Object.assign({}, DebugCommands.RESTART), DebugSessionContextCommands.RESTART), { label: 'Restart' }), Object.assign(Object.assign(Object.assign({}, DebugCommands.STOP), DebugSessionContextCommands.STOP), { label: 'Stop' }), Object.assign(Object.assign({}, DebugThreadContextCommands.TERMINATE), { label: 'Terminate Thread' }));
460
+ registerMenuActions(debug_threads_widget_1.DebugThreadsWidget.OPEN_MENU, Object.assign(Object.assign({}, DebugSessionContextCommands.REVEAL), { label: 'Reveal' }), Object.assign(Object.assign({}, DebugSessionContextCommands.OPEN_LEFT), { label: 'Open Left' }), Object.assign(Object.assign({}, DebugSessionContextCommands.OPEN_RIGHT), { label: 'Open Right' }), Object.assign(Object.assign({}, DebugSessionContextCommands.OPEN_BOTTOM), { label: 'Open Bottom' }));
589
461
  registerMenuActions(debug_stack_frames_widget_1.DebugStackFramesWidget.CONTEXT_MENU, DebugCommands.RESTART_FRAME, DebugCommands.COPY_CALL_STACK);
590
462
  registerMenuActions(debug_variables_widget_1.DebugVariablesWidget.EDIT_MENU, DebugCommands.SET_VARIABLE_VALUE, DebugCommands.COPY_VARIABLE_VALUE, DebugCommands.COPY_VARIABLE_AS_EXPRESSION);
591
463
  registerMenuActions(debug_variables_widget_1.DebugVariablesWidget.WATCH_MENU, DebugCommands.WATCH_VARIABLE);
592
- registerMenuActions(debug_watch_widget_1.DebugWatchWidget.EDIT_MENU, __assign(__assign({}, DebugCommands.EDIT_WATCH_EXPRESSION), { label: 'Edit Expression' }), __assign(__assign({}, DebugCommands.COPY_WATCH_EXPRESSION_VALUE), { label: 'Copy Value' }));
593
- registerMenuActions(debug_watch_widget_1.DebugWatchWidget.REMOVE_MENU, __assign(__assign({}, DebugCommands.REMOVE_WATCH_EXPRESSION), { label: 'Remove Expression' }), __assign(__assign({}, DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS), { label: 'Remove All Expressions' }));
464
+ registerMenuActions(debug_watch_widget_1.DebugWatchWidget.EDIT_MENU, Object.assign(Object.assign({}, DebugCommands.EDIT_WATCH_EXPRESSION), { label: 'Edit Expression' }), Object.assign(Object.assign({}, DebugCommands.COPY_WATCH_EXPRESSION_VALUE), { label: 'Copy Value' }));
465
+ registerMenuActions(debug_watch_widget_1.DebugWatchWidget.REMOVE_MENU, Object.assign(Object.assign({}, DebugCommands.REMOVE_WATCH_EXPRESSION), { label: 'Remove Expression' }), Object.assign(Object.assign({}, DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS), { label: 'Remove All Expressions' }));
594
466
  registerMenuActions(debug_breakpoints_widget_1.DebugBreakpointsWidget.EDIT_MENU, DebugCommands.EDIT_BREAKPOINT, DebugCommands.EDIT_LOGPOINT);
595
467
  registerMenuActions(debug_breakpoints_widget_1.DebugBreakpointsWidget.REMOVE_MENU, DebugCommands.REMOVE_BREAKPOINT, DebugCommands.REMOVE_LOGPOINT, DebugCommands.REMOVE_ALL_BREAKPOINTS);
596
468
  registerMenuActions(debug_breakpoints_widget_1.DebugBreakpointsWidget.ENABLE_MENU, DebugCommands.ENABLE_ALL_BREAKPOINTS, DebugCommands.DISABLE_ALL_BREAKPOINTS);
597
- registerMenuActions(debug_editor_model_1.DebugEditorModel.CONTEXT_MENU, __assign(__assign({}, DebugEditorContextCommands.ADD_BREAKPOINT), { label: 'Add Breakpoint' }), __assign(__assign({}, DebugEditorContextCommands.ADD_CONDITIONAL_BREAKPOINT), { label: DebugCommands.ADD_CONDITIONAL_BREAKPOINT.label }), __assign(__assign({}, DebugEditorContextCommands.ADD_LOGPOINT), { label: DebugCommands.ADD_LOGPOINT.label }), __assign(__assign({}, DebugEditorContextCommands.REMOVE_BREAKPOINT), { label: DebugCommands.REMOVE_BREAKPOINT.label }), __assign(__assign({}, DebugEditorContextCommands.EDIT_BREAKPOINT), { label: DebugCommands.EDIT_BREAKPOINT.label }), __assign(__assign({}, DebugEditorContextCommands.ENABLE_BREAKPOINT), { label: 'Enable Breakpoint' }), __assign(__assign({}, DebugEditorContextCommands.DISABLE_BREAKPOINT), { label: 'Disable Breakpoint' }), __assign(__assign({}, DebugEditorContextCommands.REMOVE_LOGPOINT), { label: DebugCommands.REMOVE_LOGPOINT.label }), __assign(__assign({}, DebugEditorContextCommands.EDIT_LOGPOINT), { label: DebugCommands.EDIT_LOGPOINT.label }), __assign(__assign({}, DebugEditorContextCommands.ENABLE_LOGPOINT), { label: 'Enable Logpoint' }), __assign(__assign({}, DebugEditorContextCommands.DISABLE_LOGPOINT), { label: 'Disable Logpoint' }));
598
- };
599
- DebugFrontendApplicationContribution.prototype.registerCommands = function (registry) {
600
- var _this = this;
601
- _super.prototype.registerCommands.call(this, registry);
469
+ registerMenuActions(debug_editor_model_1.DebugEditorModel.CONTEXT_MENU, Object.assign(Object.assign({}, DebugEditorContextCommands.ADD_BREAKPOINT), { label: 'Add Breakpoint' }), Object.assign(Object.assign({}, DebugEditorContextCommands.ADD_CONDITIONAL_BREAKPOINT), { label: DebugCommands.ADD_CONDITIONAL_BREAKPOINT.label }), Object.assign(Object.assign({}, DebugEditorContextCommands.ADD_LOGPOINT), { label: DebugCommands.ADD_LOGPOINT.label }), Object.assign(Object.assign({}, DebugEditorContextCommands.REMOVE_BREAKPOINT), { label: DebugCommands.REMOVE_BREAKPOINT.label }), Object.assign(Object.assign({}, DebugEditorContextCommands.EDIT_BREAKPOINT), { label: DebugCommands.EDIT_BREAKPOINT.label }), Object.assign(Object.assign({}, DebugEditorContextCommands.ENABLE_BREAKPOINT), { label: 'Enable Breakpoint' }), Object.assign(Object.assign({}, DebugEditorContextCommands.DISABLE_BREAKPOINT), { label: 'Disable Breakpoint' }), Object.assign(Object.assign({}, DebugEditorContextCommands.REMOVE_LOGPOINT), { label: DebugCommands.REMOVE_LOGPOINT.label }), Object.assign(Object.assign({}, DebugEditorContextCommands.EDIT_LOGPOINT), { label: DebugCommands.EDIT_LOGPOINT.label }), Object.assign(Object.assign({}, DebugEditorContextCommands.ENABLE_LOGPOINT), { label: 'Enable Logpoint' }), Object.assign(Object.assign({}, DebugEditorContextCommands.DISABLE_LOGPOINT), { label: 'Disable Logpoint' }));
470
+ }
471
+ registerCommands(registry) {
472
+ super.registerCommands(registry);
602
473
  registry.registerCommand(DebugCommands.START, {
603
- execute: function (config) { return _this.start(false, config); }
474
+ execute: (config) => this.start(false, config)
604
475
  });
605
476
  registry.registerCommand(DebugCommands.START_NO_DEBUG, {
606
- execute: function (config) { return _this.start(true, config); }
477
+ execute: (config) => this.start(true, config)
607
478
  });
608
479
  registry.registerCommand(DebugCommands.STOP, {
609
- execute: function () { return _this.manager.terminateSessions(); },
610
- isEnabled: function () { return _this.manager.state !== debug_session_1.DebugState.Inactive; }
480
+ execute: () => this.manager.terminateSessions(),
481
+ isEnabled: () => this.manager.state !== debug_session_1.DebugState.Inactive
611
482
  });
612
483
  registry.registerCommand(DebugCommands.RESTART, {
613
- execute: function () { return _this.manager.restartSessions(); },
614
- isEnabled: function () { return _this.manager.state !== debug_session_1.DebugState.Inactive; }
484
+ execute: () => this.manager.restartSessions(),
485
+ isEnabled: () => this.manager.state !== debug_session_1.DebugState.Inactive
615
486
  });
616
487
  registry.registerCommand(DebugCommands.OPEN_CONFIGURATIONS, {
617
- execute: function () { return _this.configurations.openConfiguration(); }
488
+ execute: () => this.configurations.openConfiguration()
618
489
  });
619
490
  registry.registerCommand(DebugCommands.ADD_CONFIGURATION, {
620
- execute: function () { return _this.configurations.addConfiguration(); }
491
+ execute: () => this.configurations.addConfiguration()
621
492
  });
622
493
  registry.registerCommand(DebugCommands.STEP_OVER, {
623
- execute: function () { return _this.manager.currentThread && _this.manager.currentThread.stepOver(); },
624
- isEnabled: function () { return _this.manager.state === debug_session_1.DebugState.Stopped; }
494
+ execute: () => this.manager.currentThread && this.manager.currentThread.stepOver(),
495
+ isEnabled: () => this.manager.state === debug_session_1.DebugState.Stopped
625
496
  });
626
497
  registry.registerCommand(DebugCommands.STEP_INTO, {
627
- execute: function () { return _this.manager.currentThread && _this.manager.currentThread.stepIn(); },
628
- isEnabled: function () { return _this.manager.state === debug_session_1.DebugState.Stopped; }
498
+ execute: () => this.manager.currentThread && this.manager.currentThread.stepIn(),
499
+ isEnabled: () => this.manager.state === debug_session_1.DebugState.Stopped
629
500
  });
630
501
  registry.registerCommand(DebugCommands.STEP_OUT, {
631
- execute: function () { return _this.manager.currentThread && _this.manager.currentThread.stepOut(); },
632
- isEnabled: function () { return _this.manager.state === debug_session_1.DebugState.Stopped; }
502
+ execute: () => this.manager.currentThread && this.manager.currentThread.stepOut(),
503
+ isEnabled: () => this.manager.state === debug_session_1.DebugState.Stopped
633
504
  });
634
505
  registry.registerCommand(DebugCommands.CONTINUE, {
635
- execute: function () { return _this.manager.currentThread && _this.manager.currentThread.continue(); },
636
- isEnabled: function () { return _this.manager.state === debug_session_1.DebugState.Stopped; }
506
+ execute: () => this.manager.currentThread && this.manager.currentThread.continue(),
507
+ isEnabled: () => this.manager.state === debug_session_1.DebugState.Stopped
637
508
  });
638
509
  registry.registerCommand(DebugCommands.PAUSE, {
639
- execute: function () { return _this.manager.currentThread && _this.manager.currentThread.pause(); },
640
- isEnabled: function () { return _this.manager.state === debug_session_1.DebugState.Running; }
510
+ execute: () => this.manager.currentThread && this.manager.currentThread.pause(),
511
+ isEnabled: () => this.manager.state === debug_session_1.DebugState.Running
641
512
  });
642
513
  registry.registerCommand(DebugCommands.PAUSE_ALL, {
643
- execute: function () { return _this.manager.currentSession && _this.manager.currentSession.pauseAll(); },
644
- isEnabled: function () { return !!_this.manager.currentSession && !!_this.manager.currentSession.runningThreads.next().value; }
514
+ execute: () => this.manager.currentSession && this.manager.currentSession.pauseAll(),
515
+ isEnabled: () => !!this.manager.currentSession && !!this.manager.currentSession.runningThreads.next().value
645
516
  });
646
517
  registry.registerCommand(DebugCommands.CONTINUE_ALL, {
647
- execute: function () { return _this.manager.currentSession && _this.manager.currentSession.continueAll(); },
648
- isEnabled: function () { return !!_this.manager.currentSession && !!_this.manager.currentSession.stoppedThreads.next().value; }
518
+ execute: () => this.manager.currentSession && this.manager.currentSession.continueAll(),
519
+ isEnabled: () => !!this.manager.currentSession && !!this.manager.currentSession.stoppedThreads.next().value
649
520
  });
650
521
  registry.registerCommand(DebugThreadContextCommands.STEP_OVER, {
651
- execute: function () { return _this.selectedThread && _this.selectedThread.stepOver(); },
652
- isEnabled: function () { return !!_this.selectedThread && _this.selectedThread.stopped; },
653
- isVisible: function () { return !!_this.selectedThread; }
522
+ execute: () => this.selectedThread && this.selectedThread.stepOver(),
523
+ isEnabled: () => !!this.selectedThread && this.selectedThread.stopped,
524
+ isVisible: () => !!this.selectedThread
654
525
  });
655
526
  registry.registerCommand(DebugThreadContextCommands.STEP_INTO, {
656
- execute: function () { return _this.selectedThread && _this.selectedThread.stepIn(); },
657
- isEnabled: function () { return !!_this.selectedThread && _this.selectedThread.stopped; },
658
- isVisible: function () { return !!_this.selectedThread; }
527
+ execute: () => this.selectedThread && this.selectedThread.stepIn(),
528
+ isEnabled: () => !!this.selectedThread && this.selectedThread.stopped,
529
+ isVisible: () => !!this.selectedThread
659
530
  });
660
531
  registry.registerCommand(DebugThreadContextCommands.STEP_OUT, {
661
- execute: function () { return _this.selectedThread && _this.selectedThread.stepOut(); },
662
- isEnabled: function () { return !!_this.selectedThread && _this.selectedThread.stopped; },
663
- isVisible: function () { return !!_this.selectedThread; }
532
+ execute: () => this.selectedThread && this.selectedThread.stepOut(),
533
+ isEnabled: () => !!this.selectedThread && this.selectedThread.stopped,
534
+ isVisible: () => !!this.selectedThread
664
535
  });
665
536
  registry.registerCommand(DebugThreadContextCommands.CONTINUE, {
666
- execute: function () { return _this.selectedThread && _this.selectedThread.continue(); },
667
- isEnabled: function () { return !!_this.selectedThread && _this.selectedThread.stopped; },
668
- isVisible: function () { return !!_this.selectedThread && _this.selectedThread.stopped; },
537
+ execute: () => this.selectedThread && this.selectedThread.continue(),
538
+ isEnabled: () => !!this.selectedThread && this.selectedThread.stopped,
539
+ isVisible: () => !!this.selectedThread && this.selectedThread.stopped,
669
540
  });
670
541
  registry.registerCommand(DebugThreadContextCommands.PAUSE, {
671
- execute: function () { return _this.selectedThread && _this.selectedThread.pause(); },
672
- isEnabled: function () { return !!_this.selectedThread && !_this.selectedThread.stopped; },
673
- isVisible: function () { return !!_this.selectedThread && !_this.selectedThread.stopped; },
542
+ execute: () => this.selectedThread && this.selectedThread.pause(),
543
+ isEnabled: () => !!this.selectedThread && !this.selectedThread.stopped,
544
+ isVisible: () => !!this.selectedThread && !this.selectedThread.stopped,
674
545
  });
675
546
  registry.registerCommand(DebugThreadContextCommands.TERMINATE, {
676
- execute: function () { return _this.selectedThread && _this.selectedThread.terminate(); },
677
- isEnabled: function () { return !!_this.selectedThread && _this.selectedThread.supportsTerminate; },
678
- isVisible: function () { return !!_this.selectedThread && _this.selectedThread.supportsTerminate; }
547
+ execute: () => this.selectedThread && this.selectedThread.terminate(),
548
+ isEnabled: () => !!this.selectedThread && this.selectedThread.supportsTerminate,
549
+ isVisible: () => !!this.selectedThread && this.selectedThread.supportsTerminate
679
550
  });
680
551
  registry.registerCommand(DebugSessionContextCommands.STOP, {
681
- execute: function () { return _this.selectedSession && _this.selectedSession.terminate(); },
682
- isEnabled: function () { return !!_this.selectedSession && _this.selectedSession.state !== debug_session_1.DebugState.Inactive; },
683
- isVisible: function () { return !_this.selectedThread; }
552
+ execute: () => this.selectedSession && this.selectedSession.terminate(),
553
+ isEnabled: () => !!this.selectedSession && this.selectedSession.state !== debug_session_1.DebugState.Inactive,
554
+ isVisible: () => !this.selectedThread
684
555
  });
685
556
  registry.registerCommand(DebugSessionContextCommands.RESTART, {
686
- execute: function () { return _this.selectedSession && _this.manager.restart(_this.selectedSession); },
687
- isEnabled: function () { return !!_this.selectedSession && _this.selectedSession.state !== debug_session_1.DebugState.Inactive; },
688
- isVisible: function () { return !_this.selectedThread; }
557
+ execute: () => this.selectedSession && this.manager.restart(this.selectedSession),
558
+ isEnabled: () => !!this.selectedSession && this.selectedSession.state !== debug_session_1.DebugState.Inactive,
559
+ isVisible: () => !this.selectedThread
689
560
  });
690
561
  registry.registerCommand(DebugSessionContextCommands.CONTINUE_ALL, {
691
- execute: function () { return _this.selectedSession && _this.selectedSession.continueAll(); },
692
- isEnabled: function () { return !!_this.selectedSession && !!_this.selectedSession.stoppedThreads.next().value; },
693
- isVisible: function () { return !_this.selectedThread; }
562
+ execute: () => this.selectedSession && this.selectedSession.continueAll(),
563
+ isEnabled: () => !!this.selectedSession && !!this.selectedSession.stoppedThreads.next().value,
564
+ isVisible: () => !this.selectedThread
694
565
  });
695
566
  registry.registerCommand(DebugSessionContextCommands.PAUSE_ALL, {
696
- execute: function () { return _this.selectedSession && _this.selectedSession.pauseAll(); },
697
- isEnabled: function () { return !!_this.selectedSession && !!_this.selectedSession.runningThreads.next().value; },
698
- isVisible: function () { return !_this.selectedThread; }
567
+ execute: () => this.selectedSession && this.selectedSession.pauseAll(),
568
+ isEnabled: () => !!this.selectedSession && !!this.selectedSession.runningThreads.next().value,
569
+ isVisible: () => !this.selectedThread
699
570
  });
700
571
  registry.registerCommand(DebugSessionContextCommands.REVEAL, {
701
- execute: function () { return _this.selectedSession && _this.revealSession(_this.selectedSession); },
702
- isEnabled: function () { return _this.hasSessionWidget; },
703
- isVisible: function () { return !_this.selectedThread && _this.hasSessionWidget; }
572
+ execute: () => this.selectedSession && this.revealSession(this.selectedSession),
573
+ isEnabled: () => this.hasSessionWidget,
574
+ isVisible: () => !this.selectedThread && this.hasSessionWidget
704
575
  });
705
576
  registry.registerCommand(DebugSessionContextCommands.OPEN_LEFT, {
706
- execute: function () { return _this.selectedSession && _this.openSession(_this.selectedSession, {
577
+ execute: () => this.selectedSession && this.openSession(this.selectedSession, {
707
578
  debugViewLocation: 'left'
708
- }); },
709
- isEnabled: function () { return !_this.hasSessionWidget; },
710
- isVisible: function () { return !_this.selectedThread && !_this.hasSessionWidget; }
579
+ }),
580
+ isEnabled: () => !this.hasSessionWidget,
581
+ isVisible: () => !this.selectedThread && !this.hasSessionWidget
711
582
  });
712
583
  registry.registerCommand(DebugSessionContextCommands.OPEN_RIGHT, {
713
- execute: function () { return _this.selectedSession && _this.openSession(_this.selectedSession, {
584
+ execute: () => this.selectedSession && this.openSession(this.selectedSession, {
714
585
  debugViewLocation: 'right'
715
- }); },
716
- isEnabled: function () { return !_this.hasSessionWidget; },
717
- isVisible: function () { return !_this.selectedThread && !_this.hasSessionWidget; }
586
+ }),
587
+ isEnabled: () => !this.hasSessionWidget,
588
+ isVisible: () => !this.selectedThread && !this.hasSessionWidget
718
589
  });
719
590
  registry.registerCommand(DebugSessionContextCommands.OPEN_BOTTOM, {
720
- execute: function () { return _this.selectedSession && _this.openSession(_this.selectedSession, {
591
+ execute: () => this.selectedSession && this.openSession(this.selectedSession, {
721
592
  debugViewLocation: 'bottom'
722
- }); },
723
- isEnabled: function () { return !_this.hasSessionWidget; },
724
- isVisible: function () { return !_this.selectedThread && !_this.hasSessionWidget; }
593
+ }),
594
+ isEnabled: () => !this.hasSessionWidget,
595
+ isVisible: () => !this.selectedThread && !this.hasSessionWidget
725
596
  });
726
597
  registry.registerCommand(DebugCommands.TOGGLE_BREAKPOINT, {
727
- execute: function () { return _this.editors.toggleBreakpoint(); },
728
- isEnabled: function () { return !!_this.editors.model; }
598
+ execute: () => this.editors.toggleBreakpoint(),
599
+ isEnabled: () => !!this.editors.model
729
600
  });
730
601
  registry.registerCommand(DebugCommands.INLINE_BREAKPOINT, {
731
- execute: function () { return _this.editors.addInlineBreakpoint(); },
732
- isEnabled: function () { return !!_this.editors.model && !_this.editors.getInlineBreakpoint(); }
602
+ execute: () => this.editors.addInlineBreakpoint(),
603
+ isEnabled: () => !!this.editors.model && !this.editors.getInlineBreakpoint()
733
604
  });
734
605
  registry.registerCommand(DebugCommands.ADD_CONDITIONAL_BREAKPOINT, {
735
- execute: function () { return _this.editors.addBreakpoint('condition'); },
736
- isEnabled: function () { return !!_this.editors.model && !_this.editors.anyBreakpoint(); }
606
+ execute: () => this.editors.addBreakpoint('condition'),
607
+ isEnabled: () => !!this.editors.model && !this.editors.anyBreakpoint()
737
608
  });
738
609
  registry.registerCommand(DebugCommands.ADD_LOGPOINT, {
739
- execute: function () { return _this.editors.addBreakpoint('logMessage'); },
740
- isEnabled: function () { return !!_this.editors.model && !_this.editors.anyBreakpoint(); }
610
+ execute: () => this.editors.addBreakpoint('logMessage'),
611
+ isEnabled: () => !!this.editors.model && !this.editors.anyBreakpoint()
741
612
  });
742
613
  registry.registerCommand(DebugCommands.ADD_FUNCTION_BREAKPOINT, {
743
- execute: function () { return __awaiter(_this, void 0, void 0, function () {
744
- var _a, labelProvider, breakpointManager, editorManager, options;
745
- return __generator(this, function (_b) {
746
- switch (_b.label) {
747
- case 0:
748
- _a = this, labelProvider = _a.labelProvider, breakpointManager = _a.breakpointManager, editorManager = _a.editorManager;
749
- options = { labelProvider: labelProvider, breakpoints: breakpointManager, editorManager: editorManager };
750
- return [4 /*yield*/, new debug_function_breakpoint_1.DebugFunctionBreakpoint(breakpoint_marker_1.FunctionBreakpoint.create({ name: '' }), options).open()];
751
- case 1:
752
- _b.sent();
753
- return [2 /*return*/];
754
- }
755
- });
756
- }); },
757
- isEnabled: function (widget) { return !(widget instanceof browser_1.Widget) || widget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget; },
758
- isVisible: function (widget) { return !(widget instanceof browser_1.Widget) || widget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget; }
614
+ execute: async () => {
615
+ const { labelProvider, breakpointManager, editorManager } = this;
616
+ const options = { labelProvider, breakpoints: breakpointManager, editorManager };
617
+ await new debug_function_breakpoint_1.DebugFunctionBreakpoint(breakpoint_marker_1.FunctionBreakpoint.create({ name: '' }), options).open();
618
+ },
619
+ isEnabled: widget => !(widget instanceof browser_1.Widget) || widget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget,
620
+ isVisible: widget => !(widget instanceof browser_1.Widget) || widget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget
759
621
  });
760
622
  registry.registerCommand(DebugCommands.ENABLE_ALL_BREAKPOINTS, {
761
- execute: function () { return _this.breakpointManager.enableAllBreakpoints(true); },
762
- isEnabled: function () { return _this.breakpointManager.hasBreakpoints(); }
623
+ execute: () => this.breakpointManager.enableAllBreakpoints(true),
624
+ isEnabled: () => this.breakpointManager.hasBreakpoints()
763
625
  });
764
626
  registry.registerCommand(DebugCommands.DISABLE_ALL_BREAKPOINTS, {
765
- execute: function () { return _this.breakpointManager.enableAllBreakpoints(false); },
766
- isEnabled: function () { return _this.breakpointManager.hasBreakpoints(); }
627
+ execute: () => this.breakpointManager.enableAllBreakpoints(false),
628
+ isEnabled: () => this.breakpointManager.hasBreakpoints()
767
629
  });
768
630
  registry.registerCommand(DebugCommands.EDIT_BREAKPOINT, {
769
- execute: function () { return __awaiter(_this, void 0, void 0, function () {
770
- var _a, selectedBreakpoint, selectedFunctionBreakpoint;
771
- return __generator(this, function (_b) {
772
- switch (_b.label) {
773
- case 0:
774
- _a = this, selectedBreakpoint = _a.selectedBreakpoint, selectedFunctionBreakpoint = _a.selectedFunctionBreakpoint;
775
- if (!selectedBreakpoint) return [3 /*break*/, 2];
776
- return [4 /*yield*/, this.editors.editBreakpoint(selectedBreakpoint)];
777
- case 1:
778
- _b.sent();
779
- return [3 /*break*/, 4];
780
- case 2:
781
- if (!selectedFunctionBreakpoint) return [3 /*break*/, 4];
782
- return [4 /*yield*/, selectedFunctionBreakpoint.open()];
783
- case 3:
784
- _b.sent();
785
- _b.label = 4;
786
- case 4: return [2 /*return*/];
787
- }
788
- });
789
- }); },
790
- isEnabled: function () { return !!_this.selectedBreakpoint || !!_this.selectedFunctionBreakpoint; },
791
- isVisible: function () { return !!_this.selectedBreakpoint || !!_this.selectedFunctionBreakpoint; }
631
+ execute: async () => {
632
+ const { selectedBreakpoint, selectedFunctionBreakpoint } = this;
633
+ if (selectedBreakpoint) {
634
+ await this.editors.editBreakpoint(selectedBreakpoint);
635
+ }
636
+ else if (selectedFunctionBreakpoint) {
637
+ await selectedFunctionBreakpoint.open();
638
+ }
639
+ },
640
+ isEnabled: () => !!this.selectedBreakpoint || !!this.selectedFunctionBreakpoint,
641
+ isVisible: () => !!this.selectedBreakpoint || !!this.selectedFunctionBreakpoint
792
642
  });
793
643
  registry.registerCommand(DebugCommands.EDIT_LOGPOINT, {
794
- execute: function () { return __awaiter(_this, void 0, void 0, function () {
795
- var selectedLogpoint;
796
- return __generator(this, function (_a) {
797
- switch (_a.label) {
798
- case 0:
799
- selectedLogpoint = this.selectedLogpoint;
800
- if (!selectedLogpoint) return [3 /*break*/, 2];
801
- return [4 /*yield*/, this.editors.editBreakpoint(selectedLogpoint)];
802
- case 1:
803
- _a.sent();
804
- _a.label = 2;
805
- case 2: return [2 /*return*/];
806
- }
807
- });
808
- }); },
809
- isEnabled: function () { return !!_this.selectedLogpoint; },
810
- isVisible: function () { return !!_this.selectedLogpoint; }
644
+ execute: async () => {
645
+ const { selectedLogpoint } = this;
646
+ if (selectedLogpoint) {
647
+ await this.editors.editBreakpoint(selectedLogpoint);
648
+ }
649
+ },
650
+ isEnabled: () => !!this.selectedLogpoint,
651
+ isVisible: () => !!this.selectedLogpoint
811
652
  });
812
653
  registry.registerCommand(DebugCommands.REMOVE_BREAKPOINT, {
813
- execute: function () {
814
- var selectedBreakpoint = _this.selectedBreakpoint || _this.selectedFunctionBreakpoint;
654
+ execute: () => {
655
+ const selectedBreakpoint = this.selectedBreakpoint || this.selectedFunctionBreakpoint;
815
656
  if (selectedBreakpoint) {
816
657
  selectedBreakpoint.remove();
817
658
  }
818
659
  },
819
- isEnabled: function () { return !!_this.selectedBreakpoint || !!_this.selectedFunctionBreakpoint; },
820
- isVisible: function () { return !!_this.selectedBreakpoint || !!_this.selectedFunctionBreakpoint; },
660
+ isEnabled: () => !!this.selectedBreakpoint || !!this.selectedFunctionBreakpoint,
661
+ isVisible: () => !!this.selectedBreakpoint || !!this.selectedFunctionBreakpoint,
821
662
  });
822
663
  registry.registerCommand(DebugCommands.REMOVE_LOGPOINT, {
823
- execute: function () {
824
- var selectedLogpoint = _this.selectedLogpoint;
664
+ execute: () => {
665
+ const { selectedLogpoint } = this;
825
666
  if (selectedLogpoint) {
826
667
  selectedLogpoint.remove();
827
668
  }
828
669
  },
829
- isEnabled: function () { return !!_this.selectedLogpoint; },
830
- isVisible: function () { return !!_this.selectedLogpoint; }
670
+ isEnabled: () => !!this.selectedLogpoint,
671
+ isVisible: () => !!this.selectedLogpoint
831
672
  });
832
673
  registry.registerCommand(DebugCommands.REMOVE_ALL_BREAKPOINTS, {
833
- execute: function () { return _this.breakpointManager.removeBreakpoints(); },
834
- isEnabled: function () { return _this.breakpointManager.hasBreakpoints(); },
835
- isVisible: function (widget) { return !(widget instanceof browser_1.Widget) || (widget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget); }
674
+ execute: () => this.breakpointManager.removeBreakpoints(),
675
+ isEnabled: () => this.breakpointManager.hasBreakpoints(),
676
+ isVisible: widget => !(widget instanceof browser_1.Widget) || (widget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget)
836
677
  });
837
678
  registry.registerCommand(DebugCommands.TOGGLE_BREAKPOINTS_ENABLED, {
838
- execute: function () { return _this.breakpointManager.breakpointsEnabled = !_this.breakpointManager.breakpointsEnabled; },
839
- isVisible: function (arg) { return arg instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget; }
679
+ execute: () => this.breakpointManager.breakpointsEnabled = !this.breakpointManager.breakpointsEnabled,
680
+ isVisible: arg => arg instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget
840
681
  });
841
682
  registry.registerCommand(DebugCommands.SHOW_HOVER, {
842
- execute: function () { return _this.editors.showHover(); },
843
- isEnabled: function () { return _this.editors.canShowHover(); }
683
+ execute: () => this.editors.showHover(),
684
+ isEnabled: () => this.editors.canShowHover()
844
685
  });
845
686
  registry.registerCommand(DebugCommands.RESTART_FRAME, {
846
- execute: function () { return _this.selectedFrame && _this.selectedFrame.restart(); },
847
- isEnabled: function () { return !!_this.selectedFrame; }
687
+ execute: () => this.selectedFrame && this.selectedFrame.restart(),
688
+ isEnabled: () => !!this.selectedFrame
848
689
  });
849
690
  registry.registerCommand(DebugCommands.COPY_CALL_STACK, {
850
- execute: function () {
851
- var frames = _this.frames;
852
- var selection = document.getSelection();
691
+ execute: () => {
692
+ const { frames } = this;
693
+ const selection = document.getSelection();
853
694
  if (frames && selection) {
854
695
  selection.selectAllChildren(frames.node);
855
696
  document.execCommand('copy');
856
697
  }
857
698
  },
858
- isEnabled: function () { return document.queryCommandSupported('copy'); },
859
- isVisible: function () { return document.queryCommandSupported('copy'); }
699
+ isEnabled: () => document.queryCommandSupported('copy'),
700
+ isVisible: () => document.queryCommandSupported('copy')
860
701
  });
861
702
  registry.registerCommand(DebugCommands.SET_VARIABLE_VALUE, {
862
- execute: function () { return _this.selectedVariable && _this.selectedVariable.open(); },
863
- isEnabled: function () { return !!_this.selectedVariable && _this.selectedVariable.supportSetVariable; },
864
- isVisible: function () { return !!_this.selectedVariable && _this.selectedVariable.supportSetVariable; }
703
+ execute: () => this.selectedVariable && this.selectedVariable.open(),
704
+ isEnabled: () => !!this.selectedVariable && this.selectedVariable.supportSetVariable,
705
+ isVisible: () => !!this.selectedVariable && this.selectedVariable.supportSetVariable
865
706
  });
866
707
  registry.registerCommand(DebugCommands.COPY_VARIABLE_VALUE, {
867
- execute: function () { return _this.selectedVariable && _this.selectedVariable.copyValue(); },
868
- isEnabled: function () { return !!_this.selectedVariable && _this.selectedVariable.supportCopyValue; },
869
- isVisible: function () { return !!_this.selectedVariable && _this.selectedVariable.supportCopyValue; }
708
+ execute: () => this.selectedVariable && this.selectedVariable.copyValue(),
709
+ isEnabled: () => !!this.selectedVariable && this.selectedVariable.supportCopyValue,
710
+ isVisible: () => !!this.selectedVariable && this.selectedVariable.supportCopyValue
870
711
  });
871
712
  registry.registerCommand(DebugCommands.COPY_VARIABLE_AS_EXPRESSION, {
872
- execute: function () { return _this.selectedVariable && _this.selectedVariable.copyAsExpression(); },
873
- isEnabled: function () { return !!_this.selectedVariable && _this.selectedVariable.supportCopyAsExpression; },
874
- isVisible: function () { return !!_this.selectedVariable && _this.selectedVariable.supportCopyAsExpression; }
713
+ execute: () => this.selectedVariable && this.selectedVariable.copyAsExpression(),
714
+ isEnabled: () => !!this.selectedVariable && this.selectedVariable.supportCopyAsExpression,
715
+ isVisible: () => !!this.selectedVariable && this.selectedVariable.supportCopyAsExpression
875
716
  });
876
717
  registry.registerCommand(DebugCommands.WATCH_VARIABLE, {
877
- execute: function () {
878
- var _a = _this, selectedVariable = _a.selectedVariable, watch = _a.watch;
718
+ execute: () => {
719
+ const { selectedVariable, watch } = this;
879
720
  if (selectedVariable && watch) {
880
721
  watch.viewModel.addWatchExpression(selectedVariable.name);
881
722
  }
882
723
  },
883
- isEnabled: function () { return !!_this.selectedVariable && !!_this.watch; },
884
- isVisible: function () { return !!_this.selectedVariable && !!_this.watch; },
724
+ isEnabled: () => !!this.selectedVariable && !!this.watch,
725
+ isVisible: () => !!this.selectedVariable && !!this.watch,
885
726
  });
886
727
  // Debug context menu commands
887
728
  registry.registerCommand(DebugEditorContextCommands.ADD_BREAKPOINT, {
888
- execute: function (position) { return _this.isPosition(position) && _this.editors.toggleBreakpoint(position); },
889
- isEnabled: function (position) { return _this.isPosition(position) && !_this.editors.anyBreakpoint(position); },
890
- isVisible: function (position) { return _this.isPosition(position) && !_this.editors.anyBreakpoint(position); }
729
+ execute: position => this.isPosition(position) && this.editors.toggleBreakpoint(position),
730
+ isEnabled: position => this.isPosition(position) && !this.editors.anyBreakpoint(position),
731
+ isVisible: position => this.isPosition(position) && !this.editors.anyBreakpoint(position)
891
732
  });
892
733
  registry.registerCommand(DebugEditorContextCommands.ADD_CONDITIONAL_BREAKPOINT, {
893
- execute: function (position) { return _this.isPosition(position) && _this.editors.addBreakpoint('condition', position); },
894
- isEnabled: function (position) { return _this.isPosition(position) && !_this.editors.anyBreakpoint(position); },
895
- isVisible: function (position) { return _this.isPosition(position) && !_this.editors.anyBreakpoint(position); }
734
+ execute: position => this.isPosition(position) && this.editors.addBreakpoint('condition', position),
735
+ isEnabled: position => this.isPosition(position) && !this.editors.anyBreakpoint(position),
736
+ isVisible: position => this.isPosition(position) && !this.editors.anyBreakpoint(position)
896
737
  });
897
738
  registry.registerCommand(DebugEditorContextCommands.ADD_LOGPOINT, {
898
- execute: function (position) { return _this.isPosition(position) && _this.editors.addBreakpoint('logMessage', position); },
899
- isEnabled: function (position) { return _this.isPosition(position) && !_this.editors.anyBreakpoint(position); },
900
- isVisible: function (position) { return _this.isPosition(position) && !_this.editors.anyBreakpoint(position); }
739
+ execute: position => this.isPosition(position) && this.editors.addBreakpoint('logMessage', position),
740
+ isEnabled: position => this.isPosition(position) && !this.editors.anyBreakpoint(position),
741
+ isVisible: position => this.isPosition(position) && !this.editors.anyBreakpoint(position)
901
742
  });
902
743
  registry.registerCommand(DebugEditorContextCommands.REMOVE_BREAKPOINT, {
903
- execute: function (position) { return _this.isPosition(position) && _this.editors.toggleBreakpoint(position); },
904
- isEnabled: function (position) { return _this.isPosition(position) && !!_this.editors.getBreakpoint(position); },
905
- isVisible: function (position) { return _this.isPosition(position) && !!_this.editors.getBreakpoint(position); }
744
+ execute: position => this.isPosition(position) && this.editors.toggleBreakpoint(position),
745
+ isEnabled: position => this.isPosition(position) && !!this.editors.getBreakpoint(position),
746
+ isVisible: position => this.isPosition(position) && !!this.editors.getBreakpoint(position)
906
747
  });
907
748
  registry.registerCommand(DebugEditorContextCommands.EDIT_BREAKPOINT, {
908
- execute: function (position) { return _this.isPosition(position) && _this.editors.editBreakpoint(position); },
909
- isEnabled: function (position) { return _this.isPosition(position) && !!_this.editors.getBreakpoint(position); },
910
- isVisible: function (position) { return _this.isPosition(position) && !!_this.editors.getBreakpoint(position); }
749
+ execute: position => this.isPosition(position) && this.editors.editBreakpoint(position),
750
+ isEnabled: position => this.isPosition(position) && !!this.editors.getBreakpoint(position),
751
+ isVisible: position => this.isPosition(position) && !!this.editors.getBreakpoint(position)
911
752
  });
912
753
  registry.registerCommand(DebugEditorContextCommands.ENABLE_BREAKPOINT, {
913
- execute: function (position) { return _this.isPosition(position) && _this.editors.setBreakpointEnabled(position, true); },
914
- isEnabled: function (position) { return _this.isPosition(position) && _this.editors.getBreakpointEnabled(position) === false; },
915
- isVisible: function (position) { return _this.isPosition(position) && _this.editors.getBreakpointEnabled(position) === false; }
754
+ execute: position => this.isPosition(position) && this.editors.setBreakpointEnabled(position, true),
755
+ isEnabled: position => this.isPosition(position) && this.editors.getBreakpointEnabled(position) === false,
756
+ isVisible: position => this.isPosition(position) && this.editors.getBreakpointEnabled(position) === false
916
757
  });
917
758
  registry.registerCommand(DebugEditorContextCommands.DISABLE_BREAKPOINT, {
918
- execute: function (position) { return _this.isPosition(position) && _this.editors.setBreakpointEnabled(position, false); },
919
- isEnabled: function (position) { return _this.isPosition(position) && !!_this.editors.getBreakpointEnabled(position); },
920
- isVisible: function (position) { return _this.isPosition(position) && !!_this.editors.getBreakpointEnabled(position); }
759
+ execute: position => this.isPosition(position) && this.editors.setBreakpointEnabled(position, false),
760
+ isEnabled: position => this.isPosition(position) && !!this.editors.getBreakpointEnabled(position),
761
+ isVisible: position => this.isPosition(position) && !!this.editors.getBreakpointEnabled(position)
921
762
  });
922
763
  registry.registerCommand(DebugEditorContextCommands.REMOVE_LOGPOINT, {
923
- execute: function (position) { return _this.isPosition(position) && _this.editors.toggleBreakpoint(position); },
924
- isEnabled: function (position) { return _this.isPosition(position) && !!_this.editors.getLogpoint(position); },
925
- isVisible: function (position) { return _this.isPosition(position) && !!_this.editors.getLogpoint(position); }
764
+ execute: position => this.isPosition(position) && this.editors.toggleBreakpoint(position),
765
+ isEnabled: position => this.isPosition(position) && !!this.editors.getLogpoint(position),
766
+ isVisible: position => this.isPosition(position) && !!this.editors.getLogpoint(position)
926
767
  });
927
768
  registry.registerCommand(DebugEditorContextCommands.EDIT_LOGPOINT, {
928
- execute: function (position) { return _this.isPosition(position) && _this.editors.editBreakpoint(position); },
929
- isEnabled: function (position) { return _this.isPosition(position) && !!_this.editors.getLogpoint(position); },
930
- isVisible: function (position) { return _this.isPosition(position) && !!_this.editors.getLogpoint(position); }
769
+ execute: position => this.isPosition(position) && this.editors.editBreakpoint(position),
770
+ isEnabled: position => this.isPosition(position) && !!this.editors.getLogpoint(position),
771
+ isVisible: position => this.isPosition(position) && !!this.editors.getLogpoint(position)
931
772
  });
932
773
  registry.registerCommand(DebugEditorContextCommands.ENABLE_LOGPOINT, {
933
- execute: function (position) { return _this.isPosition(position) && _this.editors.setBreakpointEnabled(position, true); },
934
- isEnabled: function (position) { return _this.isPosition(position) && _this.editors.getLogpointEnabled(position) === false; },
935
- isVisible: function (position) { return _this.isPosition(position) && _this.editors.getLogpointEnabled(position) === false; }
774
+ execute: position => this.isPosition(position) && this.editors.setBreakpointEnabled(position, true),
775
+ isEnabled: position => this.isPosition(position) && this.editors.getLogpointEnabled(position) === false,
776
+ isVisible: position => this.isPosition(position) && this.editors.getLogpointEnabled(position) === false
936
777
  });
937
778
  registry.registerCommand(DebugEditorContextCommands.DISABLE_LOGPOINT, {
938
- execute: function (position) { return _this.isPosition(position) && _this.editors.setBreakpointEnabled(position, false); },
939
- isEnabled: function (position) { return _this.isPosition(position) && !!_this.editors.getLogpointEnabled(position); },
940
- isVisible: function (position) { return _this.isPosition(position) && !!_this.editors.getLogpointEnabled(position); }
779
+ execute: position => this.isPosition(position) && this.editors.setBreakpointEnabled(position, false),
780
+ isEnabled: position => this.isPosition(position) && !!this.editors.getLogpointEnabled(position),
781
+ isVisible: position => this.isPosition(position) && !!this.editors.getLogpointEnabled(position)
941
782
  });
942
783
  registry.registerCommand(DebugBreakpointWidgetCommands.ACCEPT, {
943
- execute: function () { return _this.editors.acceptBreakpoint(); }
784
+ execute: () => this.editors.acceptBreakpoint()
944
785
  });
945
786
  registry.registerCommand(DebugBreakpointWidgetCommands.CLOSE, {
946
- execute: function () { return _this.editors.closeBreakpoint(); }
787
+ execute: () => this.editors.closeBreakpoint()
947
788
  });
948
789
  registry.registerCommand(DebugCommands.ADD_WATCH_EXPRESSION, {
949
- execute: function (widget) {
790
+ execute: widget => {
950
791
  if (widget instanceof browser_1.Widget) {
951
792
  if (widget instanceof debug_watch_widget_1.DebugWatchWidget) {
952
793
  widget.viewModel.addWatchExpression();
953
794
  }
954
795
  }
955
- else if (_this.watch) {
956
- _this.watch.viewModel.addWatchExpression();
796
+ else if (this.watch) {
797
+ this.watch.viewModel.addWatchExpression();
957
798
  }
958
799
  },
959
- isEnabled: function (widget) { return widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!_this.watch; },
960
- isVisible: function (widget) { return widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!_this.watch; }
800
+ isEnabled: widget => widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!this.watch,
801
+ isVisible: widget => widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!this.watch
961
802
  });
962
803
  registry.registerCommand(DebugCommands.EDIT_WATCH_EXPRESSION, {
963
- execute: function () {
964
- var watchExpression = _this.watchExpression;
804
+ execute: () => {
805
+ const { watchExpression } = this;
965
806
  if (watchExpression) {
966
807
  watchExpression.open();
967
808
  }
968
809
  },
969
- isEnabled: function () { return !!_this.watchExpression; },
970
- isVisible: function () { return !!_this.watchExpression; }
810
+ isEnabled: () => !!this.watchExpression,
811
+ isVisible: () => !!this.watchExpression
971
812
  });
972
813
  registry.registerCommand(DebugCommands.COPY_WATCH_EXPRESSION_VALUE, {
973
- execute: function () { return _this.watchExpression && _this.watchExpression.copyValue(); },
974
- isEnabled: function () { return !!_this.watchExpression && _this.watchExpression.supportCopyValue; },
975
- isVisible: function () { return !!_this.watchExpression && _this.watchExpression.supportCopyValue; }
814
+ execute: () => this.watchExpression && this.watchExpression.copyValue(),
815
+ isEnabled: () => !!this.watchExpression && this.watchExpression.supportCopyValue,
816
+ isVisible: () => !!this.watchExpression && this.watchExpression.supportCopyValue
976
817
  });
977
818
  registry.registerCommand(DebugCommands.COLLAPSE_ALL_WATCH_EXPRESSIONS, {
978
- execute: function (widget) {
819
+ execute: widget => {
979
820
  if (widget instanceof debug_watch_widget_1.DebugWatchWidget) {
980
- var root = widget.model.root;
821
+ const root = widget.model.root;
981
822
  widget.model.collapseAll(browser_1.CompositeTreeNode.is(root) ? root : undefined);
982
823
  }
983
824
  },
984
- isEnabled: function (widget) { return widget instanceof debug_watch_widget_1.DebugWatchWidget; },
985
- isVisible: function (widget) { return widget instanceof debug_watch_widget_1.DebugWatchWidget; }
825
+ isEnabled: widget => widget instanceof debug_watch_widget_1.DebugWatchWidget,
826
+ isVisible: widget => widget instanceof debug_watch_widget_1.DebugWatchWidget
986
827
  });
987
828
  registry.registerCommand(DebugCommands.REMOVE_WATCH_EXPRESSION, {
988
- execute: function () {
989
- var _a = _this, watch = _a.watch, watchExpression = _a.watchExpression;
829
+ execute: () => {
830
+ const { watch, watchExpression } = this;
990
831
  if (watch && watchExpression) {
991
832
  watch.viewModel.removeWatchExpression(watchExpression);
992
833
  }
993
834
  },
994
- isEnabled: function () { return !!_this.watchExpression; },
995
- isVisible: function () { return !!_this.watchExpression; }
835
+ isEnabled: () => !!this.watchExpression,
836
+ isVisible: () => !!this.watchExpression
996
837
  });
997
838
  registry.registerCommand(DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS, {
998
- execute: function (widget) {
839
+ execute: widget => {
999
840
  if (widget instanceof browser_1.Widget) {
1000
841
  if (widget instanceof debug_watch_widget_1.DebugWatchWidget) {
1001
842
  widget.viewModel.removeWatchExpressions();
1002
843
  }
1003
844
  }
1004
- else if (_this.watch) {
1005
- _this.watch.viewModel.removeWatchExpressions();
845
+ else if (this.watch) {
846
+ this.watch.viewModel.removeWatchExpressions();
1006
847
  }
1007
848
  },
1008
- isEnabled: function (widget) { return widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!_this.watch; },
1009
- isVisible: function (widget) { return widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!_this.watch; }
849
+ isEnabled: widget => widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!this.watch,
850
+ isVisible: widget => widget instanceof browser_1.Widget ? widget instanceof debug_watch_widget_1.DebugWatchWidget : !!this.watch
1010
851
  });
1011
- };
1012
- DebugFrontendApplicationContribution.prototype.registerKeybindings = function (keybindings) {
1013
- _super.prototype.registerKeybindings.call(this, keybindings);
852
+ }
853
+ registerKeybindings(keybindings) {
854
+ super.registerKeybindings(keybindings);
1014
855
  keybindings.registerKeybinding({
1015
856
  command: DebugCommands.START.id,
1016
857
  keybinding: 'f5'
@@ -1074,19 +915,18 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
1074
915
  keybinding: 'esc',
1075
916
  context: debug_keybinding_contexts_1.DebugKeybindingContexts.breakpointWidgetInputStrictFocus
1076
917
  });
1077
- };
1078
- DebugFrontendApplicationContribution.prototype.registerToolbarItems = function (toolbar) {
1079
- var _this = this;
1080
- var onDidChangeToggleBreakpointsEnabled = new common_1.Emitter();
1081
- var toggleBreakpointsEnabled = {
918
+ }
919
+ registerToolbarItems(toolbar) {
920
+ const onDidChangeToggleBreakpointsEnabled = new common_1.Emitter();
921
+ const toggleBreakpointsEnabled = {
1082
922
  id: DebugCommands.TOGGLE_BREAKPOINTS_ENABLED.id,
1083
923
  command: DebugCommands.TOGGLE_BREAKPOINTS_ENABLED.id,
1084
- icon: 'fa breakpoints-activate',
924
+ icon: browser_1.codicon('activate-breakpoints'),
1085
925
  onDidChange: onDidChangeToggleBreakpointsEnabled.event,
1086
926
  priority: 1
1087
927
  };
1088
- var updateToggleBreakpointsEnabled = function () {
1089
- var tooltip = _this.breakpointManager.breakpointsEnabled ? 'Deactivate Breakpoints' : 'Activate Breakpoints';
928
+ const updateToggleBreakpointsEnabled = () => {
929
+ const tooltip = this.breakpointManager.breakpointsEnabled ? 'Deactivate Breakpoints' : 'Activate Breakpoints';
1090
930
  if (toggleBreakpointsEnabled.tooltip !== tooltip) {
1091
931
  toggleBreakpointsEnabled.tooltip = tooltip;
1092
932
  onDidChangeToggleBreakpointsEnabled.fire(undefined);
@@ -1095,7 +935,7 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
1095
935
  toolbar.registerItem({
1096
936
  id: DebugCommands.ADD_FUNCTION_BREAKPOINT.id,
1097
937
  command: DebugCommands.ADD_FUNCTION_BREAKPOINT.id,
1098
- icon: 'theia-add-icon',
938
+ icon: browser_1.codicon('add'),
1099
939
  tooltip: 'Add Function Breakpoint'
1100
940
  });
1101
941
  updateToggleBreakpointsEnabled();
@@ -1104,214 +944,134 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
1104
944
  toolbar.registerItem({
1105
945
  id: DebugCommands.REMOVE_ALL_BREAKPOINTS.id,
1106
946
  command: DebugCommands.REMOVE_ALL_BREAKPOINTS.id,
1107
- icon: 'theia-remove-all-icon',
947
+ icon: browser_1.codicon('close-all'),
1108
948
  priority: 2
1109
949
  });
1110
950
  toolbar.registerItem({
1111
951
  id: DebugCommands.ADD_WATCH_EXPRESSION.id,
1112
952
  command: DebugCommands.ADD_WATCH_EXPRESSION.id,
1113
- icon: 'theia-add-icon',
953
+ icon: browser_1.codicon('add'),
1114
954
  tooltip: 'Add Expression'
1115
955
  });
1116
956
  toolbar.registerItem({
1117
957
  id: DebugCommands.COLLAPSE_ALL_WATCH_EXPRESSIONS.id,
1118
958
  command: DebugCommands.COLLAPSE_ALL_WATCH_EXPRESSIONS.id,
1119
- icon: 'theia-collapse-all-icon',
959
+ icon: browser_1.codicon('collapse-all'),
1120
960
  tooltip: 'Collapse All',
1121
961
  priority: 1
1122
962
  });
1123
963
  toolbar.registerItem({
1124
964
  id: DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS.id,
1125
965
  command: DebugCommands.REMOVE_ALL_WATCH_EXPRESSIONS.id,
1126
- icon: 'theia-remove-all-icon',
966
+ icon: browser_1.codicon('close-all'),
1127
967
  tooltip: 'Remove All Expressions',
1128
968
  priority: 2
1129
969
  });
1130
- };
1131
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "hasSessionWidget", {
1132
- get: function () {
1133
- return !!this.selectedSession && this.sessionWidgets.has(this.selectedSession.label);
1134
- },
1135
- enumerable: false,
1136
- configurable: true
1137
- });
1138
- DebugFrontendApplicationContribution.prototype.openSession = function (session, options) {
1139
- return __awaiter(this, void 0, void 0, function () {
1140
- var _a, debugViewLocation, reveal, sessionWidget, area, newSessionWidget;
1141
- var _this = this;
1142
- return __generator(this, function (_b) {
1143
- _a = __assign({ debugViewLocation: session.configuration.debugViewLocation || this.preference['debug.debugViewLocation'], reveal: true }, options), debugViewLocation = _a.debugViewLocation, reveal = _a.reveal;
1144
- sessionWidget = this.revealSession(session);
1145
- if (sessionWidget) {
1146
- return [2 /*return*/, sessionWidget];
1147
- }
1148
- area = browser_1.ApplicationShell.isSideArea(debugViewLocation) ? debugViewLocation : 'debug';
1149
- if (area === 'debug') {
1150
- return [2 /*return*/, this.openView({ reveal: reveal })];
1151
- }
1152
- newSessionWidget = this.sessionWidgetFactory({ session: session });
1153
- this.sessionWidgets.set(session.label, newSessionWidget);
1154
- newSessionWidget.disposed.connect(function () {
1155
- return _this.sessionWidgets.delete(session.label);
1156
- });
1157
- this.shell.addWidget(newSessionWidget, { area: area });
1158
- if (reveal) {
1159
- this.shell.revealWidget(newSessionWidget.id);
1160
- }
1161
- return [2 /*return*/, newSessionWidget];
1162
- });
1163
- });
1164
- };
1165
- DebugFrontendApplicationContribution.prototype.revealSession = function (session) {
1166
- var widget = this.sessionWidgets.get(session.label);
970
+ }
971
+ get hasSessionWidget() {
972
+ return !!this.selectedSession && this.sessionWidgets.has(this.selectedSession.label);
973
+ }
974
+ async openSession(session, options) {
975
+ const { debugViewLocation, reveal } = Object.assign({ debugViewLocation: session.configuration.debugViewLocation || this.preference['debug.debugViewLocation'], reveal: true }, options);
976
+ const sessionWidget = this.revealSession(session);
977
+ if (sessionWidget) {
978
+ return sessionWidget;
979
+ }
980
+ const area = browser_1.ApplicationShell.isSideArea(debugViewLocation) ? debugViewLocation : 'debug';
981
+ if (area === 'debug') {
982
+ return this.openView({ reveal });
983
+ }
984
+ const newSessionWidget = this.sessionWidgetFactory({ session });
985
+ this.sessionWidgets.set(session.label, newSessionWidget);
986
+ newSessionWidget.disposed.connect(() => this.sessionWidgets.delete(session.label));
987
+ this.shell.addWidget(newSessionWidget, { area });
988
+ if (reveal) {
989
+ this.shell.revealWidget(newSessionWidget.id);
990
+ }
991
+ return newSessionWidget;
992
+ }
993
+ revealSession(session) {
994
+ const widget = this.sessionWidgets.get(session.label);
1167
995
  if (widget) {
1168
996
  this.shell.revealWidget(widget.id);
1169
997
  }
1170
998
  return widget;
1171
- };
1172
- DebugFrontendApplicationContribution.prototype.start = function (noDebug, debugSessionOptions) {
1173
- return __awaiter(this, void 0, void 0, function () {
1174
- var current;
1175
- return __generator(this, function (_a) {
1176
- switch (_a.label) {
1177
- case 0:
1178
- current = debugSessionOptions ? debugSessionOptions : this.configurations.current;
1179
- if (!!current) return [3 /*break*/, 2];
1180
- return [4 /*yield*/, this.configurations.addConfiguration()];
1181
- case 1:
1182
- _a.sent();
1183
- return [2 /*return*/];
1184
- case 2:
1185
- if (!current) return [3 /*break*/, 4];
1186
- if (noDebug !== undefined) {
1187
- current = __assign(__assign({}, current), { configuration: __assign(__assign({}, current.configuration), { noDebug: noDebug }) });
1188
- }
1189
- return [4 /*yield*/, this.manager.start(current)];
1190
- case 3:
1191
- _a.sent();
1192
- _a.label = 4;
1193
- case 4: return [2 /*return*/];
1194
- }
1195
- });
1196
- });
1197
- };
1198
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "threads", {
1199
- get: function () {
1200
- var currentWidget = this.shell.currentWidget;
1201
- return currentWidget instanceof debug_threads_widget_1.DebugThreadsWidget && currentWidget || undefined;
1202
- },
1203
- enumerable: false,
1204
- configurable: true
1205
- });
1206
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedSession", {
1207
- get: function () {
1208
- var threads = this.threads;
1209
- return threads && threads.selectedElement instanceof debug_session_1.DebugSession && threads.selectedElement || undefined;
1210
- },
1211
- enumerable: false,
1212
- configurable: true
1213
- });
1214
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedThread", {
1215
- get: function () {
1216
- var threads = this.threads;
1217
- return threads && threads.selectedElement instanceof debug_thread_1.DebugThread && threads.selectedElement || undefined;
1218
- },
1219
- enumerable: false,
1220
- configurable: true
1221
- });
1222
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "frames", {
1223
- get: function () {
1224
- var currentWidget = this.shell.currentWidget;
1225
- return currentWidget instanceof debug_stack_frames_widget_1.DebugStackFramesWidget && currentWidget || undefined;
1226
- },
1227
- enumerable: false,
1228
- configurable: true
1229
- });
1230
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedFrame", {
1231
- get: function () {
1232
- var frames = this.frames;
1233
- return frames && frames.selectedElement instanceof debug_stack_frame_1.DebugStackFrame && frames.selectedElement || undefined;
1234
- },
1235
- enumerable: false,
1236
- configurable: true
1237
- });
1238
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "breakpoints", {
1239
- get: function () {
1240
- var currentWidget = this.shell.currentWidget;
1241
- return currentWidget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget && currentWidget || undefined;
1242
- },
1243
- enumerable: false,
1244
- configurable: true
1245
- });
1246
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedAnyBreakpoint", {
1247
- get: function () {
1248
- var breakpoints = this.breakpoints;
1249
- var selectedElement = breakpoints && breakpoints.selectedElement;
1250
- return selectedElement instanceof debug_breakpoint_1.DebugBreakpoint ? selectedElement : undefined;
1251
- },
1252
- enumerable: false,
1253
- configurable: true
1254
- });
1255
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedBreakpoint", {
1256
- get: function () {
1257
- var breakpoint = this.selectedAnyBreakpoint;
1258
- return breakpoint && breakpoint instanceof debug_source_breakpoint_1.DebugSourceBreakpoint && !breakpoint.logMessage ? breakpoint : undefined;
1259
- },
1260
- enumerable: false,
1261
- configurable: true
1262
- });
1263
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedLogpoint", {
1264
- get: function () {
1265
- var breakpoint = this.selectedAnyBreakpoint;
1266
- return breakpoint && breakpoint instanceof debug_source_breakpoint_1.DebugSourceBreakpoint && !!breakpoint.logMessage ? breakpoint : undefined;
1267
- },
1268
- enumerable: false,
1269
- configurable: true
1270
- });
1271
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedFunctionBreakpoint", {
1272
- get: function () {
1273
- var breakpoint = this.selectedAnyBreakpoint;
1274
- return breakpoint && breakpoint instanceof debug_function_breakpoint_1.DebugFunctionBreakpoint ? breakpoint : undefined;
1275
- },
1276
- enumerable: false,
1277
- configurable: true
1278
- });
1279
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "variables", {
1280
- get: function () {
1281
- var currentWidget = this.shell.currentWidget;
1282
- return currentWidget instanceof debug_variables_widget_1.DebugVariablesWidget && currentWidget || undefined;
1283
- },
1284
- enumerable: false,
1285
- configurable: true
1286
- });
1287
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "selectedVariable", {
1288
- get: function () {
1289
- var variables = this.variables;
1290
- return variables && variables.selectedElement instanceof debug_console_items_1.DebugVariable && variables.selectedElement || undefined;
1291
- },
1292
- enumerable: false,
1293
- configurable: true
1294
- });
1295
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "watch", {
1296
- get: function () {
1297
- var currentWidget = this.shell.currentWidget;
1298
- return currentWidget instanceof debug_watch_widget_1.DebugWatchWidget && currentWidget || undefined;
1299
- },
1300
- enumerable: false,
1301
- configurable: true
1302
- });
1303
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "watchExpression", {
1304
- get: function () {
1305
- var watch = this.watch;
1306
- return watch && watch.selectedElement instanceof debug_watch_expression_1.DebugWatchExpression && watch.selectedElement || undefined;
1307
- },
1308
- enumerable: false,
1309
- configurable: true
1310
- });
1311
- DebugFrontendApplicationContribution.prototype.isPosition = function (position) {
999
+ }
1000
+ async start(noDebug, debugSessionOptions) {
1001
+ let current = debugSessionOptions ? debugSessionOptions : this.configurations.current;
1002
+ // If no configurations are currently present, create the `launch.json` and prompt users to select the config.
1003
+ if (!current) {
1004
+ await this.configurations.addConfiguration();
1005
+ return;
1006
+ }
1007
+ if (current) {
1008
+ if (noDebug !== undefined) {
1009
+ current = Object.assign(Object.assign({}, current), { configuration: Object.assign(Object.assign({}, current.configuration), { noDebug }) });
1010
+ }
1011
+ await this.manager.start(current);
1012
+ }
1013
+ }
1014
+ get threads() {
1015
+ const { currentWidget } = this.shell;
1016
+ return currentWidget instanceof debug_threads_widget_1.DebugThreadsWidget && currentWidget || undefined;
1017
+ }
1018
+ get selectedSession() {
1019
+ const { threads } = this;
1020
+ return threads && threads.selectedElement instanceof debug_session_1.DebugSession && threads.selectedElement || undefined;
1021
+ }
1022
+ get selectedThread() {
1023
+ const { threads } = this;
1024
+ return threads && threads.selectedElement instanceof debug_thread_1.DebugThread && threads.selectedElement || undefined;
1025
+ }
1026
+ get frames() {
1027
+ const { currentWidget } = this.shell;
1028
+ return currentWidget instanceof debug_stack_frames_widget_1.DebugStackFramesWidget && currentWidget || undefined;
1029
+ }
1030
+ get selectedFrame() {
1031
+ const { frames } = this;
1032
+ return frames && frames.selectedElement instanceof debug_stack_frame_1.DebugStackFrame && frames.selectedElement || undefined;
1033
+ }
1034
+ get breakpoints() {
1035
+ const { currentWidget } = this.shell;
1036
+ return currentWidget instanceof debug_breakpoints_widget_1.DebugBreakpointsWidget && currentWidget || undefined;
1037
+ }
1038
+ get selectedAnyBreakpoint() {
1039
+ const { breakpoints } = this;
1040
+ const selectedElement = breakpoints && breakpoints.selectedElement;
1041
+ return selectedElement instanceof debug_breakpoint_1.DebugBreakpoint ? selectedElement : undefined;
1042
+ }
1043
+ get selectedBreakpoint() {
1044
+ const breakpoint = this.selectedAnyBreakpoint;
1045
+ return breakpoint && breakpoint instanceof debug_source_breakpoint_1.DebugSourceBreakpoint && !breakpoint.logMessage ? breakpoint : undefined;
1046
+ }
1047
+ get selectedLogpoint() {
1048
+ const breakpoint = this.selectedAnyBreakpoint;
1049
+ return breakpoint && breakpoint instanceof debug_source_breakpoint_1.DebugSourceBreakpoint && !!breakpoint.logMessage ? breakpoint : undefined;
1050
+ }
1051
+ get selectedFunctionBreakpoint() {
1052
+ const breakpoint = this.selectedAnyBreakpoint;
1053
+ return breakpoint && breakpoint instanceof debug_function_breakpoint_1.DebugFunctionBreakpoint ? breakpoint : undefined;
1054
+ }
1055
+ get variables() {
1056
+ const { currentWidget } = this.shell;
1057
+ return currentWidget instanceof debug_variables_widget_1.DebugVariablesWidget && currentWidget || undefined;
1058
+ }
1059
+ get selectedVariable() {
1060
+ const { variables } = this;
1061
+ return variables && variables.selectedElement instanceof debug_console_items_1.DebugVariable && variables.selectedElement || undefined;
1062
+ }
1063
+ get watch() {
1064
+ const { currentWidget } = this.shell;
1065
+ return currentWidget instanceof debug_watch_widget_1.DebugWatchWidget && currentWidget || undefined;
1066
+ }
1067
+ get watchExpression() {
1068
+ const { watch } = this;
1069
+ return watch && watch.selectedElement instanceof debug_watch_expression_1.DebugWatchExpression && watch.selectedElement || undefined;
1070
+ }
1071
+ isPosition(position) {
1312
1072
  return (position instanceof monaco.Position);
1313
- };
1314
- DebugFrontendApplicationContribution.prototype.registerColors = function (colors) {
1073
+ }
1074
+ registerColors(colors) {
1315
1075
  colors.register(
1316
1076
  // Debug colors should be aligned with https://code.visualstudio.com/api/references/theme-color#debug-colors
1317
1077
  {
@@ -1334,6 +1094,48 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
1334
1094
  light: '#388A34',
1335
1095
  hc: '#89D185'
1336
1096
  }, description: 'Debug toolbar icon for start debugging.'
1097
+ }, {
1098
+ id: 'debugIcon.pauseForeground', defaults: {
1099
+ dark: '#75BEFF',
1100
+ light: '#007ACC',
1101
+ hc: '#75BEFF'
1102
+ }, description: 'Debug toolbar icon for pause.'
1103
+ }, {
1104
+ id: 'debugIcon.stopForeground', defaults: {
1105
+ dark: '#F48771',
1106
+ light: '#A1260D',
1107
+ hc: '#F48771'
1108
+ }, description: 'Debug toolbar icon for stop.'
1109
+ }, {
1110
+ id: 'debugIcon.restartForeground', defaults: {
1111
+ dark: '#89D185',
1112
+ light: '#388A34',
1113
+ hc: '#89D185'
1114
+ }, description: 'Debug toolbar icon for restart.'
1115
+ }, {
1116
+ id: 'debugIcon.stepOverForeground', defaults: {
1117
+ dark: '#75BEFF',
1118
+ light: '#007ACC',
1119
+ hc: '#75BEFF'
1120
+ }, description: 'Debug toolbar icon for step over.'
1121
+ }, {
1122
+ id: 'debugIcon.stepIntoForeground', defaults: {
1123
+ dark: '#75BEFF',
1124
+ light: '#007ACC',
1125
+ hc: '#75BEFF'
1126
+ }, description: 'Debug toolbar icon for step into.'
1127
+ }, {
1128
+ id: 'debugIcon.stepOutForeground', defaults: {
1129
+ dark: '#75BEFF',
1130
+ light: '#007ACC',
1131
+ hc: '#75BEFF'
1132
+ }, description: 'Debug toolbar icon for step out.'
1133
+ }, {
1134
+ id: 'debugIcon.continueForeground', defaults: {
1135
+ dark: '#75BEFF',
1136
+ light: '#007ACC',
1137
+ hc: '#75BEFF'
1138
+ }, description: 'Debug toolbar icon for continue.'
1337
1139
  },
1338
1140
  // Status bar colors should be aligned with debugging colors from https://code.visualstudio.com/api/references/theme-color#status-bar-colors
1339
1141
  {
@@ -1370,84 +1172,79 @@ var DebugFrontendApplicationContribution = /** @class */ (function (_super) {
1370
1172
  hc: '#420b0d'
1371
1173
  }, description: 'Exception widget background color.'
1372
1174
  });
1373
- };
1374
- DebugFrontendApplicationContribution.prototype.updateStatusBar = function () {
1175
+ }
1176
+ updateStatusBar() {
1375
1177
  if (this.debuggingStatusBar === document.body.classList.contains('theia-mod-debugging')) {
1376
1178
  return;
1377
1179
  }
1378
1180
  document.body.classList.toggle('theia-mod-debugging');
1379
- };
1380
- Object.defineProperty(DebugFrontendApplicationContribution.prototype, "debuggingStatusBar", {
1381
- get: function () {
1382
- if (this.manager.state < debug_session_1.DebugState.Running) {
1383
- return false;
1384
- }
1385
- var session = this.manager.currentSession;
1386
- if (session && session.configuration.noDebug) {
1387
- return false;
1388
- }
1389
- return true;
1390
- },
1391
- enumerable: false,
1392
- configurable: true
1393
- });
1394
- __decorate([
1395
- inversify_1.inject(debug_service_1.DebugService),
1396
- __metadata("design:type", Object)
1397
- ], DebugFrontendApplicationContribution.prototype, "debug", void 0);
1398
- __decorate([
1399
- inversify_1.inject(debug_session_manager_1.DebugSessionManager),
1400
- __metadata("design:type", debug_session_manager_1.DebugSessionManager)
1401
- ], DebugFrontendApplicationContribution.prototype, "manager", void 0);
1402
- __decorate([
1403
- inversify_1.inject(debug_configuration_manager_1.DebugConfigurationManager),
1404
- __metadata("design:type", debug_configuration_manager_1.DebugConfigurationManager)
1405
- ], DebugFrontendApplicationContribution.prototype, "configurations", void 0);
1406
- __decorate([
1407
- inversify_1.inject(breakpoint_manager_1.BreakpointManager),
1408
- __metadata("design:type", breakpoint_manager_1.BreakpointManager)
1409
- ], DebugFrontendApplicationContribution.prototype, "breakpointManager", void 0);
1410
- __decorate([
1411
- inversify_1.inject(browser_1.ApplicationShell),
1412
- __metadata("design:type", browser_1.ApplicationShell)
1413
- ], DebugFrontendApplicationContribution.prototype, "shell", void 0);
1414
- __decorate([
1415
- inversify_1.inject(debug_session_widget_1.DebugSessionWidgetFactory),
1416
- __metadata("design:type", Function)
1417
- ], DebugFrontendApplicationContribution.prototype, "sessionWidgetFactory", void 0);
1418
- __decorate([
1419
- inversify_1.inject(debug_editor_service_1.DebugEditorService),
1420
- __metadata("design:type", debug_editor_service_1.DebugEditorService)
1421
- ], DebugFrontendApplicationContribution.prototype, "editors", void 0);
1422
- __decorate([
1423
- inversify_1.inject(debug_console_contribution_1.DebugConsoleContribution),
1424
- __metadata("design:type", debug_console_contribution_1.DebugConsoleContribution)
1425
- ], DebugFrontendApplicationContribution.prototype, "console", void 0);
1426
- __decorate([
1427
- inversify_1.inject(debug_schema_updater_1.DebugSchemaUpdater),
1428
- __metadata("design:type", debug_schema_updater_1.DebugSchemaUpdater)
1429
- ], DebugFrontendApplicationContribution.prototype, "schemaUpdater", void 0);
1430
- __decorate([
1431
- inversify_1.inject(debug_preferences_1.DebugPreferences),
1432
- __metadata("design:type", Object)
1433
- ], DebugFrontendApplicationContribution.prototype, "preference", void 0);
1434
- __decorate([
1435
- inversify_1.inject(debug_watch_manager_1.DebugWatchManager),
1436
- __metadata("design:type", debug_watch_manager_1.DebugWatchManager)
1437
- ], DebugFrontendApplicationContribution.prototype, "watchManager", void 0);
1438
- __decorate([
1439
- inversify_1.inject(browser_1.LabelProvider),
1440
- __metadata("design:type", browser_1.LabelProvider)
1441
- ], DebugFrontendApplicationContribution.prototype, "labelProvider", void 0);
1442
- __decorate([
1443
- inversify_1.inject(browser_2.EditorManager),
1444
- __metadata("design:type", browser_2.EditorManager)
1445
- ], DebugFrontendApplicationContribution.prototype, "editorManager", void 0);
1446
- DebugFrontendApplicationContribution = __decorate([
1447
- inversify_1.injectable(),
1448
- __metadata("design:paramtypes", [])
1449
- ], DebugFrontendApplicationContribution);
1450
- return DebugFrontendApplicationContribution;
1451
- }(browser_1.AbstractViewContribution));
1181
+ }
1182
+ get debuggingStatusBar() {
1183
+ if (this.manager.state < debug_session_1.DebugState.Running) {
1184
+ return false;
1185
+ }
1186
+ const session = this.manager.currentSession;
1187
+ if (session && session.configuration.noDebug) {
1188
+ return false;
1189
+ }
1190
+ return true;
1191
+ }
1192
+ };
1193
+ __decorate([
1194
+ inversify_1.inject(debug_service_1.DebugService),
1195
+ __metadata("design:type", Object)
1196
+ ], DebugFrontendApplicationContribution.prototype, "debug", void 0);
1197
+ __decorate([
1198
+ inversify_1.inject(debug_session_manager_1.DebugSessionManager),
1199
+ __metadata("design:type", debug_session_manager_1.DebugSessionManager)
1200
+ ], DebugFrontendApplicationContribution.prototype, "manager", void 0);
1201
+ __decorate([
1202
+ inversify_1.inject(debug_configuration_manager_1.DebugConfigurationManager),
1203
+ __metadata("design:type", debug_configuration_manager_1.DebugConfigurationManager)
1204
+ ], DebugFrontendApplicationContribution.prototype, "configurations", void 0);
1205
+ __decorate([
1206
+ inversify_1.inject(breakpoint_manager_1.BreakpointManager),
1207
+ __metadata("design:type", breakpoint_manager_1.BreakpointManager)
1208
+ ], DebugFrontendApplicationContribution.prototype, "breakpointManager", void 0);
1209
+ __decorate([
1210
+ inversify_1.inject(browser_1.ApplicationShell),
1211
+ __metadata("design:type", browser_1.ApplicationShell)
1212
+ ], DebugFrontendApplicationContribution.prototype, "shell", void 0);
1213
+ __decorate([
1214
+ inversify_1.inject(debug_session_widget_1.DebugSessionWidgetFactory),
1215
+ __metadata("design:type", Function)
1216
+ ], DebugFrontendApplicationContribution.prototype, "sessionWidgetFactory", void 0);
1217
+ __decorate([
1218
+ inversify_1.inject(debug_editor_service_1.DebugEditorService),
1219
+ __metadata("design:type", debug_editor_service_1.DebugEditorService)
1220
+ ], DebugFrontendApplicationContribution.prototype, "editors", void 0);
1221
+ __decorate([
1222
+ inversify_1.inject(debug_console_contribution_1.DebugConsoleContribution),
1223
+ __metadata("design:type", debug_console_contribution_1.DebugConsoleContribution)
1224
+ ], DebugFrontendApplicationContribution.prototype, "console", void 0);
1225
+ __decorate([
1226
+ inversify_1.inject(debug_schema_updater_1.DebugSchemaUpdater),
1227
+ __metadata("design:type", debug_schema_updater_1.DebugSchemaUpdater)
1228
+ ], DebugFrontendApplicationContribution.prototype, "schemaUpdater", void 0);
1229
+ __decorate([
1230
+ inversify_1.inject(debug_preferences_1.DebugPreferences),
1231
+ __metadata("design:type", Object)
1232
+ ], DebugFrontendApplicationContribution.prototype, "preference", void 0);
1233
+ __decorate([
1234
+ inversify_1.inject(debug_watch_manager_1.DebugWatchManager),
1235
+ __metadata("design:type", debug_watch_manager_1.DebugWatchManager)
1236
+ ], DebugFrontendApplicationContribution.prototype, "watchManager", void 0);
1237
+ __decorate([
1238
+ inversify_1.inject(browser_1.LabelProvider),
1239
+ __metadata("design:type", browser_1.LabelProvider)
1240
+ ], DebugFrontendApplicationContribution.prototype, "labelProvider", void 0);
1241
+ __decorate([
1242
+ inversify_1.inject(browser_2.EditorManager),
1243
+ __metadata("design:type", browser_2.EditorManager)
1244
+ ], DebugFrontendApplicationContribution.prototype, "editorManager", void 0);
1245
+ DebugFrontendApplicationContribution = __decorate([
1246
+ inversify_1.injectable(),
1247
+ __metadata("design:paramtypes", [])
1248
+ ], DebugFrontendApplicationContribution);
1452
1249
  exports.DebugFrontendApplicationContribution = DebugFrontendApplicationContribution;
1453
1250
  //# sourceMappingURL=debug-frontend-application-contribution.js.map