3 ms·
I only use "print debugging" (using the logging facilities more often than not) if it's something I can leave in the codebase, like logging a function call and
by hcarvalhoalves 13y ago
I only use "print debugging" (using the logging facilities more often than not) if it's something I can leave in the codebase, like logging a function call and it's parameters, or when a routine is being skipped; then a debugger if I want to check the interface or docstring of some object or retry a call with different parameters on the REPL.
- masklinn 13y agoAlternatively, if your language/runtime/whatever supports it you can use dtrace for printf-debugging without editing the source.