@codingame/monaco-vscode-debug-service-override 4.5.1 → 5.0.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 (43) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.js +2 -2
  3. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +140 -177
  4. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +260 -531
  5. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +34 -52
  6. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +44 -71
  7. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +116 -120
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +8 -11
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +81 -140
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +73 -76
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +30 -30
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugMemory.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +17 -49
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +143 -135
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +220 -177
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +9 -17
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +70 -111
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +84 -65
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +85 -57
  20. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +50 -75
  21. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +13 -29
  22. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +22 -51
  23. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +52 -78
  24. package/vscode/src/vs/workbench/contrib/debug/browser/media/debug.contribution.css.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/debug/browser/media/debugViewlet.css.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +60 -76
  27. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +29 -54
  28. package/vscode/src/vs/workbench/contrib/debug/browser/replFilter.js +4 -1
  29. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +42 -55
  30. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +17 -16
  31. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +84 -110
  32. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +50 -88
  33. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +60 -60
  34. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +14 -28
  35. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +12 -15
  36. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +71 -146
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugStorage.js +1 -0
  38. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +92 -111
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableCommands.js +5 -12
  40. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +42 -22
  41. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +0 -1042
  42. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +0 -116
  43. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +0 -87
@@ -23,25 +23,18 @@ import { getEvaluatableExpressionAtPosition } from 'vscode/vscode/vs/workbench/c
23
23
  import { DisassemblyViewInput } from 'vscode/vscode/vs/workbench/contrib/debug/common/disassemblyViewInput';
24
24
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
25
25
 
