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

Re: Problem debugging ActiveX component in Windows Form by Gevik

Gevik
Sat Jun 19 17:22:36 CDT 2004

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.

"Steve Roberts" <steve.roberts@macro4.com> wrote in message
news:c9ksha$md1$1$8300dec7@news.demon.co.uk...
> 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
>
>