-
Notifications
You must be signed in to change notification settings - Fork 0
footmark++ for C++ tracing
License
katahiromz/footmark
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
footmark --- footmark for C++ debugging --------------------------------------- This library (footmark) defines FOOTMARK() and FOOTMARK_PRINT_CALL_STACK() macros. On debugging, FOOTMARK() generates output as follows: a.cpp (13): entering main a.cpp (7): entering func_1 b.cpp (5): entering func_2 b.cpp: leaving func_2 a.cpp: leaving func_1 a.cpp: leaving main You may want to put FOOTMARK() at top of every function definition. The FOOTMARK_PRINT_CALL_STACK() macro generates output as follows: test.c (3): FOOTMARK_PRINT_CALL_STACK() ### CALL STACK ### + a.cpp (13): main + a.cpp (7): func_1 + b.cpp (5): func_2 You may pre-#define the DebugPrint function macro for debugging output. For more details, please see source. ///////////////////////////////////////////////////// // Katayama Hirofumi MZ (katahiromz) [ANT] // Homepage http://katahiromz.web.fc2.com/ // BBS http://katahiromz.bbs.fc2.com/ // E-Mail [email protected] /////////////////////////////////////////////////////
About
footmark++ for C++ tracing
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published