diff --git a/src/AddIns/Analysis/UnitTesting/Test/Utils/MockDebugger.cs b/src/AddIns/Analysis/UnitTesting/Test/Utils/MockDebugger.cs index db71be68f9..75b2d69ffb 100644 --- a/src/AddIns/Analysis/UnitTesting/Test/Utils/MockDebugger.cs +++ b/src/AddIns/Analysis/UnitTesting/Test/Utils/MockDebugger.cs @@ -168,5 +168,7 @@ namespace UnitTesting.Tests.Utils { throw new NotImplementedException(); } + + public bool BreakAtBeginning { get; set; } } } diff --git a/src/AddIns/BackendBindings/Scripting/Test/Utils/MockDebugger.cs b/src/AddIns/BackendBindings/Scripting/Test/Utils/MockDebugger.cs index e6e20f5743..29744c95ef 100644 --- a/src/AddIns/BackendBindings/Scripting/Test/Utils/MockDebugger.cs +++ b/src/AddIns/BackendBindings/Scripting/Test/Utils/MockDebugger.cs @@ -171,5 +171,7 @@ namespace ICSharpCode.Scripting.Tests.Utils DebugStopped(this, e); } } + + public bool BreakAtBeginning { get; set; } } } diff --git a/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs b/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs index 127ffaf641..37ed13a334 100644 --- a/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs +++ b/src/AddIns/Debugger/Debugger.AddIn/Service/WindowsDebugger.cs @@ -74,7 +74,7 @@ namespace ICSharpCode.SharpDevelop.Services } /// - public bool BreakAtBegining { + public bool BreakAtBeginning { get; set; } @@ -659,10 +659,10 @@ namespace ICSharpCode.SharpDevelop.Services debuggedProcess.ExceptionThrown += debuggedProcess_ExceptionThrown; debuggedProcess.Resumed += debuggedProcess_DebuggingResumed; - debuggedProcess.BreakAtBegining = BreakAtBegining; + debuggedProcess.BreakAtBeginning = BreakAtBeginning; } // reset - BreakAtBegining = false; + BreakAtBeginning = false; JumpToCurrentLine(); OnProcessSelected(new ProcessEventArgs(process)); diff --git a/src/AddIns/Debugger/Debugger.Core/Process.cs b/src/AddIns/Debugger/Debugger.Core/Process.cs index c2856a471a..d05638e4aa 100644 --- a/src/AddIns/Debugger/Debugger.Core/Process.cs +++ b/src/AddIns/Debugger/Debugger.Core/Process.cs @@ -89,7 +89,7 @@ namespace Debugger } } - public bool BreakAtBegining { + public bool BreakAtBeginning { get; set; } @@ -637,7 +637,7 @@ namespace Debugger private void OnModulesAdded(object sender, CollectionItemEventArgs e) { - if (BreakAtBegining) { + if (BreakAtBeginning) { if (e.Item.SymReader == null) return; // No symbols // create a BP at entry point uint entryPoint = e.Item.SymReader.GetUserEntryPoint(); @@ -654,7 +654,7 @@ namespace Debugger breakpoint.Remove(); breakpoint = null; }; - BreakAtBegining = false; + BreakAtBeginning = false; } } diff --git a/src/Main/Base/Project/Src/Commands/DebugCommands.cs b/src/Main/Base/Project/Src/Commands/DebugCommands.cs index 8363b6ecde..9eb1a1ab33 100644 --- a/src/Main/Base/Project/Src/Commands/DebugCommands.cs +++ b/src/Main/Base/Project/Src/Commands/DebugCommands.cs @@ -84,7 +84,7 @@ namespace ICSharpCode.SharpDevelop.Project.Commands { LoggingService.Info("Debugger Command: StepOver"); if (!DebuggerService.CurrentDebugger.IsDebugging) { - DebuggerService.CurrentDebugger.BreakAtBegining = true; + DebuggerService.CurrentDebugger.BreakAtBeginning = true; new Execute().Run(); } else { DebuggerService.CurrentDebugger.StepOver(); @@ -98,7 +98,7 @@ namespace ICSharpCode.SharpDevelop.Project.Commands { LoggingService.Info("Debugger Command: StepInto"); if (!DebuggerService.CurrentDebugger.IsDebugging) { - DebuggerService.CurrentDebugger.BreakAtBegining = true; + DebuggerService.CurrentDebugger.BreakAtBeginning = true; new Execute().Run(); } else { DebuggerService.CurrentDebugger.StepOver(); diff --git a/src/Main/Base/Project/Src/Services/Debugger/DefaultDebugger.cs b/src/Main/Base/Project/Src/Services/Debugger/DefaultDebugger.cs index 5d5a7e5359..15a095d170 100644 --- a/src/Main/Base/Project/Src/Services/Debugger/DefaultDebugger.cs +++ b/src/Main/Base/Project/Src/Services/Debugger/DefaultDebugger.cs @@ -26,7 +26,7 @@ namespace ICSharpCode.SharpDevelop.Debugging } /// - public bool BreakAtBegining { + public bool BreakAtBeginning { get; set; } diff --git a/src/Main/Base/Project/Src/Services/Debugger/IDebugger.cs b/src/Main/Base/Project/Src/Services/Debugger/IDebugger.cs index 65286c70d1..67e7d2d0e0 100644 --- a/src/Main/Base/Project/Src/Services/Debugger/IDebugger.cs +++ b/src/Main/Base/Project/Src/Services/Debugger/IDebugger.cs @@ -28,7 +28,7 @@ namespace ICSharpCode.SharpDevelop.Debugging /// /// Gets or sets whether the debugger should break at the first line of execution. /// - bool BreakAtBegining { + bool BreakAtBeginning { get; set; }