Link to home
Start Free TrialLog in
Avatar of Misledman
MisledmanFlag for United States of America

asked on

Debugging with VS 2010 issues.

I'm just now starting to use VS 2010. In my solution, I have a web application (using local IIS on windows 7 box) and a class library. In VS 2008, if I right click a function in a web app and click "Show Definition" it takes me to the code in the class library. In VS 2010, it takes me to the object browser. Also, breakpoints aren't working properly or not at all in the class library side of the solution. Breakpoints work fine in the web app. What am I doing wrong?
Avatar of mcmahon_s
mcmahon_s
Flag of Australia image

Is the class library in the same solution as the web application?
In the web app, did you add the reference to the class library as a project reference or directly to the compiled dll?
Avatar of Misledman

ASKER

Actually, I got the debugging part working with "Rebuild". It seems, VS 2010 rebuilds a bit different than 2008. So, I can put in a breakpoint and it stops there. However, I still can't right click a function and click "Go to Definition". Doing that brings up obeject browser. In VS 2008, it went straight to the code in the class.

To answer your question....The class library is in the same solution referenced as a project (NOT the DLL).
ASKER CERTIFIED SOLUTION
Avatar of Misledman
Misledman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is the answer...