|
|
|
|
|
by moremetadata
1211 days ago
|
|
If an app is set up to output all variables, doesn't debugview or debugview++ effectively give you the same ability to step back in time? Of course, it means adding code to the app to output everything to debugview where as the debugger can use the debug symbols and then log everything which is alot less work, but some languages dont come with a debugger. Stepping back in time is useful though! |
|
It's pretty appealing. I also believe MS Visual Studio had something that effectively worked like that albeit without changing the coffee manually.
But - if you've got bugs due to memory corruption, race conditions, etc then the logging doesn't necessarily tell you what you need as you don't know when the change actually happened.
The other issue is that once you've started logging everywhere the string formatting is likely going to be a significant slowdown - at which point you could have used a time travel debugger and probably get better performance.
(disclaimer: I work on a time travel debugger)