是否有"TUI"独立的lldb模式? [英] Is there a "TUI" mode for standalone lldb?

查看:74
本文介绍了是否有"TUI"独立的lldb模式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于gdb如今在Mac上使用起来越来越麻烦(至少我觉得我在与Apple对抗),所以我开始尝试使用lldb.

Since gdb is getting onerous to work with on a Mac these days (at least I feel like I am fighting uphill against Apple), I've started to play around with lldb.

是否有与gdb -tui等效的模式,可以通过命令行独立运行lldb来显示源的良好持久视图以及您在源视图中的位置?显然,在Xcode中有这样的显示,但是我最终将大部分代码部署到Linux机器上,并且希望在两个平台上使用相同的开发环境(即vim,Makefiles,autotools等).

Is there an equivalent mode to gdb -tui that shows a nice, persistent view of the source and where you are in it when running lldb standalone from the command line? Obviously, in Xcode, there is such a display, but I deploy most of my code to Linux boxes eventually and would prefer to use the same development environment on both platforms (i.e., vim, Makefiles, autotools, etc.).

推荐答案

在树svn源lldb的顶部,有一个非常的新命令行GUI模式,由Greg Clayton添加.带有源,局部变量,堆栈,线程,寄存器等独立窗口的窗口非常整洁.尚无控制台窗口.它太酷了.有关如何从源代码构建lldb的信息,请参见 http://lldb.llvm.org/build.html 如果您想查看一下.要进入GUI模式,只需在调试时从lldb命令行键入gui.

In top of tree svn source lldb there's a very new command line GUI mode that's been added by Greg Clayton. It's pretty neat with separate windows for the source, local variables, stack, threads, registers, etc. No console window yet. It's pretty cool. See http://lldb.llvm.org/build.html for how to build lldb from source if you'd like to check it out. To enter the GUI mode, just type gui from the lldb command line when you're debugging.

更新:此gui功能包含在Xcode 6和更高版本中附带的lldb中.这是一个晚上和一个周末的附带项目,目前并没有看到很多活跃的开发,但是请尝试一下.

UPDATE: this gui feature is included in the lldb that ships in Xcode 6 and later. It's a nights-and-weekends side project that isn't seeing a lot of active development right now but give it a try.

这篇关于是否有"TUI"独立的lldb模式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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