Develop AND DEBUG with AVR Studio and Arduino

I would develop some projects on an Arduino board (may be Uno or Nano) in C++ using the AVR Studio IDE in place of the standard Arduino IDE.
My primary needs are the capability to perform a powerfull symbolic debug and to run a step by step execution.
Can someone tell me what software and/or libraries have I to add to the standard AVS Studio package and what add, if any, as hardware interface with the Arduino module?
A simple example project would be greetly appreciated.
Thanks,
adriano

You'll need something like the JTAGICE mkII device for in-circuit emulation and symbolic debug. It uses the Reset line as a 'debugWIRE' interface. You'll need to turn on the DWEN (debugWIRE Enable) fuse. Pretty much any Arduino will have all the SPI and Reset pins to connect to but if it has the 6-pin ICSP header it will be more convenient.

thanks, but what about the software add-on? What libraries have I to load in the AVR Studio IDE and where can I found them?

Can I ask "why?"
Is this teaching or commercial?

(I'm not saying it is wrong, I just wonder why it is necessary - I haven't single-stepped a processor in nearly ten years, and that was debugging the very early phases of a PowerPC bootstrap. I managed a networked AVR bootstrap loader without any debugger at all)

adriano_p:
thanks, but what about the software add-on? What libraries have I to load in the AVR Studio IDE and where can I found them?

The further you get from the Arduino IDE the less likely you are to find your answers here. :slight_smile:

I recommend you visit http://www.AVRFreaks.net/ where people discuss all kinds of non-Arduino AVR software and hardware.