当前位置:网站首页>Break pad source code compilation--refer to the summary of the big blogger
Break pad source code compilation--refer to the summary of the big blogger
2022-08-11 07:58:00 【Luoyang Fish Ziyi】
背景
Investigating crashesbugWhen he collapsed,I thought it would be nice if there was a tool to locate it.Did a search online and found that there is,这样的工具,分别是Google公司的Breakpad和Crashpad,目前暂时使用Breakpad,因为CrashpadSome of the resources need to go to the Internet to obtain(主要是GoogleCompilation instructions on the official website and corresponding development tools,If anyone knows how to get it,请帮帮我).
参考博客
This is an article summarizing experience,Of course, most of them are borrowed from others,So here is a link to the original text for reference,Thanks to these bloggers.My summary is also written on this basis.
https://blog.csdn.net/libaineu2004/article/details/108033316
标题 : dump系列(3)Qt使用Google Breakpad或Crashpad捕获程序崩溃报告
https://blog.csdn.net/GoForwardToStep/article/details/56304285
标题 : Google Breakpad 在 windowsCapture program crash reports under
https://blog.csdn.net/zyhse/article/details/112577340
标题 : 在Windows下编译Breakpad
选择Breakpad与Crashpad的纠结
看了好多资料,发现说Breakpad已经被淘汰,Crashpad是正在使用的.不过我想BreakpadIt's enough for me,There aren't too many functions that I might use.In addition, I looked at this project and there are big cows maintaining it.
过程
My first reference blog isGoogle Breakpad 在 windowsCapture program crash reports under这篇,这里面提供了Breakpad项目的源码,如下图.
这里我选择去github上直接下载源码.Use an up-to-date one.
https://github.com/google/breakpad
注意使用了github上的源码,那么Google Breakpad 在 windowsCapture program crash reports under文章的后面,Some methods do not work.will be mentioned below.
remember to buildpython环境,The version I installed is also2.7.13,There is no problem in use.
接着是安装GYP工具,It's written in the blog,And there is no such directory in the source code I downloaded,The blog is different here.
GYP(Generate Your Projects)是由 Chromium 团队开发的跨平台自动化项目构建工具,Chromium 便是通过 GYP 进行项目构建管理.
而GYP在 源码的 \google_breakpad\src\tools \gyp 目录下.打开cmd命令提示窗口,进入到 \google_breakpad\src\tools \gyp 目录,输入命令 setup.py install ,完成gyp的安装.
Then you can refer to the blog在Windows下编译Breakpad,It is mentioned here that additional installation is requiredGYP工具,Just do as the boss says,但是在安装的时候(执行 setup.py install)我遇到了如下问题,I think it probably means that the error is made by operating as an administrator.So I just added another onewindows的普通用户,Just switch to a normal user and install it again,Then compile the source code,生成breakpad的库.
最后注意,When using the library, you also need to cooperate with the corresponding header file,The image below is my included header file,大家仅作参考,Pay attention to the directory hierarchy when actually using it.
The above is a summary of the solutions I encountered when referring to other blogs,If the reader finds an error,请及时指正,不胜感激.
边栏推荐
- matplotlib
- oracle19c does not support real-time synchronization parameters, do you guys have any good solutions?
- 少年成就黑客,需要这些技能
- string类接口介绍及应用
- 1.1-回归
- 求职简历这样写,轻松搞定面试官
- TF generates (feature, label) set through feature and label, tf.data.Dataset.from_tensor_slices
- My creative anniversary丨Thank you for being with you for these 365 days, not forgetting the original intention, and each is wonderful
- The most complete documentation on Excel's implementation of grouped summation
- JRS303-Data Verification
猜你喜欢
1.2 - error sources
excel 透视表 值显示内容 不显示计数
3.1-分类-概率生成模型
Redis source code-String: Redis String command, Redis String storage principle, three encoding types of Redis string, Redis String SDS source code analysis, Redis String application scenarios
9、Neural Sparse Voxel Fields
1101 B是A的多少倍 (15 分)
1056 Sum of Combinations (15 points)
1096 big beautiful numbers (15 points)
2022 China Soft Drink Market Insights
tf中自减操作;tf.assign_sub()
随机推荐
基于微信小程序的租房小程序
1061 True or False (15 points)
CIKM 2022 AnalytiCup Competition: 联邦异质任务学习
1081 检查密码 (15 分)
易观分析联合中小银行联盟发布海南数字经济指数,敬请期待!
FPGA 20个例程篇:11.USB2.0接收并回复CRC16位校验
The most complete documentation on Excel's implementation of grouped summation
【C语言】每日一题,求水仙花数,求变种水仙花数
1.1-回归
【LeetCode】Summary of linked list problems
pyqt5实现仪表盘
string类接口介绍及应用
Four operations in TF
国密规范 SM2 SM3 SM4
1.1-Regression
2.1-梯度下降
【43. 字符串相乘】
2021-08-11 for循环结合多线程异步查询并收集结果
线程交替输出(你能想出几种方法)
零基础SQL教程: 基础查询 05