当前位置:网站首页>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里面):
边栏推荐
- Popular understanding of decision tree ID3
- Popular understanding of ovo and ovr
- [cloud native training camp] module 7 kubernetes control plane component: scheduler and controller
- Digital image processing -- popular understanding of corrosion and expansion
- Detailed comments on MapReduce instance code on the official website
- 开启 Chrome 和 Edge 浏览器多线程下载
- Global and Chinese markets for flexible chips 2022-2028: Research Report on technology, participants, trends, market size and share
- XWiki Installation Tips
- Apache ant extension tutorial
- 【Transformer】入门篇-哈佛Harvard NLP的原作者在2018年初以逐行实现的形式呈现了论文The Annotated Transformer
猜你喜欢

el-switch 赋值后状态不变化

Halcon and WinForm study section 2

Popular understanding of random forest

Construction of operation and maintenance system

Besides lying flat, what else can a 27 year old do in life?
![[probably the most complete in Chinese] pushgateway entry notes](/img/5a/6dcb75f5d713ff513ad6842ff53cc3.png)
[probably the most complete in Chinese] pushgateway entry notes
![[Yu Yue education] scientific computing and MATLAB language reference materials of Central South University](/img/83/922efb4f88843f1b7feaccf2b515b9.jpg)
[Yu Yue education] scientific computing and MATLAB language reference materials of Central South University

详解指针进阶2

高并发下之redis锁优化实战

视觉上位系统设计开发(halcon-winform)-1.流程节点设计
随机推荐
Global and Chinese markets for flexible chips 2022-2028: Research Report on technology, participants, trends, market size and share
秒殺系統3-商品列錶和商品詳情
Visual upper system design and development (Halcon WinForm) -1 Process node design
Using multipleoutputs to output multiple files in MapReduce
Leasing cases of the implementation of the new regulations on the rental of jointly owned houses in Beijing
Redis主从、哨兵、集群模式介绍
使用Tengine解决负载均衡的Session问题
整形和浮点型是如何在内存中的存储
qt使用QZxing生成二维码
QT common sentence notes
【pytorch学习笔记】Transforms
什么是Label encoding?one-hot encoding ,label encoding两种编码该如何区分和使用?
[set theory] inclusion exclusion principle (complex example)
Digital image processing -- popular Canny edge detection
What is one hot encoding? In pytoch, there are two ways to turn label into one hot coding
官网MapReduce实例代码详细批注
MySQL reports an error: [error] mysqld: file '/ mysql-bin. 010228‘ not found (Errcode: 2 “No such file or directory“)
Reentrantlock usage and source code analysis
什么是embedding(把物体编码为一个低维稠密向量),pytorch中nn.Embedding原理及使用
[transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018