Re:Go's Tooling Is an Undervalued Technology
by EmpirePhoenix on Wednesday January 22, 2020 @11:05AM
(#22118693)
Especially on JVM, conditional breakpoints are really nice for this. (And at least most classic Java-Webservers are really compatible with this approach)
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.