@codingame/monaco-vscode-debug-service-override 1.83.5 → 1.83.7

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 (47) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +5 -1
  3. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +193 -86
  4. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +44 -10
  5. package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +254 -60
  6. package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +10 -2
  7. package/vscode/src/vs/workbench/contrib/debug/browser/callStackView.js +98 -28
  8. package/vscode/src/vs/workbench/contrib/debug/browser/debug.contribution.js +429 -185
  9. package/vscode/src/vs/workbench/contrib/debug/browser/debugActionViewItems.js +25 -4
  10. package/vscode/src/vs/workbench/contrib/debug/browser/debugAdapterManager.js +62 -11
  11. package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +130 -32
  12. package/vscode/src/vs/workbench/contrib/debug/browser/debugConfigurationManager.js +20 -4
  13. package/vscode/src/vs/workbench/contrib/debug/browser/debugConsoleQuickAccess.js +5 -1
  14. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorActions.js +105 -21
  15. package/vscode/src/vs/workbench/contrib/debug/browser/debugEditorContribution.js +10 -2
  16. package/vscode/src/vs/workbench/contrib/debug/browser/debugHover.js +18 -3
  17. package/vscode/src/vs/workbench/contrib/debug/browser/debugQuickAccess.js +39 -9
  18. package/vscode/src/vs/workbench/contrib/debug/browser/debugService.js +100 -24
  19. package/vscode/src/vs/workbench/contrib/debug/browser/debugSession.js +58 -26
  20. package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +17 -3
  21. package/vscode/src/vs/workbench/contrib/debug/browser/debugStatus.js +12 -3
  22. package/vscode/src/vs/workbench/contrib/debug/browser/debugTaskRunner.js +80 -17
  23. package/vscode/src/vs/workbench/contrib/debug/browser/debugToolBar.js +15 -8
  24. package/vscode/src/vs/workbench/contrib/debug/browser/debugViewlet.js +8 -12
  25. package/vscode/src/vs/workbench/contrib/debug/browser/disassemblyView.js +36 -8
  26. package/vscode/src/vs/workbench/contrib/debug/browser/exceptionWidget.js +24 -13
  27. package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +33 -3
  28. package/vscode/src/vs/workbench/contrib/debug/browser/loadedScriptsView.js +34 -6
  29. package/vscode/src/vs/workbench/contrib/debug/browser/rawDebugSession.js +26 -9
  30. package/vscode/src/vs/workbench/contrib/debug/browser/repl.js +48 -14
  31. package/vscode/src/vs/workbench/contrib/debug/browser/replViewer.js +31 -5
  32. package/vscode/src/vs/workbench/contrib/debug/browser/statusbarColorProvider.js +20 -4
  33. package/vscode/src/vs/workbench/contrib/debug/browser/variablesView.js +40 -9
  34. package/vscode/src/vs/workbench/contrib/debug/browser/watchExpressionsView.js +49 -9
  35. package/vscode/src/vs/workbench/contrib/debug/browser/welcomeView.js +5 -60
  36. package/vscode/src/vs/workbench/contrib/debug/common/debugContentProvider.js +18 -5
  37. package/vscode/src/vs/workbench/contrib/debug/common/debugLifecycle.js +15 -3
  38. package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +32 -22
  39. package/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.js +205 -41
  40. package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +5 -1
  41. package/vscode/src/vs/workbench/contrib/debug/common/debugger.js +51 -10
  42. package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +5 -1
  43. package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +5 -1
  44. package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +5 -1
  45. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +18 -7
  46. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +80 -16
  47. package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +5 -1
