From: Albert Wagner Date: 2002-01-27T12:47:46+09:00 Subject: Re: Sourcecode dump? Hi, Olivier. If you don't mind, I will probe a little more. If this sort of dialog bothers you, just say so and I'll back away. But I find that such investigations are very educational for me. On Saturday 26 January 2002 06:33 pm, you wrote: > But now imagine a program that's running. > You detect a wrong behaviour in it. At this point I correct the program and rerun it. I don't typically have self-correcting code that contains enough intelligence to detect errors and correct them on the fly. (Beyond the standard Ruby constructs, e.g. rescue) > Since, it's a ruby program, you can change it while it runs. The program can change itself while it runs. But how do you, the author , do that? Except by initially coding in self-correcting code? > You can perform many adjustments while having it running. > Once they are made, you will probably want to keep them for the next time > you start the program. I can understand taking snapshots of a program's state and restarting with the saved state. But I cannot envision the need for a snapshot of the complete source code. > That's why I wanted to be able to dump the sourcecode of a running program > > :) -- Quantum Mechanics: The dreams stuff is made of