如何一起调试两个相互关联的项目. [英] How to debug two interrelated projects together.
本文介绍了如何一起调试两个相互关联的项目.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我有两个应用程序,都是相互关联的.一个是c#应用程序,另一个是VC ++.
C#应用程序与VC ++应用程序链接.
我打开了两个sln文件并尝试进行调试,我可以调试c#,但是我无法调试VC ++,我在VC ++应用程序中设置了断点,但是断点根本没有被击中.
有人可以告诉我用什么方法一起调试这两个应用程序吗?
在此先感谢.
Hello guys,
I have two applications,both are inter-related.One is c# application another is VC++.
C# application is linked with VC++ application.
I open two sln files and try to debug, I am able to debug c# however i am not able to debug VC++, I have put break-points in VC++ application,but break-points are not getting hit at all.
Can anybody tell me any way to debug these two applications together?
Thanks in advance.
推荐答案
如果我们这样做,则会运行两个C#项目. 转到解决方案属性->共同属性->启动项目,然后选择多个启动项目
检查.
Two C# projects run if we do as
Go to Solution properties -> Common properties -> Startup Project and select Multiple startup projects
check it.
这篇关于如何一起调试两个相互关联的项目.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文