Groups | Blog | Home
all groups > visual studio .net debugging > january 2004 >

visual studio .net debugging : Debugging in VB 6.0 from VB dot net dll.


Sumeet
1/13/2004 1:53:15 PM
Hi,
I have 2 components. One is in VB Dot net & another is in
VB 6.0. My ASPX page calls VB dot net DLL. This VB dot net
DLL calls my VB 6.0 EXE. I'm able to successfully debug
from ASPX to VB dot net dll. But After this I'm not able
to continue my debugging in the VB 6.0 EXE. Is anybody
having clues about how to debug from VB dot net DLL to VB
6.0 EXE.

I appreciate if anybody knows anything about this.

Sumeet
robgruen NO[at]SPAM online.microsoft.com
1/14/2004 3:36:07 PM
Sumeet,

You'll have to compile your vb6 exe with debugging symbols and no
optimizations (you can set this from project properties in vb6). Once you
have that you'll want to modify vs.net to include both the source folder
and symbol folder for your vb6 exe. Once you have that set you can open up
the vb6 source and set breakpoints within it.

Thanks! Robert Gruen
Microsoft, VB.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Sumeet" <anonymous@discussions.microsoft.com>
| Sender: "Sumeet" <anonymous@discussions.microsoft.com>
| Subject: Debugging in VB 6.0 from VB dot net dll.
| Date: Tue, 13 Jan 2004 13:53:15 -0800
| Lines: 13
| Message-ID: <02c901c3da1f$a5e55f60$a501280a@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Thread-Index: AcPaH6Xli6zPXFI5THqA9nO/t3GstQ==
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Newsgroups: microsoft.public.vsnet.debugging
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.vsnet.debugging:4616
| NNTP-Posting-Host: tk2msftngxa13.phx.gbl 10.40.1.165
| X-Tomcat-NG: microsoft.public.vsnet.debugging
|
| Hi,
| I have 2 components. One is in VB Dot net & another is in
| VB 6.0. My ASPX page calls VB dot net DLL. This VB dot net
| DLL calls my VB 6.0 EXE. I'm able to successfully debug
| from ASPX to VB dot net dll. But After this I'm not able
| to continue my debugging in the VB 6.0 EXE. Is anybody
| having clues about how to debug from VB dot net DLL to VB
| 6.0 EXE.
|
| I appreciate if anybody knows anything about this.
|
| Sumeet
|
|
Pawan
1/15/2004 6:56:18 AM
Hi Robert,

Still I am not able to debug the ActiveX Exe by the way
you explained to Sumeet.

Can you please tell in detail, What do u mean by attach
both the source folder and symbol folder for your vb6 exe.

Thanks in Advance
Regards
Pawan
[quoted text, click to view]
AddThis Social Bookmark Button