Is it possible to use the debug function in Arduino IDE?
- I have STM32F4 and am using ST-Link V2 to program id via SWD, but can't get it to work (tbh I've never used the debug function before so it may well be operator error!)
Debug in Arduino IDE - is it possible? ...or even Platform IO
Debug in Arduino IDE - is it possible? ...or even Platform IO
Yes it is functional.
Enable the Optimize for debugging in the Sketch menu.
Compile, upload then click the debug button.
Go to full postEnable the Optimize for debugging in the Sketch menu.
Compile, upload then click the debug button.
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
Yes it is functional.
Enable the Optimize for debugging in the Sketch menu.
Compile, upload then click the debug button.
Enable the Optimize for debugging in the Sketch menu.
Compile, upload then click the debug button.
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO

Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
Debugging stm32 in arduino IDE sounds great, do you have a roadmap how to do it? I cannot find much information on internet...
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
If you have a STLINK simply follow the step described in my previous post or read the chapter "Getting to Know the Debugger" here https://docs.arduino.cc/software/ide-v2 ... -debugger/
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
That chapter is for SAMD boards, i assume it will work for STM32, right?
I have one nucleo-64 with integrated stlink programmer, i'll give it a try.
Thanks
I have one nucleo-64 with integrated stlink programmer, i'll give it a try.
Thanks
Re: Debug in Arduino IDE - is it possible? ...or even Platform IO
The way it works is then same. Tools configuration are done under the hood moreover for a Nucleo64.
So simply:
Enable the Optimize for debugging in the Sketch menu.
Compile, upload then click the debug button.
So simply:
Enable the Optimize for debugging in the Sketch menu.
Compile, upload then click the debug button.