vc 调试(Vc debugging).doc


文档分类:IT计算机 | 页数:约18页 举报非法文档有奖
1/18
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/18
文档列表 文档介绍
vc++调试(Vc++ debugging)
Always want to sum up a method of debugging in the VC++, but due to the previous C++ classes at the university I always pry the class, so there is no well, today saw izen summary of an article, I have a copycat.
The debugger can help you understand how the program works.
1, how to quickly standardize code indent format
Select the required code, press shift+F8
2, how to debug in the Release state
Project>Setting... >Project Settings dialog box, select the Release state. In the "C/C++" tab, Category selects General, Optimizations selects Disable (Debug), and Debug info selects Program Database. In the "Link" tab, select the Generate debug info checkbox.
Note: only one between Debug and Release intermediate state, all ASSERT and VERIFY have no effect, function call is really calling, but not the look-up table, but this state, QuickWatch call queue tracking function is still valid, and the Debug version.
3. What's the difference between Release and Debug?.
The Release version is called the release version, and the Debug version is called the debug version.
Debug can perform single step, tracking and other functions, but the generated executable file is relatively large, and the code runs slowly. Release version runs faster, executable file is small, but in pilation conditions are small, can not perform debugging function.
The Release file of exe is linked to the standard MFC DLL (Use MFC in a shared or static DLL), such as . These DLL are already configured when installing Windows, so these programs can run on machines without Visual C++ 6 installed. The Debug version of exe links the debug version of the MFC DLL file, such as . Cannot run on a machine that does not install Visual C++, because is missing, unless use static DLL when link is selected.
4. What's the difference between ASSERT and VERIFY?
ASSERT content inside the Release version is piled, VERIFY content is piled, but no longer judge

vc 调试(Vc debugging) 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数18
  • 收藏数0 收藏
  • 顶次数0
  • 上传人rjmy2261
  • 文件大小28 KB
  • 时间2017-11-27