-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Debugging for other boards/environments #26966
Comments
It is definitely possible to debug on real hardware, but it typically requires a JTAG interface. The actual requirements vary by board and MCU. It is sometimes very easy, and sometimes impossible. Some environments have debug information configured in them (or defaulted in PlatformIO), but they are going to reflect whatever a developer had used on them previously, and won't necessarily match what you have on hand. |
There probably aren't really Marlin-specific instructions for this, but you can find information about how to configure debugging with PlatformIO to get started. |
Here's an STM32F1 example: Debug Marlin 2.x with VSCode & PlatformIO using an ST-Link V2 (STM32F1)Table of ContentsConnect ST-Link V2 to SWD PinsThis will vary depending on the board. Configure MarlinUsing your desired config settings, you will also need to:
Configure & Run GDBmacOS
Windows
Basic GDB Debugging Commands
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Is your feature request related to a problem? Please describe.
No response
Are you looking for hardware support?
it appears that Debugging is only related to one thing, simulator.
It would be cool having support for everything else.
Describe the feature you want
introduced support for Debugging more than one thing.
Additional context
Q: is there a way in VS Code to already do Debugging that I'm not aware of?
The text was updated successfully, but these errors were encountered: