Hacker News new | ask | show | jobs
by Veserv 1767 days ago
Only if they are implemented inefficiently or your application is constrained in a way that precludes efficient implementation.

As long as you can inject code and steal some memory you can just directly patch in the code snippet and patch in a branch instead of a breakpoint instruction. This is functionally equivalent to a adding a print statement, just at runtime instead of compile time, so should not be significantly slower.