Arduino-Debug
On-target sketch debugger for Arduino
|
#include <Debug.h>
Go to the source code of this file.
Namespaces | |
A | |
Functions | |
void | A::a () |
void | A::b () |
void | A::c () |
long | A::e (int i) |
void | setup () |
void | loop () |
Variables | |
const size_t | BUF_MAX = 128 |
char * | buf = NULL |
Copyright (C) 2015-2016, Mikael Patel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Arduino Debug demonstration.
Arduino 1.6.7, Arduino Mega2560
Debug statements: ASSERT() 2 BREAKPOINT/IF() 4 CHECK_STACK() 1 DEBUG_STREAM() 1 OBSERVE/IF() 2 REGISTER() 7 Total: 17
Program storage space and dynamic memory. Without debug statements; 3630/259 bytes With debug statements: 7836/417 bytes Increased size: 4206/158 bytes
NB: Increased size includes debug shell and all file and function name strings. Arduino preprocessor uses full path of file name (see debug shell command where).
Definition in file DebugDemo.ino.
void loop | ( | ) |
Definition at line 125 of file DebugDemo.ino.
void setup | ( | ) |
Definition at line 92 of file DebugDemo.ino.
char* buf = NULL |
Definition at line 90 of file DebugDemo.ino.
const size_t BUF_MAX = 128 |
Definition at line 89 of file DebugDemo.ino.