Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

?

I'd hesitate to stop the world in prod.

In prod, logging is usually the answer. (Or OS-level tools.)

On JVM (and I expect all other major platforms) you can tune logging at runtime so just leave the statements in as long as the don't compute anything.



Especially on JVM, conditional breakpoints are really nice for this. (And at least most classic Java-Webservers are really compatible with this approach)


Core dumps are quite useful in production, and they pretty much require a debugger.


I see. That makes sense. To be honest I (almost) never work at that level so I only thought about live debugging.

My bad.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: