开发者

Debugging from one solution to another

I have always wondered how I should do this. Lets say I have a solution A and a Solution B. Lets say Solution A is the application I am working on. Lets say solution B is the frame开发者_开发技巧work for the application.

I have added the references of all the projects in Solution B in solutuon A. Lets say if I want to debug and someimes you may even want to step through the classes in Solution B, how is this possible.

I hope I have made myself clear.


If you build solution B as a library it will build dll's and pdb's for each project for you.

You can add references to these dlls in solution A. The pdb's provide all the debug information for you, so as long as they're in the same directory as the dlls, when you step into solution B's classes in the Solution A debugger it should automatically find the source code for you.


I add the projects (not the dlls) from solution B to solution A when I want to do this kind of debugging

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