Click to See Complete Forum and Search --> : Debugging .Net class that is called from com client


sairaohyd
April 23rd, 2004, 12:56 PM
I am trying to develop a com client that can call my .NET object.

I built a .NET Class libraray and generated a typelibrary and registered it using regasm.

I built a com client that imports the typelibrary generated
above.

When I run my com client it works fine. I wanted to step
into my .net code and am not able to do that. Any
suggestions on how to debug my .net class.


Thanks
Sai

TheCPUWizard
April 23rd, 2004, 01:08 PM
First suggestion is to make 100% sure that the code is bug-free from a native point of view.

If this appears to be true, then modify your client so that it will "pause" prior to invoking the call into .NET.

You can attach the CLR debugger at this point.