Imagine that your program failed. So, you have to run it again, fill in lots of "print" statements, perhaps even firing up the debugger and starting throwing breakpoints in. With ODB, it's not necessary. Even for multithreaded programs, it provides a completely deterministic run history that can be used (and in fact, was displayed in action) to find bugs very quickly. People who use it swear by it, hotly claiming that it shaves off huge amounts of debugging time.
Now, that catch is - this ODB thingie was developed for Java, since its virtual machine allows a simple & relatively efficient implementation of an ODB to sit on it. It probably isn't too applicable to compiled code.
But I guess Perl can have support for this as well ? Perl 6, especially, which also runs on top of a VM... Can Parrot support this ? The Perl 6 compiler, perhaps (inserting "timestamping" instructions before/after assignment/call instructions)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: "omniscient debugging" for Perl
by praveenray (Novice) on Jul 05, 2005 at 16:12 UTC | |
by mpeters (Chaplain) on Jul 05, 2005 at 16:20 UTC | |
by tmoertel (Chaplain) on Jul 05, 2005 at 16:40 UTC | |
by mpeters (Chaplain) on Jul 05, 2005 at 16:48 UTC | |
by tmoertel (Chaplain) on Jul 05, 2005 at 17:07 UTC | |
| |
by hardburn (Abbot) on Jul 05, 2005 at 16:55 UTC | |
by tmoertel (Chaplain) on Jul 05, 2005 at 17:10 UTC | |
| |
by Anonymous Monk on Jul 05, 2005 at 17:14 UTC | |
| |
Re: "omniscient debugging" for Perl
by Jenda (Abbot) on Jul 05, 2005 at 17:20 UTC | |
Re: "omniscient debugging" for Perl
by magog (Beadle) on Jul 05, 2005 at 19:18 UTC | |
by pemungkah (Priest) on Jul 05, 2005 at 23:34 UTC | |
by magog (Beadle) on Jul 06, 2005 at 19:22 UTC | |
Re: "omniscient debugging" for Perl
by dave_the_m (Monsignor) on Jul 05, 2005 at 20:20 UTC | |
Re: "omniscient debugging" for Perl
by spiritway (Vicar) on Jul 10, 2005 at 11:25 UTC |