debug-adapter-protocol
cortex-debug
debug-adapter-protocol | cortex-debug | |
---|---|---|
14 | 8 | |
1,325 | 927 | |
2.3% | - | |
7.6 | 7.0 | |
11 days ago | 28 days ago | |
HTML | TypeScript | |
GNU General Public License v3.0 or later | 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.
debug-adapter-protocol
-
The IDEs we had 30 years ago and we lost
> There's a strange dance of IDEs coming and going, with their idiosyncracies and partial plugins.
The Language Server Protocol [1] is the best thing to happen to text editors. Any editor that speaks it gets IDE features. Now if only they'd adopt the Debug Adapter Protocol [2]...
[1] https://microsoft.github.io/language-server-protocol/
[2] https://microsoft.github.io/debug-adapter-protocol/
-
Bitty Engine: A tiny powerful game engine
Wonder if they've got support for Debug Adapter Protocol? https://microsoft.github.io/debug-adapter-protocol/
- Hi vimmers! Does any one use F[1..12] keys and what for? Cheers!
-
What a good debugger can do
> Debuggers need to do more things
It's true that coming up with an interface for an abstract debugger is harder, but it's not impossible. Microsoft create Debug Adapter Protocol (https://microsoft.github.io/debug-adapter-protocol/), which is conceptually similar for LSP. It's not perfect, but covers most basic operations pretty well, while leaving to the debugger to deal with the implementation details.
-
There is No “Tooling Issue” in Haskell
Most languages also include support for the Debug Adapter Protocol, and Haskell is no exception, so if you are so inclined, you can hook up your favorite editor/IDE and go to town.
-
Debug this meme
They're working on the Debug Adapter Protocol but it doesn't have critical mass/adoption yet. And yeah, I end up having a fair share of dbg!(foo). It's not so bad since dbg!() also returns its value, so you don't have to mess with your code too much.
-
Step Debugger Development: Debug Adapter Protocol Support
TL;DR: What would it take to implement a Debug Adapter Protocol (DAP)-based step debugger?
- DAP – Debug Adapter Protocol
-
Try TeXmacs in your Browser via WebAssembly (Mogan Fork of TeXmacs)
RDP is the Windows Remote Desktop Protocol that was in use for decades before VSCode; VSCode's own remoting doesn't use it.
I'd say that, in addition to LSP, the other big thing that came out of VSCode is DAP: https://microsoft.github.io/debug-adapter-protocol.
-
I got fired yesterday for using vim
The most important part is the JDT Languag Server, it will give you the Java tooling for writing code. I think it has DAP support as well, so with a DAP client like nvim-dap you should be able to debug as well.
cortex-debug
- Help OpenOCD not recognizing SWD parameter for J-Link probe config
-
Help debugging RP2040 using J-Link and OpenOCD
Cortex-Debug: VSCode debugger extension version 1.10.0 git(cf1c296). Usage info: https://github.com/Marus/cortex-debug#usage Reading symbols from arm-none-eabi-objdump --syms -C -h -w /home/smith/Documents/gpio_int_test/build/zephyr/zephyr.elf Reading symbols from arm-none-eabi-nm --defined-only -S -l -C -p /home/smith/Documents/gpio_int_test/build/zephyr/zephyr.elf Launching GDB: arm-none-eabi-gdb -q --interpreter=mi2 IMPORTANT: Set "showDevDebugOutput": "raw" in "launch.json" to see verbose GDB transactions here. Very helpful to debug issues or report problems Error: arm-none-eabi-nm failed! statics/global/functions may not be properly classified: Error: spawn arm-none-eabi-nm ENOENT Expecting `nm` next to `objdump`. If that is not the problem please report this. Error: objdump failed! statics/globals/functions may not be properly classified: Error: spawn arm-none-eabi-objdump ENOENT ENOENT means program not found. If that is not the issue, please report this problem.Launching gdb-server: /home/smith/openocd/src/openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s /home/smith/openocd/tcl -f /home/smith/.vscode/extensions/marus25.cortex-debug-1.10.0/support/openocd-helpers.tcl -f /interface/jlink.cfg -f /target/rp2040.cfg Please check TERMINAL tab (gdb-server) for output from /home/smith/openocd/src/openocd Finished reading symbols from objdump: Time: 11 ms Finished reading symbols from nm: Time: 9 ms Failed to launch OpenOCD GDB Server: Error: spawn /home/smith/openocd/src/openocd ENOENT
- Seer – a GUI front end to GDB for Linux
-
Why so many of you hate Eclipse IDE?
This guy: https://github.com/Marus/cortex-debug. Can grab it from the VSCode extensions window.
- Configuring VS Code with remote OpenOCD running on Raspberry Pi zero. How?
-
Configuring VS Code with remote openocd.
https://github.com/Marus/cortex-debug/issues/603 More info here.
-
Tutorial to set up VSCode for assembly
There's also https://marketplace.visualstudio.com/items?itemName=maziac.asm-code-lens and https://github.com/Marus/cortex-debug
-
Rust for web development: 2 years later
Thank you!
OK. I was thinking to assemble a "Press F5 to debug" solution to speed up my learning process. I'm used to command line tools and hacking stuff together too, so I should be fine if that is the state of the art for debugging (but it would be difficult to convince my coworkers in the future). I wonder if a combination of Eclipse for Rust and OpenOCD plugin is doable. Or perhaps cortex-debug[1] for VS:Code. I have some research to do, to explore the different solutions.
And I'm stuck on Windows too, since many of the tools I use require Windows.
Thanks again.
[1]: https://github.com/marus/cortex-debug
What are some alternatives?
ghci-dap - ghci having DAP interface.
debugprobe
flow-storm-debugger - A debugger for Clojure and ClojureScript with some unique features.
vscode-neovim - Vim mode for VSCode, powered by Neovim
error-message-index - A community-driven collection of documentation for Haskell error messages and warnings
vscode-assembly - Assembling and debugging assembly in Visual Studio Code
watchpoints - watchpoints is an easy-to-use, intuitive variable/object monitor tool for python that behaves similar to watchpoints in gdb.
seer - Seer - a gui frontend to gdb
mogan - Mogan (based on GNU TeXmacs): Let us enjoy exploring science and technology!
yew - Rust / Wasm framework for creating reliable and efficient web applications
delve - Delve is a debugger for the Go programming language.
gf - A GDB frontend for Linux.