@theia/debug 1.19.0 → 1.20.0
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/console/debug-console-contribution.d.ts +0 -1
- package/lib/browser/console/debug-console-contribution.d.ts.map +1 -1
- package/lib/browser/console/debug-console-contribution.js +3 -4
- package/lib/browser/console/debug-console-contribution.js.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.d.ts +1 -1
- package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
- package/lib/browser/debug-frontend-application-contribution.js +78 -77
- package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
- package/lib/browser/debug-preferences.js +7 -7
- package/lib/browser/debug-preferences.js.map +1 -1
- package/lib/browser/debug-prefix-configuration.d.ts.map +1 -1
- package/lib/browser/debug-prefix-configuration.js +2 -2
- package/lib/browser/debug-prefix-configuration.js.map +1 -1
- package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -1
- package/lib/browser/model/debug-function-breakpoint.js +4 -3
- package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
- package/lib/browser/preferences/launch-preferences.d.ts.map +1 -1
- package/lib/browser/preferences/launch-preferences.js +1 -1
- package/lib/browser/preferences/launch-preferences.js.map +1 -1
- package/lib/browser/view/debug-breakpoints-widget.js +1 -1
- package/lib/browser/view/debug-breakpoints-widget.js.map +1 -1
- package/lib/browser/view/debug-configuration-widget.js +5 -5
- package/lib/browser/view/debug-configuration-widget.js.map +1 -1
- package/lib/browser/view/debug-stack-frames-widget.js +1 -1
- package/lib/browser/view/debug-stack-frames-widget.js.map +1 -1
- package/lib/browser/view/debug-toolbar-widget.js +8 -8
- package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
- package/lib/browser/view/debug-variables-widget.js +1 -1
- package/lib/browser/view/debug-variables-widget.js.map +1 -1
- package/lib/browser/view/debug-watch-widget.js +1 -1
- package/lib/browser/view/debug-watch-widget.js.map +1 -1
- package/lib/browser/view/debug-widget.d.ts.map +1 -1
- package/lib/browser/view/debug-widget.js +1 -1
- package/lib/browser/view/debug-widget.js.map +1 -1
- package/package.json +17 -17
- package/src/browser/console/debug-console-contribution.tsx +3 -4
- package/src/browser/debug-frontend-application-contribution.ts +78 -77
- package/src/browser/debug-preferences.ts +7 -7
- package/src/browser/debug-prefix-configuration.ts +3 -3
- package/src/browser/model/debug-function-breakpoint.tsx +4 -3
- package/src/browser/preferences/launch-preferences.ts +1 -4
- package/src/browser/view/debug-breakpoints-widget.ts +1 -1
- package/src/browser/view/debug-configuration-widget.tsx +5 -5
- package/src/browser/view/debug-stack-frames-widget.ts +1 -1
- package/src/browser/view/debug-toolbar-widget.tsx +8 -8
- package/src/browser/view/debug-variables-widget.ts +1 -1
- package/src/browser/view/debug-watch-widget.ts +1 -1
- package/src/browser/view/debug-widget.ts +1 -1
|
@@ -59,13 +59,13 @@ export class DebugToolBar extends ReactWidget {
|
|
|
59
59
|
const { state } = this.model;
|
|
60
60
|
return <React.Fragment>
|
|
61
61
|
{this.renderContinue()}
|
|
62
|
-
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOver} label={nls.
|
|
62
|
+
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOver} label={nls.localizeByDefault('Step Over')}
|
|
63
63
|
iconClass='debug-step-over' ref={this.setStepRef} />
|
|
64
|
-
<DebugAction enabled={state === DebugState.Stopped} run={this.stepIn} label={nls.
|
|
64
|
+
<DebugAction enabled={state === DebugState.Stopped} run={this.stepIn} label={nls.localizeByDefault('Step Into')}
|
|
65
65
|
iconClass='debug-step-into' />
|
|
66
|
-
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOut} label={nls.
|
|
66
|
+
<DebugAction enabled={state === DebugState.Stopped} run={this.stepOut} label={nls.localizeByDefault('Step Out')}
|
|
67
67
|
iconClass='debug-step-out' />
|
|
68
|
-
<DebugAction enabled={state !== DebugState.Inactive} run={this.restart} label={nls.
|
|
68
|
+
<DebugAction enabled={state !== DebugState.Inactive} run={this.restart} label={nls.localizeByDefault('Restart')}
|
|
69
69
|
iconClass='debug-restart' />
|
|
70
70
|
{this.renderStart()}
|
|
71
71
|
</React.Fragment>;
|
|
@@ -73,16 +73,16 @@ export class DebugToolBar extends ReactWidget {
|
|
|
73
73
|
protected renderStart(): React.ReactNode {
|
|
74
74
|
const { state } = this.model;
|
|
75
75
|
if (state === DebugState.Inactive && this.model.sessionCount === 1) {
|
|
76
|
-
return <DebugAction run={this.start} label={nls.
|
|
76
|
+
return <DebugAction run={this.start} label={nls.localizeByDefault('Start')} iconClass='debug-start' />;
|
|
77
77
|
}
|
|
78
|
-
return <DebugAction enabled={state !== DebugState.Inactive} run={this.stop} label={nls.
|
|
78
|
+
return <DebugAction enabled={state !== DebugState.Inactive} run={this.stop} label={nls.localizeByDefault('Stop')} iconClass='debug-stop' />;
|
|
79
79
|
}
|
|
80
80
|
protected renderContinue(): React.ReactNode {
|
|
81
81
|
const { state } = this.model;
|
|
82
82
|
if (state === DebugState.Stopped) {
|
|
83
|
-
return <DebugAction run={this.continue} label={nls.
|
|
83
|
+
return <DebugAction run={this.continue} label={nls.localizeByDefault('Continue')} iconClass='debug-continue' />;
|
|
84
84
|
}
|
|
85
|
-
return <DebugAction enabled={state === DebugState.Running} run={this.pause} label={nls.
|
|
85
|
+
return <DebugAction enabled={state === DebugState.Running} run={this.pause} label={nls.localizeByDefault('Pause')} iconClass='debug-pause' />;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
protected start = () => this.model.start();
|
|
@@ -52,7 +52,7 @@ export class DebugVariablesWidget extends SourceTreeWidget {
|
|
|
52
52
|
protected init(): void {
|
|
53
53
|
super.init();
|
|
54
54
|
this.id = 'debug:variables:' + this.viewModel.id;
|
|
55
|
-
this.title.label = nls.
|
|
55
|
+
this.title.label = nls.localizeByDefault('Variables');
|
|
56
56
|
this.toDispose.push(this.variables);
|
|
57
57
|
this.source = this.variables;
|
|
58
58
|
}
|
|
@@ -52,7 +52,7 @@ export class DebugWatchWidget extends SourceTreeWidget {
|
|
|
52
52
|
protected init(): void {
|
|
53
53
|
super.init();
|
|
54
54
|
this.id = 'debug:watch:' + this.viewModel.id;
|
|
55
|
-
this.title.label = nls.
|
|
55
|
+
this.title.label = nls.localizeByDefault('Watch');
|
|
56
56
|
this.toDispose.push(this.variables);
|
|
57
57
|
this.source = this.variables;
|
|
58
58
|
}
|
|
@@ -39,7 +39,7 @@ export class DebugWidget extends BaseWidget implements StatefulWidget, Applicati
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
static ID = 'debug';
|
|
42
|
-
static LABEL = nls.
|
|
42
|
+
static LABEL = nls.localizeByDefault('Debug');
|
|
43
43
|
|
|
44
44
|
@inject(DebugViewModel)
|
|
45
45
|
readonly model: DebugViewModel;
|