Browse Source

Debugger.AddIn/Options/DebuggingSymbolsPanelXaml.xaml.cs

newNRvisualizers
Peter Forstmeier 13 years ago
parent
commit
9a542d4f67
  1. 3
      src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.addin
  2. 5
      src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.csproj
  3. 53
      src/AddIns/Debugger/Debugger.AddIn/Options/DebuggingSymbolsPanelXaml.xaml.cs
  4. 4
      src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/ReferencePaths.xaml

3
src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.addin

@ -135,6 +135,9 @@ @@ -135,6 +135,9 @@
<OptionPanel id = "Symbols"
label = "${res:Dialog.Options.IDEOptions.Debugging.Symbols}"
class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.DebuggingSymbolsPanel"/>
<OptionPanel id = "Symbols1"
label = "${res:Dialog.Options.IDEOptions.Debugging.Symbols}"
class = "ICSharpCode.SharpDevelop.Gui.OptionPanels.DebuggingSymbolsPanelXaml"/>
</OptionPanel>
</Path>

5
src/AddIns/Debugger/Debugger.AddIn/Debugger.AddIn.csproj

@ -103,6 +103,10 @@ @@ -103,6 +103,10 @@
<DependentUpon>DebuggingOptionsPanel.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Options\DebuggingSymbolsPanelXaml.xaml.cs">
<DependentUpon>DebuggingSymbolsPanelXaml.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Pads\AutoCompleteTextBox.cs" />
<Compile Include="Pads\CallStackPad.cs">
<SubType>Code</SubType>
@ -217,6 +221,7 @@ @@ -217,6 +221,7 @@
<ItemGroup>
<Folder Include="Tooltips" />
<Page Include="Options\DebuggingOptionsPanel.xaml" />
<Page Include="Options\DebuggingSymbolsPanelXaml.xaml" />
<Page Include="Pads\CommonResources.xaml" />
<Page Include="Service\EditBreakpointScriptWindow.xaml" />
<Page Include="Tooltips\DebuggerTooltipControl.xaml" />

53
src/AddIns/Debugger/Debugger.AddIn/Options/DebuggingSymbolsPanelXaml.xaml.cs

@ -0,0 +1,53 @@ @@ -0,0 +1,53 @@
/*
* Created by SharpDevelop.
* User: Peter Forstmeier
* Date: 12.01.2013
* Time: 17:34
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
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;
using ICSharpCode.SharpDevelop.Services;
namespace ICSharpCode.SharpDevelop.Gui.OptionPanels
{
/// <summary>
/// Interaction logic for DebuggingSymbolsPanelXaml.xaml
/// </summary>
public partial class DebuggingSymbolsPanelXaml : OptionPanel
{
public DebuggingSymbolsPanelXaml()
{
InitializeComponent();
this.DataContext = this;
}
public override void LoadOptions()
{
base.LoadOptions();
editor.LoadList(DebuggingOptions.Instance.SymbolsSearchPaths);
}
public override bool SaveOptions()
{
DebuggingOptions.Instance.SymbolsSearchPaths = editor.GetList();
DebuggingOptions.ResetStatus(
proc => {
proc.Debugger.ReloadModuleSymbols();
proc.Debugger.ResetJustMyCodeStatus();
});
return base.SaveOptions();
}
}
}

4
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/ReferencePaths.xaml

@ -7,7 +7,9 @@ @@ -7,7 +7,9 @@
xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets"
xmlns:project="clr-namespace:ICSharpCode.SharpDevelop.Project"
xmlns:gui="clr-namespace:ICSharpCode.SharpDevelop.Gui"
xmlns:optionpanels="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels">
xmlns:optionpanels="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels"
>
<ScrollViewer VerticalScrollBarVisibility="Auto">
<Grid>
<Grid.ColumnDefinitions>

Loading…
Cancel
Save