Subj : Re: Rollback Functions To : comp.programming From : Peter Ammon Date : Tue Oct 11 2005 11:21 pm yaoziyuan@gmail.com wrote: > I propose a "rollback" function that logs and rollbacks all changes > caused by the call of a function. Particularly, it: > > - releases memory or other resources allocated; > - restores resources deleted; > - set back data modified; > > This could be a powerful debug technique we may call "Step Back". > > Yao Ziyuan > How would this work with, for example, sending network data, or other actions that can't be "rolled back?" -Peter -- Pull out a splinter to reply. .