Debugging ARDUINO using Atmel studio

Hello embedded community :slight_smile:

I have a problem with Debugging Arduino Code :frowning: .
I am writing my code using Atmel studio tool chain and flashing
the generated hex file into Arduino board using Xloader. The question is,

How could i debug that code using Atmel debugger?

B.R :slight_smile:

since you managed to install atmel studio did you not also install the help file on debugging ?

You have to make a hardware modification to most arduino boards to get debugging to work, because the auto-reset functionality interferes with debug communications. Also, you DO need external debugging hardware.

Easiest solution: get an Atmel ATmega328P Xplained Mini development board, which has an on-board debugger chip.