emacs-gba-debug
code-debug
emacs-gba-debug | code-debug | |
---|---|---|
1 | 3 | |
1 | 390 | |
- | - | |
0.0 | 6.6 | |
over 1 year ago | 16 days ago | |
Emacs Lisp | TypeScript | |
GNU General Public License v3.0 only | The Unlicense |
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.
emacs-gba-debug
-
Debugging GameBoy Advance (GBA) programs/games in Emacs
The solutions above entails some manual work, and that lead me to automate it. Wouldn't it be nice to just run one simple command, and then everything compiles and your debug process just automatically begin? That's exactly what I was thinking, so I created a simple Emacs extension. If you use a Makefile to build, and configure the path to mGBA and DevkitARMs gdb, you can debug a GBA program directly with M-x gba-debug-program. No need to compile manually, run mGBA manually or anything else!
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)
What are some alternatives?
dap-mode - Emacs :heart: Debug Adapter Protocol
vscode-bigquery - A Visual Studio Code plugin for running BigQuery queries.
free-vscode-csharp - Free/Libre fork of the official C# extension for vscode
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.
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
realgud - The Grand "Cathedral" Debugger rewrite
tide - Tide - TypeScript Interactive Development Environment for Emacs
windicss-intellisense - Intelligent WindiCSS tooling for VS Code
puppeteer-extension-transport - Use puppeteer in your browser extension
vscode-highlight - Advanced text highlighter based on regexes. Useful for todos, annotations etc.
vscode-php-debug - PHP Debug Adapter for Visual Studio Code 🐞⛔