nvim-gdb
gdb-dashboard
nvim-gdb | gdb-dashboard | |
---|---|---|
7 | 19 | |
735 | 11,385 | |
1.6% | 2.2% | |
5.6 | 3.7 | |
1 day ago | 5 months ago | |
Lua | Python | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvim-gdb
-
I can't stand using VSCode so I wrote my own (it wasn't easy)
It's not ideal to me yet. I've had some problems with DAP. The DAP servers I've checked were a bit unstable and slow. For now I'm using gdb with nvim-gdb https://github.com/sakhnik/nvim-gdb
Very reliable and as fast as gdb is. But with all the problems just using gdb has.
-
Debugging in neovim
Maybe https://github.com/sakhnik/nvim-gdb (bashdb uses gdb like commands) I've mostly used llvm debugger and node debugger so I am not too familiar with gdb.
-
I must be missing something
nvim-gdb: GDB wrapper, simple and easy to hack.
-
Create visual interface for breakpoints
Recently I am using nvim-gdb, which is inspired by neovim-gdb.vim script. I am wondering whether it is possible to have the same visual interface in terms of current line running as well as the breakpoint mark similar to the above two project but not connect to the debug?
-
Debugging in Neovim
There's the plugin that evolved from the original neovim debugger: sakhnik/nvim-gdb. Well tested and maintained. Spoiler: personal affiliation.
-
Debugger plugins
sakhnik/nvim-gdb This one also looks like a nice debugger plugin; also neovim only.
-
GDB TUI mode
https://www.dannyadam.com/blog/2019/05/debugging-in-vim/ describes it well. https://github.com/sakhnik/nvim-gdb is nicer, but requires neovim.
gdb-dashboard
- Cyrus-and/GDB-dashboard: Modular visual interface for GDB in Python
- Everything You Never Wanted to Know About CMake (Redux)
-
VSCode -> VIM, but how do I accomplish the other IDE tasks?
To debug, termdebug is built in to vim and supports a front end to gdb. In combination with gdb-dashboard this gives a reasonably good debugging experience
-
Are there any cpu emulators that could help me learn i386 assembly?
https://github.com/cyrus-and/gdb-dashboard, https://github.com/cyrus-and/gdb-dashboard/wiki
-
Usage of GDB over command line
You can use the Python API to GDB to get really fancy TUIs like this: https://github.com/cyrus-and/gdb-dashboard
-
Debugging with GDB
Try GDB Dashboard, it makes gdb much easier to use:
https://github.com/cyrus-and/gdb-dashboard
There's also Voltron which works with both gdb and lldb (amongst others):
https://github.com/snare/voltron
I can't believe no one has mentioned `gdb-dashboard` [1] yet! I use it extensively. [2]
Beyond that, I have recently learned how to write custom pretty printers for GDB. This saves a lot of screen space. I should probably update [2] soon with those new techniques.
GDB is powerful, useful, and after getting my start in IDE debuggers, including Visual Studio, I struggle whenever I have to go back.
[1]: https://github.com/cyrus-and/gdb-dashboard
[2]: https://gavinhoward.com/2020/12/my-development-environment-a...
- Gdb-dashboard: a better TUI for gdb
-
How do I "replicate" an IDE like the Keil uVision or the TI CCS using Visual Studio Code?
Debugging: Learn gdb. You can use it for assembly. You can use it for C on a MCU. You can use it for Go on a Linux system. It’s ubiquitous, versatile, and worth understanding. You can pretty-print the output with something like this to help you out at first. There are 2 things you need, however: on chip debugger and a debug probe (though you don’t need an expensive one). Effectively, you talk to GDB, GDB talks to the server exposed by OCD, OCD knows the debug probe protocol, and the debug probe can use the MCU debug peripheral via SWD or JTAG to get those details.
-
Using gdb to be productive
I use gdb because I'm usually in the terminal. I don't think terminal it's any faster though. This is a nice addition to boring old terminal gdb.
What are some alternatives?
nvim-dap - Debug Adapter Protocol client implementation for Neovim
gef - GEF (GDB Enhanced Features) - a modern experience for GDB with advanced debugging capabilities for exploit devs & reverse engineers on Linux
vimspector - vimspector - A multi-language debugging system for Vim
pwndbg - Exploit Development and Reverse Engineering with GDB Made Easy
NvChad - Blazing fast Neovim framework providing solid defaults and a beautiful UI, enhancing your neovim experience.
lldb-mi - LLDB's machine interface driver
cpplinks - A categorized list of C++ resources.
pdb-tutorial - A simple tutorial about effectively using pdb
gdb-frontend - ☕ GDBFrontend is an easy, flexible and extensible gui debugger.
clasp - clasp Common Lisp environment
LLDB-TeXmacs-Pretty-Printer - LLDB TeXmacs Pretty Printer