@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.
- package/lib/browser/breakpoint/breakpoint-manager.js +159 -382
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -1
- package/lib/browser/breakpoint/breakpoint-marker.js +4 -15
- package/lib/browser/breakpoint/breakpoint-marker.js.map +1 -1
- package/lib/browser/console/debug-console-contribution.d.ts.map +1 -1
- package/lib/browser/console/debug-console-contribution.js +132 -221
- package/lib/browser/console/debug-console-contribution.js.map +1 -1
- package/lib/browser/console/debug-console-items.js +231 -451
- package/lib/browser/console/debug-console-items.js.map +1 -1
- package/lib/browser/console/debug-console-session.js +86 -223
- package/lib/browser/console/debug-console-session.js.map +1 -1
- package/lib/browser/debug-configuration-manager.js +281 -623
- package/lib/browser/debug-configuration-manager.js.map +1 -1
- package/lib/browser/debug-configuration-model.js +31 -108
- package/lib/browser/debug-configuration-model.js.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.d.ts +1 -0
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.js +577 -780
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
- package/lib/browser/debug-frontend-module.js +46 -82
- package/lib/browser/debug-frontend-module.js.map +1 -1
- package/lib/browser/debug-keybinding-contexts.js +41 -59
- package/lib/browser/debug-keybinding-contexts.js.map +1 -1
- package/lib/browser/debug-monaco-contribution.js +17 -17
- package/lib/browser/debug-monaco-contribution.js.map +1 -1
- package/lib/browser/debug-package.spec.js +2 -2
- package/lib/browser/debug-package.spec.js.map +1 -1
- package/lib/browser/debug-preferences.js +7 -11
- package/lib/browser/debug-preferences.js.map +1 -1
- package/lib/browser/debug-prefix-configuration.js +101 -117
- package/lib/browser/debug-prefix-configuration.js.map +1 -1
- package/lib/browser/debug-resource.js +29 -79
- package/lib/browser/debug-resource.js.map +1 -1
- package/lib/browser/debug-schema-updater.js +54 -193
- package/lib/browser/debug-schema-updater.js.map +1 -1
- package/lib/browser/debug-session-connection.js +137 -235
- package/lib/browser/debug-session-connection.js.map +1 -1
- package/lib/browser/debug-session-contribution.js +91 -120
- package/lib/browser/debug-session-contribution.js.map +1 -1
- package/lib/browser/debug-session-manager.js +368 -652
- package/lib/browser/debug-session-manager.js.map +1 -1
- package/lib/browser/debug-session.js +556 -1279
- package/lib/browser/debug-session.js.map +1 -1
- package/lib/browser/debug-tab-bar-decorator.js +32 -38
- package/lib/browser/debug-tab-bar-decorator.js.map +1 -1
- package/lib/browser/debug-watch-manager.js +41 -138
- package/lib/browser/debug-watch-manager.js.map +1 -1
- package/lib/browser/editor/debug-breakpoint-widget.js +142 -255
- package/lib/browser/editor/debug-breakpoint-widget.js.map +1 -1
- package/lib/browser/editor/debug-editor-model.js +299 -474
- package/lib/browser/editor/debug-editor-model.js.map +1 -1
- package/lib/browser/editor/debug-editor-service.js +128 -206
- package/lib/browser/editor/debug-editor-service.js.map +1 -1
- package/lib/browser/editor/debug-exception-widget.js +56 -119
- package/lib/browser/editor/debug-exception-widget.js.map +1 -1
- package/lib/browser/editor/debug-expression-provider.js +21 -24
- package/lib/browser/editor/debug-expression-provider.js.map +1 -1
- package/lib/browser/editor/debug-hover-source.js +83 -249
- package/lib/browser/editor/debug-hover-source.js.map +1 -1
- package/lib/browser/editor/debug-hover-widget.js +151 -224
- package/lib/browser/editor/debug-hover-widget.js.map +1 -1
- package/lib/browser/editor/debug-inline-value-decorator.js +96 -193
- package/lib/browser/editor/debug-inline-value-decorator.js.map +1 -1
- package/lib/browser/model/debug-breakpoint.js +52 -102
- package/lib/browser/model/debug-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-function-breakpoint.js +54 -124
- package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-source-breakpoint.js +111 -265
- package/lib/browser/model/debug-source-breakpoint.js.map +1 -1
- package/lib/browser/model/debug-source.js +45 -126
- package/lib/browser/model/debug-source.js.map +1 -1
- package/lib/browser/model/debug-stack-frame.js +85 -199
- package/lib/browser/model/debug-stack-frame.js.map +1 -1
- package/lib/browser/model/debug-thread.js +132 -304
- package/lib/browser/model/debug-thread.js.map +1 -1
- package/lib/browser/preferences/launch-preferences.js +3 -3
- package/lib/browser/preferences/launch-preferences.js.map +1 -1
- package/lib/browser/view/debug-action.js +13 -29
- package/lib/browser/view/debug-action.js.map +1 -1
- package/lib/browser/view/debug-breakpoints-source.js +42 -169
- package/lib/browser/view/debug-breakpoints-source.js.map +1 -1
- package/lib/browser/view/debug-breakpoints-widget.js +43 -82
- package/lib/browser/view/debug-breakpoints-widget.js.map +1 -1
- package/lib/browser/view/debug-configuration-widget.js +89 -136
- package/lib/browser/view/debug-configuration-widget.js.map +1 -1
- package/lib/browser/view/debug-exception-breakpoint.js +7 -9
- package/lib/browser/view/debug-exception-breakpoint.js.map +1 -1
- package/lib/browser/view/debug-session-widget.js +80 -114
- package/lib/browser/view/debug-session-widget.js.map +1 -1
- package/lib/browser/view/debug-stack-frames-source.js +58 -169
- package/lib/browser/view/debug-stack-frames-source.js.map +1 -1
- package/lib/browser/view/debug-stack-frames-widget.js +89 -155
- package/lib/browser/view/debug-stack-frames-widget.js.map +1 -1
- package/lib/browser/view/debug-threads-source.js +37 -124
- package/lib/browser/view/debug-threads-source.js.map +1 -1
- package/lib/browser/view/debug-threads-widget.js +61 -99
- package/lib/browser/view/debug-threads-widget.js.map +1 -1
- package/lib/browser/view/debug-toolbar-widget.js +58 -76
- package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
- package/lib/browser/view/debug-variables-source.js +32 -102
- package/lib/browser/view/debug-variables-source.js.map +1 -1
- package/lib/browser/view/debug-variables-widget.js +35 -74
- package/lib/browser/view/debug-variables-widget.js.map +1 -1
- package/lib/browser/view/debug-view-model.js +172 -381
- package/lib/browser/view/debug-view-model.js.map +1 -1
- package/lib/browser/view/debug-watch-expression.js +34 -112
- package/lib/browser/view/debug-watch-expression.js.map +1 -1
- package/lib/browser/view/debug-watch-source.js +30 -87
- package/lib/browser/view/debug-watch-source.js.map +1 -1
- package/lib/browser/view/debug-watch-widget.js +35 -74
- package/lib/browser/view/debug-watch-widget.js.map +1 -1
- package/lib/browser/view/debug-widget.js +63 -105
- package/lib/browser/view/debug-widget.js.map +1 -1
- package/lib/common/debug-service.js +5 -5
- package/lib/common/debug-service.js.map +1 -1
- package/lib/node/debug-adapter-contribution-registry.js +133 -489
- package/lib/node/debug-adapter-contribution-registry.js.map +1 -1
- package/lib/node/debug-adapter-factory.js +38 -57
- package/lib/node/debug-adapter-factory.js.map +1 -1
- package/lib/node/debug-adapter-session-manager.js +50 -98
- package/lib/node/debug-adapter-session-manager.js.map +1 -1
- package/lib/node/debug-adapter-session.js +44 -93
- package/lib/node/debug-adapter-session.js.map +1 -1
- package/lib/node/debug-backend-module.js +13 -17
- package/lib/node/debug-backend-module.js.map +1 -1
- package/lib/node/debug-service-impl.js +71 -213
- package/lib/node/debug-service-impl.js.map +1 -1
- package/lib/node/vscode/vscode-debug-adapter-contribution.js +153 -294
- package/lib/node/vscode/vscode-debug-adapter-contribution.js.map +1 -1
- package/package.json +16 -16
- package/src/browser/console/debug-console-contribution.tsx +3 -3
- package/src/browser/debug-frontend-application-contribution.ts +69 -18
- package/src/browser/debug-prefix-configuration.ts +1 -1
- package/src/browser/style/index.css +28 -10
- package/src/browser/view/debug-action.tsx +2 -2
- package/src/browser/view/debug-configuration-widget.tsx +3 -3
- package/src/browser/view/debug-session-widget.ts +2 -2
- package/src/browser/view/debug-toolbar-widget.tsx +8 -8
- package/src/browser/view/debug-widget.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-thread.js","sourceRoot":"","sources":["../../../src/browser/model/debug-thread.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF
|
|
1
|
+
{"version":3,"file":"debug-thread.js","sourceRoot":"","sources":["../../../src/browser/model/debug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,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QAC3F,OAAO,6BAAK,SAAS,EAAC,oBAAoB,EAAC,KAAK,EAAC,QAAQ;YACrD,8BAAM,SAAS,EAAC,OAAO,IAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAQ;YAC9C,8BAAM,SAAS,EAAC,QAAQ,IAAE,MAAM,CAAQ,CACtC,CAAC;IACX,CAAC;CAEJ;AAnMD,kCAmMC"}
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
********************************************************************************/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.bindLaunchPreferences = exports.launchPreferencesSchema = void 0;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
const preference_contribution_1 = require("@theia/core/lib/browser/preferences/preference-contribution");
|
|
20
|
+
const debug_schema_updater_1 = require("../debug-schema-updater");
|
|
21
|
+
const preference_configurations_1 = require("@theia/core/lib/browser/preferences/preference-configurations");
|
|
22
22
|
exports.launchPreferencesSchema = {
|
|
23
23
|
type: 'object',
|
|
24
24
|
scope: 'resource',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"launch-preferences.js","sourceRoot":"","sources":["../../../src/browser/preferences/launch-preferences.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAGlF,
|
|
1
|
+
{"version":3,"file":"launch-preferences.js","sourceRoot":"","sources":["../../../src/browser/preferences/launch-preferences.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAGlF,yGAAuH;AACvH,kEAAyD;AACzD,6GAAwG;AAE3F,QAAA,uBAAuB,GAAqB;IACrD,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,UAAU;IACjB,UAAU,EAAE;QACR,QAAQ,EAAE;YACN,IAAI,EAAE,qCAAc;YACpB,WAAW,EAAE,uHAAuH;YACpI,YAAY,EAAE,EAAE,cAAc,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;SACtD;KACJ;CACJ,CAAC;AAEF,SAAgB,qBAAqB,CAAC,IAAqB;IACvD,IAAI,CAAC,gDAAsB,CAAC,CAAC,eAAe,CAAC,EAAE,MAAM,EAAE,+BAAuB,EAAE,CAAC,CAAC;IAClF,IAAI,CAAC,mDAAuB,CAAC,CAAC,eAAe,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;AACtE,CAAC;AAHD,sDAGC"}
|
|
@@ -14,44 +14,28 @@
|
|
|
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
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
18
|
exports.DebugAction = void 0;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
_this.setRef = function (ref) { return _this.ref = ref || undefined; };
|
|
39
|
-
return _this;
|
|
19
|
+
const React = require("@theia/core/shared/react");
|
|
20
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
21
|
+
class DebugAction extends React.Component {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.setRef = (ref) => this.ref = ref || undefined;
|
|
40
25
|
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
26
|
+
render() {
|
|
27
|
+
const { enabled, label, iconClass } = this.props;
|
|
28
|
+
const classNames = ['debug-action', ...browser_1.codiconArray(iconClass, true)];
|
|
44
29
|
if (enabled === false) {
|
|
45
30
|
classNames.push(browser_1.DISABLED_CLASS);
|
|
46
31
|
}
|
|
47
32
|
return React.createElement("span", { tabIndex: 0, className: classNames.join(' '), title: label, onClick: this.props.run, ref: this.setRef });
|
|
48
|
-
}
|
|
49
|
-
|
|
33
|
+
}
|
|
34
|
+
focus() {
|
|
50
35
|
if (this.ref) {
|
|
51
36
|
this.ref.focus();
|
|
52
37
|
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
}(React.Component));
|
|
38
|
+
}
|
|
39
|
+
}
|
|
56
40
|
exports.DebugAction = DebugAction;
|
|
57
41
|
//# sourceMappingURL=debug-action.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-action.js","sourceRoot":"","sources":["../../../src/browser/view/debug-action.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF
|
|
1
|
+
{"version":3,"file":"debug-action.js","sourceRoot":"","sources":["../../../src/browser/view/debug-action.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,kDAAkD;AAClD,qDAAuE;AAEvE,MAAa,WAAY,SAAQ,KAAK,CAAC,SAA4B;IAAnE;;QAsBc,WAAM,GAAG,CAAC,GAAuB,EAAE,EAAE,CAAC,IAAI,CAAC,GAAG,GAAG,GAAG,IAAI,SAAS,CAAC;IAEhF,CAAC;IAtBG,MAAM;QACF,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;QACjD,MAAM,UAAU,GAAG,CAAC,cAAc,EAAE,GAAG,sBAAY,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;QACtE,IAAI,OAAO,KAAK,KAAK,EAAE;YACnB,UAAU,CAAC,IAAI,CAAC,wBAAc,CAAC,CAAC;SACnC;QACD,OAAO,8BAAM,QAAQ,EAAE,CAAC,EACpB,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAC/B,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,EACvB,GAAG,EAAE,IAAI,CAAC,MAAM,GAAI,CAAC;IAC7B,CAAC;IAED,KAAK;QACD,IAAI,IAAI,CAAC,GAAG,EAAE;YACV,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;SACpB;IACL,CAAC;CAKJ;AAxBD,kCAwBC"}
|
|
@@ -14,19 +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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
31
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
32
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -36,166 +23,52 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
36
23
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
24
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
38
25
|
};
|
|
39
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
41
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
-
function step(op) {
|
|
44
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
-
while (_) try {
|
|
46
|
-
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;
|
|
47
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
-
switch (op[0]) {
|
|
49
|
-
case 0: case 1: t = op; break;
|
|
50
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
-
default:
|
|
54
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
-
if (t[2]) _.ops.pop();
|
|
59
|
-
_.trys.pop(); continue;
|
|
60
|
-
}
|
|
61
|
-
op = body.call(thisArg, _);
|
|
62
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
var __values = (this && this.__values) || function(o) {
|
|
67
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
68
|
-
if (m) return m.call(o);
|
|
69
|
-
if (o && typeof o.length === "number") return {
|
|
70
|
-
next: function () {
|
|
71
|
-
if (o && i >= o.length) o = void 0;
|
|
72
|
-
return { value: o && o[i++], done: !o };
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
76
|
-
};
|
|
77
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
27
|
exports.DebugBreakpointsSource = void 0;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
return _super.call(this, {
|
|
28
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
29
|
+
const source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
30
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
31
|
+
const breakpoint_manager_1 = require("../breakpoint/breakpoint-manager");
|
|
32
|
+
const debug_exception_breakpoint_1 = require("./debug-exception-breakpoint");
|
|
33
|
+
let DebugBreakpointsSource = class DebugBreakpointsSource extends source_tree_1.TreeSource {
|
|
34
|
+
constructor() {
|
|
35
|
+
super({
|
|
88
36
|
placeholder: 'No breakpoints'
|
|
89
|
-
})
|
|
37
|
+
});
|
|
90
38
|
}
|
|
91
|
-
|
|
92
|
-
var _this = this;
|
|
39
|
+
init() {
|
|
93
40
|
this.fireDidChange();
|
|
94
|
-
this.toDispose.push(this.model.onDidChangeBreakpoints(
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
case 7:
|
|
127
|
-
_k.trys.push([7, 12, 13, 14]);
|
|
128
|
-
_c = __values(this.model.functionBreakpoints), _d = _c.next();
|
|
129
|
-
_k.label = 8;
|
|
130
|
-
case 8:
|
|
131
|
-
if (!!_d.done) return [3 /*break*/, 11];
|
|
132
|
-
functionBreakpoint = _d.value;
|
|
133
|
-
return [4 /*yield*/, functionBreakpoint];
|
|
134
|
-
case 9:
|
|
135
|
-
_k.sent();
|
|
136
|
-
_k.label = 10;
|
|
137
|
-
case 10:
|
|
138
|
-
_d = _c.next();
|
|
139
|
-
return [3 /*break*/, 8];
|
|
140
|
-
case 11: return [3 /*break*/, 14];
|
|
141
|
-
case 12:
|
|
142
|
-
e_2_1 = _k.sent();
|
|
143
|
-
e_2 = { error: e_2_1 };
|
|
144
|
-
return [3 /*break*/, 14];
|
|
145
|
-
case 13:
|
|
146
|
-
try {
|
|
147
|
-
if (_d && !_d.done && (_h = _c.return)) _h.call(_c);
|
|
148
|
-
}
|
|
149
|
-
finally { if (e_2) throw e_2.error; }
|
|
150
|
-
return [7 /*endfinally*/];
|
|
151
|
-
case 14:
|
|
152
|
-
_k.trys.push([14, 19, 20, 21]);
|
|
153
|
-
_e = __values(this.model.breakpoints), _f = _e.next();
|
|
154
|
-
_k.label = 15;
|
|
155
|
-
case 15:
|
|
156
|
-
if (!!_f.done) return [3 /*break*/, 18];
|
|
157
|
-
breakpoint = _f.value;
|
|
158
|
-
return [4 /*yield*/, breakpoint];
|
|
159
|
-
case 16:
|
|
160
|
-
_k.sent();
|
|
161
|
-
_k.label = 17;
|
|
162
|
-
case 17:
|
|
163
|
-
_f = _e.next();
|
|
164
|
-
return [3 /*break*/, 15];
|
|
165
|
-
case 18: return [3 /*break*/, 21];
|
|
166
|
-
case 19:
|
|
167
|
-
e_3_1 = _k.sent();
|
|
168
|
-
e_3 = { error: e_3_1 };
|
|
169
|
-
return [3 /*break*/, 21];
|
|
170
|
-
case 20:
|
|
171
|
-
try {
|
|
172
|
-
if (_f && !_f.done && (_j = _e.return)) _j.call(_e);
|
|
173
|
-
}
|
|
174
|
-
finally { if (e_3) throw e_3.error; }
|
|
175
|
-
return [7 /*endfinally*/];
|
|
176
|
-
case 21: return [2 /*return*/];
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
};
|
|
180
|
-
__decorate([
|
|
181
|
-
inversify_1.inject(debug_view_model_1.DebugViewModel),
|
|
182
|
-
__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
183
|
-
], DebugBreakpointsSource.prototype, "model", void 0);
|
|
184
|
-
__decorate([
|
|
185
|
-
inversify_1.inject(breakpoint_manager_1.BreakpointManager),
|
|
186
|
-
__metadata("design:type", breakpoint_manager_1.BreakpointManager)
|
|
187
|
-
], DebugBreakpointsSource.prototype, "breakpoints", void 0);
|
|
188
|
-
__decorate([
|
|
189
|
-
inversify_1.postConstruct(),
|
|
190
|
-
__metadata("design:type", Function),
|
|
191
|
-
__metadata("design:paramtypes", []),
|
|
192
|
-
__metadata("design:returntype", void 0)
|
|
193
|
-
], DebugBreakpointsSource.prototype, "init", null);
|
|
194
|
-
DebugBreakpointsSource = __decorate([
|
|
195
|
-
inversify_1.injectable(),
|
|
196
|
-
__metadata("design:paramtypes", [])
|
|
197
|
-
], DebugBreakpointsSource);
|
|
198
|
-
return DebugBreakpointsSource;
|
|
199
|
-
}(source_tree_1.TreeSource));
|
|
41
|
+
this.toDispose.push(this.model.onDidChangeBreakpoints(() => this.fireDidChange()));
|
|
42
|
+
}
|
|
43
|
+
*getElements() {
|
|
44
|
+
for (const exceptionBreakpoint of this.breakpoints.getExceptionBreakpoints()) {
|
|
45
|
+
yield new debug_exception_breakpoint_1.DebugExceptionBreakpoint(exceptionBreakpoint, this.breakpoints);
|
|
46
|
+
}
|
|
47
|
+
for (const functionBreakpoint of this.model.functionBreakpoints) {
|
|
48
|
+
yield functionBreakpoint;
|
|
49
|
+
}
|
|
50
|
+
for (const breakpoint of this.model.breakpoints) {
|
|
51
|
+
yield breakpoint;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
__decorate([
|
|
56
|
+
inversify_1.inject(debug_view_model_1.DebugViewModel),
|
|
57
|
+
__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
58
|
+
], DebugBreakpointsSource.prototype, "model", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
inversify_1.inject(breakpoint_manager_1.BreakpointManager),
|
|
61
|
+
__metadata("design:type", breakpoint_manager_1.BreakpointManager)
|
|
62
|
+
], DebugBreakpointsSource.prototype, "breakpoints", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
inversify_1.postConstruct(),
|
|
65
|
+
__metadata("design:type", Function),
|
|
66
|
+
__metadata("design:paramtypes", []),
|
|
67
|
+
__metadata("design:returntype", void 0)
|
|
68
|
+
], DebugBreakpointsSource.prototype, "init", null);
|
|
69
|
+
DebugBreakpointsSource = __decorate([
|
|
70
|
+
inversify_1.injectable(),
|
|
71
|
+
__metadata("design:paramtypes", [])
|
|
72
|
+
], DebugBreakpointsSource);
|
|
200
73
|
exports.DebugBreakpointsSource = DebugBreakpointsSource;
|
|
201
74
|
//# sourceMappingURL=debug-breakpoints-source.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"debug-breakpoints-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-breakpoints-source.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF
|
|
1
|
+
{"version":3,"file":"debug-breakpoints-source.js","sourceRoot":"","sources":["../../../src/browser/view/debug-breakpoints-source.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAElF,4DAAiF;AACjF,qEAA8E;AAC9E,yDAAoD;AACpD,yEAAqE;AACrE,6EAAwE;AAGxE,IAAa,sBAAsB,GAAnC,MAAa,sBAAuB,SAAQ,wBAAU;IAQlD;QACI,KAAK,CAAC;YACF,WAAW,EAAE,gBAAgB;SAChC,CAAC,CAAC;IACP,CAAC;IAGS,IAAI;QACV,IAAI,CAAC,aAAa,EAAE,CAAC;QACrB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,sBAAsB,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;IACvF,CAAC;IAED,CAAC,WAAW;QACR,KAAK,MAAM,mBAAmB,IAAI,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,EAAE;YAC1E,MAAM,IAAI,qDAAwB,CAAC,mBAAmB,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;SAC7E;QACD,KAAK,MAAM,kBAAkB,IAAI,IAAI,CAAC,KAAK,CAAC,mBAAmB,EAAE;YAC7D,MAAM,kBAAkB,CAAC;SAC5B;QACD,KAAK,MAAM,UAAU,IAAI,IAAI,CAAC,KAAK,CAAC,WAAW,EAAE;YAC7C,MAAM,UAAU,CAAC;SACpB;IACL,CAAC;CAEJ,CAAA;AA7BG;IADC,kBAAM,CAAC,iCAAc,CAAC;8BACG,iCAAc;qDAAC;AAGzC;IADC,kBAAM,CAAC,sCAAiB,CAAC;8BACM,sCAAiB;2DAAC;AASlD;IADC,yBAAa,EAAE;;;;kDAIf;AAlBQ,sBAAsB;IADlC,sBAAU,EAAE;;GACA,sBAAsB,CAgClC;AAhCY,wDAAsB"}
|
|
@@ -14,19 +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
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
31
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
32
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -36,41 +23,17 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
36
23
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
37
24
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
38
25
|
};
|
|
39
|
-
var
|
|
40
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
41
|
-
if (!m) return o;
|
|
42
|
-
var i = m.call(o), r, ar = [], e;
|
|
43
|
-
try {
|
|
44
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
45
|
-
}
|
|
46
|
-
catch (error) { e = { error: error }; }
|
|
47
|
-
finally {
|
|
48
|
-
try {
|
|
49
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
50
|
-
}
|
|
51
|
-
finally { if (e) throw e.error; }
|
|
52
|
-
}
|
|
53
|
-
return ar;
|
|
54
|
-
};
|
|
55
|
-
var __spread = (this && this.__spread) || function () {
|
|
56
|
-
for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));
|
|
57
|
-
return ar;
|
|
58
|
-
};
|
|
26
|
+
var DebugBreakpointsWidget_1;
|
|
59
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
60
28
|
exports.DebugBreakpointsWidget = void 0;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
70
|
-
}
|
|
71
|
-
DebugBreakpointsWidget_1 = DebugBreakpointsWidget;
|
|
72
|
-
DebugBreakpointsWidget.createContainer = function (parent) {
|
|
73
|
-
var child = source_tree_1.SourceTreeWidget.createContainer(parent, {
|
|
29
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
30
|
+
const source_tree_1 = require("@theia/core/lib/browser/source-tree");
|
|
31
|
+
const debug_breakpoints_source_1 = require("./debug-breakpoints-source");
|
|
32
|
+
const breakpoint_manager_1 = require("../breakpoint/breakpoint-manager");
|
|
33
|
+
const debug_view_model_1 = require("./debug-view-model");
|
|
34
|
+
let DebugBreakpointsWidget = DebugBreakpointsWidget_1 = class DebugBreakpointsWidget extends source_tree_1.SourceTreeWidget {
|
|
35
|
+
static createContainer(parent) {
|
|
36
|
+
const child = source_tree_1.SourceTreeWidget.createContainer(parent, {
|
|
74
37
|
contextMenuPath: DebugBreakpointsWidget_1.CONTEXT_MENU,
|
|
75
38
|
virtualized: false,
|
|
76
39
|
scrollIfActive: true
|
|
@@ -79,47 +42,45 @@ var DebugBreakpointsWidget = /** @class */ (function (_super) {
|
|
|
79
42
|
child.unbind(source_tree_1.SourceTreeWidget);
|
|
80
43
|
child.bind(DebugBreakpointsWidget_1).toSelf();
|
|
81
44
|
return child;
|
|
82
|
-
}
|
|
83
|
-
|
|
45
|
+
}
|
|
46
|
+
static createWidget(parent) {
|
|
84
47
|
return DebugBreakpointsWidget_1.createContainer(parent).get(DebugBreakpointsWidget_1);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
|
|
48
|
+
}
|
|
49
|
+
init() {
|
|
50
|
+
super.init();
|
|
88
51
|
this.id = 'debug:breakpoints:' + this.viewModel.id;
|
|
89
52
|
this.title.label = 'Breakpoints';
|
|
90
53
|
this.toDispose.push(this.breakpointsSource);
|
|
91
54
|
this.source = this.breakpointsSource;
|
|
92
|
-
}
|
|
93
|
-
|
|
55
|
+
}
|
|
56
|
+
getDefaultNodeStyle(node, props) {
|
|
94
57
|
return undefined;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
return DebugBreakpointsWidget;
|
|
123
|
-
}(source_tree_1.SourceTreeWidget));
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
DebugBreakpointsWidget.CONTEXT_MENU = ['debug-breakpoints-context-menu'];
|
|
61
|
+
DebugBreakpointsWidget.EDIT_MENU = [...DebugBreakpointsWidget_1.CONTEXT_MENU, 'a_edit'];
|
|
62
|
+
DebugBreakpointsWidget.REMOVE_MENU = [...DebugBreakpointsWidget_1.CONTEXT_MENU, 'b_remove'];
|
|
63
|
+
DebugBreakpointsWidget.ENABLE_MENU = [...DebugBreakpointsWidget_1.CONTEXT_MENU, 'c_enable'];
|
|
64
|
+
__decorate([
|
|
65
|
+
inversify_1.inject(debug_view_model_1.DebugViewModel),
|
|
66
|
+
__metadata("design:type", debug_view_model_1.DebugViewModel)
|
|
67
|
+
], DebugBreakpointsWidget.prototype, "viewModel", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
inversify_1.inject(breakpoint_manager_1.BreakpointManager),
|
|
70
|
+
__metadata("design:type", breakpoint_manager_1.BreakpointManager)
|
|
71
|
+
], DebugBreakpointsWidget.prototype, "breakpoints", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
inversify_1.inject(debug_breakpoints_source_1.DebugBreakpointsSource),
|
|
74
|
+
__metadata("design:type", debug_breakpoints_source_1.DebugBreakpointsSource)
|
|
75
|
+
], DebugBreakpointsWidget.prototype, "breakpointsSource", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
inversify_1.postConstruct(),
|
|
78
|
+
__metadata("design:type", Function),
|
|
79
|
+
__metadata("design:paramtypes", []),
|
|
80
|
+
__metadata("design:returntype", void 0)
|
|
81
|
+
], DebugBreakpointsWidget.prototype, "init", null);
|
|
82
|
+
DebugBreakpointsWidget = DebugBreakpointsWidget_1 = __decorate([
|
|
83
|
+
inversify_1.injectable()
|
|
84
|
+
], DebugBreakpointsWidget);
|
|
124
85
|
exports.DebugBreakpointsWidget = DebugBreakpointsWidget;
|
|
125
86
|
//# sourceMappingURL=debug-breakpoints-widget.js.map
|