home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!sample.eng.ohio-state.edu!purdue!yuma!csn!stortek!v043332
- From: v043332@gandalf.stortek.com (Keith Amann)
- Subject: Dumping/Restoring Interpreter Memory
- Message-ID: <1992Nov11.163524.12633@stortek.com>
- Followup-To: comp.lang.tcl
- Originator: v043332@gandalf.stortek.com
- Keywords: dump restore tcl interpreter
- Sender: usenet@stortek.com
- Nntp-Posting-Host: gandalf.stortek.com
- Organization: Storage Technology Corporation
- Distribution: usa
- Date: Wed, 11 Nov 1992 16:35:24 GMT
- Lines: 27
-
-
- This may sound like an odd request, but I was wondering if anyone has devised
- a method for dumping interpreter memory to a file, the restoring this file
- back into an interpreter and continuing processing right where the dump
- left off. Basically, the application I am looking at is a sort of "backup"
- facility that would allow the state of the interpreter to be restored exactly
- as it was at the time that the "backup" occurred.
-
- I have noted that the tclTest program has a function call to
- Tcl_DumpActiveMemory, but can't seem to locate this function (John, is this
- not included in the regular distribution?). I believe that this is part of
- what I am looking for, and I could probably derive the "restore" given this
- piece of it.
-
- I understand that the process simply involves tracing through pointers and
- dumping the required info into the file, I guess I just don't have a solid
- enough grasp on how the "pointer tree" is constructed in TCL.
-
- Any helpful hints or suggestions would be greatly appreciated. Also, I would
- prefer something that DOES NOT utilize Extended TCL (no offense intended, I
- just happen to like to stick to the original).
-
- --
- Keith Amann, StorageTek | My views/opinions belong to me, the
- <Insert some snappy comment here!> | company isn't responsible for them.
- -------------------------------------------------------------------------------
- Internet: v043332@stortek.com VoiceNet: (303)673-4038 FAX-Net: (303)673-5019
-