icsharpcode / SharpDevelop

#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
2.09k stars 773 forks source link

Index Out of Range on List<int> Debugger Crashes #600

Open stixoffire opened 9 years ago

stixoffire commented 9 years ago

Sample: if (CGroup[CurrentGroupIndex] < TGroup[i]) {} Where CGroup is List and TGroup is List

Dump Info.

SharpDevelop Version : 4.4.0.9722-1cfe96d5 .NET Version : 4.0.30319.18444 OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1 Current culture : English (United States) (en-US) Running under WOW6432, processor architecture: x86-64 Working Set Memory : 224164kb GC Heap Memory : 78970kb

Exception thrown: Debugger.DebuggerException: Evaluation can not be stopped at Debugger.Eval.WaitForResult() at Debugger.Eval.InvokeMethod(DebugMethodInfo method, Value thisValue, Value[] args) at Debugger.Value.InvokeMethod(Value objectInstance, MethodInfo methodInfo, Value[] arguments) at Debugger.Value.GetPropertyValue(Value objectInstance, PropertyInfo propertyInfo, Value[] arguments) at Debugger.Value.GetMemberValue(Value objectInstance, MemberInfo memberInfo, Value[] arguments) at Debugger.Value.GetMemberValue(String name) at Debugger.Exception.GetStackTrace(String endOfInnerExceptionFormat) at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_ExceptionThrown(Object sender, ExceptionEventArgs e) at Debugger.Process.OnExceptionThrown(ExceptionEventArgs e) at Debugger.Process.RaisePausedEvents() at Debugger.MTA2STA.<>cDisplayClass4.b1() at Debugger.MTA2STA.PerformCall() at Debugger.MTA2STA.PerformAllCalls() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- Recent log messages: 10:11:18.289 [1] DEBUG - Debugger: Evaluated: CommentGroupIndex in 1 ms total 10:11:18.960 [1] DEBUG - Debugger: Callback: EvalComplete 10:11:19.100 [1] DEBUG - Debugger: Evaluated: TagColumns in 12 ms total 10:11:19.225 [1] DEBUG - Debugger: Callback: EvalComplete 10:11:19.365 [1] DEBUG - Debugger: Evaluated: dt in 12 ms total 10:11:19.412 [1] DEBUG - Debugger: Callback: EvalComplete 10:11:19.552 [1] DEBUG - Debugger: Evaluated: startIndex in 12 ms total 10:11:19.568 [1] DEBUG - Debugger: Evaluated: endIndex in 12 ms total 10:11:19.599 [1] DEBUG - Debugger: Evaluated: CurrentTagGroupIndex in 0 ms total 10:11:24.357 [1] DEBUG - Activated feature 'ICSharpCode.SharpDevelop.Project.Commands.ContinueDebuggingCommand', activation=Toolbar 10:11:24.357 [1] INFO - Debugger Command: Continue 10:11:24.357 [1] DEBUG - Debugger: Debugger event: OnResumed() 10:11:24.450 [1] DEBUG - Debugger: Callback: Exception 10:11:24.450 [1] DEBUG - Debugger: Process has queued callbacks 10:11:24.466 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_FIRST_CHANCE) 10:11:24.466 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_USER_FIRST_CHANCE) 10:11:24.466 [1] DEBUG - Debugger: Callback: Exception 10:11:24.466 [1] DEBUG - Debugger: Process has queued callbacks 10:11:24.466 [1] DEBUG - Debugger: Callback: Exception2 (type=DEBUG_EXCEPTION_UNHANDLED) 10:11:24.466 [1] DEBUG - Debugger: Debugger event: OnExceptionThrown() 10:11:24.466 [1] INFO - Decompiled code debugging is disabled! 10:11:24.466 [1] DEBUG - Debugger: Callback: ExceptionUnwind 10:11:24.996 [1] DEBUG - Debugger: Aborting eval: Function call: String System.Exception.get_StackTrace() 10:11:28.007 [1] DEBUG - Debugger: Rude aborting eval: Function call: String System.Exception.get_StackTrace() 10:11:33.513 [1] ERROR - ThreadException caught --> Exception: Debugger.DebuggerException: Evaluation can not be stopped at Debugger.Eval.WaitForResult() at Debugger.Eval.InvokeMethod(DebugMethodInfo method, Value thisValue, Value[] args) at Debugger.Value.InvokeMethod(Value objectInstance, MethodInfo methodInfo, Value[] arguments) at Debugger.Value.GetPropertyValue(Value objectInstance, PropertyInfo propertyInfo, Value[] arguments) at Debugger.Value.GetMemberValue(Value objectInstance, MemberInfo memberInfo, Value[] arguments) at Debugger.Value.GetMemberValue(String name) at Debugger.Exception.GetStackTrace(String endOfInnerExceptionFormat) at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_ExceptionThrown(Object sender, ExceptionEventArgs e) at Debugger.Process.OnExceptionThrown(ExceptionEventArgs e) at Debugger.Process.RaisePausedEvents() at Debugger.MTA2STA.<>cDisplayClass4.b1() at Debugger.MTA2STA.PerformCall() at Debugger.MTA2STA.PerformAllCalls() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()

---- Post-error application state information: Installed 3rd party AddIns: Workbench.ActiveContent: [AvalonEditViewContent C:\Users\METheUser\Documents\SharpDevelop Projects\MyGerMerger\MyGerMerger\MainForm.cs] ProjectService.OpenSolution: [Solution: FileName=C:\Users\METheUser\Documents\SharpDevelop Projects\MyGerMerger\MyGerMerger.sln, HasProjects=True, ReadOnly=False] ProjectService.CurrentProject: [CSharpProject: MyGerMerger]