@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-breakpoint-widget.js","sourceRoot":"","sources":["../../../src/browser/editor/debug-breakpoint-widget.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF
|
|
1
|
+
{"version":3,"file":"debug-breakpoint-widget.js","sourceRoot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H,CAAC;SAC/H;QACD,IAAI,IAAI,CAAC,OAAO,KAAK,cAAc,EAAE;YACjC,OAAO,4EAA4E,CAAC;SACvF;QACD,OAAO,8EAA8E,CAAC;IAC1F,CAAC;CAEJ,CAAA;AAjCU,4CAAsB,GAAG,uBAAuB,CAAC;AAzLxD;IADC,kBAAM,CAAC,0BAAW,CAAC;;qDACS;AAG7B;IADC,kBAAM,CAAC,6CAAoB,CAAC;8BACM,6CAAoB;6DAAC;AAwCxD;IADC,yBAAa,EAAE;;;;iDAwDf;AArGQ,qBAAqB;IADjC,sBAAU,EAAE;GACA,qBAAqB,CA6NjC;AA7NY,sDAAqB"}
|
|
@@ -14,17 +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 __assign = (this && this.__assign) || function () {
|
|
18
|
-
__assign = Object.assign || function(t) {
|
|
19
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
20
|
-
s = arguments[i];
|
|
21
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
22
|
-
t[p] = s[p];
|
|
23
|
-
}
|
|
24
|
-
return t;
|
|
25
|
-
};
|
|
26
|
-
return __assign.apply(this, arguments);
|
|
27
|
-
};
|
|
28
17
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
29
18
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
30
19
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -34,89 +23,26 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
34
23
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
35
24
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
36
25
|
};
|
|
37
|
-
var
|
|
38
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
39
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
40
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
41
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
42
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
43
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
44
|
-
});
|
|
45
|
-
};
|
|
46
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
47
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
48
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
49
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
50
|
-
function step(op) {
|
|
51
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
52
|
-
while (_) try {
|
|
53
|
-
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;
|
|
54
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
55
|
-
switch (op[0]) {
|
|
56
|
-
case 0: case 1: t = op; break;
|
|
57
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
58
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
59
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
60
|
-
default:
|
|
61
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
62
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
63
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
64
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
65
|
-
if (t[2]) _.ops.pop();
|
|
66
|
-
_.trys.pop(); continue;
|
|
67
|
-
}
|
|
68
|
-
op = body.call(thisArg, _);
|
|
69
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
70
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
var __read = (this && this.__read) || function (o, n) {
|
|
74
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
75
|
-
if (!m) return o;
|
|
76
|
-
var i = m.call(o), r, ar = [], e;
|
|
77
|
-
try {
|
|
78
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
79
|
-
}
|
|
80
|
-
catch (error) { e = { error: error }; }
|
|
81
|
-
finally {
|
|
82
|
-
try {
|
|
83
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
84
|
-
}
|
|
85
|
-
finally { if (e) throw e.error; }
|
|
86
|
-
}
|
|
87
|
-
return ar;
|
|
88
|
-
};
|
|
89
|
-
var __values = (this && this.__values) || function(o) {
|
|
90
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
91
|
-
if (m) return m.call(o);
|
|
92
|
-
if (o && typeof o.length === "number") return {
|
|
93
|
-
next: function () {
|
|
94
|
-
if (o && i >= o.length) o = void 0;
|
|
95
|
-
return { value: o && o[i++], done: !o };
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
99
|
-
};
|
|
26
|
+
var DebugEditorModel_1;
|
|
100
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
101
28
|
exports.DebugEditorModel = exports.DebugEditorModelFactory = void 0;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
29
|
+
const debounce = require("p-debounce");
|
|
30
|
+
const inversify_1 = require("@theia/core/shared/inversify");
|
|
31
|
+
const uri_1 = require("@theia/core/lib/common/uri");
|
|
32
|
+
const core_1 = require("@theia/core");
|
|
33
|
+
const browser_1 = require("@theia/core/lib/browser");
|
|
34
|
+
const monaco_frontend_module_1 = require("@theia/monaco/lib/browser/monaco-frontend-module");
|
|
35
|
+
const breakpoint_manager_1 = require("../breakpoint/breakpoint-manager");
|
|
36
|
+
const debug_session_manager_1 = require("../debug-session-manager");
|
|
37
|
+
const breakpoint_marker_1 = require("../breakpoint/breakpoint-marker");
|
|
38
|
+
const debug_editor_1 = require("./debug-editor");
|
|
39
|
+
const debug_hover_widget_1 = require("./debug-hover-widget");
|
|
40
|
+
const debug_breakpoint_widget_1 = require("./debug-breakpoint-widget");
|
|
41
|
+
const debug_exception_widget_1 = require("./debug-exception-widget");
|
|
42
|
+
const debug_inline_value_decorator_1 = require("./debug-inline-value-decorator");
|
|
116
43
|
exports.DebugEditorModelFactory = Symbol('DebugEditorModelFactory');
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
var _this = this;
|
|
44
|
+
let DebugEditorModel = DebugEditorModel_1 = class DebugEditorModel {
|
|
45
|
+
constructor() {
|
|
120
46
|
this.toDispose = new core_1.DisposableCollection();
|
|
121
47
|
this.toDisposeOnUpdate = new core_1.DisposableCollection();
|
|
122
48
|
this.breakpointDecorations = [];
|
|
@@ -124,145 +50,113 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
124
50
|
this.currentBreakpointDecorations = [];
|
|
125
51
|
this.editorDecorations = [];
|
|
126
52
|
this.updatingDecorations = false;
|
|
127
|
-
this.update = debounce(
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
return [4 /*yield*/, this.updateEditorDecorations()];
|
|
137
|
-
case 1:
|
|
138
|
-
_a.sent();
|
|
139
|
-
this.updateEditorHover();
|
|
140
|
-
return [2 /*return*/];
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
}); }, 100);
|
|
53
|
+
this.update = debounce(async () => {
|
|
54
|
+
if (this.toDispose.disposed) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
this.toDisposeOnUpdate.dispose();
|
|
58
|
+
this.toggleExceptionWidget();
|
|
59
|
+
await this.updateEditorDecorations();
|
|
60
|
+
this.updateEditorHover();
|
|
61
|
+
}, 100);
|
|
144
62
|
this.hintDecorations = [];
|
|
145
63
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
var child = debug_hover_widget_1.createDebugHoverWidgetContainer(parent, editor);
|
|
64
|
+
static createContainer(parent, editor) {
|
|
65
|
+
const child = debug_hover_widget_1.createDebugHoverWidgetContainer(parent, editor);
|
|
149
66
|
child.bind(DebugEditorModel_1).toSelf();
|
|
150
67
|
child.bind(debug_breakpoint_widget_1.DebugBreakpointWidget).toSelf();
|
|
151
68
|
child.bind(debug_exception_widget_1.DebugExceptionWidget).toSelf();
|
|
152
69
|
return child;
|
|
153
|
-
}
|
|
154
|
-
|
|
70
|
+
}
|
|
71
|
+
static createModel(parent, editor) {
|
|
155
72
|
return DebugEditorModel_1.createContainer(parent, editor).get(DebugEditorModel_1);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
var _this = this;
|
|
73
|
+
}
|
|
74
|
+
init() {
|
|
159
75
|
this.uri = new uri_1.default(this.editor.getControl().getModel().uri.toString());
|
|
160
76
|
this.toDispose.pushAll([
|
|
161
77
|
this.hover,
|
|
162
78
|
this.breakpointWidget,
|
|
163
79
|
this.exceptionWidget,
|
|
164
|
-
this.editor.getControl().onMouseDown(
|
|
165
|
-
this.editor.getControl().onMouseMove(
|
|
166
|
-
this.editor.getControl().onMouseLeave(
|
|
167
|
-
this.editor.getControl().onKeyDown(
|
|
168
|
-
this.editor.getControl().onDidChangeModelContent(
|
|
169
|
-
this.editor.getControl().getModel().onDidChangeDecorations(
|
|
170
|
-
this.editor.onDidResize(
|
|
171
|
-
this.sessions.onDidChange(
|
|
80
|
+
this.editor.getControl().onMouseDown(event => this.handleMouseDown(event)),
|
|
81
|
+
this.editor.getControl().onMouseMove(event => this.handleMouseMove(event)),
|
|
82
|
+
this.editor.getControl().onMouseLeave(event => this.handleMouseLeave(event)),
|
|
83
|
+
this.editor.getControl().onKeyDown(() => this.hover.hide({ immediate: false })),
|
|
84
|
+
this.editor.getControl().onDidChangeModelContent(() => this.update()),
|
|
85
|
+
this.editor.getControl().getModel().onDidChangeDecorations(() => this.updateBreakpoints()),
|
|
86
|
+
this.editor.onDidResize(e => this.breakpointWidget.inputSize = e),
|
|
87
|
+
this.sessions.onDidChange(() => this.update()),
|
|
172
88
|
this.toDisposeOnUpdate
|
|
173
89
|
]);
|
|
174
90
|
this.update();
|
|
175
91
|
this.render();
|
|
176
|
-
}
|
|
177
|
-
|
|
92
|
+
}
|
|
93
|
+
dispose() {
|
|
178
94
|
this.toDispose.dispose();
|
|
179
|
-
}
|
|
95
|
+
}
|
|
180
96
|
/**
|
|
181
97
|
* To disable the default editor-contribution hover from Code when
|
|
182
98
|
* the editor has the `currentFrame`. Otherwise, both `textdocument/hover`
|
|
183
99
|
* and the debug hovers are visible at the same time when hovering over a symbol.
|
|
184
100
|
*/
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
codeEditor.removeDecorations(debug_inline_value_decorator_1.INLINE_VALUE_DECORATION_KEY);
|
|
226
|
-
codeEditor.setDecorations(debug_inline_value_decorator_1.INLINE_VALUE_DECORATION_KEY, inlineValueDecorations);
|
|
227
|
-
this.editorDecorations = this.deltaDecorations(this.editorDecorations, newFrameDecorations);
|
|
228
|
-
return [2 /*return*/];
|
|
229
|
-
}
|
|
230
|
-
});
|
|
231
|
-
});
|
|
232
|
-
};
|
|
233
|
-
DebugEditorModel.prototype.createInlineValueDecorations = function () {
|
|
234
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
235
|
-
var currentFrame;
|
|
236
|
-
return __generator(this, function (_a) {
|
|
237
|
-
if (!this.sessions.isCurrentEditorFrame(this.uri)) {
|
|
238
|
-
return [2 /*return*/, []];
|
|
239
|
-
}
|
|
240
|
-
currentFrame = this.sessions.currentFrame;
|
|
241
|
-
return [2 /*return*/, this.inlineValueDecorator.calculateDecorations(this, currentFrame)];
|
|
242
|
-
});
|
|
243
|
-
});
|
|
244
|
-
};
|
|
245
|
-
DebugEditorModel.prototype.createFrameDecorations = function () {
|
|
246
|
-
var _a = this.sessions, currentFrame = _a.currentFrame, topFrame = _a.topFrame;
|
|
101
|
+
async updateEditorHover() {
|
|
102
|
+
if (this.sessions.isCurrentEditorFrame(this.uri)) {
|
|
103
|
+
const codeEditor = this.editor.getControl();
|
|
104
|
+
codeEditor.updateOptions({ hover: { enabled: false } });
|
|
105
|
+
this.toDisposeOnUpdate.push(core_1.Disposable.create(() => {
|
|
106
|
+
const model = codeEditor.getModel();
|
|
107
|
+
const overrides = {
|
|
108
|
+
resource: model.uri,
|
|
109
|
+
overrideIdentifier: model.getLanguageIdentifier().language,
|
|
110
|
+
};
|
|
111
|
+
const { enabled, delay, sticky } = this.configurationService._configuration.getValue('editor.hover', overrides, undefined);
|
|
112
|
+
codeEditor.updateOptions({
|
|
113
|
+
hover: {
|
|
114
|
+
enabled,
|
|
115
|
+
delay,
|
|
116
|
+
sticky
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
}));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
async updateEditorDecorations() {
|
|
123
|
+
const [newFrameDecorations, inlineValueDecorations] = await Promise.all([
|
|
124
|
+
this.createFrameDecorations(),
|
|
125
|
+
this.createInlineValueDecorations()
|
|
126
|
+
]);
|
|
127
|
+
const codeEditor = this.editor.getControl();
|
|
128
|
+
codeEditor.removeDecorations(debug_inline_value_decorator_1.INLINE_VALUE_DECORATION_KEY);
|
|
129
|
+
codeEditor.setDecorations(debug_inline_value_decorator_1.INLINE_VALUE_DECORATION_KEY, inlineValueDecorations);
|
|
130
|
+
this.editorDecorations = this.deltaDecorations(this.editorDecorations, newFrameDecorations);
|
|
131
|
+
}
|
|
132
|
+
async createInlineValueDecorations() {
|
|
133
|
+
if (!this.sessions.isCurrentEditorFrame(this.uri)) {
|
|
134
|
+
return [];
|
|
135
|
+
}
|
|
136
|
+
const { currentFrame } = this.sessions;
|
|
137
|
+
return this.inlineValueDecorator.calculateDecorations(this, currentFrame);
|
|
138
|
+
}
|
|
139
|
+
createFrameDecorations() {
|
|
140
|
+
const { currentFrame, topFrame } = this.sessions;
|
|
247
141
|
if (!currentFrame) {
|
|
248
142
|
return [];
|
|
249
143
|
}
|
|
250
144
|
if (!this.sessions.isCurrentEditorFrame(this.uri)) {
|
|
251
145
|
return [];
|
|
252
146
|
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
147
|
+
const decorations = [];
|
|
148
|
+
const columnUntilEOLRange = new monaco.Range(currentFrame.raw.line, currentFrame.raw.column, currentFrame.raw.line, 1 << 30);
|
|
149
|
+
const range = new monaco.Range(currentFrame.raw.line, currentFrame.raw.column, currentFrame.raw.line, currentFrame.raw.column + 1);
|
|
256
150
|
if (topFrame === currentFrame) {
|
|
257
151
|
decorations.push({
|
|
258
152
|
options: DebugEditorModel_1.TOP_STACK_FRAME_MARGIN,
|
|
259
|
-
range
|
|
153
|
+
range
|
|
260
154
|
});
|
|
261
155
|
decorations.push({
|
|
262
156
|
options: DebugEditorModel_1.TOP_STACK_FRAME_DECORATION,
|
|
263
157
|
range: columnUntilEOLRange
|
|
264
158
|
});
|
|
265
|
-
|
|
159
|
+
const { topFrameRange } = this;
|
|
266
160
|
if (topFrameRange && topFrameRange.startLineNumber === currentFrame.raw.line && topFrameRange.startColumn !== currentFrame.raw.column) {
|
|
267
161
|
decorations.push({
|
|
268
162
|
options: DebugEditorModel_1.TOP_STACK_FRAME_INLINE_DECORATION,
|
|
@@ -274,7 +168,7 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
274
168
|
else {
|
|
275
169
|
decorations.push({
|
|
276
170
|
options: DebugEditorModel_1.FOCUSED_STACK_FRAME_MARGIN,
|
|
277
|
-
range
|
|
171
|
+
range
|
|
278
172
|
});
|
|
279
173
|
decorations.push({
|
|
280
174
|
options: DebugEditorModel_1.FOCUSED_STACK_FRAME_DECORATION,
|
|
@@ -282,242 +176,176 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
282
176
|
});
|
|
283
177
|
}
|
|
284
178
|
return decorations;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
return
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
this.exceptionWidget.hide();
|
|
305
|
-
return [2 /*return*/];
|
|
306
|
-
}
|
|
307
|
-
this.exceptionWidget.show({
|
|
308
|
-
info: info,
|
|
309
|
-
lineNumber: currentFrame.raw.line,
|
|
310
|
-
column: currentFrame.raw.column
|
|
311
|
-
});
|
|
312
|
-
return [2 /*return*/];
|
|
313
|
-
}
|
|
314
|
-
});
|
|
179
|
+
}
|
|
180
|
+
async toggleExceptionWidget() {
|
|
181
|
+
const { currentFrame } = this.sessions;
|
|
182
|
+
if (!currentFrame) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
if (!this.sessions.isCurrentEditorFrame(this.uri)) {
|
|
186
|
+
this.exceptionWidget.hide();
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
const info = await currentFrame.thread.getExceptionInfo();
|
|
190
|
+
if (!info) {
|
|
191
|
+
this.exceptionWidget.hide();
|
|
192
|
+
return;
|
|
193
|
+
}
|
|
194
|
+
this.exceptionWidget.show({
|
|
195
|
+
info,
|
|
196
|
+
lineNumber: currentFrame.raw.line,
|
|
197
|
+
column: currentFrame.raw.column
|
|
315
198
|
});
|
|
316
|
-
}
|
|
317
|
-
|
|
199
|
+
}
|
|
200
|
+
render() {
|
|
318
201
|
this.renderBreakpoints();
|
|
319
202
|
this.renderCurrentBreakpoints();
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
203
|
+
}
|
|
204
|
+
renderBreakpoints() {
|
|
205
|
+
const decorations = this.createBreakpointDecorations();
|
|
323
206
|
this.breakpointDecorations = this.deltaDecorations(this.breakpointDecorations, decorations);
|
|
324
207
|
this.updateBreakpointRanges();
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
var range = typeof column === 'number' ? new monaco.Range(lineNumber, column, lineNumber, column + 1) : new monaco.Range(lineNumber, 1, lineNumber, 2);
|
|
208
|
+
}
|
|
209
|
+
createBreakpointDecorations() {
|
|
210
|
+
const breakpoints = this.breakpoints.getBreakpoints(this.uri);
|
|
211
|
+
return breakpoints.map(breakpoint => this.createBreakpointDecoration(breakpoint));
|
|
212
|
+
}
|
|
213
|
+
createBreakpointDecoration(breakpoint) {
|
|
214
|
+
const lineNumber = breakpoint.raw.line;
|
|
215
|
+
const column = breakpoint.raw.column;
|
|
216
|
+
const range = typeof column === 'number' ? new monaco.Range(lineNumber, column, lineNumber, column + 1) : new monaco.Range(lineNumber, 1, lineNumber, 2);
|
|
335
217
|
return {
|
|
336
|
-
range
|
|
218
|
+
range,
|
|
337
219
|
options: {
|
|
338
220
|
stickiness: DebugEditorModel_1.STICKINESS
|
|
339
221
|
}
|
|
340
222
|
};
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
var e_1, _a;
|
|
223
|
+
}
|
|
224
|
+
updateBreakpointRanges() {
|
|
344
225
|
this.breakpointRanges.clear();
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
var range = this.editor.getControl().getModel().getDecorationRange(decoration);
|
|
349
|
-
this.breakpointRanges.set(decoration, range);
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
353
|
-
finally {
|
|
354
|
-
try {
|
|
355
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
356
|
-
}
|
|
357
|
-
finally { if (e_1) throw e_1.error; }
|
|
226
|
+
for (const decoration of this.breakpointDecorations) {
|
|
227
|
+
const range = this.editor.getControl().getModel().getDecorationRange(decoration);
|
|
228
|
+
this.breakpointRanges.set(decoration, range);
|
|
358
229
|
}
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
230
|
+
}
|
|
231
|
+
renderCurrentBreakpoints() {
|
|
232
|
+
const decorations = this.createCurrentBreakpointDecorations();
|
|
362
233
|
this.currentBreakpointDecorations = this.deltaDecorations(this.currentBreakpointDecorations, decorations);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
var renderInline = typeof column === 'number' && (column > this.editor.getControl().getModel().getLineFirstNonWhitespaceColumn(lineNumber));
|
|
234
|
+
}
|
|
235
|
+
createCurrentBreakpointDecorations() {
|
|
236
|
+
const breakpoints = this.sessions.getBreakpoints(this.uri);
|
|
237
|
+
return breakpoints.map(breakpoint => this.createCurrentBreakpointDecoration(breakpoint));
|
|
238
|
+
}
|
|
239
|
+
createCurrentBreakpointDecoration(breakpoint) {
|
|
240
|
+
const lineNumber = breakpoint.line;
|
|
241
|
+
const column = breakpoint.column;
|
|
242
|
+
const range = typeof column === 'number' ? new monaco.Range(lineNumber, column, lineNumber, column + 1) : new monaco.Range(lineNumber, 1, lineNumber, 1);
|
|
243
|
+
const { className, message } = breakpoint.getDecoration();
|
|
244
|
+
const renderInline = typeof column === 'number' && (column > this.editor.getControl().getModel().getLineFirstNonWhitespaceColumn(lineNumber));
|
|
375
245
|
return {
|
|
376
|
-
range
|
|
246
|
+
range,
|
|
377
247
|
options: {
|
|
378
248
|
glyphMarginClassName: className,
|
|
379
|
-
glyphMarginHoverMessage: message.map(
|
|
249
|
+
glyphMarginHoverMessage: message.map(value => ({ value })),
|
|
380
250
|
stickiness: DebugEditorModel_1.STICKINESS,
|
|
381
|
-
beforeContentClassName: renderInline ?
|
|
251
|
+
beforeContentClassName: renderInline ? `theia-debug-breakpoint-column ${className}-column` : undefined
|
|
382
252
|
}
|
|
383
253
|
};
|
|
384
|
-
}
|
|
385
|
-
|
|
254
|
+
}
|
|
255
|
+
updateBreakpoints() {
|
|
386
256
|
if (this.areBreakpointsAffected()) {
|
|
387
|
-
|
|
257
|
+
const breakpoints = this.createBreakpoints();
|
|
388
258
|
this.breakpoints.setBreakpoints(this.uri, breakpoints);
|
|
389
259
|
}
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
var e_2, _a;
|
|
260
|
+
}
|
|
261
|
+
areBreakpointsAffected() {
|
|
393
262
|
if (this.updatingDecorations || !this.editor.getControl().getModel()) {
|
|
394
263
|
return false;
|
|
395
264
|
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
if (!range || !range.equalsRange(oldRange)) {
|
|
402
|
-
return true;
|
|
403
|
-
}
|
|
265
|
+
for (const decoration of this.breakpointDecorations) {
|
|
266
|
+
const range = this.editor.getControl().getModel().getDecorationRange(decoration);
|
|
267
|
+
const oldRange = this.breakpointRanges.get(decoration);
|
|
268
|
+
if (!range || !range.equalsRange(oldRange)) {
|
|
269
|
+
return true;
|
|
404
270
|
}
|
|
405
271
|
}
|
|
406
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
407
|
-
finally {
|
|
408
|
-
try {
|
|
409
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
410
|
-
}
|
|
411
|
-
finally { if (e_2) throw e_2.error; }
|
|
412
|
-
}
|
|
413
272
|
return false;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
var breakpoint = breakpoint_marker_1.SourceBreakpoint.create(uri, { line: line, column: column }, oldBreakpoint);
|
|
430
|
-
breakpoints.push(breakpoint);
|
|
431
|
-
lines.add(line);
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
436
|
-
finally {
|
|
437
|
-
try {
|
|
438
|
-
if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
|
|
273
|
+
}
|
|
274
|
+
createBreakpoints() {
|
|
275
|
+
const { uri } = this;
|
|
276
|
+
const lines = new Set();
|
|
277
|
+
const breakpoints = [];
|
|
278
|
+
for (const decoration of this.breakpointDecorations) {
|
|
279
|
+
const range = this.editor.getControl().getModel().getDecorationRange(decoration);
|
|
280
|
+
if (range && !lines.has(range.startLineNumber)) {
|
|
281
|
+
const line = range.startLineNumber;
|
|
282
|
+
const column = range.startColumn;
|
|
283
|
+
const oldRange = this.breakpointRanges.get(decoration);
|
|
284
|
+
const oldBreakpoint = oldRange && this.breakpoints.getInlineBreakpoint(uri, oldRange.startLineNumber, oldRange.startColumn);
|
|
285
|
+
const breakpoint = breakpoint_marker_1.SourceBreakpoint.create(uri, { line, column }, oldBreakpoint);
|
|
286
|
+
breakpoints.push(breakpoint);
|
|
287
|
+
lines.add(line);
|
|
439
288
|
}
|
|
440
|
-
finally { if (e_3) throw e_3.error; }
|
|
441
289
|
}
|
|
442
290
|
return breakpoints;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
enumerable: false,
|
|
449
|
-
configurable: true
|
|
450
|
-
});
|
|
451
|
-
DebugEditorModel.prototype.getBreakpoint = function (position) {
|
|
452
|
-
if (position === void 0) { position = this.position; }
|
|
291
|
+
}
|
|
292
|
+
get position() {
|
|
293
|
+
return this.editor.getControl().getPosition();
|
|
294
|
+
}
|
|
295
|
+
getBreakpoint(position = this.position) {
|
|
453
296
|
return this.getInlineBreakpoint(position) || this.getLineBreakpoints(position)[0];
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
if (position === void 0) { position = this.position; }
|
|
297
|
+
}
|
|
298
|
+
getInlineBreakpoint(position = this.position) {
|
|
457
299
|
return this.sessions.getInlineBreakpoint(this.uri, position.lineNumber, position.column);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
if (position === void 0) { position = this.position; }
|
|
300
|
+
}
|
|
301
|
+
getLineBreakpoints(position = this.position) {
|
|
461
302
|
return this.sessions.getLineBreakpoints(this.uri, position.lineNumber);
|
|
462
|
-
}
|
|
463
|
-
|
|
303
|
+
}
|
|
304
|
+
addBreakpoint(raw) {
|
|
464
305
|
this.breakpoints.addBreakpoint(breakpoint_marker_1.SourceBreakpoint.create(this.uri, raw));
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
var lineNumber = position.lineNumber;
|
|
470
|
-
var breakpoints = this.getLineBreakpoints(position);
|
|
306
|
+
}
|
|
307
|
+
toggleBreakpoint(position = this.position) {
|
|
308
|
+
const { lineNumber } = position;
|
|
309
|
+
const breakpoints = this.getLineBreakpoints(position);
|
|
471
310
|
if (breakpoints.length) {
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
var breakpoint = breakpoints_1_1.value;
|
|
475
|
-
breakpoint.remove();
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
catch (e_4_1) { e_4 = { error: e_4_1 }; }
|
|
479
|
-
finally {
|
|
480
|
-
try {
|
|
481
|
-
if (breakpoints_1_1 && !breakpoints_1_1.done && (_a = breakpoints_1.return)) _a.call(breakpoints_1);
|
|
482
|
-
}
|
|
483
|
-
finally { if (e_4) throw e_4.error; }
|
|
311
|
+
for (const breakpoint of breakpoints) {
|
|
312
|
+
breakpoint.remove();
|
|
484
313
|
}
|
|
485
314
|
}
|
|
486
315
|
else {
|
|
487
316
|
this.addBreakpoint({ line: lineNumber });
|
|
488
317
|
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
318
|
+
}
|
|
319
|
+
addInlineBreakpoint() {
|
|
320
|
+
const { position } = this;
|
|
321
|
+
const { lineNumber, column } = position;
|
|
322
|
+
const breakpoint = this.getInlineBreakpoint(position);
|
|
494
323
|
if (breakpoint) {
|
|
495
324
|
return;
|
|
496
325
|
}
|
|
497
|
-
this.addBreakpoint({ line: lineNumber, column
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
|
|
326
|
+
this.addBreakpoint({ line: lineNumber, column });
|
|
327
|
+
}
|
|
328
|
+
acceptBreakpoint() {
|
|
329
|
+
const { position, values } = this.breakpointWidget;
|
|
501
330
|
if (position && values) {
|
|
502
|
-
|
|
331
|
+
const breakpoint = position.column > 0 ? this.getInlineBreakpoint(position) : this.getLineBreakpoints(position)[0];
|
|
503
332
|
if (breakpoint) {
|
|
504
333
|
breakpoint.updateOrigins(values);
|
|
505
334
|
}
|
|
506
335
|
else {
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
this.addBreakpoint(
|
|
336
|
+
const { lineNumber } = position;
|
|
337
|
+
const column = position.column > 0 ? position.column : undefined;
|
|
338
|
+
this.addBreakpoint(Object.assign({ line: lineNumber, column }, values));
|
|
510
339
|
}
|
|
511
340
|
this.breakpointWidget.hide();
|
|
512
341
|
}
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
var _this = this;
|
|
342
|
+
}
|
|
343
|
+
handleMouseDown(event) {
|
|
516
344
|
if (event.target && event.target.type === monaco.editor.MouseTargetType.GUTTER_GLYPH_MARGIN) {
|
|
517
345
|
if (event.event.rightButton) {
|
|
518
346
|
this.editor.focus();
|
|
519
|
-
setTimeout(
|
|
520
|
-
|
|
347
|
+
setTimeout(() => {
|
|
348
|
+
this.contextMenu.render({
|
|
521
349
|
menuPath: DebugEditorModel_1.CONTEXT_MENU,
|
|
522
350
|
anchor: event.event.browserEvent,
|
|
523
351
|
args: [event.target.position]
|
|
@@ -529,25 +357,25 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
529
357
|
}
|
|
530
358
|
}
|
|
531
359
|
this.hintBreakpoint(event);
|
|
532
|
-
}
|
|
533
|
-
|
|
360
|
+
}
|
|
361
|
+
handleMouseMove(event) {
|
|
534
362
|
this.showHover(event);
|
|
535
363
|
this.hintBreakpoint(event);
|
|
536
|
-
}
|
|
537
|
-
|
|
364
|
+
}
|
|
365
|
+
handleMouseLeave(event) {
|
|
538
366
|
this.hideHover(event);
|
|
539
367
|
this.deltaHintDecorations([]);
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
|
|
368
|
+
}
|
|
369
|
+
hintBreakpoint(event) {
|
|
370
|
+
const hintDecorations = this.createHintDecorations(event);
|
|
543
371
|
this.deltaHintDecorations(hintDecorations);
|
|
544
|
-
}
|
|
545
|
-
|
|
372
|
+
}
|
|
373
|
+
deltaHintDecorations(hintDecorations) {
|
|
546
374
|
this.hintDecorations = this.deltaDecorations(this.hintDecorations, hintDecorations);
|
|
547
|
-
}
|
|
548
|
-
|
|
375
|
+
}
|
|
376
|
+
createHintDecorations(event) {
|
|
549
377
|
if (event.target && event.target.type === monaco.editor.MouseTargetType.GUTTER_GLYPH_MARGIN && event.target.position) {
|
|
550
|
-
|
|
378
|
+
const lineNumber = event.target.position.lineNumber;
|
|
551
379
|
if (this.getLineBreakpoints(event.target.position).length) {
|
|
552
380
|
return [];
|
|
553
381
|
}
|
|
@@ -557,10 +385,10 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
557
385
|
}];
|
|
558
386
|
}
|
|
559
387
|
return [];
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
388
|
+
}
|
|
389
|
+
showHover(mouseEvent) {
|
|
390
|
+
const targetType = mouseEvent.target.type;
|
|
391
|
+
const stopKey = core_1.isOSX ? 'metaKey' : 'ctrlKey';
|
|
564
392
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
565
393
|
if (targetType === monaco.editor.MouseTargetType.CONTENT_WIDGET && mouseEvent.target.detail === this.hover.getId() && !mouseEvent.event[stopKey]) {
|
|
566
394
|
// mouse moved on top of debug hover widget
|
|
@@ -575,15 +403,14 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
575
403
|
else {
|
|
576
404
|
this.hover.hide({ immediate: false });
|
|
577
405
|
}
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
var rect = this.hover.getDomNode().getBoundingClientRect();
|
|
406
|
+
}
|
|
407
|
+
hideHover({ event }) {
|
|
408
|
+
const rect = this.hover.getDomNode().getBoundingClientRect();
|
|
582
409
|
if (event.posx < rect.left || event.posx > rect.right || event.posy < rect.top || event.posy > rect.bottom) {
|
|
583
410
|
this.hover.hide({ immediate: false });
|
|
584
411
|
}
|
|
585
|
-
}
|
|
586
|
-
|
|
412
|
+
}
|
|
413
|
+
deltaDecorations(oldDecorations, newDecorations) {
|
|
587
414
|
this.updatingDecorations = true;
|
|
588
415
|
try {
|
|
589
416
|
return this.editor.getControl().getModel().deltaDecorations(oldDecorations, newDecorations);
|
|
@@ -591,81 +418,79 @@ var DebugEditorModel = /** @class */ (function () {
|
|
|
591
418
|
finally {
|
|
592
419
|
this.updatingDecorations = false;
|
|
593
420
|
}
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
return DebugEditorModel;
|
|
669
|
-
}());
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
DebugEditorModel.CONTEXT_MENU = ['debug-editor-context-menu'];
|
|
424
|
+
DebugEditorModel.STICKINESS = monaco.editor.TrackedRangeStickiness.NeverGrowsWhenTypingAtEdges;
|
|
425
|
+
DebugEditorModel.BREAKPOINT_HINT_DECORATION = {
|
|
426
|
+
glyphMarginClassName: 'theia-debug-breakpoint-hint',
|
|
427
|
+
stickiness: DebugEditorModel_1.STICKINESS
|
|
428
|
+
};
|
|
429
|
+
DebugEditorModel.TOP_STACK_FRAME_MARGIN = {
|
|
430
|
+
glyphMarginClassName: 'theia-debug-top-stack-frame',
|
|
431
|
+
stickiness: DebugEditorModel_1.STICKINESS
|
|
432
|
+
};
|
|
433
|
+
DebugEditorModel.FOCUSED_STACK_FRAME_MARGIN = {
|
|
434
|
+
glyphMarginClassName: 'theia-debug-focused-stack-frame',
|
|
435
|
+
stickiness: DebugEditorModel_1.STICKINESS
|
|
436
|
+
};
|
|
437
|
+
DebugEditorModel.TOP_STACK_FRAME_DECORATION = {
|
|
438
|
+
isWholeLine: true,
|
|
439
|
+
className: 'theia-debug-top-stack-frame-line',
|
|
440
|
+
stickiness: DebugEditorModel_1.STICKINESS
|
|
441
|
+
};
|
|
442
|
+
DebugEditorModel.TOP_STACK_FRAME_INLINE_DECORATION = {
|
|
443
|
+
beforeContentClassName: 'theia-debug-top-stack-frame-column'
|
|
444
|
+
};
|
|
445
|
+
DebugEditorModel.FOCUSED_STACK_FRAME_DECORATION = {
|
|
446
|
+
isWholeLine: true,
|
|
447
|
+
className: 'theia-debug-focused-stack-frame-line',
|
|
448
|
+
stickiness: DebugEditorModel_1.STICKINESS
|
|
449
|
+
};
|
|
450
|
+
__decorate([
|
|
451
|
+
inversify_1.inject(debug_hover_widget_1.DebugHoverWidget),
|
|
452
|
+
__metadata("design:type", debug_hover_widget_1.DebugHoverWidget)
|
|
453
|
+
], DebugEditorModel.prototype, "hover", void 0);
|
|
454
|
+
__decorate([
|
|
455
|
+
inversify_1.inject(debug_editor_1.DebugEditor),
|
|
456
|
+
__metadata("design:type", Object)
|
|
457
|
+
], DebugEditorModel.prototype, "editor", void 0);
|
|
458
|
+
__decorate([
|
|
459
|
+
inversify_1.inject(breakpoint_manager_1.BreakpointManager),
|
|
460
|
+
__metadata("design:type", breakpoint_manager_1.BreakpointManager)
|
|
461
|
+
], DebugEditorModel.prototype, "breakpoints", void 0);
|
|
462
|
+
__decorate([
|
|
463
|
+
inversify_1.inject(debug_session_manager_1.DebugSessionManager),
|
|
464
|
+
__metadata("design:type", debug_session_manager_1.DebugSessionManager)
|
|
465
|
+
], DebugEditorModel.prototype, "sessions", void 0);
|
|
466
|
+
__decorate([
|
|
467
|
+
inversify_1.inject(browser_1.ContextMenuRenderer),
|
|
468
|
+
__metadata("design:type", browser_1.ContextMenuRenderer)
|
|
469
|
+
], DebugEditorModel.prototype, "contextMenu", void 0);
|
|
470
|
+
__decorate([
|
|
471
|
+
inversify_1.inject(debug_breakpoint_widget_1.DebugBreakpointWidget),
|
|
472
|
+
__metadata("design:type", debug_breakpoint_widget_1.DebugBreakpointWidget)
|
|
473
|
+
], DebugEditorModel.prototype, "breakpointWidget", void 0);
|
|
474
|
+
__decorate([
|
|
475
|
+
inversify_1.inject(debug_exception_widget_1.DebugExceptionWidget),
|
|
476
|
+
__metadata("design:type", debug_exception_widget_1.DebugExceptionWidget)
|
|
477
|
+
], DebugEditorModel.prototype, "exceptionWidget", void 0);
|
|
478
|
+
__decorate([
|
|
479
|
+
inversify_1.inject(debug_inline_value_decorator_1.DebugInlineValueDecorator),
|
|
480
|
+
__metadata("design:type", debug_inline_value_decorator_1.DebugInlineValueDecorator)
|
|
481
|
+
], DebugEditorModel.prototype, "inlineValueDecorator", void 0);
|
|
482
|
+
__decorate([
|
|
483
|
+
inversify_1.inject(monaco_frontend_module_1.MonacoConfigurationService),
|
|
484
|
+
__metadata("design:type", Object)
|
|
485
|
+
], DebugEditorModel.prototype, "configurationService", void 0);
|
|
486
|
+
__decorate([
|
|
487
|
+
inversify_1.postConstruct(),
|
|
488
|
+
__metadata("design:type", Function),
|
|
489
|
+
__metadata("design:paramtypes", []),
|
|
490
|
+
__metadata("design:returntype", void 0)
|
|
491
|
+
], DebugEditorModel.prototype, "init", null);
|
|
492
|
+
DebugEditorModel = DebugEditorModel_1 = __decorate([
|
|
493
|
+
inversify_1.injectable()
|
|
494
|
+
], DebugEditorModel);
|
|
670
495
|
exports.DebugEditorModel = DebugEditorModel;
|
|
671
496
|
//# sourceMappingURL=debug-editor-model.js.map
|