@@ -447,11 +447,20 @@ class ExceptionBreakpointsRenderer {
447
447
  renderElement(exceptionBreakpoint, index, data) {
448
448
  data.context = exceptionBreakpoint;
449
449
  data.name.textContent = exceptionBreakpoint.label || `${exceptionBreakpoint.filter} exceptions`;
450
- data.breakpoint.title = exceptionBreakpoint.verified ? (exceptionBreakpoint.description || data.name.textContent) : exceptionBreakpoint.message || localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'unverifiedExceptionBreakpoint', "Unverified Exception Breakpoint");
450
+ data.breakpoint.title = exceptionBreakpoint.verified ? (exceptionBreakpoint.description || data.name.textContent) : exceptionBreakpoint.message || ( localizeWithPath(
451
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
452
+ 'unverifiedExceptionBreakpoint',
453
+ "Unverified Exception Breakpoint"
454
+ ));
451
455
  data.breakpoint.classList.toggle('disabled', !exceptionBreakpoint.verified);
452
456
  data.checkbox.checked = exceptionBreakpoint.enabled;
453
457
  data.condition.textContent = exceptionBreakpoint.condition || '';
454
- data.condition.title = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'expressionCondition', "Expression condition: {0}", exceptionBreakpoint.condition);
458
+ data.condition.title = ( localizeWithPath(
459
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
460
+ 'expressionCondition',
461
+ "Expression condition: {0}",
462
+ exceptionBreakpoint.condition
463
+ ));
455
464
  const primary = [];
456
465
  this.breakpointSupportsCondition.set(exceptionBreakpoint.supportsCondition);
457
466
  this.breakpointItemType.set('exceptionBreakpoint');
@@ -503,7 +512,13 @@ let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
503
512
  data.checkbox.checked = functionBreakpoint.enabled;
504
513
  data.breakpoint.title = message ? message : '';
505
514
  if (functionBreakpoint.condition && functionBreakpoint.hitCondition) {
506
- data.condition.textContent = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'expressionAndHitCount', "Expression: {0} | Hit Count: {1}", functionBreakpoint.condition, functionBreakpoint.hitCondition);
515
+ data.condition.textContent = ( localizeWithPath(
516
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
517
+ 'expressionAndHitCount',
518
+ "Expression: {0} | Hit Count: {1}",
519
+ functionBreakpoint.condition,
520
+ functionBreakpoint.hitCondition
521
+ ));
507
522
  }
508
523
  else {
509
524
  data.condition.textContent = functionBreakpoint.condition || functionBreakpoint.hitCondition || '';
@@ -511,7 +526,11 @@ let FunctionBreakpointsRenderer = class FunctionBreakpointsRenderer {
511
526
  const session = this.debugService.getViewModel().focusedSession;
512
527
  data.breakpoint.classList.toggle('disabled', (session && !session.capabilities.supportsFunctionBreakpoints) || !this.debugService.getModel().areBreakpointsActivated());
513
528
  if (session && !session.capabilities.supportsFunctionBreakpoints) {
514
- data.breakpoint.title = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakpointsNotSupported', "Function breakpoints are not supported by this debug type");
529
+ data.breakpoint.title = ( localizeWithPath(
530
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
531
+ 'functionBreakpointsNotSupported',
532
+ "Function breakpoints are not supported by this debug type"
533
+ ));
515
534
  }
516
535
  const primary = [];
517
536
  this.breakpointSupportsCondition.set(!session || !!session.capabilities.supportsConditionalBreakpoints);
@@ -565,10 +584,14 @@ let DataBreakpointsRenderer = class DataBreakpointsRenderer {
565
584
  const session = this.debugService.getViewModel().focusedSession;
566
585
  data.breakpoint.classList.toggle('disabled', (session && !session.capabilities.supportsDataBreakpoints) || !this.debugService.getModel().areBreakpointsActivated());
567
586
  if (session && !session.capabilities.supportsDataBreakpoints) {
568
- data.breakpoint.title = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'dataBreakpointsNotSupported', "Data breakpoints are not supported by this debug type");
587
+ data.breakpoint.title = ( localizeWithPath(
588
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
589
+ 'dataBreakpointsNotSupported',
590
+ "Data breakpoints are not supported by this debug type"
591
+ ));
569
592
  }
570
593
  if (dataBreakpoint.accessType) {
571
- const accessType = dataBreakpoint.accessType === 'read' ? localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'read', "Read") : dataBreakpoint.accessType === 'write' ? localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'write', "Write") : localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'access', "Access");
594
+ const accessType = dataBreakpoint.accessType === 'read' ? ( localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'read', "Read")) : dataBreakpoint.accessType === 'write' ? ( localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'write', "Write")) : ( localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'access', "Access"));
572
595
  data.accessType.textContent = accessType;
573
596
  }
574
597
  else {
@@ -714,17 +737,41 @@ class FunctionBreakpointInputRenderer {
714
737
  data.checkbox.checked = functionBreakpoint.enabled;
715
738
  data.checkbox.disabled = true;
716
739
  data.inputBox.value = functionBreakpoint.name || '';
717
- let placeholder = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakpointPlaceholder', "Function to break on");
718
- let ariaLabel = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakPointInputAriaLabel', "Type function breakpoint.");
740
+ let placeholder = ( localizeWithPath(
741
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
742
+ 'functionBreakpointPlaceholder',
743
+ "Function to break on"
744
+ ));
745
+ let ariaLabel = ( localizeWithPath(
746
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
747
+ 'functionBreakPointInputAriaLabel',
748
+ "Type function breakpoint."
749
+ ));
719
750
  if (data.type === 'condition') {
720
751
  data.inputBox.value = functionBreakpoint.condition || '';
721
- placeholder = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakpointExpressionPlaceholder', "Break when expression evaluates to true");
722
- ariaLabel = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakPointExpresionAriaLabel', "Type expression. Function breakpoint will break when expression evaluates to true");
752
+ placeholder = ( localizeWithPath(
753
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
754
+ 'functionBreakpointExpressionPlaceholder',
755
+ "Break when expression evaluates to true"
756
+ ));
757
+ ariaLabel = ( localizeWithPath(
758
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
759
+ 'functionBreakPointExpresionAriaLabel',
760
+ "Type expression. Function breakpoint will break when expression evaluates to true"
761
+ ));
723
762
  }
724
763
  else if (data.type === 'hitCount') {
725
764
  data.inputBox.value = functionBreakpoint.hitCondition || '';
726
- placeholder = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakpointHitCountPlaceholder', "Break when hit count is met");
727
- ariaLabel = localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakPointHitCountAriaLabel', "Type hit count. Function breakpoint will break when hit count is met.");
765
+ placeholder = ( localizeWithPath(
766
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
767
+ 'functionBreakpointHitCountPlaceholder',
768
+ "Break when hit count is met"
769
+ ));
770
+ ariaLabel = ( localizeWithPath(
771
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
772
+ 'functionBreakPointHitCountAriaLabel',
773
+ "Type hit count. Function breakpoint will break when hit count is met."
774
+ ));
728
775
  }
729
776
  data.inputBox.setAriaLabel(ariaLabel);
730
777
  data.inputBox.setPlaceHolder(placeholder);
@@ -757,7 +804,11 @@ class ExceptionBreakpointInputRenderer {
757
804
  this.view.breakpointInputFocused.set(true);
758
805
  const inputBoxContainer = dom.append(breakpoint, $('.inputBoxContainer'));
759
806
  const inputBox = ( new InputBox(inputBoxContainer, this.contextViewService, {
760
- ariaLabel: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'exceptionBreakpointAriaLabel', "Type exception breakpoint condition"),
807
+ ariaLabel: ( localizeWithPath(
808
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
809
+ 'exceptionBreakpointAriaLabel',
810
+ "Type exception breakpoint condition"
811
+ )),
761
812
  inputBoxStyles: defaultInputBoxStyles
762
813
  }));
763
814
  const wrapUp = (success) => {
@@ -787,7 +838,11 @@ class ExceptionBreakpointInputRenderer {
787
838
  return template;
788
839
  }
789
840
  renderElement(exceptionBreakpoint, _index, data) {
790
- const placeHolder = exceptionBreakpoint.conditionDescription || localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'exceptionBreakpointPlaceholder', "Break when expression evaluates to true");
841
+ const placeHolder = exceptionBreakpoint.conditionDescription || ( localizeWithPath(
842
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
843
+ 'exceptionBreakpointPlaceholder',
844
+ "Break when expression evaluates to true"
845
+ ));
791
846
  data.inputBox.setPlaceHolder(placeHolder);
792
847
  data.breakpoint = exceptionBreakpoint;
793
848
  data.checkbox.checked = exceptionBreakpoint.enabled;
@@ -808,7 +863,11 @@ class BreakpointsAccessibilityProvider {
808
863
  this.labelService = labelService;
809
864
  }
810
865
  getWidgetAriaLabel() {
811
- return localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'breakpoints', "Breakpoints");
866
+ return ( localizeWithPath(
867
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
868
+ 'breakpoints',
869
+ "Breakpoints"
870
+ ));
812
871
  }
813
872
  getRole() {
814
873
  return 'checkbox';
@@ -857,7 +916,15 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
857
916
  if (!breakpoint$1.enabled || !breakpointsActivated) {
858
917
  return {
859
918
  icon: breakpointIcon.disabled,
860
- message: breakpoint$1.logMessage ? localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'disabledLogpoint', "Disabled Logpoint") : localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'disabledBreakpoint', "Disabled Breakpoint"),
919
+ message: breakpoint$1.logMessage ? ( localizeWithPath(
920
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
921
+ 'disabledLogpoint',
922
+ "Disabled Logpoint"
923
+ )) : ( localizeWithPath(
924
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
925
+ 'disabledBreakpoint',
926
+ "Disabled Breakpoint"
927
+ )),
861
928
  };
862
929
  }
863
930
  const appendMessage = (text) => {
@@ -866,7 +933,15 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
866
933
  if (debugActive && !breakpoint$1.verified) {
867
934
  return {
868
935
  icon: breakpointIcon.unverified,
869
- message: ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : (breakpoint$1.logMessage ? localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'unverifiedLogpoint', "Unverified Logpoint") : localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'unverifiedBreakpoint', "Unverified Breakpoint")),
936
+ message: ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : (breakpoint$1.logMessage ? ( localizeWithPath(
937
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
938
+ 'unverifiedLogpoint',
939
+ "Unverified Logpoint"
940
+ )) : ( localizeWithPath(
941
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
942
+ 'unverifiedBreakpoint',
943
+ "Unverified Breakpoint"
944
+ ))),
870
945
  showAdapterUnverifiedMessage: true
871
946
  };
872
947
  }
