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

visual studio .net debugging : Unable to attach to machine...


Francis L Spafford
7/23/2003 3:38:33 PM
I am debugging a browser helper object (dll) and I have debug settings to
launch Internet Explorer and attach for debugging. This has been working
fine, but now I receive this error:

Unable to attach to machine 'FRANK2'.
Do you want to continue anyway?

I am debugging on the local machine and using Visual Studio .Net 2003. I
don't know why the error occurs, or how to diagnose the problem.

I can still debug if I manually start IE and then attach to the process via
vsnet menus.

Frank

bboris NO[at]SPAM online NO[at]SPAM microsoft.com
7/23/2003 9:32:51 PM
What lang are your using? What are your debugger project settings?
--------------------
| >>From: "Francis L Spafford" <NOfspaffordSPAM@yahoo.com>
| >>Subject: Unable to attach to machine...
| >>Date: Wed, 23 Jul 2003 15:38:33 -0500
| >>Lines: 16
| >>X-Priority: 3
| >>X-MSMail-Priority: Normal
| >>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| >>Message-ID: <OfUzkpVUDHA.1712@TK2MSFTNGP11.phx.gbl>
| >>Newsgroups: microsoft.public.vsnet.debugging
| >>NNTP-Posting-Host: uslec-63-243-84-50.cust.uslec.net 63.243.84.50
| >>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| >>Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.debugging:2876
| >>X-Tomcat-NG: microsoft.public.vsnet.debugging
| >>
| >>I am debugging a browser helper object (dll) and I have debug settings
to
| >>launch Internet Explorer and attach for debugging. This has been working
| >>fine, but now I receive this error:
| >>
| >> Unable to attach to machine 'FRANK2'.
| >>Do you want to continue anyway?
| >>
| >>I am debugging on the local machine and using Visual Studio .Net 2003. I
| >>don't know why the error occurs, or how to diagnose the problem.
| >>
| >>I can still debug if I manually start IE and then attach to the process
via
| >>vsnet menus.
| >>
| >>Frank
| >>
| >>
| >>


--
bboris, C# Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Francis L Spafford
7/24/2003 8:24:58 AM
I am using C++.
My Configuration Properties->Debugging are:
Action
command c:\program files\internet explorer\iexplore.exe
attach yes
Debuggers
debugger type auto
SQL debugging no
Remote Settings
connection local

settings not included in the group above are blank.

By the way, when I manually attach, I only use "native" as the type of
program to debug.

Are these the settings you wanted?

Thanks,

Frank

[quoted text, click to view]

Francis L Spafford
7/24/2003 8:47:13 AM
Pressing the start triangle in vsnet to start debugging does seem to work if
Internet Explorer is already running. I don't think I had to do this
before...

[quoted text, click to view]

bboris NO[at]SPAM online NO[at]SPAM microsoft.com
7/24/2003 9:30:13 PM
You need to change attach to no, and you might want to change your debugger
type to either native or mixxed if you are debugging any managed code.

--------------------
| >>From: "Francis L Spafford" <NOfspaffordSPAM@yahoo.com>
| >>References: <OfUzkpVUDHA.1712@TK2MSFTNGP11.phx.gbl>
<nQvS$HWUDHA.1668@cpmsftngxa06.phx.gbl>
| >>Subject: Re: Unable to attach to machine...
| >>Date: Thu, 24 Jul 2003 08:24:58 -0500
| >>Lines: 74
| >>X-Priority: 3
| >>X-MSMail-Priority: Normal
| >>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| >>Message-ID: <#P2xEceUDHA.3308@tk2msftngp13.phx.gbl>
| >>Newsgroups: microsoft.public.vsnet.debugging
| >>NNTP-Posting-Host: uslec-63-243-84-50.cust.uslec.net 63.243.84.50
| >>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| >>Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.debugging:2886
| >>X-Tomcat-NG: microsoft.public.vsnet.debugging
| >>
| >>I am using C++.
| >>My Configuration Properties->Debugging are:
| >>Action
| >> command c:\program files\internet explorer\iexplore.exe
| >> attach yes
| >>Debuggers
| >> debugger type auto
| >> SQL debugging no
| >>Remote Settings
| >> connection local
| >>
| >>settings not included in the group above are blank.
| >>
| >>By the way, when I manually attach, I only use "native" as the type of
| >>program to debug.
| >>
| >>Are these the settings you wanted?
| >>
| >>Thanks,
| >>
| >>Frank
| >>
[quoted text, click to view]
| >>> What lang are your using? What are your debugger project settings?
| >>> --------------------
| >>> | >>From: "Francis L Spafford" <NOfspaffordSPAM@yahoo.com>
| >>> | >>Subject: Unable to attach to machine...
| >>> | >>Date: Wed, 23 Jul 2003 15:38:33 -0500
| >>> | >>Lines: 16
| >>> | >>X-Priority: 3
| >>> | >>X-MSMail-Priority: Normal
| >>> | >>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| >>> | >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| >>> | >>Message-ID: <OfUzkpVUDHA.1712@TK2MSFTNGP11.phx.gbl>
| >>> | >>Newsgroups: microsoft.public.vsnet.debugging
| >>> | >>NNTP-Posting-Host: uslec-63-243-84-50.cust.uslec.net 63.243.84.50
| >>> | >>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| >>> | >>Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.debugging:2876
| >>> | >>X-Tomcat-NG: microsoft.public.vsnet.debugging
| >>> | >>
| >>> | >>I am debugging a browser helper object (dll) and I have debug
settings
| >>> to
| >>> | >>launch Internet Explorer and attach for debugging. This has been
| >>working
| >>> | >>fine, but now I receive this error:
| >>> | >>
| >>> | >> Unable to attach to machine 'FRANK2'.
| >>> | >>Do you want to continue anyway?
| >>> | >>
| >>> | >>I am debugging on the local machine and using Visual Studio .Net
2003.
| >>I
| >>> | >>don't know why the error occurs, or how to diagnose the problem.
| >>> | >>
| >>> | >>I can still debug if I manually start IE and then attach to the
| >>process
| >>> via
| >>> | >>vsnet menus.
| >>> | >>
| >>> | >>Frank
| >>> | >>
| >>> | >>
| >>> | >>
| >>>
| >>>
| >>> --
| >>> bboris, C# Team
| >>> This posting is provided "AS IS" with no warranties, and confers no
| >>rights.
| >>> Use of included script samples are subject to the terms specified at
| >>> http://www.microsoft.com/info/cpyright.htm
| >>>
| >>
| >>
| >>


--
bboris, C# Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
AddThis Social Bookmark Button