I just had a Heisenbug that completely disappeared on me. I'm convinced that something funny must have happened when I compiled my program several days or a week ago.
But sadly, my Windows (MINGW) shell history buffer doesn't go back anywhere near that far. How can I arrange to log all my command-line activity so I can do these sorts of investigations in the future?
With Unix, of course, you can use the
script utility. But windows does not (IME) treat files with the same care that Unix does: ie.
you can't shell-windows do not represent themselves in a flexible pty interface. So based on this prejudice of mine, I haven't seriously searched for a port of the script utility.
| tee logfile an arbitrary program and expect to interact with it normally.
How would a "windows" person do this?