文件名称:vc6.0调试_解密版
文件大小:278KB
文件格式:ZIP
更新时间:2016-07-25 08:25:32
vc6.0调试
调试 ..................................................................................................................................................3 调试概述 ...................................................................................................................................3 调试环境的设置 .......................................................................................................................3 【 Debug 】选项卡 ............................................................................................................4 【 C/C++ 】选项卡 ............................................................................................................5 调试环境的调试工具条 ...........................................................................................................5 常用快捷键 ...............................................................................................................................6 一般调试过程 ...........................................................................................................................7 调试入门 ...........................................................................................................................8 断点的控制 ...............................................................................................................8 观察变量 ...................................................................................................................9 单步跟踪 .................................................................................................................13 调试进阶 .........................................................................................................................14 高级断点 .................................................................................................................14 各种查看工具的使用 .............................................................................................14 再谈跟踪 .................................................................................................................16 MFC 程序的调试 ...................................................................................................................17 TRACE 宏的使用 ...........................................................................................................18 ASSERT 宏的使用 .........................................................................................................18 ASSERT_VALID 宏的使用 ...........................................................................................19 Dump 函数的使用 ..........................................................................................................19 查看内存泄漏 .................................................................................................................20 使用 CMemoryState 来跟踪内存使用情况 ...................................................................22 Error Lookup 工具的使用 ......................................................................................................25 Spy++ 的使用 ..........................................................................................................................25 编写易于调试的代码 .............................................................................................................26 程序的设计 .....................................................................................................................26 简单性 .....................................................................................................................26 耦合性 .....................................................................................................................26 编程风格 .........................................................................................................................27 清晰地书写代码 .....................................................................................................27 编写结构良好的代码 .............................................................................................27 使用良好的标识符 .................................................................................................27 用简单的语句行 .....................................................................................................27 使用统一的排列 .....................................................................................................28 用括号使书写清晰 .................................................................................................28 小心 = 和 ==..............................................................................................................28 使用好的注释 .........................................................................................................28 编程注意事项 .................................................................................................................28 利用 C++ 语言特性 .................................................................................................28 使用头文件 .............................................................................................................29 初始化变量 .............................................................................................................29 使用布尔类型 .........................................................................................................29 使用句柄和指针 .....................................................................................................30 用引用而不是指针做参数 .....................................................................................30 强制类型转换 .........................................................................................................30 使用构造函数和析构函数 .....................................................................................30 丰富自身的知识 .....................................................................................................................30
【文件预览】:
调试_解密版.pdf