当前位置:网站首页>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里面):
边栏推荐
- 开启 Chrome 和 Edge 浏览器多线程下载
- 秒杀系统1-登录功能
- C语言刷题~Leetcode与牛客网简单题
- Atlas atlas torque gun USB communication tutorial based on mtcom
- 如何使用 @NotNull等注解校验 并全局异常处理
- Markdown file titles are all reduced by one level
- App global exception capture
- Summary of JVM knowledge points
- redis缓存穿透,缓存击穿,缓存雪崩解决方案
- Kubernetes advanced training camp pod Foundation
猜你喜欢

Functional modules and application scenarios covered by the productization of user portraits

Introduction, use and principle of synchronized

解决pushgateway数据多次推送会覆盖的问题

Basic SQL tutorial

Halcon and WinForm study section 1

mysql innodb 存储引擎的特性—行锁剖析

Final review points of human-computer interaction
![[transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018](/img/2b/b23aeab584f89be6678c0fe059d4b6.png)
[transformer] Introduction - the original author of Harvard NLP presented the annotated transformer in the form of line by line implementation in early 2018

GCC cannot find the library file after specifying the link library path

Redis cache penetration, cache breakdown, cache avalanche solution
随机推荐
XWiki Installation Tips
The state does not change after the assignment of El switch
qt使用QZxing生成二维码
运维体系的构建
Tensorflow realizes verification code recognition (III)
秒殺系統3-商品列錶和商品詳情
[combinatorics] permutation and combination (set permutation, step-by-step processing example)
秒杀系统2-Redis解决分布式Session问题
北京共有产权房出租新规实施的租赁案例
【Transformer】入门篇-哈佛Harvard NLP的原作者在2018年初以逐行实现的形式呈现了论文The Annotated Transformer
Redis single thread problem forced sorting layman literacy
Kubernetes - YAML文件解读
mysql innodb 存储引擎的特性—行锁剖析
QT common sentence notes
Leetcode the smallest number of the rotation array of the offer of the sword (11)
视觉上位系统设计开发(halcon-winform)-3.图像控件
Digital image processing -- popular Canny edge detection
Visual upper system design and development (Halcon WinForm) -3 Image control
Visual upper system design and development (Halcon WinForm) -5 camera
Apache ant extension tutorial