Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Debugging

Name: Anonymous 2011-12-17 15:36

If its possible to step through a program is it possible to step back in a program?

Name: Anonymous 2011-12-17 15:41

no

Name: Anonymous 2011-12-17 15:42

yes

Name: Anonymous 2011-12-17 15:44

Time travelling debuggers.

Name: Anonymous 2011-12-17 15:52

An implementation can keep a log of all state changes. One would only need to know the previous value occupied in whatever was overwritten when the instruction executed. This would require the program to take memory linear in the amount of time it ran for though. One could instead only keep track of the previous N instructions, rather than everything since the program started running.

Name: Anonymous 2011-12-17 15:58

EXPERT CONTINUATIONS

or just have undo operations for all operations, but since most operations are destructive, that ain't gonna work.

Name: Anonymous 2011-12-17 16:34

>>1
Yes, Microsoft­­® Visual Studio™ 2010 has this functionality.

Name: Anonymous 2011-12-17 16:36

>>6
bitches dont know bout my billiard ball computer
http://en.wikipedia.org/wiki/Billiard_ball_computer

Name: Anonymous 2011-12-17 16:42

>>7

no it doesn't. If the filthy piece of shit can't produce a non corrupted stack trace, then how can it reverse execute code, hmmm? hmmmm??

Name: Anonymous 2011-12-17 16:42

Name: Anonymous 2011-12-17 16:43

>>1
is it possible to step back in a program?
http://en.wikipedia.org/wiki/Reversible_logic

Name: Anonymous 2011-12-17 16:46

If its possible to step through a program is it possible to step back in a program?
If can use such feature to implement undo in a text editor and for backtracking, without using additional memory.

Name: Anonymous 2011-12-17 16:46

>>8

If powered with flubber, then this will be able to perform super tasks!

Name: Anonymous 2011-12-17 16:48

If its possible, then you can use
self fix.

Name: Anonymous 2011-12-17 16:48

>>9
no it doesn't. If the filthy piece of shit can't produce a non corrupted stack trace, then how can it reverse execute code, hmmm? hmmmm??
Transfer $10 to my PayPal, www.paypal.com/users/FairXTheHaxxor and I'll teach you how to use Google to find answers to questions like that!

Name: Anonymous 2011-12-17 17:04

>>1
Some debuggers support logging, and with good enough logging, you can reconstruct/roll-back operations. There was at least one such experimental debugger/logger for Bochs out there. The actual memory/disk requirements tend to be pretty high unfortunately, but what would you expect?

Not entirely sure how common it would be for high-level languages, but it might be possible to keep the history a lot more compact. Purely fuctional languages (such as Haskell) might not even need a log at all as at the high-level description there is no state at all.

Name: Anonymous 2011-12-17 17:50

>>16
OCaml's debugger has time travel too. I'm not sure how they handle it since OCaml has state. How would Haskell does with FFI under the debugger?

Don't change these.
Name: Email:
Entire Thread Thread List