Subj : Re: Rollback Functions To : comp.programming From : Phlip Date : Wed Oct 12 2005 06:03 am yaoziyuan 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". Not needing to debug is much better than advanced debugging technicques. Research "Test Driven Development". Prevention is better than a cure. -- Phlip http://www.greencheese.org/ZeekLand <-- NOT a blog!!! .