Or use tests and/or a debugger. Which gives you all the listed benefits w/o an additional dependency.
pjmlp•7h ago
Yeah, the amount of wasted hours with 1960's teletype debugging.
Ah but servers and embedded, that is why telemetry, execution traces, and debugger controlled action points exist.
RockRobotRock•7h ago
>Do you ever use print() or log() to debug your code?
I haven't written my own code in months at this point...kind of depressing to think about
squirrellous•1h ago
My first thought as well. Debugging is actually a decent use case of AI.
soizi•6h ago
why another tool for that ? think standard with other team/company and use the same integrated ones.
awoimbee•5h ago
Debugging in python is already so easy with `print(f"{myvar=}")` and `breakpoint()`...
Hackbraten•3h ago
This is the correct answer. `ic(foo(123))` can be written as `print(f'{foo(123)=}')` without depending on yet another third-party library which is not pulling its weight.
Borborygymus•4h ago
Remember COBOL's EXHIBIT?
smackeyacky•3h ago
I haven’t used print for debugging for ages. Now it’s all trace on azure and hope your bug ends up in the sampled data in whatever that stupid thing is called. App insights or some rubbish. Apparently a good old log file just isn’t good enough it has to be larded up with a query language. Grep was fine guys.
oweiler•8h ago
pjmlp•7h ago
Ah but servers and embedded, that is why telemetry, execution traces, and debugger controlled action points exist.