Arduino-Debug
On-target sketch debugger for Arduino
DebugDemo.ino File Reference
#include <Debug.h>
Include dependency graph for DebugDemo.ino:

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
 

Detailed Description

Version
1.0

License

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.

Description

Arduino Debug demonstration.

Footprint

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.

Function Documentation

void loop ( )

Definition at line 125 of file DebugDemo.ino.

void setup ( )

Definition at line 92 of file DebugDemo.ino.

Variable Documentation

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.