by rjbwork · 11y ago · 0 comments
Step 1. Find problematic code
Step 2. Step back to before problematic statement
Step 3. Change problematic data value and/or code to hypothesized good one (while debugger is active and paused)
Step 4. Continue execution and observe if output is as desired
Step 5. Write test case.
Easy peasy. I'm glad to see the Rust community doing something similar, as the benefits of ease of development are not to be discounted, and Rust seems like a pretty nifty language.
Also, rr has nothing to do with Rust in particular, although this article shows how to use it with Rust.
Sounds more like IntelliTrace to me (if you're not familiar with it, it's worth mentioning it's only available in Visual Studio Ultimate).
"Visual Studio (2010, 2012, 2013 Ultimate only .. does not support C++"
:(
Also, I'm sure there's a large chunk of people like me, who don't use debuggers much and have no idea what a good one is capable of.