You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
// 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; |
|
using ICSharpCode.SharpDevelop.Services; |
|
|
|
namespace Debugger.AddIn.Options |
|
{ |
|
/// <summary> |
|
/// Interaction logic for DebuggingOptionsPanel.xaml |
|
/// </summary> |
|
public partial class DebuggingOptionsPanel : OptionPanel |
|
{ |
|
public DebuggingOptionsPanel() |
|
{ |
|
InitializeComponent(); |
|
} |
|
|
|
void ChbStepOverAllProperties_CheckedChanged(object sender, RoutedEventArgs e) |
|
{ |
|
bool stepOverAllProperties = chbStepOverAllProperties.IsChecked.GetValueOrDefault(false); |
|
chbStepOverSingleLineProperties.IsEnabled = !stepOverAllProperties; |
|
chbStepOverFieldAccessProperties.IsEnabled = !stepOverAllProperties; |
|
} |
|
|
|
public override bool SaveOptions() |
|
{ |
|
bool result = base.SaveOptions(); |
|
Process proc = WindowsDebugger.CurrentProcess; |
|
if (proc != null) { |
|
proc.Debugger.ResetJustMyCodeStatus(); |
|
} |
|
return result; |
|
} |
|
} |
|
} |