当前位置:网站首页>WinDbg分析dump文件
WinDbg分析dump文件
2022-07-03 15:20:00 【宇龍_】
调试能力可以说是最重要,尤其对于C/C++程序员而言,更是如此!
用神器WinDbg调试Dump文件需要三样东西:
1.毋庸置疑,肯定是Dump文件咯
2.源代码,必须与编译可执行文件时的代码一致
3.PDB文件,编译时生成的符号文件,一定是要与可执行文件同时生成的!(即便源代码一致,重新生成的PDB文件也不行。)
1、用WinDbg打开dump文件

2、设置符号路径(生成二进制文件时对应的PDB文件所在目录,版本要一致!多个二进制文件的pdb最好生在同一目录):

3、设置源码路径(项目的solution文件所在目录,多个项目可以加到一个solution里面):
边栏推荐
- 使用JMeter对WebService进行压力测试
- 开启 Chrome 和 Edge 浏览器多线程下载
- The first character of leetcode sword offer that only appears once (12)
- [transform] [practice] use pytoch's torch nn. Multiheadattention to realize self attention
- el-switch 赋值后状态不变化
- Jvm-09 byte code introduction
- 视觉上位系统设计开发(halcon-winform)-1.流程节点设计
- 需要知道的字符串函数
- 官网MapReduce实例代码详细批注
- Nppexec get process return code
猜你喜欢

Visual host system design and development (Halcon WinForm)
![Mysql报错:[ERROR] mysqld: File ‘./mysql-bin.010228‘ not found (Errcode: 2 “No such file or directory“)](/img/cd/2e4f5884d034ff704809f476bda288.png)
Mysql报错:[ERROR] mysqld: File ‘./mysql-bin.010228‘ not found (Errcode: 2 “No such file or directory“)

What is machine reading comprehension? What are the applications? Finally someone made it clear

Introduction, use and principle of synchronized

Jvm-04-runtime data area heap, method area

Popular understanding of ovo and ovr
![[cloud native training camp] module 7 kubernetes control plane component: scheduler and controller](/img/a4/2156b61fbf50db65fdf59c8f5538f8.png)
[cloud native training camp] module 7 kubernetes control plane component: scheduler and controller

The state does not change after the assignment of El switch

Concurrency-02-visibility, atomicity, orderliness, volatile, CAS, atomic class, unsafe

Halcon与Winform学习第一节
随机推荐
Summary of concurrent full knowledge points
开启 Chrome 和 Edge 浏览器多线程下载
What is machine reading comprehension? What are the applications? Finally someone made it clear
qt使用QZxing生成二维码
Leetcode the smallest number of the rotation array of the offer of the sword (11)
GCC cannot find the library file after specifying the link library path
[attention mechanism] [first vit] Detr, end to end object detection with transformers the main components of the network are CNN and transformer
[probably the most complete in Chinese] pushgateway entry notes
Final review points of human-computer interaction
求字符串函数和长度不受限制的字符串函数的详解
[combinatorial mathematics] binomial theorem and combinatorial identity (binomial theorem | three combinatorial identities | recursive formula 1 | recursive formula 2 | recursive formula 3 Pascal / Ya
Popular understanding of ovo and ovr
Characteristics of MySQL InnoDB storage engine -- Analysis of row lock
Using notepad++ to build an arbitrary language development environment
Idea does not specify an output path for the module
Visual upper system design and development (Halcon WinForm) -2 Global variable design
Kubernetes 进阶训练营 Pod基础
What are the composite types of Blackhorse Clickhouse, an OLAP database recognized in the industry
Digital image processing -- popular understanding of corrosion and expansion
使用Tengine解决负载均衡的Session问题