All Projects → mikaelpatel → Arduino-Debug

mikaelpatel / Arduino-Debug

Licence: other
On-target sketch debugger for Arduino

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to Arduino-Debug

RotaryEncoder
This is small and fast Arduino library for Rotary Encoder with interrupts.
Stars: ✭ 60 (+200%)
Mutual labels:  arduino-library
KY-040-Encoder-Library---Arduino
Arduino library for the KY-040 Encoder
Stars: ✭ 37 (+85%)
Mutual labels:  arduino-library
SparkFun MicroView Arduino Library
An Arduino library for the MicroView - a chip-sized Arduino with a built-in OLED, available from SparkFun Electronics
Stars: ✭ 20 (+0%)
Mutual labels:  arduino-library
extEEPROM
Arduino library to support external I2C EEPROMs.
Stars: ✭ 111 (+455%)
Mutual labels:  arduino-library
TelnetStream
Arduino Stream implementation over Telnet for OTA logging and debugging
Stars: ✭ 101 (+405%)
Mutual labels:  arduino-library
AD9833-Library-Arduino
Library to control the AD9833 waveform generator
Stars: ✭ 88 (+340%)
Mutual labels:  arduino-library
RingBuffer
A RingBuffer library for Arduino
Stars: ✭ 34 (+70%)
Mutual labels:  arduino-library
discord-arduino-bot
Easy to discord control your arduino with commands
Stars: ✭ 13 (-35%)
Mutual labels:  arduino-library
faur
⚒️✨ My personal C games framework. 2D graphics, sound, inputs, states, ECS, and misc utils for data, files, math, memory, strings, time, and more. Builds for Linux, Windows, Web, and embedded devices.
Stars: ✭ 55 (+175%)
Mutual labels:  arduino-library
TP Arduino DigitalRain Anim
A library that represents Digital Rain Animation on color displays that support TFT_eSPI
Stars: ✭ 80 (+300%)
Mutual labels:  arduino-library
SparkFun AS7265x Arduino Library
An Arduino library for the trifecta of spectral sensors covering 18 discrete wavelengths from NIR to UV.
Stars: ✭ 23 (+15%)
Mutual labels:  arduino-library
PCF8575 library
Library to use i2c digital expander with arduino, esp8266 and esp32. Can read write digital value with only 2 wire (perfect for ESP-01).
Stars: ✭ 28 (+40%)
Mutual labels:  arduino-library
telnetspy
Telnet Server For ESP8266: Cloning the serial port via Telnet. "Debugging over the air"
Stars: ✭ 41 (+105%)
Mutual labels:  arduino-library
OttoDIYLib
Latest and official Libraries for Arduino Otto DIY robots
Stars: ✭ 56 (+180%)
Mutual labels:  arduino-library
FirebaseJson
🗃 JSON parser and builder for ESP8266, ESP32, Teensy3.x and Teensy4.x, SAM, SAMD and STM32 (128 k flash or more)
Stars: ✭ 29 (+45%)
Mutual labels:  arduino-library
MCP7940
Arduino Library to access the MCP7940M, MCP7940N and MCP7940x Real-Time chips
Stars: ✭ 29 (+45%)
Mutual labels:  arduino-library
recon
The RECON project creates library for Nios II Microcontroller System and Tool chain. The library includes a collection of hardware configurations and Arduino-style software APIs.
Stars: ✭ 21 (+5%)
Mutual labels:  arduino-library
BMP180 Breakout Arduino Library
Arduino libraries for the BMP180 pressure sensor breakout board
Stars: ✭ 30 (+50%)
Mutual labels:  arduino-library
Arduino-BLE-MIDI
MIDI over Bluetooth Low Energy (BLE-MIDI) 1.0 for Arduino
Stars: ✭ 133 (+565%)
Mutual labels:  arduino-library
NASSCOM-MHRD-IOT-Practical-Module 1-2
Arduino on TinkerCad
Stars: ✭ 26 (+30%)
Mutual labels:  arduino-library

Arduino-Debug

This library provides a simple on-target debugger for Arduino sketches. Debug command are added directly to the sketch. A debugger command shell is started on break-points and assertions. screenshot

Install

Download and unzip the Arduino-Debug library into your sketchbook libraries directory. Rename from Arduino-Debug-master to Arduino-Debug.

The Debug library and examples should be found in the Arduino IDE File>Examples menu.

Commands

Sketch Commands

Command Description
ASSERT(cond) Check assert condition. If false the debug shell is called. The sketch cannot continue.
BREAKPOINT() The debug shell is called.
BREAK_IF(cond) The debug shell is called if the condition is true.
CHECK_STACK(room) Check that there is room (bytes) on the stack. If false the debug shell is called.
DEBUG_STREAM(dev) Use the given stream device for debug session. Typically Serial.
OBSERVE(expr) Print the expression to the debug stream.
OBSERVE_IF(cond,expr) Print the expression to the debug stream if the condition is true.
REGISTER(var) Register a variable for access from the debug shell.

Debug Shell Commands

Command Description
?VARIABLE Print variable address and value.
@VARIABLE Print pointer variable address and reference value.
backtrace Print simple call-stack.
commands Print list of commands (see also help).
data Print contents of data area, i.e. global variables.
go Leave debug shell and continue execution of sketch.
heap Print contents of heap, i.e. dynamic allocated data.
help Print list of commands.
memory Print memory status.
quit Stop sketch.
stack Print contents of stack, i.e. call frames, arguments, return addresses.
variables Print list of registered variables.
where Print source code file and line where debug shell was called.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].