------------------------------------------------------------------------------- When outputing to a file or screen won't work, I usually write "records" to a large (say, 64K) buffer, appending as I go. Then after the program has hit a breakpoint which I have theorized might be interesting, I examine the buffer's contents using the debugger's dump command. It is easy to make the buffer wrap-around, if 64K isn't big enough, especially if the records you write to the buffer are fixed length, and, better yet, have a length which is a power of two (say 16, 32, ....).The advantages of this technique (writing to the buffer) are that it is fast, involves no OS calls, and if your environment is non-preemptive (not many of those anymore) happens in "no time" at all, since no other process can execute during the write to the buffer. Michael Hanlon mhanlon.novell@novell.com -------------------------------------------------------------------------------