Hi,
I've already run IDE 2 and I try to debug with Arduino Nano and a message pop up saiyng "Debbuging is not supported by 'Arduino Nano'
There's a way to do it?
Thanks
pert
March 1, 2021, 10:15pm
2
It's certainly not possible with the default configuration and if it were ever possible to do this, it would require a special configuration and debug probe, likely even a hardware modification to your Nano. You can read some very interesting information about someone's investigation into setting up debugging for the Arduino Uno here:
opened 01:06PM - 08 Oct 20 UTC
closed 05:17PM - 02 Dec 22 UTC
topic: documentation
type: enhancement
conclusion: resolved
topic: debugger
We have received a lot of confusing requests from users who had issues with the … Debug feature of this new IDE,
From hard to decipher errors to unsupported hardware.
We are aware of the fact that such functionality can create confusion in both novice and advanced users, so the team and I decided to put together this update.
As we move towards a Beta release (it will be announced when we feel comfortable with giving it the monicker), we have been investigating the behaviour of the included debugger and plan to offer a much better working solution in the near future.
Please try not to ask "are we there yet" every week, just know that we're at work and we're not a big team.
A better debugger is coming, we look forward to releasing it into your hands, but we want it to be good :)
For the current debugger functionality you have to know the following:
* not every board is supported, in fact only ARM Cortex based boards can work
* our current lineup (MKR, Nano 33, Portenta H7) has support, somewhere it's flaky
* [support for debug (a debug recipe)](https://arduino.github.io/arduino-cli/latest/platform-specification/#sketch-debugging-configuration) must be provided by the platform developer, so please don't ask us to enable debug for boards which we have no control over
* You CANNOT debug an Arduino UNO or a classic Nano
* in the current version of the debugger Global variables are not working and setting booleans fails miseraby: the solution is on its way
* you cannot step into library code, and also this is going to work when we release an update for the debug functionality
* such update will not necessarily come at the next minor Alpha release
Last but not lease: we know that the debug button in the UI is active no matter which board you select, and we're working on this because we don't like it either 😬
Please feel free to ask more questions below, we're more than happy to update this issue and help you get more clarity.
Thank you for reading us
Arduino Tooling Team
Even though they still required a dedicated hardware debug probe for this, they were able to make one from a DigiSpark (3rd party ATtiny85-based Arduino compatible board).
system
Closed
June 29, 2021, 10:15pm
3
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.