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.