@@ -874,28 +949,54 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
874
949
  if (!breakpoint$1.supported) {
875
950
  return {
876
951
  icon: breakpointIcon.unverified,
877
- message: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'dataBreakpointUnsupported', "Data breakpoints not supported by this debug type"),
952
+ message: ( localizeWithPath(
953
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
954
+ 'dataBreakpointUnsupported',
955
+ "Data breakpoints not supported by this debug type"
956
+ )),
878
957
  };
879
958
  }
880
959
  return {
881
960
  icon: breakpointIcon.regular,
882
- message: breakpoint$1.message || localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'dataBreakpoint', "Data Breakpoint")
961
+ message: breakpoint$1.message || ( localizeWithPath(
962
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
963
+ 'dataBreakpoint',
964
+ "Data Breakpoint"
965
+ ))
883
966
  };
884
967
  }
885
968
  if (breakpoint$1 instanceof FunctionBreakpoint) {
886
969
  if (!breakpoint$1.supported) {
887
970
  return {
888
971
  icon: breakpointIcon.unverified,
889
- message: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakpointUnsupported', "Function breakpoints not supported by this debug type"),
972
+ message: ( localizeWithPath(
973
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
974
+ 'functionBreakpointUnsupported',
975
+ "Function breakpoints not supported by this debug type"
976
+ )),
890
977
  };
891
978
  }
892
979
  const messages = [];
893
- messages.push(breakpoint$1.message || localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'functionBreakpoint', "Function Breakpoint"));
980
+ messages.push(breakpoint$1.message || ( localizeWithPath(
981
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
982
+ 'functionBreakpoint',
983
+ "Function Breakpoint"
984
+ )));
894
985
  if (breakpoint$1.condition) {
895
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'expression', "Expression condition: {0}", breakpoint$1.condition));
986
+ messages.push(( localizeWithPath(
987
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
988
+ 'expression',
989
+ "Expression condition: {0}",
990
+ breakpoint$1.condition
991
+ )));
896
992
  }
897
993
  if (breakpoint$1.hitCondition) {
898
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'hitCount', "Hit Count: {0}", breakpoint$1.hitCondition));
994
+ messages.push(( localizeWithPath(
995
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
996
+ 'hitCount',
997
+ "Hit Count: {0}",
998
+ breakpoint$1.hitCondition
999
+ )));
899
1000
  }
