How to use the simulation in atmel-studio properly?
The _delay_ms method in debug mode takes a LONG time to run and you may not be waiting long enough for it to complete if you have compiled in debug mode.  As the OP has said you also need to be at a break point or single stepping through the code to see the change.  Since it's such a simple program just attach an LED and run it.