Problem debugging ActiveX component in Windows Form

  • Thread starter Thread starter Steve Roberts
  • Start date Start date
S

Steve Roberts

I've added an ActiveX component to a Windows Form and this seems to be
working fine.
However, I now need to debug the ActiveX component, but can't step into the
component - I can step in the Windows Form code, but can't go into any of
the code referenced by the ActiveX component, even though this has all been
built with a debug solution configuration.

Does anyone know how I can get debugging to work in the ActiveX component ?

Thanks for any help,
Steve
 
To my info,
You cannot debug the ActiveX control inside the .NET debugger.
This is because of the following.
1. COM/DCOM/ActiveX debug information in in essense very different than .NET
version. The .NET debugger simply won't understand.
2. The activex componenet you are using is access through a series of
wappers and Type Libraries and IDL interfaces.

Perhaps you can start the activex component in debug mode and wait until a
process to hook. the start the .NET app in debug mode and step through.
See if that will work.

Regards,
Gevik.
 
Back
Top