code-debug
realgud
code-debug | realgud | |
---|---|---|
3 | 3 | |
390 | 871 | |
- | 0.2% | |
6.6 | 4.6 | |
16 days ago | 6 months ago | |
TypeScript | Emacs Lisp | |
The Unlicense | GNU General Public License v3.0 only |
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.
code-debug
-
Debugging GameBoy Advance (GBA) programs/games in Emacs
We will use dap-mode with the dap-gdb-lldb option here. Under the hood, it uses the debug adapter from the Native Debug VSCode extension. Configuring it is described on the dap-mode webpages. After we have configured dap-mode, we could in theory reuse the launch.json configurations from the VSCode related articles above. That will require that you also use lsp-mode, as dap-launch depends on the lsp-workspace-root function and will not resolve when lsp-mode is not used. I don't use lsp-mode with C (company-clang and company-c-headers provide what I need), so the next logical solution would be to create a debug template ourselves:
-
Building an Intelligent Emacs
I'm not sure.
I can see that this extension claims to make debugging with GDB work in VS Code:
https://github.com/WebFreak001/code-debug
and that at least for emacs there exists a project to use that extension:
https://github.com/emacs-lsp/dap-mode/blob/master/dap-gdb-ll...
Not having tried it, I can't speak to how well it works, and I don't know if there are adapters for other editors.
-
Dap-mode : Native Debug (GDB/LLDB)# - did you get this working for C/C++?
The link at the top of page here, references the github repo : https://github.com/WebFreak001/code-debug which isnt the same thing as installed by vscode or by running dap-gdb-lldb-setup . Indeed this link points to a codebase using .ts files in different locations to the VSCode extension installed .js files. (I did set up the dap program/path variables to use the .ts files but that didnt work)
realgud
- "Emacs is not just a text editor" | Moving from VSCode to Emacs
-
lsp-mode vs eglot
I was reminded however of RealGUD so I'm currently trying that to see if it could be a viable replacement for dap-mode. Not quite the same of course, but if I can use it to debug in a relatively consistent manner in different languages then that's all I really need.
-
Building an Intelligent Emacs
If you're asking because you want to use LLDB or GDB inside Emacs, the RealGUD project is a good option: https://github.com/realgud/realgud
What are some alternatives?
vscode-bigquery - A Visual Studio Code plugin for running BigQuery queries.
dap-mode - Emacs :heart: Debug Adapter Protocol
eglot - A client for Language Server Protocol servers
free-vscode-csharp - Free/Libre fork of the official C# extension for vscode
themes - A megapack of themes for GNU Emacs.
gdbgui - Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
nano-emacs - GNU Emacs / N Λ N O - Emacs made simple
vscode-data-preview - Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
eglot-x - Protocol extensions for Eglot
tide - Tide - TypeScript Interactive Development Environment for Emacs
emacs-from-scratch - An example of a fully custom Emacs configuration developed live on YouTube!