Mymail cpn
asked on
C# class library debugging - Breakpoint will not hit.
Hi
I am having problem where my breakpoints will not hit on certain methods of a file. ( till will hit properly on some other methods of the same .cs file).
I am using VS 2015 and trying to debug my class library.
Can some one help me figure this out? Thanks in advance.
I am having problem where my breakpoints will not hit on certain methods of a file. ( till will hit properly on some other methods of the same .cs file).
I am using VS 2015 and trying to debug my class library.
Can some one help me figure this out? Thanks in advance.
Sounds like you never call those methods.
or a running against a different version of said class library.
ASKER
I am calling that method because, I could see the output on the screen.
ASKER
How can I see which version of the class library that I am running? What I did was, I build the class library project and referenced it on my main project. This makes it the same version right?
You say some methods will hit the breakpoint but others won't. That still sounds like you use the same class library but don't call that method, or at least the code in the method where you have the breakpoint.
>>I am calling that method because, I could see the output on the screen.
Put the breakpoint on where you call the method and then step into the method rather than having the breakpoint in the method.
>>I am calling that method because, I could see the output on the screen.
Put the breakpoint on where you call the method and then step into the method rather than having the breakpoint in the method.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you Andy, with your help I was able to solve it.
ASKER
Thank you very much.