All Projects → heapwolf → debug

heapwolf / debug

Licence: other
A small debugging library for C++

Programming Languages

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

Projects that are alternatives of or similar to debug

gdbundle
Minimalist plugin manager for GDB and LLDB
Stars: ✭ 72 (+140%)
Mutual labels:  debugging, debug
bugsnag-java
Bugsnag error reporting for Java.
Stars: ✭ 51 (+70%)
Mutual labels:  debugging, debug
debugging-async-operations-in-nodejs
Example code to accompany my blog post on debugging async operations in Node.js.
Stars: ✭ 22 (-26.67%)
Mutual labels:  debugging, debug
Bugsnag Ruby
Bugsnag error monitoring & reporting software for rails, sinatra, rack and ruby
Stars: ✭ 211 (+603.33%)
Mutual labels:  debugging, debug
PowerPreference
💾 A Powerful library to control and simplify the usage of shared preference in Android.
Stars: ✭ 95 (+216.67%)
Mutual labels:  debugging, debug
Icecream Cpp
🍦 Never use cout/printf to debug again
Stars: ✭ 225 (+650%)
Mutual labels:  debugging, debug
debug
A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers
Stars: ✭ 10,554 (+35080%)
Mutual labels:  debugging, debug
Debug Bundle
The DebugBundle allows greater integration of the VarDumper component in the Symfony full-stack framework.
Stars: ✭ 2,033 (+6676.67%)
Mutual labels:  debugging, debug
ducky
Chrome extension to overlay a (super adorable) rubber duck, as a virtual companion during rubber duck debugging.
Stars: ✭ 80 (+166.67%)
Mutual labels:  debugging, debug
dwarf import
This loads DWARF info from an open binary and propagates function names, arguments, and type info
Stars: ✭ 18 (-40%)
Mutual labels:  debugging, debug
Icecream
🍦 Never use print() to debug again.
Stars: ✭ 5,601 (+18570%)
Mutual labels:  debugging, debug
axios-curlirize
axios plugin converting requests to cURL commands, saving and logging them.
Stars: ✭ 152 (+406.67%)
Mutual labels:  debugging, debug
Godbg
Go implementation of the Rust `dbg` macro
Stars: ✭ 172 (+473.33%)
Mutual labels:  debugging, debug
Cli Debugging Cheatsheets
🔥 Collection of command-line debugging cheatsheets for multiple languages and runtimes
Stars: ✭ 239 (+696.67%)
Mutual labels:  debugging, debug
Scyllahide
Advanced usermode anti-anti-debugger. Forked from https://bitbucket.org/NtQuery/scyllahide
Stars: ✭ 2,211 (+7270%)
Mutual labels:  debugging, debug
krumo
Krumo: Structured information display solution for PHP
Stars: ✭ 74 (+146.67%)
Mutual labels:  debugging, debug
Android Remote Debugger
A library for remote logging, database debugging, shared preferences and network requests
Stars: ✭ 132 (+340%)
Mutual labels:  debugging, debug
Gdb Frontend
☕ GDBFrontend is an easy, flexible and extensionable gui debugger.
Stars: ✭ 2,104 (+6913.33%)
Mutual labels:  debugging, debug
bugsnag-vue
[DEPRECATED] This package now lives within the monorepo for our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js
Stars: ✭ 26 (-13.33%)
Mutual labels:  debugging, debug
clrprint
Print colorful output in the terminal, idle, cmd, and Windows PowerShell using the same functions.
Stars: ✭ 22 (-26.67%)
Mutual labels:  debugging, debug

SYNOPSIS

A minimalist debugging library inspired by this.

USAGE

INSTALL

This module is designed to work with the datcxx build tool. To add this module to your project us the following command...

build add heapwolf/debug

CODE

Construct an instance of Debug with a name. The instance will allow you to toggle the debug output for different parts of your program.

The DEBUG environment variable is used to enable these based on delimited names.

#include "./deps/heapwolf/debug/index.hxx"

Debug debug("demo");
Debug debug3("demo:beep");

void f3 () {
  Debug debug2("demo:boop");
  debug2("running function f3");
  debug3("running function f3");
}

void f2 () {
  debug("running function f2");
  f3();
}

int main () {
  debug("starting program");
  f2();
  debug("ending program");
  return 0;
}

OUTPUT

When actively developing an application it can be useful to see when the time spent between one debug() call and the next. Suppose for example you invoke debug(...) before requesting a resource, and after as well, the "+NNNms" will show you how much time was spent between calls.

example

TEST

build test

API

CONSTRUCTOR

Debug d(const std::string& name[, std::ostream& stream])

Construct with a name, optionally specify an output stream.

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].