简体   繁体   English

调试Visual C ++复杂项目

[英]Debugging Visual C++ complex project

I am working on a bit complex project, and i wonder is it possible to debug just part of code not entire application because its too slow. 我正在研究一个有点复杂的项目,我想知道是否可以调试一部分代码而不是整个应用程序,因为它太慢了。 Like i write some lines and code, compile, and then tell to debugger from where to start execution and to assign variable values manually. 就像我写一些行和代码,进行编译,然后告诉调试器从哪里开始执行并手动分配变量值。

This is only possible if you set up the environment for your part of code which will model the real project. 仅当您为将对真实项目建模的部分代码设置了环境时,才有可能。 Look at mock objects ( brief description ). 查看模拟对象简要说明 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM