I have a new project with some dummy code.
#include <avr/io.h> int main(void) { const short foo = 10; while (1) { short bar; bar += foo; } }
I have breakpoints on the const short foo = 10; line and bar += foo; line. i have the debugger set to
I have the Selected debugger/programmer set to Simulator.
If I run with debugging then the breakpoints are never hit. They are hollowed out
If I pause the debugger then the next line is stuck before the first executable statement.
Trying to step over/into just causes the yellow marker to flash, but stay where it is.
This is my first attempt using Atmel Studio, I don't know what I might need to change in order to fix this. I suspect that there's a process that it's waiting to attach to and not finding, but I don't know what that might be.
Any suggestions?
Thanks
Dave