You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not being an AVR expert I am struggling to figure out the correct settings to enable debugging of the library level. ie if I step into and Arduino function such as digitalWrite() I want to be able to debug at the source code level.
I know it's possible because when I use Atmel Studio to create an Arduino Sketch project and then import that project into MPLABX I can debug the core sourcecode in the simulator ( but only in Release mode ).
Atmel Studio creates two separate projects, a Sketch and a Core project. I have all projects pointed to the same toolchain that ships with the Arduino platform.
I noticed that the Atmel project uses 's' optimisation and this might be related. Anyhow I will keep searching but it might be useful to add a 'debug core' option to the importer to setup a configuration suitable for debugging the core level.
The text was updated successfully, but these errors were encountered:
Not being an AVR expert I am struggling to figure out the correct settings to enable debugging of the library level. ie if I step into and Arduino function such as
digitalWrite()
I want to be able to debug at the source code level.I know it's possible because when I use Atmel Studio to create an Arduino Sketch project and then import that project into MPLABX I can debug the core sourcecode in the simulator ( but only in Release mode ).
Atmel Studio creates two separate projects, a Sketch and a Core project. I have all projects pointed to the same toolchain that ships with the Arduino platform.
I noticed that the Atmel project uses 's' optimisation and this might be related. Anyhow I will keep searching but it might be useful to add a 'debug core' option to the importer to setup a configuration suitable for debugging the core level.
The text was updated successfully, but these errors were encountered: