This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Redesigned debugging options panel in XAML.
- Loading branch information
Showing
11 changed files
with
88 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/AddIns/Debugger/Debugger.AddIn/Options/DebuggingOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
src/AddIns/Debugger/Debugger.AddIn/Options/DebuggingOptionsPanel.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,39 @@ | |||
<gui:OptionPanel x:Class="Debugger.AddIn.Options.DebuggingOptionsPanel" | |||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |||
xmlns:sd="http://icsharpcode.net/sharpdevelop/core" | |||
xmlns:gui="clr-namespace:ICSharpCode.SharpDevelop.Gui;assembly=ICSharpCode.SharpDevelop" | |||
xmlns:debugger="clr-namespace:ICSharpCode.SharpDevelop.Services;assembly=Debugger.AddIn" | |||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | |||
xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets"> | |||
<StackPanel> | |||
<GroupBox Margin="5" Header="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping}"> | |||
<widgets:StackPanelWithSpacing SpaceBetweenItems="5"> | |||
<CheckBox x:Name="chbStepOverFieldAccessProperties" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping.StepOverFieldAccessProperties}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.StepOverFieldAccessProperties}" /> | |||
<CheckBox x:Name="chbStepOverSingleLineProperties" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping.StepOverSingleLineProperties}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.StepOverSingleLineProperties}" /> | |||
<CheckBox x:Name="chbStepOverAllProperties" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping.StepOverAllProperties}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.StepOverAllProperties}" /> | |||
<CheckBox x:Name="chbStepOverDebuggerAttributes" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping.StepOverDebuggerAttributes}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.StepOverDebuggerAttributes}" /> | |||
<CheckBox x:Name="chbStepOverNoSymbols" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping.StepOverNoSymbols}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.StepOverNoSymbols}" /> | |||
<CheckBox x:Name="chbEnableJustMyCode" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.Stepping.EnableJustMyCode}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.EnableJustMyCode}" /> | |||
</widgets:StackPanelWithSpacing> | |||
</GroupBox> | |||
<GroupBox Margin="5" Header="{sd:Localize Dialog.Options.IDEOptions.Debugging.Exceptions}"> | |||
<widgets:StackPanelWithSpacing SpaceBetweenItems="5"> | |||
<CheckBox x:Name="chbPauseOnHandledExceptions" | |||
Content="{sd:Localize Dialog.Options.IDEOptions.Debugging.PauseOnHandledExceptions}" | |||
IsChecked="{sd:OptionBinding debugger:DebuggingOptions.PauseOnHandledExceptions}" /> | |||
</widgets:StackPanelWithSpacing> | |||
</GroupBox> | |||
</StackPanel> | |||
</gui:OptionPanel> |
29 changes: 29 additions & 0 deletions
29
src/AddIns/Debugger/Debugger.AddIn/Options/DebuggingOptionsPanel.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,29 @@ | |||
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) | |||
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt) | |||
|
|||
using System; | |||
using System.Collections.Generic; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Windows; | |||
using System.Windows.Controls; | |||
using System.Windows.Data; | |||
using System.Windows.Documents; | |||
using System.Windows.Input; | |||
using System.Windows.Media; | |||
|
|||
using ICSharpCode.SharpDevelop.Gui; | |||
|
|||
namespace Debugger.AddIn.Options | |||
{ | |||
/// <summary> | |||
/// Interaction logic for DebuggingOptionsPanel.xaml | |||
/// </summary> | |||
public partial class DebuggingOptionsPanel : OptionPanel | |||
{ | |||
public DebuggingOptionsPanel() | |||
{ | |||
InitializeComponent(); | |||
} | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters