cortex-debug
dbmate
cortex-debug | dbmate | |
---|---|---|
8 | 25 | |
935 | 4,391 | |
- | - | |
7.0 | 8.1 | |
about 1 month ago | 5 days ago | |
TypeScript | Go | |
MIT License | 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.
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
dbmate
-
Ask HN: What tool(s) do you use to code review and deploy SQL scripts?
A regular code repo with the scripts (with pull/merge requests for review) and then a CI job that builds containers with something like dbmate https://github.com/amacneil/dbmate that can then be run against any staging/prod environment.
-
Level UP your RDBMS Productivity in GO
As we want to maintain the track of our changes to the DB, we are going to use migrations. In this case, we are going to use dbmate. But, you can use any other tool you want.
-
Rails 7.1 Released
> For example having database migrations built in etc.
I actually went the exact opposite route, at least when possible: https://github.com/amacneil/dbmate
Pure SQL migrations, regardless of the back end technology that you use, completely decoupled from how each framework/library views things and therefore not dependent on them (you could even rewrite the back end in another technology later on, if needed; or swap ORMs; or avoid issues when there's a major ORM version update).
It's really nice when you can generate entity mappings based on a live database, like with https://blog.jetbrains.com/dotnet/2022/01/31/entity-framewor...
So in my case, I can have:
* a DB that has migrations applied with dbmate, completely decoupled from any back end(s) that might use it
- FLaNK Stack Weekly 2 October 2023
-
How do your teams run DB migrations?
You can run dbmate as part of your CI/CD pipeline. You just keep a dbmate directory in your repo and deploy migrations with your code.
-
Working with TypeORM 0.3x with Nestjs - I wasn't aware so many people were facing issues with it
In general with ORMs, you will face a problem in one way or another. I ended up simply using https://github.com/gajus/slonik and https://github.com/amacneil/dbmate for migrations. My life is way much better since then.
-
what do you use for migrations? or how do you the sql tables and seeding?
I like dbmate, super simple and straightforward to use. For your specific use case, it can also be configured using your .env!
- GORM
-
New post: Is Prisma better than your 'traditional' ORM?
Would always go for a language agnostic migration tool, e.g. https://github.com/amacneil/dbmate to stay flexible and stay away from lock-in effects (besides sql).
- I greatly dislike ORMs, but I find myself wanting ORM agnostic SQL migration tools. What do you use to perform RDBMS table migrations outside of an ORM?
What are some alternatives?
debug-adapter-protocol - Defines a common protocol for debug adapters.
sqlite-bench - PostgreSQL & SQLite Speed Test
debugprobe
goose - A database migration tool. Supports SQL migrations and Go functions.
vscode-neovim - Vim mode for VSCode, powered by Neovim
Flyway - Flyway by Redgate • Database Migrations Made Easy.
vscode-assembly - Assembling and debugging assembly in Visual Studio Code
liquibase - Main Liquibase Source
seer - Seer - a gui frontend to gdb
migra - Like diff but for PostgreSQL schemas
yew - Rust / Wasm framework for creating reliable and efficient web applications
SQLBoiler - Generate a Go ORM tailored to your database schema.