Groups | Blog | Home
all groups > visual studio .net debugging > september 2003 >

visual studio .net debugging : vb.net app runs away after clicking green button


Larry Brindise
9/23/2003 5:13:08 PM
My VB - vs2002 7.0.9446 project is a bunch of classes
that are invoked from a COM application via COM Interop.
This project has lived on my machine for over a year with
debugger working fine. Suddenly (well, I haven't had to
open the VB.NET project for a few months), it will not
debug. Debugging is set to "start external project",
which is the COM program.
When I click the green run button (and I have many
breakpoints set), the COM app starts and my project runs
when called by the COM app but the debugger never
attaches to the source code - the green arrow reappears
enabled.I have verified there are no other copies of this
VB.NET DLL anywhere, so it is not running from somewhere
else I can find.
Thanks,
-Larry
yhhuang NO[at]SPAM online.microsoft.com
9/24/2003 3:21:58 AM
Hello Larry,

Thanks for posting in the group.

My suggestion here is:

1) "rebuild all" the VB.NET project.
2) rebuild the com application project.
3) Readd com application to vb.net "start external project". Here, please
double check that com app will call the dll file in vb.net project.
4) test it again.

Please post here if the problem is not resolved.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: "Larry Brindise" <larrya@tradegear.com>
!Sender: "Larry Brindise" <larrya@tradegear.com>
!Subject: vb.net app runs away after clicking green button
!Date: Tue, 23 Sep 2003 17:13:08 -0700
!Lines: 17
!Message-ID: <0ae401c38230$a1df4170$a301280a@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
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcOCMKHfalzhmsFSTqmuQ9GWvsKj8Q==
!Newsgroups: microsoft.public.vsnet.debugging
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.debugging:3503
!NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
!X-Tomcat-NG: microsoft.public.vsnet.debugging
!
!My VB - vs2002 7.0.9446 project is a bunch of classes
!that are invoked from a COM application via COM Interop.
!This project has lived on my machine for over a year with
!debugger working fine. Suddenly (well, I haven't had to
!open the VB.NET project for a few months), it will not
!debug. Debugging is set to "start external project",
!which is the COM program.
!When I click the green run button (and I have many
!breakpoints set), the COM app starts and my project runs
!when called by the COM app but the debugger never
!attaches to the source code - the green arrow reappears
!enabled.I have verified there are no other copies of this
!VB.NET DLL anywhere, so it is not running from somewhere
!else I can find.
!Thanks,
!-Larry
!
!
AddThis Social Bookmark Button