如何在1个解决方案中调试2个项目 [英] How to debug 2 projects in 1 solution
问题描述
我有1个解决方案,其中有3个项目。这个解决方案的编译输出是一个DLL,一些函数在项目A中,一些在项目B中,一些在项目C中。我将项目A(入口函数在此项目中)设置为启动项目
和在调试环境中填充调用者可执行文件。现在我可以在项目A中设置断点,而我无法在项目B中设置断点, 我该如何解决这个问题呢?
I have 1 solution in which there are 3 projects. The compilation output of this solution is a DLL, some functions are in project A, some in project B and some in project C. I set the project A (the entry function is in this project) as the startup project and fill the caller executable in the debug environment. and now I can set the break point in project A, while I can't set the break point for the function in project B, how can I fix this issue?
如下图所示,我可以进入函数a而不能进入函数b。
as shown below, I can step into function a and can NOT step into function b.
非常感谢您的帮助。
main //在项目A中
main // in project A
{
通话功能a; //函数a在项目A中定义
call function a; // function a is defined in project A
通话功能b; //功能b在项目B中定义
call function b; // function b is defined in project B
通话功能c;   //函数c在项目C中定义
call function c; // function c is defined in project C
}
推荐答案
项目B和C生成什么作为输出,lib?还有一个DLL?
What does project B and C generate as output, a lib? also a DLL?
这篇关于如何在1个解决方案中调试2个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!