4 ms·
Has anything like RR been developed for the .net Core CLR or Framework?
by xanth 7y ago
Has anything like RR been developed for the .net Core CLR or Framework?
- james_s_tayler 7y agoI was under the impression the Enterprise version of visual studio includes a debugger that functions in a similar manner. Capture the entire execution and allow it to be replayed and shared with others.
- imstuff 7y agoIt seems it's only for Azure: https://docs.microsoft.com/en-us/visualstudio/debugger/debug-live-azure-virtual-machines-time-travel-debugging?view=vs-2019 https://docs.microsoft.com/en-us/visualstudio/debugger/debug...
- kevingadd 7y agoThis claims to provide replay debugging for C# and C++, but I haven't used it: https://docs.microsoft.com/en-us/visualstudio/debugger/intellitrace?view=vs-2019 https://docs.microsoft.com/en-us/visualstudio/debugger/intel...
- ynik 7y agoWinDbg Preview's Time Travel Debugger can do this: https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/time-travel-debugging-overview https://docs.microsoft.com/en-us/windows-hardware/drivers/de... The great advantage of such a debugger is that you can use it to follow data flow: if you see an incorrect value somewhere, you can set a memory breakpoint and then run the program backwards to jump to the point in time where the value was written. I've only used it with C++ applications so far, but the WinDbg blog claims that it also works when debugging managed code with the SOS debugging extension. Visual Studio confusingly has the somewhat-similar "Intellitrace", but AFAIK that only records previous states collected for certain events (breakpoints, first-chance-exceptions, ...). It can't rewind the program an arbitrary point like the time-travel debugger can, so it's not useful to follow data flow.