Could not find USBtiny device - Atmel Studio

I am new here, and english isn't my first language so forgive me.

OS: Windows 8.1
Board: Arduino Uno

I am trying to get my atmel studio to work with my arduino uno.
But pressing F5 to the atmel studio seems to produce an error:

avrdude: Error: Could not find USBtiny device (0x1781/0xc9f)

The Arduino software(the green logo) seems to upload fine,
but i need the Atmel studio to work for debugging purposes

I am following this tutorial :

I did the steps

  1. Install Atmel Studio
  2. Install Visual Micro
  3. Configuring : Tools>Options>Visual Micro> Configure ide location to C:\Program Files (x86)\Arduino
  4. Create an ino sketch
  5. Configure the board(Arduino uno), the serial port (COM 3)
  6. USBtinyISP Error on Compilation (pressing F5)

Do you have a USBTinyISP connected to your PC via USB?

No, just via the Printer to USB connector

Sounds like your Atmel Studio is set to use a USBtinyISP. Perhaps one of the other programmer options will work. If they have an option for "Arduino Bootloader" then I would try that. If not, some serial device that uses the STK500 protocol should be close enough.

For Atmel Studio questions you might have more luck in the forums.

Just in case you found this thread with an AdaFruit trinket, as I did: don't forget you need to activate the boot loader before uploading a sketch from the IDE. If you don't activate the boot loader first the trinket is not ready for upload, and you get the error message above.

Yes, it is in the documentation, but as a trinket newbie you may have missed it, as I did, and think your board is broken. It isn't.