带代码的gdb分割视图 [英] gdb split view with code

查看:117
本文介绍了带代码的gdb分割视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在gdb中调试一个程序,不知何故,我发现了一个我从未见过或甚至听说过的新功能,这是一个分割视图,除了提供命令外,还可以看到并浏览代码:





这是什么?我做了什么,或者更具体地说,我怎样才能再次获得这种分屏模式?是否有这个模式的名字,或者我可以读到的关于如何使用它的地方?

它被称为TUI开玩笑)。以 gdbtui gdb -tui ...

开始,例如

I was just debugging a program in gdb and somehow I found a new feature I've never seen or even heard of before, a split view where I can see and browse the code in addition to giving commands:

What is this? What did I do, or, more specifically, how can I get this split-screen mode again? Is there a name for this mode, or somewhere I can read about how to use it?

解决方案

It's called the TUI (no kidding). Start for example with gdbtui or gdb -tui ...

这篇关于带代码的gdb分割视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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