Crates.io | tdbg |
lib.rs | tdbg |
version | 0.1.0 |
source | src |
created_at | 2022-03-06 20:56:31.234141 |
updated_at | 2022-03-06 20:56:31.234141 |
description | Quick and dirty debugging |
homepage | https://github.com/sagittarius-a/tdbg |
repository | https://github.com/sagittarius-a/tdbg |
max_upload_size | |
id | 544657 |
size | 17,758 |
Quick and dirty way to trace code execution and count associated hits.
You're debugging a piece of code and you want to determine if a piece of code is hit, and if so, how many times it is hit.
tdbg
provides the tdbg!
macro to associate an identifier to a code
location. Using the macro will send a message to the tdbg
server
(standalone binary), that will report every hit and the associated
number of time it has been hit.
Simply fire up the server, insert tdbg!
macros and you're done.
tdbg
tries to interrupt the original workflow as less as possibletdbg
should never panic in order to not disrupt the origin codetdbg
tries to stay as minimal and portable as possible