Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

NRE while debugging

$
0
0

SharpDevelop Version : 5.0.0.4187-Beta 2-7a058817
.NET Version         : 4.0.30319.18444
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : Norwegian, Bokmål (Norway) (nb-NO)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 422328kb
GC Heap Memory       : 173486kb

Exception thrown:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Debugger.MetaData.LocalVariable.GetLocalVariables(ISymbolSource symbolSource, IMethod method)
   at Debugger.StackFrame.GetLocalVariables()
   at Debugger.StackFrame.GetLocalVariables(Int32 offset)
   at Debugger.AddIn.TreeModel.ValueNode.<GetLocalVariables>d__21.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at ICSharpCode.SharpDevelop.Gui.Pads.LocalVarPad.RefreshPad()
   at System.Action.Invoke()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.RefreshPads()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_DebuggingPaused(Object sender, DebuggerPausedEventArgs e)
   at Debugger.Process.OnPaused(DebuggerPausedEventArgs e)
   at Debugger.ManagedCallback.<>c__DisplayClass1.<ExitCallback>b__0()
   at Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
   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:
13:17:43.049 [1] INFO - Open file p:\Prosjekt\SunStone\Common\Common_Source\ISOIEC_8211\Streamer\FileRecord.cs
13:17:43.049 [1] DEBUG - Resolved (Line 14, Col 3) to
13:17:43.065 [1] INFO - Evaluated node 'reader' in 4 ms
13:17:43.065 [1] INFO - Evaluated node 'DDR' in 4 ms
13:17:43.065 [1] INFO - Evaluated node 'this' in 2 ms
13:17:44.902 [1] INFO - Debugger Command: StepInto
13:17:44.949 [1] INFO - Open file p:\Prosjekt\SunStone\Common\Common_Source\ISOIEC_8211\Streamer\FileRecord.cs
13:17:44.964 [1] DEBUG - Resolved (Line 15, Col 3) to
13:17:44.980 [1] INFO - Evaluated node 'reader' in 14 ms
13:17:44.980 [1] INFO - Evaluated node 'DDR' in 2 ms
13:17:44.980 [1] INFO - Evaluated node 's' in 0 ms
13:17:44.980 [1] INFO - Evaluated node 'r' in 0 ms
13:17:44.980 [1] INFO - Evaluated node 'this' in 1 ms
13:17:45.826 [1] INFO - Debugger Command: StepInto
13:17:45.889 [1] INFO - Open file p:\Prosjekt\SunStone\Common\Common_Source\ISOIEC_8211\Streamer\FileRecord.cs
13:17:45.889 [1] DEBUG - Resolved (Line 16, Col 4) to [ThisResolveResult SunStone.Common.IsoIec8211.Streamer.FileRecord]
13:17:45.889 [1] INFO - Evaluated node 'reader' in 1 ms
13:17:45.889 [1] INFO - Evaluated node 'DDR' in 2 ms
13:17:45.889 [1] INFO - Evaluated node 's' in 0 ms
13:17:45.889 [1] INFO - Evaluated node 'r' in 0 ms
13:17:45.889 [1] INFO - Evaluated node 'this' in 1 ms
13:17:48.425 [1] INFO - Debugger Command: StepInto
13:17:48.503 [1] DEBUG - GetSymbols for: ilspy://P:/Prosjekt/SunStone/Navigator/Navigator_Source/Program/bin/Debug/SunStone.Common.IsoIec8211.Streamer.dll/SunStone.Common.IsoIec8211.Streamer.FileRecord.cs
13:17:48.612 [1] DEBUG - GetSymbols for: ilspy://P:/Prosjekt/SunStone/Navigator/Navigator_Source/Program/bin/Debug/SunStone.Common.IsoIec8211.Streamer.dll/SunStone.Common.IsoIec8211.Streamer.FileRecord.cs
13:17:48.659 [1] ERROR - ThreadException caught
--> Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Debugger.MetaData.LocalVariable.GetLocalVariables(ISymbolSource symbolSource, IMethod method)
   at Debugger.StackFrame.GetLocalVariables()
   at Debugger.StackFrame.GetLocalVariables(Int32 offset)
   at Debugger.AddIn.TreeModel.ValueNode.<GetLocalVariables>d__21.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at ICSharpCode.SharpDevelop.Gui.Pads.LocalVarPad.RefreshPad()
   at System.Action.Invoke()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.RefreshPads()
   at ICSharpCode.SharpDevelop.Services.WindowsDebugger.debuggedProcess_DebuggingPaused(Object sender, DebuggerPausedEventArgs e)
   at Debugger.Process.OnPaused(DebuggerPausedEventArgs e)
   at Debugger.ManagedCallback.<>c__DisplayClass1.<ExitCallback>b__0()
   at Debugger.MTA2STA.<>c__DisplayClass4.<EnqueueCall>b__1()
   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:
ProjectService.CurrentSolution: [Solution P:\Prosjekt\SunStone\Navigator\Navigator_Source\Navigator.sln with 9 projects]
ProjectService.CurrentProject: [CSharpProject: Navigator.S63]
Workbench.ActiveContent: [AvalonEditViewContent p:\Prosjekt\SunStone\Common\Common_Source\ISOIEC_8211\Streamer\FileRecord.cs]


Viewing all articles
Browse latest Browse all 1764

Latest Images

Trending Articles



Latest Images