@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.
Files changed (48) hide show
  1. package/lib/browser/console/debug-console-contribution.d.ts +0 -1
  2. package/lib/browser/console/debug-console-contribution.d.ts.map +1 -1
  3. package/lib/browser/console/debug-console-contribution.js +3 -4
  4. package/lib/browser/console/debug-console-contribution.js.map +1 -1
  5. package/lib/browser/debug-frontend-application-contribution.d.ts +1 -1
  6. package/lib/browser/debug-frontend-application-contribution.d.ts.map +1 -1
  7. package/lib/browser/debug-frontend-application-contribution.js +78 -77
  8. package/lib/browser/debug-frontend-application-contribution.js.map +1 -1
  9. package/lib/browser/debug-preferences.js +7 -7
  10. package/lib/browser/debug-preferences.js.map +1 -1
  11. package/lib/browser/debug-prefix-configuration.d.ts.map +1 -1
  12. package/lib/browser/debug-prefix-configuration.js +2 -2
  13. package/lib/browser/debug-prefix-configuration.js.map +1 -1
  14. package/lib/browser/model/debug-function-breakpoint.d.ts.map +1 -1
  15. package/lib/browser/model/debug-function-breakpoint.js +4 -3
  16. package/lib/browser/model/debug-function-breakpoint.js.map +1 -1
  17. package/lib/browser/preferences/launch-preferences.d.ts.map +1 -1
  18. package/lib/browser/preferences/launch-preferences.js +1 -1
  19. package/lib/browser/preferences/launch-preferences.js.map +1 -1
  20. package/lib/browser/view/debug-breakpoints-widget.js +1 -1
  21. package/lib/browser/view/debug-breakpoints-widget.js.map +1 -1
  22. package/lib/browser/view/debug-configuration-widget.js +5 -5
  23. package/lib/browser/view/debug-configuration-widget.js.map +1 -1
  24. package/lib/browser/view/debug-stack-frames-widget.js +1 -1
  25. package/lib/browser/view/debug-stack-frames-widget.js.map +1 -1
  26. package/lib/browser/view/debug-toolbar-widget.js +8 -8
  27. package/lib/browser/view/debug-toolbar-widget.js.map +1 -1
  28. package/lib/browser/view/debug-variables-widget.js +1 -1
  29. package/lib/browser/view/debug-variables-widget.js.map +1 -1
  30. package/lib/browser/view/debug-watch-widget.js +1 -1
  31. package/lib/browser/view/debug-watch-widget.js.map +1 -1
  32. package/lib/browser/view/debug-widget.d.ts.map +1 -1
  33. package/lib/browser/view/debug-widget.js +1 -1
  34. package/lib/browser/view/debug-widget.js.map +1 -1
  35. package/package.json +17 -17
  36. package/src/browser/console/debug-console-contribution.tsx +3 -4
  37. package/src/browser/debug-frontend-application-contribution.ts +78 -77
  38. package/src/browser/debug-preferences.ts +7 -7
  39. package/src/browser/debug-prefix-configuration.ts +3 -3
  40. package/src/browser/model/debug-function-breakpoint.tsx +4 -3
  41. package/src/browser/preferences/launch-preferences.ts +1 -4
  42. package/src/browser/view/debug-breakpoints-widget.ts +1 -1
  43. package/src/browser/view/debug-configuration-widget.tsx +5 -5
  44. package/src/browser/view/debug-stack-frames-widget.ts +1 -1
  45. package/src/browser/view/debug-toolbar-widget.tsx +8 -8
  46. package/src/browser/view/debug-variables-widget.ts +1 -1
  47. package/src/browser/view/debug-watch-widget.ts +1 -1
  48. 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.localize('vscode/debugCommands/stepOverDebug', 'Step Over')}
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.localize('vscode/debugCommands/stepIntoDebug', 'Step Into')}
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.localize('vscode/debugCommands/stepOutDebug', 'Step Out')}
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.localize('vscode/debugCommands/restartDebug', 'Restart')}
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.localize('vscode/debugCommands/startDebug', 'Start')} iconClass='debug-start' />;
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.localize('vscode/debugCommands/stop', 'Stop')} iconClass='debug-stop' />;
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.localize('vscode/debugCommands/continueDebug', 'Continue')} iconClass='debug-continue' />;
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.localize('vscode/debugCommands/pauseDebug', 'Pause')} iconClass='debug-pause' />;
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.localize('vscode/debug.contribution/variables', 'Variables');
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.localize('vscode/debug.contribution/watch', 'Watch');
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.localize('vscode/settingsLayout/debug', 'Debug');
42
+ static LABEL = nls.localizeByDefault('Debug');
43
43
 
44
44
  @inject(DebugViewModel)
45
45
  readonly model: DebugViewModel;