2018年2月12日

VC++ Debug条件断点使用

摘要: If you're trying to reproduce a rare event and getting too many false positives with your breakpoints, you can easily make them conditional! Simply sp 阅读全文

posted @ 2018-02-12 11:38 我来乔23 阅读(441) 评论(0) 推荐(0) 编辑

VC++为你的程序增加内存泄露检测

摘要: 使用方法: C++ Code 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 // MFCLeakerTest.cpp : Defines the  阅读全文

posted @ 2018-02-12 11:16 我来乔23 阅读(792) 评论(0) 推荐(0) 编辑

VC++ Debug格式化数值显示

摘要: When you watch variables in the Watch or Quick Watch window, the values are displayed using the default pre-defined visualizers. When it comes to numb 阅读全文

posted @ 2018-02-12 10:55 我来乔23 阅读(350) 评论(0) 推荐(0) 编辑

VC++Debug查看堆对象内容,即使符号已经超出作用范围

摘要: Sometimes you'd like to watch the value of an object (on the heap) even after the symbol goes of scope. When that happens, the variable in the Watch w 阅读全文

posted @ 2018-02-12 10:44 我来乔23 阅读(253) 评论(0) 推荐(0) 编辑

VC++ Debug产生异常时中断程序执行Break on Exception

摘要: It is possible to instruct the debugger to break when an exception occurs, before a handler is invoked. That allows you to debug your application imme 阅读全文

posted @ 2018-02-12 10:36 我来乔23 阅读(369) 评论(0) 推荐(0) 编辑

VS中常用的环境变量

摘要: 环境变量名含义 $(SolutionDir) 解决方案目录:即.sln文件所在路径 $(ProjectDir) 项目根目录:, 即.vcxproj文件所在路径 $(Configuration) 当前的编译配置名称,比如Debug,或Release $(ProjectName) 当前项目名称 $(SolutionName) 解决方案名称 $(OutDir) 项目输出文件... 阅读全文

posted @ 2018-02-12 10:20 我来乔23 阅读(242) 评论(0) 推荐(0) 编辑

导航