I was working on a project build initialy from the Arduino IDE to program an attiny84a (without a bootloader) using the board from https://github.com/damellis/attiny
I got an atmel-ice recently and I was trying to debug the arduino sketch using it.
I installed AtmelStudio (because I know it has an GUI debugger) and found VisualMicro that should help me to compile arduino sketch. Unfortunatly as soon as a set the project to debug I got a compilation error :
'Serial' was not declared in this scope
(I don't have this error in Release mode).
My code doesn't use any serial (because I don't have any pin left), so this was wierd. I still tried to add the SoftwareSerial.h include (just in case) without success.
So I created an empty (I mean with only an empty setup() and loop() methods) and it throw the same error.
I tried to setup different versions of arduino IDE into VisualMicro (1.6.13, 1.8.1, 1.8.5 and 1.9 build 34) without success.
Then after a couple of hours I found the .cpp source generated by VisualMicro and it try to use the member "Serial" for some debugging reason.
I would like an easy way to integrate with arduino (all those library and easy to install library) and to be able to debug as well, what can I look for or do?