Browse Source

Fix crash when opening editor context menu due to missing BreakpointChangeMenuBuilder

newNRvisualizers
Daniel Grunwald 13 years ago
parent
commit
7b43181128
  1. 2
      src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.addin
  2. 2
      src/Main/Core/Project/Src/Services/PropertyService/PropertyService.cs

2
src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.addin

@ -61,8 +61,10 @@
class="Debugger.AddIn.EnableBreakpointMenuCommand" class="Debugger.AddIn.EnableBreakpointMenuCommand"
label= "${res:MainWindow.Windows.Debug.Conditional.Breakpoints.EnableBreakpoint}" /> label= "${res:MainWindow.Windows.Debug.Conditional.Breakpoints.EnableBreakpoint}" />
</ComplexCondition> </ComplexCondition>
<!--
<MenuItem id="BreakpointSeparator" type = "Separator" /> <MenuItem id="BreakpointSeparator" type = "Separator" />
<MenuItem id="MenuBuilder" type="Builder" class="Debugger.AddIn.BreakpointChangeMenuBuilder" /> <MenuItem id="MenuBuilder" type="Builder" class="Debugger.AddIn.BreakpointChangeMenuBuilder" />
-->
</Condition> </Condition>
</MenuItem> </MenuItem>
</Path> </Path>

2
src/Main/Core/Project/Src/Services/PropertyService/PropertyService.cs

@ -27,7 +27,7 @@ namespace ICSharpCode.Core
/// <summary> /// <summary>
/// Initializes the service for unit-testing (reset properties to an empty property container). /// Initializes the service for unit-testing (reset properties to an empty property container).
/// Use <see cref="SD.InitializeForUnitTests"/> instead, that initializes the property service and more. /// Use <c>SD.InitializeForUnitTests()</c> instead, that initializes the property service and more.
/// </summary> /// </summary>
public static void InitializeServiceForUnitTests() public static void InitializeServiceForUnitTests()
{ {

Loading…
Cancel
Save