I'm using ArduPlane, located at
https://github.com/diydrones/ardupilot/ . It compiles to 233160 bytes.
I just compiled without debug, and it works nicely. Then I turn on micro debug and get:
Compiling 'ArduPlane' for 'Arduino Mega 2560 HAL (Apm 2)'
Build folder: HAL
Binary sketch size: 233160 bytes (used 90% of a 258048 byte maximum) (6.50 secs)
Compiling debug version of 'ArduPlane' for 'Arduino Mega 2560 HAL (Apm 2)'
Build folder: HAL
ArduPlane.pde : In file included from
VM_DBG.h : 'byte' does not name a type
VM_DBG.h : ISO C++ forbids declaration of 'HardwareSerial' with no type
VM_DBG.h : expected ';' before '*' token
VM_DBG.h : 'HardwareSerial' has not been declared
VM_DBG.h : 'HardwareSerial' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' does not name a type
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : 'byte' has not been declared
VM_DBG.h : : In member function 'void VisualMicroDebug::setVariable(T&, int, int)':
VM_DBG.h : 'byte' was not declared in this scope
VM_DBG.h : 'transport' was not declared in this scope
VM_DBG.h : : In member function 'void VisualMicroDebug::setVariable(T&, int)':
VM_DBG.h : 'byte' was not declared in this scope
ArduPlane.pde : : In function 'void setup()':
ArduPlane.pde : 'Serial' was not declared in this scope
ArduPlane.pde : 'class VisualMicroDebug' has no member named 'transport'
ArduPlane.pde : : In function 'void loop()':
ArduPlane.pde : 'class VisualMicroDebug' has no member named 'transport'
ArduPlane.pde : 'class VisualMicroDebug' has no member named 'transport'
ArduPlane.pde : 'class VisualMicroDebug' has no member named 'transport'
ArduPlane.pde : 'class VisualMicroDebug' has no member named 'transport'
Error compiling