Debugging with Dolphins COM Framework
Dolphin’s COM support framework is almost entirely implemented in Smalltalk, in the image. The vast majority of the framework can be debugged through. The in-process stub, IPDolphin.DLL, acts as little more than a launcher and forwarder. Similarly the VM contains no COM framework code apart from a generic virtual function table – everything else is visible in the image. It is safe to set breakpoints in almost all of the COM infrastructure, apart from the early start-up code. Thus you can debug right through from the creation of your COM object in COMClassFactory>> CreateInstance:riid:ppvObject: to its final demise. You can also safely debug through the COMObjectStub>>QueryInterface:ppvObject: implementation in order to track down common interface related issues.