Hi! I'm trying to debug code that opens up a database connection and, for now, frequently raises an exception before getting to the code that closes the connection. Thus, when I restart the code, I can't reconnect, until the connection times out. I've realized that I can put the code in a try block that catches exceptions and closes the DB before exiting, and I also figured out that if I've broken in the debugger and want to detach, I can dig down to the DB connection object and issue its terminate method, but is there a way I can automate this so that such a disconnect is automatically tried for me whenever I select Stop under the Run menu? Thanks!