I am using VB6 as my test environment for an ATL COM activeX object in a dll. The COM activeX object accesses the data in the VB6 test app. When I run the test app as an .exe it works fine. But when I run the app from the VB6 IDE in debug mode and terminate it with the debug "END" button in the toolbar, VB6 terminates without any warning or error. And terminating debug from within the app still works. I need to know exactly what each of these two debug termination methods do behind the scenes and what the differences are between them. A sequence of events upon pressing the END button would be nice, a step-by-step description of what happens. Do you know this or know where I can find a description of this sort? Thanks.