[Mono-bugs] [Bug 540409] New: MonoVS crashes when Mono debugger is invoked during native VS debug

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Sep 18 16:08:01 EDT 2009


           Summary: MonoVS crashes when Mono debugger is invoked during
                    native VS debug
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.3
          Platform: x86-64
        OS/Version: Windows Vista
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: djechelon at fastwebnet.it
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64;
Trident/4.0; MathPlayer 2.10d; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET
CLR 3.5.21022; OfficeLivePatch.1.3; .NET CLR 3.5.30729;
OfficeLiveConnector.1.4; .NET CLR 3.0.30618)

I found a minor bug in MonoVS Tools that occurs during native Visual Studio
debug when I involountarily try to run Mono debugger.
An unhandled exception causes a message box to appear.

Stack trace:

System.Runtime.InteropServices.COMException (0x80004004): Operazione terminata.
(Eccezione da HRESULT: 0x80004004 (E_ABORT))

   in EnvDTE.SolutionBuild.Build(Boolean WaitForBuildToFinish)

   in Novell.MonoVS.RunLocallyRunner.Run()

   in Novell.MonoVS.Package.RunLocallyCallback(Object sender, EventArgs e)

Reproducible: Always

Steps to Reproduce:
1. Open any Visual Studio project
2. Run Visual Studio native debug
3. Select any of the 3 first options in the Mono menu (Run locally, run
remotely, debug remotely)
4. Choose No when Visual Studio asks you to stop the debugger
Actual Results:  
Message box with above stack trace appeared

Expected Results:  
A message indicating the action could not be performed because another debug
session was in progress, without Visual Studio asking to terminate debug.

MonoVS would either have to check if VS is in debug mode prior to trying to
launch debugger, or detecting the user choosing to not stop debugger.

Also, since the Run option launches the program without the process being
connected with Visual Studio, MonoVS should allow to run without debugging any
project when it's being debugged, in a new process instance

This is a minor bug discovered by chance in a rare test case. Fixing it would
just make MonoVS more robust. The bug does not affect code, debugging or Visual
Studio instance, because the exception is correctly caught by the plugin.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list