Remix.run Logo
oweiler 2 days ago

Or use tests and/or a debugger. Which gives you all the listed benefits w/o an additional dependency.

ollysb 2 days ago | parent | next [-]

Different tools for different cases. Debuggers are great for a snapshot in time but print statements are better for seeing the execution flow.

slifin a day ago | parent [-]

As a profession we need to phase out point in time debuggers and replace them with reverse debuggers or "time travel" debuggers

____mr____ a day ago | parent [-]

I think PIT debuggers have their use especially with regards to altering state mid run, but this is the first time I've heard of reverse debugging and it seems incredibly useful, especially for multithreaded software I'm often debugging

pjmlp 2 days ago | parent | prev [-]

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.