@opensumi/ide-debug 2.24.4 → 2.24.5
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.d.ts +3 -4
- package/lib/browser/breakpoint/breakpoint-manager.d.ts.map +1 -1
- package/lib/browser/breakpoint/breakpoint-manager.js +0 -7
- package/lib/browser/breakpoint/breakpoint-manager.js.map +1 -1
- package/lib/browser/contextkeys/debug-contextkey.service.d.ts +0 -1
- package/lib/browser/contextkeys/debug-contextkey.service.d.ts.map +1 -1
- package/lib/browser/contextkeys/debug-contextkey.service.js +1 -2
- package/lib/browser/contextkeys/debug-contextkey.service.js.map +1 -1
- package/lib/browser/debug-contribution.d.ts.map +1 -1
- package/lib/browser/debug-contribution.js +4 -42
- package/lib/browser/debug-contribution.js.map +1 -1
- package/lib/browser/debug-style.less +5 -34
- package/lib/browser/editor/debug-hover-model.d.ts +3 -0
- package/lib/browser/editor/debug-hover-model.d.ts.map +1 -1
- package/lib/browser/editor/debug-hover-model.js +5 -0
- package/lib/browser/editor/debug-hover-model.js.map +1 -1
- package/lib/browser/editor/debug-hover-tree.model.service.d.ts.map +1 -1
- package/lib/browser/editor/debug-hover-tree.model.service.js +9 -0
- package/lib/browser/editor/debug-hover-tree.model.service.js.map +1 -1
- package/lib/browser/editor/debug-model.d.ts +0 -2
- package/lib/browser/editor/debug-model.d.ts.map +1 -1
- package/lib/browser/editor/debug-model.js +2 -31
- package/lib/browser/editor/debug-model.js.map +1 -1
- package/lib/browser/editor/debug-styles.d.ts +0 -1
- package/lib/browser/editor/debug-styles.d.ts.map +1 -1
- package/lib/browser/editor/debug-styles.js +1 -7
- package/lib/browser/editor/debug-styles.js.map +1 -1
- package/lib/browser/view/breakpoints/debug-breakpoints.module.less +8 -64
- package/lib/browser/view/breakpoints/debug-breakpoints.service.d.ts +1 -10
- package/lib/browser/view/breakpoints/debug-breakpoints.service.d.ts.map +1 -1
- package/lib/browser/view/breakpoints/debug-breakpoints.service.js +0 -5
- package/lib/browser/view/breakpoints/debug-breakpoints.service.js.map +1 -1
- package/lib/browser/view/breakpoints/debug-breakpoints.view.d.ts +0 -7
- package/lib/browser/view/breakpoints/debug-breakpoints.view.d.ts.map +1 -1
- package/lib/browser/view/breakpoints/debug-breakpoints.view.js +26 -80
- package/lib/browser/view/breakpoints/debug-breakpoints.view.js.map +1 -1
- package/lib/browser/view/console/debug-console-model.d.ts +3 -0
- package/lib/browser/view/console/debug-console-model.d.ts.map +1 -1
- package/lib/browser/view/console/debug-console-model.js +5 -0
- package/lib/browser/view/console/debug-console-model.js.map +1 -1
- package/lib/browser/view/console/debug-console-tree.model.service.d.ts.map +1 -1
- package/lib/browser/view/console/debug-console-tree.model.service.js +9 -0
- package/lib/browser/view/console/debug-console-tree.model.service.js.map +1 -1
- package/lib/browser/view/variables/debug-variables-model.d.ts +3 -0
- package/lib/browser/view/variables/debug-variables-model.d.ts.map +1 -1
- package/lib/browser/view/variables/debug-variables-model.js +5 -0
- package/lib/browser/view/variables/debug-variables-model.js.map +1 -1
- package/lib/browser/view/variables/debug-variables-tree.model.service.d.ts.map +1 -1
- package/lib/browser/view/variables/debug-variables-tree.model.service.js +9 -0
- package/lib/browser/view/variables/debug-variables-tree.model.service.js.map +1 -1
- package/lib/browser/view/watch/debug-watch-model.d.ts +3 -0
- package/lib/browser/view/watch/debug-watch-model.d.ts.map +1 -1
- package/lib/browser/view/watch/debug-watch-model.js +5 -0
- package/lib/browser/view/watch/debug-watch-model.js.map +1 -1
- package/lib/browser/view/watch/debug-watch-tree.model.service.d.ts.map +1 -1
- package/lib/browser/view/watch/debug-watch-tree.model.service.js +9 -0
- package/lib/browser/view/watch/debug-watch-tree.model.service.js.map +1 -1
- package/lib/common/commands.d.ts +0 -2
- package/lib/common/commands.d.ts.map +1 -1
- package/lib/common/commands.js +0 -6
- package/lib/common/commands.js.map +1 -1
- package/lib/common/constants.d.ts +0 -1
- package/lib/common/constants.d.ts.map +1 -1
- package/lib/common/constants.js +1 -2
- package/lib/common/constants.js.map +1 -1
- package/package.json +23 -23
- package/src/browser/breakpoint/breakpoint-manager.ts +3 -8
- package/src/browser/contextkeys/debug-contextkey.service.ts +1 -4
- package/src/browser/debug-contribution.ts +4 -47
- package/src/browser/debug-style.less +5 -34
- package/src/browser/editor/debug-hover-model.ts +6 -0
- package/src/browser/editor/debug-hover-tree.model.service.ts +10 -0
- package/src/browser/editor/debug-model.ts +3 -35
- package/src/browser/editor/debug-styles.ts +0 -7
- package/src/browser/view/breakpoints/debug-breakpoints.module.less +8 -64
- package/src/browser/view/breakpoints/debug-breakpoints.service.ts +0 -8
- package/src/browser/view/breakpoints/debug-breakpoints.view.tsx +32 -139
- package/src/browser/view/console/debug-console-model.ts +6 -0
- package/src/browser/view/console/debug-console-tree.model.service.ts +10 -0
- package/src/browser/view/variables/debug-variables-model.ts +6 -0
- package/src/browser/view/variables/debug-variables-tree.model.service.ts +10 -0
- package/src/browser/view/watch/debug-watch-model.ts +6 -0
- package/src/browser/view/watch/debug-watch-tree.model.service.ts +10 -0
- package/src/common/commands.ts +0 -6
- package/src/common/constants.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/common/constants.ts"],"names":[],"mappings":";;;;AAAA,qFAAoH;AAK3G,2GALA,yCAA0B,OAKA;AAAE,mGALA,iCAAkB,OAKA;AAJvD,oFAA+E;AAMlE,QAAA,mBAAmB,GAAG,qBAAqB,CAAC;AAE5C,QAAA,cAAc,GAAG,aAAa,CAAC;AAC/B,QAAA,eAAe,GAAG,cAAc,CAAC;AACjC,QAAA,kBAAkB,GAAG,gBAAgB,CAAC;AACtC,QAAA,oBAAoB,GAAG,mBAAmB,CAAC;AAC3C,QAAA,gBAAgB,GAAG,eAAe,CAAC;AACnC,QAAA,cAAc,GAAG,aAAa,CAAC;AAC/B,QAAA,2BAA2B,GAAG,yCAAyC,CAAC;AACxE,QAAA,YAAY,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KAAK,CAAC,CAAC;AACnF,QAAA,2BAA2B,GAAG,IAAI,+BAAa,CAAU,mBAAmB,EAAE,KAAK,CAAC,CAAC;AACrF,QAAA,uBAAuB,GAAG,IAAI,+BAAa,CAAU,eAAe,EAAE,SAAS,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-debug",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.5",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"src"
|
|
@@ -17,33 +17,33 @@
|
|
|
17
17
|
"url": "git@github.com:opensumi/core.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@opensumi/ide-connection": "2.24.
|
|
21
|
-
"@opensumi/ide-core-common": "2.24.
|
|
22
|
-
"@opensumi/ide-core-node": "2.24.
|
|
23
|
-
"@opensumi/ide-file-service": "2.24.
|
|
24
|
-
"@opensumi/ide-task": "2.24.
|
|
25
|
-
"@opensumi/ide-terminal-next": "2.24.
|
|
20
|
+
"@opensumi/ide-connection": "2.24.5",
|
|
21
|
+
"@opensumi/ide-core-common": "2.24.5",
|
|
22
|
+
"@opensumi/ide-core-node": "2.24.5",
|
|
23
|
+
"@opensumi/ide-file-service": "2.24.5",
|
|
24
|
+
"@opensumi/ide-task": "2.24.5",
|
|
25
|
+
"@opensumi/ide-terminal-next": "2.24.5",
|
|
26
26
|
"anser": "^1.4.9",
|
|
27
27
|
"btoa": "^1.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@opensumi/ide-components": "2.24.
|
|
31
|
-
"@opensumi/ide-core-browser": "2.24.
|
|
30
|
+
"@opensumi/ide-components": "2.24.5",
|
|
31
|
+
"@opensumi/ide-core-browser": "2.24.5",
|
|
32
32
|
"@opensumi/ide-dev-tool": "1.3.1",
|
|
33
|
-
"@opensumi/ide-editor": "2.24.
|
|
34
|
-
"@opensumi/ide-main-layout": "2.24.
|
|
35
|
-
"@opensumi/ide-monaco": "2.24.
|
|
36
|
-
"@opensumi/ide-monaco-enhance": "2.24.
|
|
37
|
-
"@opensumi/ide-output": "2.24.
|
|
38
|
-
"@opensumi/ide-overlay": "2.24.
|
|
39
|
-
"@opensumi/ide-preferences": "2.24.
|
|
40
|
-
"@opensumi/ide-quick-open": "2.24.
|
|
41
|
-
"@opensumi/ide-storage": "2.24.
|
|
42
|
-
"@opensumi/ide-theme": "2.24.
|
|
43
|
-
"@opensumi/ide-variable": "2.24.
|
|
44
|
-
"@opensumi/ide-workspace": "2.24.
|
|
45
|
-
"@opensumi/ide-workspace-edit": "2.24.
|
|
33
|
+
"@opensumi/ide-editor": "2.24.5",
|
|
34
|
+
"@opensumi/ide-main-layout": "2.24.5",
|
|
35
|
+
"@opensumi/ide-monaco": "2.24.5",
|
|
36
|
+
"@opensumi/ide-monaco-enhance": "2.24.5",
|
|
37
|
+
"@opensumi/ide-output": "2.24.5",
|
|
38
|
+
"@opensumi/ide-overlay": "2.24.5",
|
|
39
|
+
"@opensumi/ide-preferences": "2.24.5",
|
|
40
|
+
"@opensumi/ide-quick-open": "2.24.5",
|
|
41
|
+
"@opensumi/ide-storage": "2.24.5",
|
|
42
|
+
"@opensumi/ide-theme": "2.24.5",
|
|
43
|
+
"@opensumi/ide-variable": "2.24.5",
|
|
44
|
+
"@opensumi/ide-workspace": "2.24.5",
|
|
45
|
+
"@opensumi/ide-workspace-edit": "2.24.5",
|
|
46
46
|
"@types/btoa": "^1.2.3"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "80cd1a59025b0aac91ba3204cd38d9d032e6f549"
|
|
49
49
|
}
|
|
@@ -13,8 +13,8 @@ import { Deferred } from '@opensumi/ide-core-common';
|
|
|
13
13
|
import * as monaco from '@opensumi/monaco-editor-core/esm/vs/editor/editor.api';
|
|
14
14
|
import { DebugProtocol } from '@opensumi/vscode-debugprotocol';
|
|
15
15
|
|
|
16
|
-
import { BreakpointsChangeEvent, DEBUG_REPORT_NAME, IDebugBreakpoint
|
|
17
|
-
import {
|
|
16
|
+
import { BreakpointsChangeEvent, DEBUG_REPORT_NAME, IDebugBreakpoint } from '../../common';
|
|
17
|
+
import { DebugModel } from '../editor';
|
|
18
18
|
import { MarkerManager, Marker } from '../markers';
|
|
19
19
|
|
|
20
20
|
import { DebugExceptionBreakpoint, BREAKPOINT_KIND } from './breakpoint-marker';
|
|
@@ -25,7 +25,7 @@ export interface ExceptionBreakpointsChangeEvent {
|
|
|
25
25
|
|
|
26
26
|
export interface SelectedBreakpoint {
|
|
27
27
|
breakpoint?: IDebugBreakpoint;
|
|
28
|
-
model:
|
|
28
|
+
model: DebugModel;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
@Injectable()
|
|
@@ -43,9 +43,6 @@ export class BreakpointManager extends MarkerManager<IDebugBreakpoint> {
|
|
|
43
43
|
@Autowired(IReporterService)
|
|
44
44
|
private readonly reporterService: IReporterService;
|
|
45
45
|
|
|
46
|
-
@Autowired(DebugContextKey)
|
|
47
|
-
protected readonly debugContextKey: DebugContextKey;
|
|
48
|
-
|
|
49
46
|
getKind(): string {
|
|
50
47
|
return BREAKPOINT_KIND;
|
|
51
48
|
}
|
|
@@ -251,7 +248,6 @@ export class BreakpointManager extends MarkerManager<IDebugBreakpoint> {
|
|
|
251
248
|
this.fireOnDidChangeMarkers(new URI(uri));
|
|
252
249
|
}
|
|
253
250
|
this.updateBreakpoints(this.getBreakpoints());
|
|
254
|
-
this.debugContextKey.contextActiveBreakpoints.set(breakpointsEnabled);
|
|
255
251
|
}
|
|
256
252
|
}
|
|
257
253
|
|
|
@@ -263,7 +259,6 @@ export class BreakpointManager extends MarkerManager<IDebugBreakpoint> {
|
|
|
263
259
|
defaultExceptionFilter: [],
|
|
264
260
|
});
|
|
265
261
|
this._breakpointsEnabled = data!.breakpointsEnabled;
|
|
266
|
-
this.debugContextKey.contextActiveBreakpoints.set(this._breakpointsEnabled);
|
|
267
262
|
// eslint-disable-next-line guard-for-in
|
|
268
263
|
for (const uri in data!.breakpoints) {
|
|
269
264
|
this.setBreakpoints(
|
|
@@ -14,7 +14,6 @@ import {
|
|
|
14
14
|
CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT,
|
|
15
15
|
CONTEXT_CAN_VIEW_MEMORY,
|
|
16
16
|
CONTEXT_EXCEPTION_WIDGET_VISIBLE,
|
|
17
|
-
CONTEXT_ACTIVE_BREAKPOINTS,
|
|
18
17
|
} from './../../common/constants';
|
|
19
18
|
|
|
20
19
|
@Injectable()
|
|
@@ -34,7 +33,6 @@ export class DebugContextKey {
|
|
|
34
33
|
public readonly contextDebugProtocolVariableMenu: IContextKey<string>;
|
|
35
34
|
public readonly contextCanViewMemory: IContextKey<boolean>;
|
|
36
35
|
public readonly contextExceptionWidgetVisible: IContextKey<boolean>;
|
|
37
|
-
public readonly contextActiveBreakpoints: IContextKey<boolean>;
|
|
38
36
|
|
|
39
37
|
constructor(@Optional() dom?: HTMLElement) {
|
|
40
38
|
this._contextKeyService = this.globalContextKeyService.createScoped(dom);
|
|
@@ -47,8 +45,7 @@ export class DebugContextKey {
|
|
|
47
45
|
this.contextRestartFrameSupported = CONTEXT_RESTART_FRAME_SUPPORTED.bind(this.contextKeyScoped);
|
|
48
46
|
this.contextDebugProtocolVariableMenu = CONTEXT_DEBUG_PROTOCOL_VARIABLE_MENU_CONTEXT.bind(this.contextKeyScoped);
|
|
49
47
|
this.contextCanViewMemory = CONTEXT_CAN_VIEW_MEMORY.bind(this.contextKeyScoped);
|
|
50
|
-
this.contextExceptionWidgetVisible = CONTEXT_EXCEPTION_WIDGET_VISIBLE.bind(this.
|
|
51
|
-
this.contextActiveBreakpoints = CONTEXT_ACTIVE_BREAKPOINTS.bind(this.globalContextKeyService);
|
|
48
|
+
this.contextExceptionWidgetVisible = CONTEXT_EXCEPTION_WIDGET_VISIBLE.bind(this._contextKeyService);
|
|
52
49
|
}
|
|
53
50
|
|
|
54
51
|
public get contextKeyScoped(): IScopedContextKeyService {
|
|
@@ -60,7 +60,6 @@ import {
|
|
|
60
60
|
CONTEXT_IN_DEBUG_MODE,
|
|
61
61
|
CONTEXT_BREAKPOINT_INPUT_FOCUSED,
|
|
62
62
|
CONTEXT_EXCEPTION_WIDGET_VISIBLE,
|
|
63
|
-
CONTEXT_ACTIVE_BREAKPOINTS,
|
|
64
63
|
} from './../common/constants';
|
|
65
64
|
import { BreakpointManager, SelectedBreakpoint } from './breakpoint';
|
|
66
65
|
import { FloatingClickWidget } from './components/floating-click-widget';
|
|
@@ -73,7 +72,6 @@ import { DebugSession } from './debug-session';
|
|
|
73
72
|
import { DebugSessionManager } from './debug-session-manager';
|
|
74
73
|
import { DebugEditorContribution } from './editor/debug-editor-contribution';
|
|
75
74
|
import { DebugRunToCursorService } from './editor/debug-run-to-cursor.service';
|
|
76
|
-
import breakpointViewStyles from './view/breakpoints/debug-breakpoints.module.less';
|
|
77
75
|
import { DebugBreakpointsService } from './view/breakpoints/debug-breakpoints.service';
|
|
78
76
|
import { DebugBreakpointView } from './view/breakpoints/debug-breakpoints.view';
|
|
79
77
|
import { DebugConfigurationService } from './view/configuration/debug-configuration.service';
|
|
@@ -411,42 +409,10 @@ export class DebugContribution
|
|
|
411
409
|
this.debugBreakpointsService.toggleBreakpoints();
|
|
412
410
|
},
|
|
413
411
|
});
|
|
414
|
-
commands.registerCommand(DEBUG_COMMANDS.ACTIVE_BREAKPOINTS, {
|
|
415
|
-
execute: () => {
|
|
416
|
-
const { enable } = this.debugBreakpointsService;
|
|
417
|
-
if (!enable) {
|
|
418
|
-
this.debugBreakpointsService.toggleBreakpoints();
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
});
|
|
422
|
-
commands.registerCommand(DEBUG_COMMANDS.DEACTIVE_BREAKPOINTS, {
|
|
423
|
-
execute: () => {
|
|
424
|
-
const { enable } = this.debugBreakpointsService;
|
|
425
|
-
if (enable) {
|
|
426
|
-
this.debugBreakpointsService.toggleBreakpoints();
|
|
427
|
-
}
|
|
428
|
-
},
|
|
429
|
-
});
|
|
430
412
|
commands.registerCommand(DEBUG_COMMANDS.EDIT_BREAKPOINT, {
|
|
431
413
|
execute: async (position: monaco.Position) => {
|
|
432
414
|
this.reporterService.point(DEBUG_REPORT_NAME?.DEBUG_BREAKPOINT, 'edit');
|
|
433
|
-
const model = this.debugEditorController.model;
|
|
434
|
-
if (!model) {
|
|
435
|
-
return;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
const { uri } = model;
|
|
439
|
-
const breakpoint = this.breakpointManager.getBreakpoint(uri, position!.lineNumber);
|
|
440
|
-
// 更新当前选中的断点
|
|
441
|
-
if (breakpoint) {
|
|
442
|
-
this.breakpointManager.selectedBreakpoint = {
|
|
443
|
-
breakpoint,
|
|
444
|
-
model,
|
|
445
|
-
};
|
|
446
|
-
}
|
|
447
|
-
|
|
448
415
|
const { selectedBreakpoint } = this;
|
|
449
|
-
|
|
450
416
|
if (selectedBreakpoint) {
|
|
451
417
|
const { openBreakpointView } = selectedBreakpoint.model;
|
|
452
418
|
let defaultContext: TSourceBrekpointProperties = 'condition';
|
|
@@ -468,6 +434,7 @@ export class DebugContribution
|
|
|
468
434
|
}
|
|
469
435
|
},
|
|
470
436
|
isVisible: () => !!this.selectedBreakpoint && !!this.selectedBreakpoint.breakpoint,
|
|
437
|
+
isEnabled: () => !!this.selectedBreakpoint && !!this.selectedBreakpoint.breakpoint,
|
|
471
438
|
});
|
|
472
439
|
commands.registerCommand(DEBUG_COMMANDS.DISABLE_BREAKPOINT, {
|
|
473
440
|
execute: async (position: monaco.Position) => {
|
|
@@ -631,21 +598,11 @@ export class DebugContribution
|
|
|
631
598
|
});
|
|
632
599
|
|
|
633
600
|
registry.registerItem({
|
|
634
|
-
id: DEBUG_COMMANDS.
|
|
635
|
-
command: DEBUG_COMMANDS.
|
|
601
|
+
id: DEBUG_COMMANDS.TOGGLE_BREAKPOINTS.id,
|
|
602
|
+
command: DEBUG_COMMANDS.TOGGLE_BREAKPOINTS.id,
|
|
636
603
|
iconClass: getIcon('deactivate-breakpoints'),
|
|
637
604
|
viewId: DEBUG_BREAKPOINTS_ID,
|
|
638
|
-
tooltip: localize('debug.breakpoint.
|
|
639
|
-
when: CONTEXT_ACTIVE_BREAKPOINTS.equalsTo(true),
|
|
640
|
-
});
|
|
641
|
-
|
|
642
|
-
registry.registerItem({
|
|
643
|
-
id: DEBUG_COMMANDS.ACTIVE_BREAKPOINTS.id,
|
|
644
|
-
command: DEBUG_COMMANDS.ACTIVE_BREAKPOINTS.id,
|
|
645
|
-
iconClass: `${getIcon('activate-breakpoints')} ${breakpointViewStyles.debug_activate_breakpoints_icon}`,
|
|
646
|
-
viewId: DEBUG_BREAKPOINTS_ID,
|
|
647
|
-
tooltip: localize('debug.breakpoint.active'),
|
|
648
|
-
when: CONTEXT_ACTIVE_BREAKPOINTS.equalsTo(false),
|
|
605
|
+
tooltip: localize('debug.breakpoint.toggle'),
|
|
649
606
|
});
|
|
650
607
|
/**
|
|
651
608
|
* end
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
@top_stack_frame_line_bg_color: #ffff6673;
|
|
2
|
-
@dark_top_stack_frame_line_bg_color: #ffff0033;
|
|
3
|
-
@focused_stack_frame_line_bg_color: #cee7ce73;
|
|
4
|
-
@dark_focused_stack_frame_line_bg_color: #7abd7a4d;
|
|
5
|
-
@dark_exception_line_bg_color: #6c2022;
|
|
6
|
-
|
|
7
1
|
.sumi-breakpoint-icon-size {
|
|
8
2
|
background-size: 16px 16px;
|
|
9
3
|
cursor: pointer;
|
|
@@ -79,34 +73,11 @@
|
|
|
79
73
|
}
|
|
80
74
|
|
|
81
75
|
.monaco-editor .view-overlays .sumi-debug-top-stack-frame-line {
|
|
82
|
-
background
|
|
76
|
+
background: #ffff6673;
|
|
83
77
|
}
|
|
84
78
|
|
|
85
79
|
.monaco-editor.vs-dark .view-overlays .sumi-debug-top-stack-frame-line {
|
|
86
|
-
background
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@keyframes slide-out {
|
|
90
|
-
100% {
|
|
91
|
-
background-color: transparent;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.monaco-editor .view-overlays .sumi-focus-breakpoints-stack-frame-line,
|
|
96
|
-
.monaco-editor.vs-dark .view-overlays .sumi-focus-breakpoints-stack-frame-line {
|
|
97
|
-
animation: slide-out 0.3s;
|
|
98
|
-
animation-iteration-count: 1;
|
|
99
|
-
animation-timing-function: ease-in;
|
|
100
|
-
animation-fill-mode: forwards;
|
|
101
|
-
-webkit-animation-fill-mode: forwards;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.monaco-editor .view-overlays .sumi-focus-breakpoints-stack-frame-line {
|
|
105
|
-
background-color: @top_stack_frame_line_bg_color;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.monaco-editor.vs-dark .view-overlays .sumi-focus-breakpoints-stack-frame-line {
|
|
109
|
-
background-color: @dark_top_stack_frame_line_bg_color;
|
|
80
|
+
background: #ffff0033;
|
|
110
81
|
}
|
|
111
82
|
|
|
112
83
|
.monaco-editor .sumi-debug-focused-stack-frame {
|
|
@@ -120,15 +91,15 @@
|
|
|
120
91
|
}
|
|
121
92
|
|
|
122
93
|
.monaco-editor .view-overlays .sumi-debug-focused-stack-frame-line {
|
|
123
|
-
background
|
|
94
|
+
background: #cee7ce73;
|
|
124
95
|
}
|
|
125
96
|
|
|
126
97
|
.monaco-editor.vs-dark .view-overlays .sumi-debug-focused-stack-frame-line {
|
|
127
|
-
background
|
|
98
|
+
background: #7abd7a4d;
|
|
128
99
|
}
|
|
129
100
|
|
|
130
101
|
.monaco-editor.vs-dark .view-overlays .sumi-debug-top-stack-frame-exception-line {
|
|
131
|
-
background-color:
|
|
102
|
+
background-color: #6c2022;
|
|
132
103
|
}
|
|
133
104
|
|
|
134
105
|
.inline-breakpoint-widget.codicon {
|
|
@@ -9,12 +9,17 @@ export class DebugHoverModel extends TreeModel {
|
|
|
9
9
|
static DEFAULT_FLUSH_DELAY = 100;
|
|
10
10
|
|
|
11
11
|
private flushDispatchChangeDelayer = new ThrottledDelayer<void>(DebugHoverModel.DEFAULT_FLUSH_DELAY);
|
|
12
|
+
private onWillUpdateEmitter: Emitter<void> = new Emitter();
|
|
12
13
|
|
|
13
14
|
constructor(@Optional() root: ExpressionContainer) {
|
|
14
15
|
super();
|
|
15
16
|
this.init(root);
|
|
16
17
|
}
|
|
17
18
|
|
|
19
|
+
get onWillUpdate(): Event<void> {
|
|
20
|
+
return this.onWillUpdateEmitter.event;
|
|
21
|
+
}
|
|
22
|
+
|
|
18
23
|
init(root: CompositeTreeNode) {
|
|
19
24
|
this.root = root;
|
|
20
25
|
// 分支更新时通知树刷新, 不是立即更新,而是延迟更新,待树稳定后再更新
|
|
@@ -25,6 +30,7 @@ export class DebugHoverModel extends TreeModel {
|
|
|
25
30
|
this.flushDispatchChangeDelayer.cancel();
|
|
26
31
|
}
|
|
27
32
|
this.flushDispatchChangeDelayer.trigger(async () => {
|
|
33
|
+
await this.onWillUpdateEmitter.fireAndAwait();
|
|
28
34
|
this.dispatchChange();
|
|
29
35
|
});
|
|
30
36
|
});
|
|
@@ -134,6 +134,16 @@ export class DebugHoverTreeModelService {
|
|
|
134
134
|
this.loadingDecoration.removeTarget(target);
|
|
135
135
|
}),
|
|
136
136
|
);
|
|
137
|
+
this.disposableCollection.push(
|
|
138
|
+
this.treeModel!.onWillUpdate(() => {
|
|
139
|
+
// 更新树前更新下选中节点
|
|
140
|
+
if (this.selectedNodes.length !== 0) {
|
|
141
|
+
// 仅处理一下单选情况
|
|
142
|
+
const node = this.treeModel?.root.getTreeNodeByPath(this.selectedNodes[0].path);
|
|
143
|
+
this.selectedDecoration.addTarget(node as ExpressionNode);
|
|
144
|
+
}
|
|
145
|
+
}),
|
|
146
|
+
);
|
|
137
147
|
}
|
|
138
148
|
|
|
139
149
|
async initTreeModel(root: ExpressionVariable) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import debounce from 'lodash/debounce';
|
|
2
2
|
|
|
3
3
|
import { Injector, Injectable, Autowired } from '@opensumi/di';
|
|
4
|
-
import { DomListener, IContextKeyService, IReporterService
|
|
4
|
+
import { DomListener, IContextKeyService, IReporterService } from '@opensumi/ide-core-browser';
|
|
5
5
|
import {
|
|
6
6
|
ICtxMenuRenderer,
|
|
7
7
|
generateMergedCtxMenu,
|
|
@@ -26,7 +26,6 @@ import { BreakpointManager } from '../breakpoint';
|
|
|
26
26
|
import { DebugBreakpoint, isDebugBreakpoint } from '../breakpoint';
|
|
27
27
|
import { DebugDecorator } from '../breakpoint/breakpoint-decoration';
|
|
28
28
|
import { DebugSessionManager } from '../debug-session-manager';
|
|
29
|
-
import { DebugBreakpointsService } from '../view/breakpoints/debug-breakpoints.service';
|
|
30
29
|
|
|
31
30
|
import { DebugBreakpointWidget } from './debug-breakpoint-widget';
|
|
32
31
|
import { DebugHoverWidget } from './debug-hover-widget';
|
|
@@ -48,9 +47,6 @@ export class DebugModel implements IDebugModel {
|
|
|
48
47
|
@Autowired(IDebugSessionManager)
|
|
49
48
|
private debugSessionManager: DebugSessionManager;
|
|
50
49
|
|
|
51
|
-
@Autowired(DebugBreakpointsService)
|
|
52
|
-
private debugBreakpointsService: DebugBreakpointsService;
|
|
53
|
-
|
|
54
50
|
@Autowired(BreakpointManager)
|
|
55
51
|
private breakpointManager: BreakpointManager;
|
|
56
52
|
|
|
@@ -66,9 +62,6 @@ export class DebugModel implements IDebugModel {
|
|
|
66
62
|
@Autowired(IReporterService)
|
|
67
63
|
private readonly reporterService: IReporterService;
|
|
68
64
|
|
|
69
|
-
@Autowired(PreferenceService)
|
|
70
|
-
private readonly preferenceService: PreferenceService;
|
|
71
|
-
|
|
72
65
|
protected frameDecorations: string[] = [];
|
|
73
66
|
protected topFrameRange: monaco.Range | undefined;
|
|
74
67
|
|
|
@@ -122,38 +115,13 @@ export class DebugModel implements IDebugModel {
|
|
|
122
115
|
|
|
123
116
|
async init() {
|
|
124
117
|
const model = this.editor.getModel()!;
|
|
125
|
-
let timer: number | undefined;
|
|
126
118
|
this._uri = new URI(model.uri.toString());
|
|
127
119
|
this.decorator = new DebugDecorator();
|
|
128
|
-
|
|
129
120
|
this.toDispose.pushAll([
|
|
130
121
|
this.breakpointWidget,
|
|
131
122
|
this.editor.onKeyDown(() => this.debugHoverWidget.hide({ immediate: false })),
|
|
132
123
|
this.editor.onDidChangeModelContent(() => this.renderFrames()),
|
|
133
124
|
this.debugSessionManager.onDidChange(() => this.renderFrames()),
|
|
134
|
-
this.debugBreakpointsService.onDidFocusedBreakpoints(({ range }) => {
|
|
135
|
-
const enableHint = this.preferenceService.getValid('debug.breakpoint.editorHint', true);
|
|
136
|
-
|
|
137
|
-
if (!enableHint) {
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
this.renderFrames([
|
|
142
|
-
{
|
|
143
|
-
options: options.FOCUS_BREAKPOINTS_STACK_FRAME_DECORATION,
|
|
144
|
-
range,
|
|
145
|
-
},
|
|
146
|
-
]);
|
|
147
|
-
|
|
148
|
-
if (timer) {
|
|
149
|
-
clearTimeout(timer);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
timer = window.setTimeout(() => {
|
|
153
|
-
this.renderFrames();
|
|
154
|
-
clearTimeout(timer);
|
|
155
|
-
}, 300);
|
|
156
|
-
}),
|
|
157
125
|
this.editor.getModel()!.onDidChangeContent(() => this.updateBreakpoints()),
|
|
158
126
|
this.editor.onDidChangeModel(() => {
|
|
159
127
|
this.closeBreakpointView();
|
|
@@ -188,14 +156,14 @@ export class DebugModel implements IDebugModel {
|
|
|
188
156
|
* @type {*}
|
|
189
157
|
* @memberof DebugModel
|
|
190
158
|
*/
|
|
191
|
-
protected readonly renderFrames: any = debounce((
|
|
159
|
+
protected readonly renderFrames: any = debounce(() => {
|
|
192
160
|
if (this.toDispose.disposed) {
|
|
193
161
|
return;
|
|
194
162
|
}
|
|
195
163
|
if (this.editor.getModel()?.uri.toString() !== this._uri.toString()) {
|
|
196
164
|
return;
|
|
197
165
|
}
|
|
198
|
-
const decorations = this.createFrameDecorations()
|
|
166
|
+
const decorations = this.createFrameDecorations();
|
|
199
167
|
this.frameDecorations = this.deltaDecorations(this.frameDecorations, decorations);
|
|
200
168
|
}, 100);
|
|
201
169
|
|
|
@@ -28,13 +28,6 @@ export const TOP_STACK_FRAME_DECORATION: monaco.editor.IModelDecorationOptions =
|
|
|
28
28
|
stickiness: STICKINESS,
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
export const FOCUS_BREAKPOINTS_STACK_FRAME_DECORATION: monaco.editor.IModelDecorationOptions = {
|
|
32
|
-
description: 'focus-breakpoints-stack-frame-line',
|
|
33
|
-
isWholeLine: true,
|
|
34
|
-
className: 'sumi-focus-breakpoints-stack-frame-line',
|
|
35
|
-
stickiness: STICKINESS,
|
|
36
|
-
};
|
|
37
|
-
|
|
38
31
|
export const TOP_STACK_FRAME_EXCEPTION_DECORATION: monaco.editor.IModelDecorationOptions = {
|
|
39
32
|
description: 'debug-top-stack-frame-exception-line',
|
|
40
33
|
isWholeLine: true,
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.debug_breakpoints_disabled {
|
|
22
|
-
opacity: 0.
|
|
22
|
+
opacity: 0.7;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.debug_breakpoints_item {
|
|
@@ -28,19 +28,16 @@
|
|
|
28
28
|
align-items: center;
|
|
29
29
|
cursor: pointer;
|
|
30
30
|
flex-direction: row;
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
.debug_remove_breakpoints_icon {
|
|
32
|
+
color: #c5c5c5;
|
|
33
33
|
display: none;
|
|
34
|
+
pointer-events: none;
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
-
.debug_remove_breakpoints_icon,
|
|
37
|
-
.debug_edit_breakpoints_icon {
|
|
38
|
-
margin-right: 6px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
36
|
&:hover {
|
|
42
|
-
.
|
|
43
|
-
display:
|
|
37
|
+
.debug_remove_breakpoints_icon {
|
|
38
|
+
display: inline-block;
|
|
39
|
+
pointer-events: all;
|
|
40
|
+
margin-right: 6px;
|
|
44
41
|
}
|
|
45
42
|
.debug_breakpoints_badge {
|
|
46
43
|
display: none;
|
|
@@ -93,56 +90,3 @@
|
|
|
93
90
|
margin-left: 4px;
|
|
94
91
|
flex: 1;
|
|
95
92
|
}
|
|
96
|
-
|
|
97
|
-
.debug_breakpoints_item_tree_node {
|
|
98
|
-
padding-left: 27px !important;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.debug_activate_breakpoints_icon {
|
|
102
|
-
color: var(--debugIcon-activateBreakpointsForeground);
|
|
103
|
-
&:hover {
|
|
104
|
-
color: var(--debugIcon-activateBreakpointsForeground);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.debug_breakpoints_file_item {
|
|
109
|
-
display: flex;
|
|
110
|
-
align-items: center;
|
|
111
|
-
justify-content: space-between;
|
|
112
|
-
|
|
113
|
-
.file_item_control {
|
|
114
|
-
display: flex;
|
|
115
|
-
align-items: center;
|
|
116
|
-
min-width: 18px;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.file_item_control_right {
|
|
120
|
-
.close_icon {
|
|
121
|
-
display: none;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.file_item_checkbox {
|
|
126
|
-
display: none;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.file_item_icon {
|
|
130
|
-
display: block;
|
|
131
|
-
margin-left: -2px;
|
|
132
|
-
margin-right: 4px;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&:hover {
|
|
136
|
-
.file_item_checkbox {
|
|
137
|
-
display: inherit;
|
|
138
|
-
}
|
|
139
|
-
.file_item_icon {
|
|
140
|
-
display: none;
|
|
141
|
-
}
|
|
142
|
-
.close_icon {
|
|
143
|
-
display: inherit;
|
|
144
|
-
pointer-events: all;
|
|
145
|
-
margin-right: 6px;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
@@ -10,7 +10,6 @@ import {
|
|
|
10
10
|
Schemes,
|
|
11
11
|
Emitter,
|
|
12
12
|
Event,
|
|
13
|
-
IRange,
|
|
14
13
|
} from '@opensumi/ide-core-browser';
|
|
15
14
|
import { LabelService } from '@opensumi/ide-core-browser/lib/services';
|
|
16
15
|
import { ICodeEditor, EditorCollectionService, getSimpleEditorOptions } from '@opensumi/ide-editor';
|
|
@@ -67,9 +66,6 @@ export class DebugBreakpointsService extends WithEventBus {
|
|
|
67
66
|
readonly onDidChangeBreakpointsTreeNode: Event<Map<string, BreakpointsTreeNode[]>> =
|
|
68
67
|
this._onDidChangeBreakpointsTreeNode.event;
|
|
69
68
|
|
|
70
|
-
private readonly _onDidFocusedBreakpoints = new Emitter<{ uri: URI; range: IRange }>();
|
|
71
|
-
readonly onDidFocusedBreakpoints: Event<{ uri: URI; range: IRange }> = this._onDidFocusedBreakpoints.event;
|
|
72
|
-
|
|
73
69
|
private _inputEditor: ICodeEditor;
|
|
74
70
|
|
|
75
71
|
public get inputEditor(): ICodeEditor {
|
|
@@ -91,10 +87,6 @@ export class DebugBreakpointsService extends WithEventBus {
|
|
|
91
87
|
this.init();
|
|
92
88
|
}
|
|
93
89
|
|
|
94
|
-
public launchFocusedBreakpoints(data: { uri: URI; range: IRange }): void {
|
|
95
|
-
this._onDidFocusedBreakpoints.fire(data);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
90
|
async init() {
|
|
99
91
|
await this.updateRoots();
|
|
100
92
|
this.workspaceService.onWorkspaceChanged(async () => {
|