Hi all, I am using the debug package, and I would like some commands executed automatically as I quit by qqq( ), I tried the on.exit( ) , but it doesn't work in this case. Any suggestions on this? thanks a lot . tong