Debugging COM objects...
Posted on 2002-06-16
I have an annoying problem trying to debug a COM object implemented in a DLL.
In the DLL delphi project I can set the host application and then run the EXE/DLL - the application runs and creates an instance of the COM object using CreateCOMObject (with the appropriate GUID).
However, Delphi does not stop on any of the breakpoints I set in the code. I have verified that the code is in fact running (added a message etc), so I am quite confused as to why it does not break!
I have had no difficulties debugging into ordinary DLLs, but this COM object in DLL doesn't want to play ball ;-(
Does anyone have tips on how they debug their in-process COM objects?