flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > FASM2 Studio, a VS Code extension for fasmg, with debugger |
| Author |
|
|
Lu4nScr1pt1ng 21 Jul 2026, 22:34
I do basically everything in VS Code nowadays and wanted real integration with fasmg there
instead of just syntax highlighting, so I ended up building an extension for it - FASM2 Studio. Main stuff it does: autocomplete/hover for directives, instructions, registers etc, go to definition and rename across the whole project (not just the file you've got open), and it runs the actual fasmg compiler in the background so the errors you see are real compiler errors, not some guess at the rules. There's also a debugger. fasmg doesn't output DWARF or anything like that, so there's no standard way to map addresses back to your source - I get around it by injecting a small listing macro at build time and using that to build the address/line mapping, then it drives gdb (or lldb) through their MI interface. So you get breakpoints, stepping, registers, and can evaluate gdb expressions directly ($eax, *(dword*)$esp etc). No call stack or typed variables obviously, but for raw asm that's not really missing much. Doesn't ship fasm2 or gdb itself, just uses whatever you've already got installed on PATH. Works on Linux/macOS/Windows in theory, but honestly I've only really hammered on the debugger on Linux so far. Windows and macOS use the same code but I haven't had hardware to properly test on, so there could be stuff broken there I just don't know about yet. Still pretty new so expect some bugs. MIT licensed, happy to get issues or PRs if anyone runs into problems or wants something added: https://github.com/Lu4nScr1pt1ng/FASM-2-Studio |
|||
|
|
Lu4nScr1pt1ng 21 Jul 2026, 22:35
Marketplace: https://marketplace.visualstudio.com/items?itemName=Lu4nScr1pt1ng.fasm2-studio
Open VSX (for VSCodium etc): https://open-vsx.org/extension/Lu4nScr1pt1ng/fasm2-studio |
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2026, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.