GDB Python pretty printers配置打印c++中stl库容器
来源:互联网 发布:知乎电脑版 迅雷下载 编辑:程序博客网 时间:2024/06/07 11:51
转自:http://lumiera.org/documentation/technical/howto/DebugGdbPretty.html
Installation notes
This feature requires an python enabled GDB (>6.8.50). Actually, even the most recent stableGDB (Version 7.2) is recommended, because it contains some relevant bugfixes. Debian usersmight want to backport the the GDB package from Debian/Wheezy (GDB-7.2).Moreover, you need to check out and install a recent version of the python pretty-printersfrom the GNU Subversion repository:
svn checkout svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python stlPrettyPrinter
you need to activate them explicitly through your +~/.gdbinit
## .gdbinit : GDB Config file## 3/2010 - Ichthyo: add python pretty printers for STLpythonimport syssys.path.insert(0, '/opt/gdb/stlPrettyPrinter')from libstdcxx.v6.printers import register_libstdcxx_printersregister_libstdcxx_printers (None)end
- GDB Python pretty printers配置打印c++中stl库容器
- GDB Python pretty printers
- 【STL】标准库容器概述
- [C++]标准库容器
- pretty-printers查看map内容出现错误
- GDB STL vector打印
- GDB打印STL
- GDB STL vector打印
- GDB STL vector打印
- hackerrank>Dashboard>C++>STL>Print Pretty
- VC STL标准库容器类
- STL库容器vector Constructors构造函数
- STL库容器 vector assign赋值函数
- STL库容器vector at函数
- STL库容器vector clear函数
- C gdb打印宏
- c++ stl 标准库容器的选择原则(图)
- STL库容器vector Operators赋值,比较函数
- saltstack官方文档——Command Line Reference
- Disable the authentication loopback check for SharePoint
- 状态栏关机按钮改为关屏
- ubuntu TFTP设置配置
- saltstack官方文档——Configuring the Salt Master
- GDB Python pretty printers配置打印c++中stl库容器
- 10167 - Birthday Cake//枚举
- jquery $.fn $.fx是什么意思
- 前缀中缀后缀表达式
- IOS疯狂基础之输入限制—手机号,金额
- Linux操作系统Vmstat命令列出的属性详解
- 机器人行走
- highside 介绍
- MyBatis学习3---使用SqlBuilder生成SQL语句