26
+ const _moduleId = "vs/workbench/contrib/debug/browser/debugEditorActions";
26
27
  class ToggleBreakpointAction extends Action2 {
27
28
  constructor() {
28
29
  super({
29
30
  id: 'editor.debug.action.toggleBreakpoint',
30
31
  title: {
31
- ...( localize2WithPath(
32
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
33
- 'toggleBreakpointAction',
34
- "Debug: Toggle Breakpoint"
35
- )),
36
- mnemonicTitle: ( localizeWithPath(
37
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
38
- { key: 'miToggleBreakpoint', comment: ['&& denotes a mnemonic'] },
39
- "Toggle &&Breakpoint"
40
- )),
32
+ ...( localize2WithPath(_moduleId, 0, "Debug: Toggle Breakpoint")),
33
+ mnemonicTitle: ( localizeWithPath(_moduleId, 1, "Toggle &&Breakpoint")),
41
34
  },
42
35
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
43
36
  keybinding: {
44
- when: ( ContextKeyExpr.or(EditorContextKeys.editorTextFocus, CONTEXT_DISASSEMBLY_VIEW_FOCUS)),
37
+ when: ( (ContextKeyExpr.or(EditorContextKeys.editorTextFocus, CONTEXT_DISASSEMBLY_VIEW_FOCUS))),
45
38
  primary: 67 ,
46
39
  weight: 100
47
40
  },
@@ -76,16 +69,18 @@ class ToggleBreakpointAction extends Action2 {
76
69
  if (editor?.hasModel()) {
77
70
  const modelUri = editor.getModel().uri;
78
71
  const canSet = debugService.canSetBreakpointsIn(editor.getModel());
79
- const lineNumbers = [...( new Set(( editor.getSelections().map(s => s.getPosition().lineNumber))))];
80
- await Promise.all(( lineNumbers.map(async (line) => {
72
+ const lineNumbers = [...( (new Set(
73
+ (editor.getSelections().map(s => s.getPosition().lineNumber))
74
+ )))];
75
+ await Promise.all(( (lineNumbers.map(async (line) => {
81
76
  const bps = debugService.getModel().getBreakpoints({ lineNumber: line, uri: modelUri });
82
77
  if (bps.length) {
83
- await Promise.all(( bps.map(bp => debugService.removeBreakpoints(bp.getId()))));
78
+ await Promise.all(( (bps.map(bp => debugService.removeBreakpoints(bp.getId())))));
84
79
  }
85
80
  else if (canSet) {
86
81
  await debugService.addBreakpoints(modelUri, [{ lineNumber: line }]);
87
82
  }
88
- })));
83
+ }))));
89
84
  }
90
85
  }
91
86
  }
@@ -93,20 +88,12 @@ class ConditionalBreakpointAction extends EditorAction {
93
88
  constructor() {
94
89
  super({
95
90
  id: 'editor.debug.action.conditionalBreakpoint',
96
- label: ( localizeWithPath(
97
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
98
- 'conditionalBreakpointEditorAction',
99
- "Debug: Add Conditional Breakpoint..."
100
- )),
91
+ label: ( localizeWithPath(_moduleId, 2, "Debug: Add Conditional Breakpoint...")),
101
92
  alias: 'Debug: Add Conditional Breakpoint...',
102
93
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
103
94
  menuOpts: {
104
95
  menuId: MenuId.MenubarNewBreakpointMenu,
105
- title: ( localizeWithPath(
106
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
107
- { key: 'miConditionalBreakpoint', comment: ['&& denotes a mnemonic'] },
108
- "&&Conditional Breakpoint..."
109
- )),
96
+ title: ( localizeWithPath(_moduleId, 3, "&&Conditional Breakpoint...")),
110
97
  group: '1_breakpoints',
111
98
  order: 1,
112
99
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -125,21 +112,13 @@ class LogPointAction extends EditorAction {
125
112
  constructor() {
126
113
  super({
127
114
  id: 'editor.debug.action.addLogPoint',
128
- label: ( localizeWithPath(
129
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
130
- 'logPointEditorAction',
131
- "Debug: Add Logpoint..."
132
- )),
115
+ label: ( localizeWithPath(_moduleId, 4, "Debug: Add Logpoint...")),
133
116
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
134
117
  alias: 'Debug: Add Logpoint...',
135
118
  menuOpts: [
136
119
  {
137
120
  menuId: MenuId.MenubarNewBreakpointMenu,
138
- title: ( localizeWithPath(
139
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
140
- { key: 'miLogPoint', comment: ['&& denotes a mnemonic'] },
141
- "&&Logpoint..."
142
- )),
121
+ title: ( localizeWithPath(_moduleId, 5, "&&Logpoint...")),
143
122
  group: '1_breakpoints',
144
123
  order: 4,
145
124
  when: CONTEXT_DEBUGGERS_AVAILABLE,
@@ -159,21 +138,13 @@ class TriggerByBreakpointAction extends EditorAction {
159
138
  constructor() {
160
139
  super({
161
140
  id: 'editor.debug.action.triggerByBreakpoint',
162
- label: ( localizeWithPath(
163
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
164
- 'triggerByBreakpointEditorAction',
165
- "Debug: Add Triggered Breakpoint..."
166
- )),
141
+ label: ( localizeWithPath(_moduleId, 6, "Debug: Add Triggered Breakpoint...")),
167
142
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
168
143
  alias: 'Debug: Triggered Breakpoint...',
169
144
  menuOpts: [
170
145
  {
171
146
  menuId: MenuId.MenubarNewBreakpointMenu,
172
- title: ( localizeWithPath(
173
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
174
- { key: 'miTriggerByBreakpoint', comment: ['&& denotes a mnemonic'] },
175
- "&&Triggered Breakpoint..."
176
- )),
147
+ title: ( localizeWithPath(_moduleId, 7, "&&Triggered Breakpoint...")),
177
148
  group: '1_breakpoints',
178
149
  order: 4,
179
150
  when: CONTEXT_DEBUGGERS_AVAILABLE,
@@ -193,20 +164,12 @@ class EditBreakpointAction extends EditorAction {
193
164
  constructor() {
194
165
  super({
195
166
  id: 'editor.debug.action.editBreakpoint',
196
- label: ( localizeWithPath(
197
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
198
- 'EditBreakpointEditorAction',
199
- "Debug: Edit Breakpoint"
200
- )),
167
+ label: ( localizeWithPath(_moduleId, 8, "Debug: Edit Breakpoint")),
201
168
  alias: 'Debug: Edit Existing Breakpoint',
202
169
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
203
170
  menuOpts: {
204
171
  menuId: MenuId.MenubarNewBreakpointMenu,
205
- title: ( localizeWithPath(
206
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
207
- { key: 'miEditBreakpoint', comment: ['&& denotes a mnemonic'] },
208
- "&&Edit Breakpoint"
209
- )),
172
+ title: ( localizeWithPath(_moduleId, 9, "&&Edit Breakpoint")),
210
173
  group: '1_breakpoints',
211
174
  order: 1,
212
175
  when: CONTEXT_DEBUGGERS_AVAILABLE
@@ -224,12 +187,12 @@ class EditBreakpointAction extends EditorAction {
224
187
  if (lineBreakpoints.length === 0) {
225
188
  return;
226
189
  }
227
- const breakpointDistances = ( lineBreakpoints.map(b => {
190
+ const breakpointDistances = ( (lineBreakpoints.map(b => {
228
191
  if (!b.column) {
229
192
  return position.column;
230
193
  }
231
194
  return Math.abs(b.column - position.column);
232
- }));
195
+ })));
233
196
  const closestBreakpointIndex = breakpointDistances.indexOf(Math.min(...breakpointDistances));
234
197
  const closestBreakpoint = lineBreakpoints[closestBreakpointIndex];
235
198
  editor.getContribution(BREAKPOINT_EDITOR_CONTRIBUTION_ID)?.showBreakpointWidget(closestBreakpoint.lineNumber, closestBreakpoint.column);
@@ -241,16 +204,8 @@ class OpenDisassemblyViewAction extends Action2 {
241
204
  super({
242
205
  id: OpenDisassemblyViewAction.ID,
243
206
  title: {
244
- ...( localize2WithPath(
245
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
246
- 'openDisassemblyView',
247
- "Open Disassembly View"
248
- )),
249
- mnemonicTitle: ( localizeWithPath(
250
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
251
- { key: 'miDisassemblyView', comment: ['&& denotes a mnemonic'] },
252
- "&&DisassemblyView"
253
- )),
207
+ ...( localize2WithPath(_moduleId, 10, "Open Disassembly View")),
208
+ mnemonicTitle: ( localizeWithPath(_moduleId, 11, "&&DisassemblyView")),
254
209
  },
255
210
  precondition: CONTEXT_FOCUSED_STACK_FRAME_HAS_INSTRUCTION_POINTER_REFERENCE,
256
211
  menu: [
@@ -258,17 +213,33 @@ class OpenDisassemblyViewAction extends Action2 {
258
213
  id: MenuId.EditorContext,
259
214
  group: 'debug',
260
215
  order: 5,
261
- when: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( PanelFocusContext.toNegated()), ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')), EditorContextKeys.editorTextFocus, CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED, CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST))
216
+ when: ( (ContextKeyExpr.and(
217
+ CONTEXT_IN_DEBUG_MODE,
218
+ (PanelFocusContext.toNegated()),
219
+ (CONTEXT_DEBUG_STATE.isEqualTo('stopped')),
220
+ EditorContextKeys.editorTextFocus,
221
+ CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED,
222
+ CONTEXT_LANGUAGE_SUPPORTS_DISASSEMBLE_REQUEST
223
+ )))
262
224
  },
263
225
  {
264
226
  id: MenuId.DebugCallStackContext,
265
227
  group: 'z_commands',
266
228
  order: 50,
267
- when: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')), ( CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')), CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED))
229
+ when: ( (ContextKeyExpr.and(
230
+ CONTEXT_IN_DEBUG_MODE,
231
+ (CONTEXT_DEBUG_STATE.isEqualTo('stopped')),
232
+ (CONTEXT_CALLSTACK_ITEM_TYPE.isEqualTo('stackFrame')),
233
+ CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED
234
+ )))
268
235
  },
269
236
  {
270
237
  id: MenuId.CommandPalette,
271
- when: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')), CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED))
238
+ when: ( (ContextKeyExpr.and(
239
+ CONTEXT_IN_DEBUG_MODE,
240
+ (CONTEXT_DEBUG_STATE.isEqualTo('stopped')),
241
+ CONTEXT_DISASSEMBLE_REQUEST_SUPPORTED
242
+ )))
272
243
  }
273
244
  ]
274
245
  });
@@ -285,16 +256,11 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
285
256
  super({
286
257
  id: ToggleDisassemblyViewSourceCodeAction.ID,
287
258
  title: {
288
- ...( localize2WithPath(
289
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
290
- 'toggleDisassemblyViewSourceCode',
291
- "Toggle Source Code in Disassembly View"
292
- )),
293
- mnemonicTitle: ( localizeWithPath(
294
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
295
- { key: 'mitogglesource', comment: ['&& denotes a mnemonic'] },
296
- "&&ToggleSource"
297
- )),
259
+ ...( localize2WithPath(_moduleId, 12, "Toggle Source Code in Disassembly View")),
260
+ mnemonicTitle: ( localizeWithPath(_moduleId, 13, "&&ToggleSource")),
261
+ },
262
+ metadata: {
263
+ description: ( localize2WithPath(_moduleId, 14, 'Shows or hides source code in disassembly'))
298
264
  },
299
265
  f1: true,
300
266
  });
@@ -309,17 +275,17 @@ class ToggleDisassemblyViewSourceCodeAction extends Action2 {
309
275
  }
310
276
  class RunToCursorAction extends EditorAction {
311
277
  static { this.ID = 'editor.debug.action.runToCursor'; }
312
- static { this.LABEL = ( localize2WithPath(
313
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
314
- 'runToCursor',
315
- "Run to Cursor"
316
- )); }
278
+ static { this.LABEL = ( localize2WithPath(_moduleId, 15, "Run to Cursor")); }
317
279
  constructor() {
318
280
  super({
319
281
  id: RunToCursorAction.ID,
320
282
  label: RunToCursorAction.LABEL.value,
321
283
  alias: 'Debug: Run to Cursor',
322
- precondition: ( ContextKeyExpr.and(CONTEXT_DEBUGGERS_AVAILABLE, ( PanelFocusContext.toNegated()), ( ContextKeyExpr.or(EditorContextKeys.editorTextFocus, CONTEXT_DISASSEMBLY_VIEW_FOCUS)))),
284
+ precondition: ( (ContextKeyExpr.and(
285
+ CONTEXT_DEBUGGERS_AVAILABLE,
286
+ (PanelFocusContext.toNegated()),
287
+ (ContextKeyExpr.or(EditorContextKeys.editorTextFocus, CONTEXT_DISASSEMBLY_VIEW_FOCUS))
288
+ ))),
323
289
  contextMenuOpts: {
324
290
  group: 'debug',
325
291
  order: 2,
@@ -346,17 +312,13 @@ class RunToCursorAction extends EditorAction {
346
312
  }
347
313
  class SelectionToReplAction extends EditorAction {
348
314
  static { this.ID = 'editor.debug.action.selectionToRepl'; }
349
- static { this.LABEL = ( localize2WithPath(
350
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
351
- 'evaluateInDebugConsole',
352
- "Evaluate in Debug Console"
353
- )); }
315
+ static { this.LABEL = ( localize2WithPath(_moduleId, 16, "Evaluate in Debug Console")); }
354
316
  constructor() {
355
317
  super({
356
318
  id: SelectionToReplAction.ID,
357
319
  label: SelectionToReplAction.LABEL.value,
358
320
  alias: 'Debug: Evaluate in Console',
359
- precondition: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, EditorContextKeys.editorTextFocus)),
321
+ precondition: ( (ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, EditorContextKeys.editorTextFocus))),
360
322
  contextMenuOpts: {
361
323
  group: 'debug',
362
324
  order: 0
@@ -385,17 +347,13 @@ class SelectionToReplAction extends EditorAction {
385
347
  }
386
348
  class SelectionToWatchExpressionsAction extends EditorAction {
387
349
  static { this.ID = 'editor.debug.action.selectionToWatch'; }
388
- static { this.LABEL = ( localize2WithPath(
389
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
390
- 'addToWatch',
391
- "Add to Watch"
392
- )); }
350
+ static { this.LABEL = ( localize2WithPath(_moduleId, 17, "Add to Watch")); }
393
351
  constructor() {
394
352
  super({
395
353
  id: SelectionToWatchExpressionsAction.ID,
396
354
  label: SelectionToWatchExpressionsAction.LABEL.value,
397
355
  alias: 'Debug: Add to Watch',
398
- precondition: ( ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, EditorContextKeys.editorTextFocus)),
356
+ precondition: ( (ContextKeyExpr.and(CONTEXT_IN_DEBUG_MODE, EditorContextKeys.editorTextFocus))),
399
357
  contextMenuOpts: {
400
358
  group: 'debug',
401
359
  order: 1
@@ -434,11 +392,7 @@ class ShowDebugHoverAction extends EditorAction {
434
392
  constructor() {
435
393
  super({
436
394
  id: 'editor.debug.action.showDebugHover',
437
- label: ( localizeWithPath(
438
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
439
- 'showDebugHover',
440
- "Debug: Show Hover"
441
- )),
395
+ label: ( localizeWithPath(_moduleId, 18, "Debug: Show Hover")),
442
396
  alias: 'Debug: Show Hover',
443
397
  precondition: CONTEXT_IN_DEBUG_MODE,
444
398
  kbOpts: {
@@ -456,24 +410,21 @@ class ShowDebugHoverAction extends EditorAction {
456
410
  return editor.getContribution(EDITOR_CONTRIBUTION_ID)?.showHover(position, true);
457
411
  }
458
412
  }
459
- const NO_TARGETS_MESSAGE = ( localizeWithPath(
460
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
461
- 'editor.debug.action.stepIntoTargets.notAvailable',
462
- "Step targets are not available here"
463
- ));
413
+ const NO_TARGETS_MESSAGE = ( localizeWithPath(_moduleId, 19, "Step targets are not available here"));
464
414
  class StepIntoTargetsAction extends EditorAction {
465
415
  static { this.ID = 'editor.debug.action.stepIntoTargets'; }
466
- static { this.LABEL = ( localizeWithPath(
467
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
468
- { key: 'stepIntoTargets', comment: ['Step Into Targets lets the user step into an exact function he or she is interested in.'] },
469
- "Step Into Target"
470
- )); }
416
+ static { this.LABEL = ( localizeWithPath(_moduleId, 20, "Step Into Target")); }
471
417
  constructor() {
472
418
  super({
473
419
  id: StepIntoTargetsAction.ID,
474
420
  label: StepIntoTargetsAction.LABEL,
475
421
  alias: 'Debug: Step Into Target',
476
- precondition: ( ContextKeyExpr.and(CONTEXT_STEP_INTO_TARGETS_SUPPORTED, CONTEXT_IN_DEBUG_MODE, ( CONTEXT_DEBUG_STATE.isEqualTo('stopped')), EditorContextKeys.editorTextFocus)),
422
+ precondition: ( (ContextKeyExpr.and(
423
+ CONTEXT_STEP_INTO_TARGETS_SUPPORTED,
424
+ CONTEXT_IN_DEBUG_MODE,
425
+ (CONTEXT_DEBUG_STATE.isEqualTo('stopped')),
426
+ EditorContextKeys.editorTextFocus
427
+ ))),
477
428
  contextMenuOpts: {
478
429
  group: 'debug',
479
430
  order: 1.5
@@ -504,8 +455,8 @@ class StepIntoTargetsAction extends EditorAction {
504
455
  for (const target of targets) {
505
456
  if (target.line) {
506
457
  positionalTargets.push({
507
- start: ( new Position(target.line, target.column || 1)),
508
- end: target.endLine ? ( new Position(target.endLine, target.endColumn || 1)) : undefined,
458
+ start: ( (new Position(target.line, target.column || 1))),
459
+ end: target.endLine ? ( (new Position(target.endLine, target.endColumn || 1))) : undefined,
509
460
  target
510
461
  });
511
462
  }
@@ -526,13 +477,15 @@ class StepIntoTargetsAction extends EditorAction {
526
477
  contextMenuService.showContextMenu({
527
478
  getAnchor: () => ({ x, y }),
528
479
  getActions: () => {
529
- return ( targets.map(t => ( new Action(
530
- `stepIntoTarget:${t.id}`,
531
- t.label,
532
- undefined,
533
- true,
534
- () => session.stepIn(frame.thread.threadId, t.id)
535
- ))));
480
+ return (
481
+ (targets.map(t => ( (new Action(
482
+ `stepIntoTarget:${t.id}`,
483
+ t.label,
484
+ undefined,
485
+ true,
486
+ () => session.stepIn(frame.thread.threadId, t.id)
487
+ )))))
488
+ );
536
489
  }
537
490
  });
538
491
  }
@@ -556,8 +509,8 @@ class GoToBreakpointAction extends EditorAction {
556
509
  if (!moveBreakpoint) {
557
510
  moveBreakpoint =
558
511
  this.isNext
559
- ? allEnabledBreakpoints.filter(bp => ( bp.uri.toString()) > ( currentUri.toString())).shift()
560
- : allEnabledBreakpoints.filter(bp => ( bp.uri.toString()) < ( currentUri.toString())).pop();
512
+ ? allEnabledBreakpoints.filter(bp => ( (bp.uri.toString())) > ( (currentUri.toString()))).shift()
513
+ : allEnabledBreakpoints.filter(bp => ( (bp.uri.toString())) < ( (currentUri.toString()))).pop();
561
514
  }
562
515
  if (!moveBreakpoint && allEnabledBreakpoints.length) {
563
516
  moveBreakpoint = this.isNext ? allEnabledBreakpoints[0] : allEnabledBreakpoints[allEnabledBreakpoints.length - 1];
@@ -572,11 +525,7 @@ class GoToNextBreakpointAction extends GoToBreakpointAction {
572
525
  constructor() {
573
526
  super(true, {
574
527
  id: 'editor.debug.action.goToNextBreakpoint',
575
- label: ( localizeWithPath(
576
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
577
- 'goToNextBreakpoint',
578
- "Debug: Go to Next Breakpoint"
579
- )),
528
+ label: ( localizeWithPath(_moduleId, 21, "Debug: Go to Next Breakpoint")),
580
529
  alias: 'Debug: Go to Next Breakpoint',
581
530
  precondition: CONTEXT_DEBUGGERS_AVAILABLE
582
531
  });
@@ -586,11 +535,7 @@ class GoToPreviousBreakpointAction extends GoToBreakpointAction {
586
535
  constructor() {
587
536
  super(false, {
588
537
  id: 'editor.debug.action.goToPreviousBreakpoint',
589
- label: ( localizeWithPath(
590
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
591
- 'goToPreviousBreakpoint',
592
- "Debug: Go to Previous Breakpoint"
593
- )),
538
+ label: ( localizeWithPath(_moduleId, 22, "Debug: Go to Previous Breakpoint")),
594
539
  alias: 'Debug: Go to Previous Breakpoint',
595
540
  precondition: CONTEXT_DEBUGGERS_AVAILABLE
596
541
  });
@@ -600,11 +545,7 @@ class CloseExceptionWidgetAction extends EditorAction {
600
545
  constructor() {
601
546
  super({
602
547
  id: 'editor.debug.action.closeExceptionWidget',
603
- label: ( localizeWithPath(
604
- 'vs/workbench/contrib/debug/browser/debugEditorActions',
605
- 'closeExceptionWidget',
606
- "Close Exception Widget"
607
- )),
548
+ label: ( localizeWithPath(_moduleId, 23, "Close Exception Widget")),
608
549
  alias: 'Close Exception Widget',
609
550
  precondition: CONTEXT_EXCEPTION_WIDGET_VISIBLE,
610
551
  kbOpts: {