News for hackers. Stuff that matters.
Re:Ask HN: How do you familiarize yourself with a new codebase? by barrkel on Friday June 26, 2015 @01:51PM (#9786492)
printf = breakpoint expression evaluation (but without the flexibility)

You're using a primitive debugger, you just don't know it.

Re:Ask HN: How do you familiarize yourself with a new codebase? by noir_lord on Friday June 26, 2015 @02:54PM (#9786939)
It does have the advantage of both immediacy and continuation.

You can dump statements through a function and see it's progression when run without having to interact with it.

Throw in something like FirePHP (which allows dumping pretty much anything out as a viewable/collapsible trace, other languages have similiar) and the use case for a lot of using a full blown debugger is removed (it's still incredibly powerful when needed).

So I use both.

Re:Ask HN: How do you familiarize yourself with a new codebase? by girvo on Friday June 26, 2015 @07:18PM (#9788298)
Codebug + Xdebug, setting a breakpoint and getting a full REPL at that execution point is far more useful to me when I'm in PHP land :)