Click here to Skip to main content
15,880,956 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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 specially 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 found in getting in details of code that
var frame = debuggedProcess.SelectedThread.MostRecentStackFrame; from WindowsDebugger Class and in JumpToCurrentLine() method gives some wrong frame and wrong frame.IP.

Did anyone face the same issue or have any fix for the same?

What I have tried:

When I found in getting in details of code that

var frame = debuggedProcess.SelectedThread.MostRecentStackFrame; from WindowsDebugger Class and in JumpToCurrentLine() method gives some wrong frame and wrong frame.IP.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900