900
1001
  return {
901
1002
  icon: breakpointIcon.regular,
@@ -906,7 +1007,11 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
906
1007
  if (!breakpoint$1.supported) {
907
1008
  return {
908
1009
  icon: breakpointIcon.unverified,
909
- message: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'instructionBreakpointUnsupported', "Instruction breakpoints not supported by this debug type"),
1010
+ message: ( localizeWithPath(
1011
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1012
+ 'instructionBreakpointUnsupported',
1013
+ "Instruction breakpoints not supported by this debug type"
1014
+ )),
910
1015
  };
911
1016
  }
912
1017
  const messages = [];
@@ -914,13 +1019,27 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
914
1019
  messages.push(breakpoint$1.message);
915
1020
  }
916
1021
  else if (breakpoint$1.instructionReference) {
917
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'instructionBreakpointAtAddress', "Instruction breakpoint at address {0}", breakpoint$1.instructionReference));
1022
+ messages.push(( localizeWithPath(
1023
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1024
+ 'instructionBreakpointAtAddress',
1025
+ "Instruction breakpoint at address {0}",
1026
+ breakpoint$1.instructionReference
1027
+ )));
918
1028
  }
919
1029
  else {
920
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'instructionBreakpoint', "Instruction breakpoint"));
1030
+ messages.push(( localizeWithPath(
1031
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1032
+ 'instructionBreakpoint',
1033
+ "Instruction breakpoint"
1034
+ )));
921
1035
  }
922
1036
  if (breakpoint$1.hitCondition) {
923
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'hitCount', "Hit Count: {0}", breakpoint$1.hitCondition));
1037
+ messages.push(( localizeWithPath(
1038
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1039
+ 'hitCount',
1040
+ "Hit Count: {0}",
1041
+ breakpoint$1.hitCondition
1042
+ )));
924
1043
  }
925
1044
  return {
926
1045
  icon: breakpointIcon.regular,
@@ -932,24 +1051,47 @@ function getBreakpointMessageAndIcon(state, breakpointsActivated, breakpoint$1,
932
1051
  if (!breakpoint$1.supported) {
933
1052
  return {
934
1053
  icon: debugBreakpointUnsupported,
935
- message: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'breakpointUnsupported', "Breakpoints of this type are not supported by the debugger"),
1054
+ message: ( localizeWithPath(
1055
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1056
+ 'breakpointUnsupported',
1057
+ "Breakpoints of this type are not supported by the debugger"
1058
+ )),
936
1059
  };
937
1060
  }
938
1061
  if (breakpoint$1.logMessage) {
939
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'logMessage', "Log Message: {0}", breakpoint$1.logMessage));
1062
+ messages.push(( localizeWithPath(
1063
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1064
+ 'logMessage',
1065
+ "Log Message: {0}",
1066
+ breakpoint$1.logMessage
1067
+ )));
940
1068
  }
941
1069
  if (breakpoint$1.condition) {
942
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'expression', "Expression condition: {0}", breakpoint$1.condition));
1070
+ messages.push(( localizeWithPath(
1071
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1072
+ 'expression',
1073
+ "Expression condition: {0}",
1074
+ breakpoint$1.condition
1075
+ )));
943
1076
  }
944
1077
  if (breakpoint$1.hitCondition) {
945
- messages.push(localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'hitCount', "Hit Count: {0}", breakpoint$1.hitCondition));
1078
+ messages.push(( localizeWithPath(
1079
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1080
+ 'hitCount',
1081
+ "Hit Count: {0}",
1082
+ breakpoint$1.hitCondition
1083
+ )));
946
1084
  }
947
1085
  return {
948
1086
  icon: breakpoint$1.logMessage ? logBreakpoint.regular : conditionalBreakpoint.regular,
949
1087
  message: appendMessage(messages.join('\n'))
950
1088
  };
951
1089
  }
