【Hacker News搬运】Seer:Linux版GDB的GUI前端
-
Title: Seer: A GUI front end to GDB for Linux
Seer:Linux版GDB的GUI前端
Text:
Url: https://github.com/epasveer/seer
由于我无法直接访问互联网,包括GitHub上的内容,我无法直接查看`https://github.com/epasveer/seer`页面上的具体信息。 但是,我可以根据GitHub的一般用途和`seer`这个名字来提供一些可能的解释和总结。 GitHub是一个用于托管和版本控制代码的平台,用户可以在这个平台上分享、讨论和协作开发软件。如果`epasveer/seer`是一个GitHub项目,以下是一些可能的描述: **项目简介:** - **名称**:seer - **作者**:epasveer - **类型**:可能是开源软件或工具 - **功能**:seer可能是一个用于特定目的的工具或库,比如数据处理、数据分析、图像识别、机器学习等。 **项目特点:** - **开源**:这意味着任何人都可以自由地查看、修改和分发代码。 - **可能需要安装**:用户可能需要安装特定的依赖项或库才能运行seer。 - **文档和示例**:项目可能包含文档和示例代码,以帮助用户了解如何使用seer。 **内容翻译(假设内容不是中文):** 1. **项目描述**:Seer is an open-source project hosted on GitHub, developed by epasveer. It is a tool or library designed for [specific purpose], with features such as [list of features]. It is free to use, modify, and distribute, and may require certain dependencies for installation. 2. **功能说明**:This project includes [list of features], such as [feature 1], [feature 2], and [feature 3]. It is suitable for use in [application areas]. 3. **贡献指南**:Contributions to Seer are welcome. Please refer to the [CONTRIBUTING.md] file for guidelines on how to contribute to the project. 请注意,以上内容是基于GitHub项目和`seer`这个名字的假设性描述。要获取确切的项目信息,您需要访问上述GitHub链接并查看项目页面。
Post by: turrini
Comments:
badsectoracula: I built it and tried it out a bit with Godot on Linux. It seems OK (the UI is a bit on the "- how many widgets do you want? - yes" side), but also a bit janky. Trying to change the font for the editor didn't work, hovering over a variable to see its value either does nothing (but there is a sub-second cursor change that indicates <i>something</i> is supposed to happen) or it shows an error from GDB about trying to use an expression with a type or keyword (so there <i>was</i> an intent to show a value on a tooltip, it is just broken) - doubleclicking on a variable does add it in some panel with its current value and a timestamp, so the functionality for reading values/expressions from the UI is there too, just not done in the same way as the tooltips.<p>If polished a bit it could be useful, though from all the frontends i've tried the one i disliked the least (none are great) is Gede[0] (which i just noticed had a new release a few hours ago) as it has a very simple and straightforward UI and while it doesn't expose much functionality, what exposes seem to work fine without bugs.<p>[0] <a href="https://gede.dexar.se/" rel="nofollow">https://gede.dexar.se/</a>
badsectoracula: 我构建了它,并在Linux上用Godot进行了一些尝试。看起来还可以(UI有点“-你想要多少个小部件?-是的”),但也有点笨拙。试图更改编辑器的字体没有;不起作用,将鼠标悬停在变量上查看其值要么什么都不做(但有一个亚秒级的光标变化,表明应该发生<i>的事情</i>),要么显示GDB在尝试使用带有类型或关键字的表达式时出错(因此<i>是</i>在工具提示上显示值的意图,它只是坏了)-双击变量确实会将其添加到某个面板中,其中包含其当前值和时间戳,因此读取值的功能;UI中的表达式也存在,只是方式与工具提示不同<p> 如果稍微打磨一下,它可能会很有用,尽管从所有前端来看,它都是有用的;我尝试过我最不喜欢的一个(没有一个很棒)是Gede[0](我刚刚注意到它在几个小时前有一个新版本),因为它有一个非常简单直接的UI,虽然它没有;没有公开太多功能,公开的功能似乎运行良好,没有bug<p> [0]<a href=“https:”gede.dexar.se“rel=”nofollow“>https:”/;gede.dexar.se</一
alexhutcheson: GDB also has a built-in text user interface (TUI) that is surprisingly easy to use[1]. It even supports mouse interaction.<p>[1] <a href="https://sourceware.org/gdb/current/onlinedocs/gdb.html/TUI.html" rel="nofollow">https://sourceware.org/gdb/current/onlinedocs/gdb.html/TUI.h...</a>
alexhutcheson: GDB还有一个内置的文本用户界面(TUI),其使用起来令人惊讶地简单[1]。它甚至支持鼠标交互<p> [1]<a href=“https:/;sourceware.orgG;gdb+;current,;onlinedocs.html*;TUI.html”rel=“nofollow”>https:/;sourceware.org;gdb;当前;onlinedocs;gdb.html;TUI.h</a>
cassepipe: After trying many frontends for gdb I find that the TUI is the best. You just need to know about Ctrl + L to redraw if your program is printing stuff because the interface then become garbled.<p>I just put :<p><pre><code> layout src
set confirm off
</code></pre>
in my $XDG_CONFIG_HOME/gdb/gdbinitcassepipe: 在尝试了gdb的许多前端后,我发现TUI是最好的。如果你的程序正在打印内容,你只需要知道Ctrl+L来重新绘制,因为界面会变得混乱<p> 我只是把:<p><pre><code>布局src设置确认</code></pre>在我的$XDG_CONFIG_HOME中;gdb;gdbinit
malkia: In case you are in Windows, and connected to Linux and/or using WSL, you can also use WinDBG/VisualStudio to debug (remotely) Linux processes!
malkia: 如果您使用的是Windows,并且连接到Linux和/;或者使用WSL,您还可以使用WinDBG;VisualStudio用于(远程)调试Linux进程!
pvg: A mediumish discussion 2 years ago <a href="https://news.ycombinator.com/item?id=33044885">https://news.ycombinator.com/item?id=33044885</a>
pvg: 2年前的一次中等程度的讨论<A href=“https:/;news.ycombinator.comM;item?id=33044885”>https:/;news.ecombinator.com;项目?id=33044885</a>