Step from VB6 to .Net (COM) in Debug Mode?

T

Terry

I thought I had done this before but don't seemn to be able to make it work
now. I have a .Net assemply I have exposed to COM and I am getting an error
in a method call from VB6, how can I step into the .Net code and debug it?
 
H

Herfried K. Wagner [MVP]

Terry said:
I thought I had done this before but don't seemn to be able to make it work
now. I have a .Net assemply I have exposed to COM and I am getting an
error
in a method call from VB6, how can I step into the .Net code and debug it?

Keep both projects (.NET, VB6) open in the IDE, start the VB6 project and
then choose "Debug" -> "Attach process..." from VS' menu and attach to
"VB6.exe".
 
T

Terry

Thanks! Got it.
--
Terry


Herfried K. Wagner said:
Keep both projects (.NET, VB6) open in the IDE, start the VB6 project and
then choose "Debug" -> "Attach process..." from VS' menu and attach to
"VB6.exe".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top