I was wondering how to debug several projects at once (in particular, a project that is embedded in an executable file and a project that is embedded in a DLL). In particular, I want to go through a DLL whose source is open to me.
I was wondering how to do this for C ++ and C # projects?
I think I know how to do this for the C # case:
- Create a new solution.
- Add both projects to the solution.
- Create a DLL project (as a debug).
- Add a link to the DLL created for the executable project (Should the working directory be the directory in which the debugging project of the DLL was built?)
- Set the executable project as startup and debugging in normal mode; You should be able to set breakpoints in DLLs, etc.
Does this sound right? If not, can someone tell me what I am missing?
More importantly, how to do this for the C ++ case? Thank!
R
source
share