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

ILSpy Debugger Issues

$
0
0

I am trying to debug few Dlls using ILSpy Debugger but facing following issues:- 

 

  • I am getting this error ["Threads.CannotStepNoActiveFunction"] more than frequently. 
  • When inspecting variables specialy for Nullable Types tooltip shows wrong values.
               Example -
               int? myObject = null; 
               myObject.HasValue - display HasValue -> 'True' & Value-> 0, even if there is no value assigned to the object 
  • When stepping over the codes it skips some lines and jumps to any random line on pressing F10.
When I get in details of source code of ILSpy Debugger, found that belo statement -  
       var frame = debuggedProcess.SelectedThread.MostRecentStackFrame;
of WindowsDebugger Class and in JumpToCurrentLine() method gives some wrong frame and wrong frame.IP.
Which leads the debugger to jumps on any random line of code.

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles