Linux C ++调试器 [英] Linux C++ Debugger

查看:234
本文介绍了Linux C ++调试器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找完美的Linux C ++调试器。我不期望成功,但搜索应该是信息。

I'm looking for the perfect Linux C++ debugger. I don't expect success, but the search should be informative.

我是一个相当有能力的gdb用户,但STL和Boost很容易粉碎我的调试技能。它不是我不能进入数据结构的内部,它是需要这么长的时间我通常找到另一种方式(有疑问,打印出来)。

I am a quite capable gdb user but STL and Boost easily crush my debugging skills. It not that I can't get into the internals of a data structure, it's that it takes so long I usually find another way( "when in doubt, print it out" ).

gdb的宏语言很奇怪,而且不太适应。只需看看stanford gdb utils的代码,打印stl结构。

The macro language for gdb is weird and not very adaptive. Just look at the code for the stanford gdb utils to print out stl structures.

总之,我不满意我所拥有的。

In short I'm unhappy with what I've got.

我最近偶然发现了零错误。它看起来像一个银弹。

I recently stumbled upon Zero Bugs. It looks like a silver bullet. What do the current Zero Bugs users think of it?

有没有人找到其他良好的解决方案来解决Linux C ++ Debugger问题?

Has anyone found other good solutions to the Linux C++ Debugger problem?

推荐答案

gdb的开发分支(gdb的 Project Archer的一部分)向gdb添加了Python支持(以替换gdb的宏)。有一系列博客文章从这里开始,广泛涵盖启动使用Python的gdb和优惠几个教程使用Python定义新的gdb命令和漂亮的打印C ++数据结构。

A development branch of gdb (part of gdb's Project Archer) adds Python support to gdb (to replace gdb's macros). There's a series of blog postings starting here that extensively covers getting started with Python-enabled gdb and offers several tutorials on using Python for defining new gdb commands and pretty printing of C++ data structures.

这篇关于Linux C ++调试器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