RE: VS .Net 2003 IDE Crashes when Attaching to Debugger

From: Dat Bui [MSFT] (datbui_at_online.microsoft.com)
Date: 09/22/04

  • Next message: Bill Mitchell: "Multiple versions of executable."
    Date: Wed, 22 Sep 2004 20:16:25 GMT
    
    

    Hi Michael,

         More often when the IDE crashes it is due to some application causing
    the crash. Since you are running XP, XP comes with a tool, msconfig.exe
    that will let you know what services are running and you can disable them.
    Here is what you can try first:

    1. Start->Run
    2. type "msconfig"
    3. Go to Services Tab,and check hide all Microsoft servcies.
    4. See if there are any odd apps running like firewalls, especially
    antivirus apps. Macaffee can cause some prolems with the IDE since it does
    script blocking and scanning that interfers with the IDE. You can test by
    disabling all Macafee servcies and startup apps, or just uninstall it for
    testing purpose.
    5. Also in Startup Tab, check to see if anything odd is running. You can
    use this tool to check for spyware that you may have on your machine.

    I think more than likely it is the antivirus. Also, when you are attaching
    to the process with the IDE, is the process local or remote?

    If the above does not help, let's see what is causing the crash. I have
    some steps below that that will help us determing this by taking a memory
    dump when the IDE crashes:

    1. Go to this link to download the debugger tool:
    http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
    2. Install the tool into the C:/Debugger directory once you downloaded
    it.
    3. Close all applications.
    4. Open a Command Prompt and go to the directory where you installed
    the debugger: C:/Debugger
    5. Run the IDE and have it setup where it will close out.
    6. Go to the command prompt and type in the following command: ADPLUS
    -crash -p <PID> or you can type in the command: ADPLUS -crash -pn
    <processName>
    7. This will run the application in crash mode, so once the
    application crashes, a dump will be generated and placed in c:\debugger
    folder
    8. After you have the files, which should be relatively large, zip
    that file up and rename it as such: <first last name>.zip
    9. Use the information below to ftp me the file.

    FTP site:
    https://filetransfer.microsoft.com/ChooseTransfer.aspx?key=1a266998-437b-4b4
    4-92a6-ab0bbcd88de7
    password: AQR2Z!9X^$#I)

    Hope this helps,
    Dat Bui
    Microsoft Developer Support

    This posting is provided "AS IS" with no warranties, and confers no rights.
     © Microsoft Corporation. All rights reserved.

    --------------------
    >Thread-Topic: VS .Net 2003 IDE Crashes when Attaching to Debugger
    >thread-index: AcSgpwQENOVxR2z0QrW0wtHJL6FreQ==
    >X-WBNR-Posting-Host: 209.189.225.126
    >From: "=?Utf-8?B?TWljaGFlbA==?=" <m.hlavinkamsdn@bre.com>
    >References: <AF300C4A-942E-4C27-9A12-A138B8618242@microsoft.com>
    <mCeDAX8nEHA.2640@cpmsftngxa06.phx.gbl>
    <30C2FD82-2F05-4DCE-9FE5-904085FE9D50@microsoft.com>
    <tclvtXFoEHA.4040@cpmsftngxa06.phx.gbl>
    >Subject: RE: VS .Net 2003 IDE Crashes when Attaching to Debugger
    >Date: Wed, 22 Sep 2004 06:21:06 -0700
    >Lines: 40
    >Message-ID: <E99632D6-CBA6-4A42-B8B9-F3F4290D898B@microsoft.com>
    >MIME-Version: 1.0
    >Content-Type: text/plain;
    > charset="Utf-8"
    >Content-Transfer-Encoding: 7bit
    >X-Newsreader: Microsoft CDO for Windows 2000
    >Content-Class: urn:content-classes:message
    >Importance: normal
    >Priority: normal
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
    >Newsgroups: microsoft.public.vsnet.general
    >NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
    >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGXA03.phx.gbl
    >Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.general:21883
    >X-Tomcat-NG: microsoft.public.vsnet.general
    >
    >Obviously we have some (but not much) software installed, but only McAfee
    >AntiVirus 7.1 is running except MS Office applications. By the way, the
    >application we're debugging is an inprocess DLL with Visio.
    >
    >Michael
    >
    >
    >
    >""Gary Chang"" wrote:
    >
    >> Hi Michael,
    >>
    >> > I talked with my coworkers about this after I posted the message
    >> yesterday. I found that I also have other coworkers having the same
    >> problem. They all are running Windows XP/SP2. ... However, one of my
    >> coworkers indicated to me that he had this problem before upgrading
    from
    >> SP1 to SP2 of Windows XP.
    >> >
    >>
    >> After reviewing your messages, I noticed the crashes occur in all of
    your
    >> machines whose OS are Windows XP SP1 and Windows XP SP2(more
    frequently),
    >> am I right?
    >>
    >> I have checked our internal database and doesn't find any similar case,
    so
    >> in order to isolate your problem firstly, I want to know is there any
    >> related third-party software installed on your machines?
    >>
    >>
    >> Thanks for your understanding!
    >>
    >> Best regards,
    >>
    >> Gary Chang
    >> Microsoft Online Partner Support
    >>
    >> Get Secure! - www.microsoft.com/security
    >> This posting is provided "AS IS" with no warranties, and confers no
    rights.
    >> --------------------
    >>
    >>
    >


  • Next message: Bill Mitchell: "Multiple versions of executable."

    Relevant Pages

    • Re: I turned off the error report thing from Microsoft....
      ... The error reporting shows up when an error occurs. ... Disabling it will not ... affect the crash but this time it will not report any errors to Microsoft. ...
      (microsoft.public.windowsxp.general)
    • Re: What to do when Word constantly crashes?
      ... crash", but I use them all day every day (I am a professional Technical ... Microsoft was one of the first to realise that being "The first to be wrong" ...  Keep the updates up to date. ...  Your crashes should stop! ...
      (microsoft.public.mac.office.word)
    • RE: VS .Net 2003 IDE Crashes when Attaching to Debugger
      ... had to run the application much longer when attempting to get the dump than ... The crash occurs when selecting the ... Macaffee can cause some prolems with the IDE since it does ... >>application we're debugging is an inprocess DLL with Visio. ...
      (microsoft.public.vsnet.general)
    • Re: DevStudio locks up loading solution.
      ... >> persists. ... >> crash, if I have any misunderstanding, please feel free to tell me. ... >> Did you add any addin, which is possible to cause the IDE crash. ...
      (microsoft.public.dotnet.general)
    • Re: Crashes when clock year is five digit
      ... >I just thought I'd share this very strange error I just recovered from. ... > After applying the Microsoft December update I ... > - Skype would crash on startup. ... > year that is five digit. ...
      (microsoft.public.windowsxp.general)

    Loading