Step backwards

Since memory and CPU are very nearly free, why don’t programs compiled in debug mode keep a copy of the entire stack & state so that it’s possible to step *backwards* from a breakpoint as well as forwards? It seems like this would be extremely useful especially in failed assertions..

One Response to “Step backwards”

  1. ClintJCL Says:

    whoa dude.

    i also wonder: except for very critical applications, why compile at all? why even take the time to deal with memory management? a program too shitty to work now will be twice as fast in 18 months (if you’re lucky).

Leave a Reply