文件名称:debug:像先生一样调试(在 C 中)
文件大小:4KB
文件格式:ZIP
更新时间:2024-07-05 11:42:28
C
像先生一样调试(在 C 中) # include " debug.h " int answer ( void ) { return 42 ; } int main ( void ) { int num = 1 ; char *str = " hello " ; debug (num); // => num = 1 debug (num, str, answer ()); // => num = 1 // str = hello // answer() = 42 debug_raw ( " counting: " , 1 , - 2 , 3 + 0.4 ); // => counting: 1 -2 3.4 debug_raw (str, " world! " ); // =>
【文件预览】:
debug-master
----debug.h(8KB)
----README.md(1KB)