952
- const message = ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : breakpoint$1 instanceof Breakpoint && labelService ? labelService.getUriLabel(breakpoint$1.uri) : localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'breakpoint', "Breakpoint");
1090
+ const message = ('message' in breakpoint$1 && breakpoint$1.message) ? breakpoint$1.message : breakpoint$1 instanceof Breakpoint && labelService ? labelService.getUriLabel(breakpoint$1.uri) : ( localizeWithPath(
1091
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1092
+ 'breakpoint',
1093
+ "Breakpoint"
1094
+ ));
953
1095
  return {
954
1096
  icon: breakpointIcon.regular,
955
1097
  message
@@ -960,9 +1102,17 @@ registerAction2(class extends Action2 {
960
1102
  super({
961
1103
  id: 'workbench.debug.viewlet.action.addFunctionBreakpointAction',
962
1104
  title: {
963
- value: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'addFunctionBreakpoint', "Add Function Breakpoint"),
1105
+ value: ( localizeWithPath(
1106
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1107
+ 'addFunctionBreakpoint',
1108
+ "Add Function Breakpoint"
1109
+ )),
964
1110
  original: 'Add Function Breakpoint',
965
- mnemonicTitle: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', { key: 'miFunctionBreakpoint', comment: ['&& denotes a mnemonic'] }, "&&Function Breakpoint...")
1111
+ mnemonicTitle: ( localizeWithPath(
1112
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1113
+ { key: 'miFunctionBreakpoint', comment: ['&& denotes a mnemonic'] },
1114
+ "&&Function Breakpoint..."
1115
+ ))
966
1116
  },
967
1117
  f1: true,
968
1118
  icon: watchExpressionsAddFuncBreakpoint,
@@ -988,7 +1138,11 @@ registerAction2(class extends Action2 {
988
1138
  constructor() {
989
1139
  super({
990
1140
  id: 'workbench.debug.viewlet.action.toggleBreakpointsActivatedAction',
991
- title: { value: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'activateBreakpoints', "Toggle Activate Breakpoints"), original: 'Toggle Activate Breakpoints' },
1141
+ title: { value: ( localizeWithPath(
1142
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1143
+ 'activateBreakpoints',
1144
+ "Toggle Activate Breakpoints"
1145
+ )), original: 'Toggle Activate Breakpoints' },
992
1146
  f1: true,
993
1147
  icon: breakpointsActivate,
994
1148
  menu: {
@@ -1008,7 +1162,11 @@ registerAction2(class extends Action2 {
1008
1162
  constructor() {
1009
1163
  super({
1010
1164
  id: 'workbench.debug.viewlet.action.removeBreakpoint',
1011
- title: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'removeBreakpoint', "Remove Breakpoint"),
1165
+ title: ( localizeWithPath(
1166
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1167
+ 'removeBreakpoint',
1168
+ "Remove Breakpoint"
1169
+ )),
1012
1170
  icon: Codicon.removeClose,
1013
1171
  menu: [{
1014
1172
  id: MenuId.DebugBreakpointsContext,
@@ -1045,8 +1203,16 @@ registerAction2(class extends Action2 {
1045
1203
  id: 'workbench.debug.viewlet.action.removeAllBreakpoints',
1046
1204
  title: {
1047
1205
  original: 'Remove All Breakpoints',
1048
- value: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'removeAllBreakpoints', "Remove All Breakpoints"),
1049
- mnemonicTitle: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', { key: 'miRemoveAllBreakpoints', comment: ['&& denotes a mnemonic'] }, "Remove &&All Breakpoints")
1206
+ value: ( localizeWithPath(
1207
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1208
+ 'removeAllBreakpoints',
1209
+ "Remove All Breakpoints"
1210
+ )),
1211
+ mnemonicTitle: ( localizeWithPath(
1212
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1213
+ { key: 'miRemoveAllBreakpoints', comment: ['&& denotes a mnemonic'] },
1214
+ "Remove &&All Breakpoints"
1215
+ ))
1050
1216
  },
1051
1217
  f1: true,
1052
1218
  icon: breakpointsRemoveAll,
@@ -1082,8 +1248,16 @@ registerAction2(class extends Action2 {
1082
1248
  id: 'workbench.debug.viewlet.action.enableAllBreakpoints',
1083
1249
  title: {
1084
1250
  original: 'Enable All Breakpoints',
1085
- value: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'enableAllBreakpoints', "Enable All Breakpoints"),
1086
- mnemonicTitle: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', { key: 'miEnableAllBreakpoints', comment: ['&& denotes a mnemonic'] }, "&&Enable All Breakpoints"),
1251
+ value: ( localizeWithPath(
1252
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1253
+ 'enableAllBreakpoints',
1254
+ "Enable All Breakpoints"
1255
+ )),
1256
+ mnemonicTitle: ( localizeWithPath(
1257
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1258
+ { key: 'miEnableAllBreakpoints', comment: ['&& denotes a mnemonic'] },
1259
+ "&&Enable All Breakpoints"
1260
+ )),
1087
1261
  },
1088
1262
  f1: true,
1089
1263
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
@@ -1111,8 +1285,16 @@ registerAction2(class extends Action2 {
1111
1285
  id: 'workbench.debug.viewlet.action.disableAllBreakpoints',
1112
1286
  title: {
1113
1287
  original: 'Disable All Breakpoints',
1114
- value: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'disableAllBreakpoints', "Disable All Breakpoints"),
1115
- mnemonicTitle: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', { key: 'miDisableAllBreakpoints', comment: ['&& denotes a mnemonic'] }, "Disable A&&ll Breakpoints")
1288
+ value: ( localizeWithPath(
1289
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1290
+ 'disableAllBreakpoints',
1291
+ "Disable All Breakpoints"
1292
+ )),
1293
+ mnemonicTitle: ( localizeWithPath(
1294
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1295
+ { key: 'miDisableAllBreakpoints', comment: ['&& denotes a mnemonic'] },
1296
+ "Disable A&&ll Breakpoints"
1297
+ ))
1116
1298
  },
1117
1299
  f1: true,
1118
1300
  precondition: CONTEXT_DEBUGGERS_AVAILABLE,
@@ -1138,7 +1320,11 @@ registerAction2(class extends Action2 {
1138
1320
  constructor() {
1139
1321
  super({
1140
1322
  id: 'workbench.debug.viewlet.action.reapplyBreakpointsAction',
1141
- title: { value: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'reapplyAllBreakpoints', "Reapply All Breakpoints"), original: 'Reapply All Breakpoints' },
1323
+ title: { value: ( localizeWithPath(
1324
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1325
+ 'reapplyAllBreakpoints',
1326
+ "Reapply All Breakpoints"
1327
+ )), original: 'Reapply All Breakpoints' },
1142
1328
  f1: true,
1143
1329
  precondition: CONTEXT_IN_DEBUG_MODE,
1144
1330
  menu: [{
@@ -1159,7 +1345,11 @@ registerAction2(class extends ViewAction {
1159
1345
  super({
1160
1346
  id: 'debug.editBreakpoint',
1161
1347
  viewId: BREAKPOINTS_VIEW_ID,
1162
- title: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'editCondition', "Edit Condition..."),
1348
+ title: ( localizeWithPath(
1349
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1350
+ 'editCondition',
1351
+ "Edit Condition..."
1352
+ )),
1163
1353
  icon: Codicon.edit,
1164
1354
  precondition: CONTEXT_BREAKPOINT_SUPPORTS_CONDITION,
1165
1355
  menu: [{
@@ -1187,20 +1377,16 @@ registerAction2(class extends ViewAction {
1187
1377
  }
1188
1378
  else if (breakpoint instanceof FunctionBreakpoint) {
1189
1379
  const contextMenuService = accessor.get(IContextMenuService);
1190
- const actions = [( new Action(
1191
- 'breakpoint.editCondition',
1192
- localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'editCondition', "Edit Condition..."),
1193
- undefined,
1194
- true,
1195
- async () => view.renderInputBox({ breakpoint, type: 'condition' })
1196
- )),
1197
- ( new Action(
1198
- 'breakpoint.editCondition',
1199
- localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'editHitCount', "Edit Hit Count..."),
1200
- undefined,
1201
- true,
1202
- async () => view.renderInputBox({ breakpoint, type: 'hitCount' })
1203
- ))];
1380
+ const actions = [( new Action('breakpoint.editCondition', ( localizeWithPath(
1381
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1382
+ 'editCondition',
1383
+ "Edit Condition..."
1384
+ )), undefined, true, async () => view.renderInputBox({ breakpoint, type: 'condition' }))),
1385
+ ( new Action('breakpoint.editCondition', ( localizeWithPath(
1386
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1387
+ 'editHitCount',
1388
+ "Edit Hit Count..."
1389
+ )), undefined, true, async () => view.renderInputBox({ breakpoint, type: 'hitCount' })))];
1204
1390
  const domNode = breakpointIdToActionBarDomeNode.get(breakpoint.getId());
1205
1391
  if (domNode) {
1206
1392
  contextMenuService.showContextMenu({
@@ -1220,7 +1406,11 @@ registerAction2(class extends ViewAction {
1220
1406
  super({
1221
1407
  id: 'debug.editFunctionBreakpoint',
1222
1408
  viewId: BREAKPOINTS_VIEW_ID,
1223
- title: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'editBreakpoint', "Edit Function Breakpoint..."),
1409
+ title: ( localizeWithPath(
1410
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1411
+ 'editBreakpoint',
1412
+ "Edit Function Breakpoint..."
1413
+ )),
1224
1414
  menu: [{
1225
1415
  id: MenuId.DebugBreakpointsContext,
1226
1416
  group: '1_breakpoints',
@@ -1238,7 +1428,11 @@ registerAction2(class extends ViewAction {
1238
1428
  super({
1239
1429
  id: 'debug.editFunctionBreakpointHitCount',
1240
1430
  viewId: BREAKPOINTS_VIEW_ID,
1241
- title: localizeWithPath('vs/workbench/contrib/debug/browser/breakpointsView', 'editHitCount', "Edit Hit Count..."),
1431
+ title: ( localizeWithPath(
1432
+ 'vs/workbench/contrib/debug/browser/breakpointsView',
1433
+ 'editHitCount',
1434
+ "Edit Hit Count..."
1435
+ )),
1242
1436
  precondition: CONTEXT_BREAKPOINT_SUPPORTS_CONDITION,
1243
1437
  menu: [{
1244
1438
  id: MenuId.DebugBreakpointsContext,
@@ -14,8 +14,16 @@ import { debugStackframe, debugStackframeFocused } from 'vscode/vscode/vs/workbe
14
14
  import { IDebugService } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
15
15
  import './media/callStackEditorContribution.css.js';
16
16
 
17
- const topStackFrameColor = registerColor('editor.stackFrameHighlightBackground', { dark: '#ffff0033', light: '#ffff6673', hcDark: '#ffff0033', hcLight: '#ffff6673' }, localizeWithPath('vs/workbench/contrib/debug/browser/callStackEditorContribution', 'topStackFrameLineHighlight', 'Background color for the highlight of line at the top stack frame position.'));
18
- const focusedStackFrameColor = registerColor('editor.focusedStackFrameHighlightBackground', { dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' }, localizeWithPath('vs/workbench/contrib/debug/browser/callStackEditorContribution', 'focusedStackFrameLineHighlight', 'Background color for the highlight of line at focused stack frame position.'));
17
+ const topStackFrameColor = registerColor('editor.stackFrameHighlightBackground', { dark: '#ffff0033', light: '#ffff6673', hcDark: '#ffff0033', hcLight: '#ffff6673' }, ( localizeWithPath(
18
+ 'vs/workbench/contrib/debug/browser/callStackEditorContribution',
19
+ 'topStackFrameLineHighlight',
20
+ 'Background color for the highlight of line at the top stack frame position.'
21
+ )));
22
+ const focusedStackFrameColor = registerColor('editor.focusedStackFrameHighlightBackground', { dark: '#7abd7a4d', light: '#cee7ce73', hcDark: '#7abd7a4d', hcLight: '#cee7ce73' }, ( localizeWithPath(
23
+ 'vs/workbench/contrib/debug/browser/callStackEditorContribution',
24
+ 'focusedStackFrameLineHighlight',
25
+ 'Background color for the highlight of line at focused stack frame position.'
26
+ )));
19
27
  const stickiness = 1 ;
20
28
  const TOP_STACK_FRAME_MARGIN = {
21
29
  description: 'top-stack-frame-margin',