Eric
2005-09-09 15:42:52 UTC
I have a VB6 exe that calls a VB6 dll. The VB6 dll then calls a VB.net dll.
I finally have everything working but my question is this. What is the best
way to debug all of this code at the same time. This is how I tried to
debug this. I set the VB.net class library to start up by pointing it to
the compiled VB6 exe. I have the VB6 dll already running in the VB6 IDE.
When I run the VB.net dll, the VB6 application opens up and I can step
through the VB6 dll. The problem is that the breakpoints in the VB.net dll
never stop. I believe this has to do with the fact that the VB6 dll is
creating the VB.net class and not the VB6 exe that was actually started. If
I make the VB6 exe create the VB.net dll then the breakpoints do stop. I
know this my sound confusing and hopefully someone is able to follow this.
I really need to find a way to debug this.
Thanks,
Eric
I finally have everything working but my question is this. What is the best
way to debug all of this code at the same time. This is how I tried to
debug this. I set the VB.net class library to start up by pointing it to
the compiled VB6 exe. I have the VB6 dll already running in the VB6 IDE.
When I run the VB.net dll, the VB6 application opens up and I can step
through the VB6 dll. The problem is that the breakpoints in the VB.net dll
never stop. I believe this has to do with the fact that the VB6 dll is
creating the VB.net class and not the VB6 exe that was actually started. If
I make the VB6 exe create the VB.net dll then the breakpoints do stop. I
know this my sound confusing and hopefully someone is able to follow this.
I really need to find a way to debug this.
Thanks,
Eric