[Mono-bugs] [Bug 513260] New: IOException when debugging application already running locally on Mono

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 15 12:45:05 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=513260


           Summary: IOException when debugging application already running
                    locally on Mono
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: jhill at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Product Management


Description of Problem:
When an application has already been launched on Mono

Steps to reproduce the problem:
1. Open a winforms project in VS
2. Start the application with Mono -> Run Locally in Mono
3. Without closing the application, choose Mono --> Debug Remotely in Mono
4. Select a remote Mono host
5. Observe exception


Actual Results:
---------------------------

---------------------------
System.IO.IOException: The requested operation cannot be performed on a file
with a user-mapped section open.



   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access,
Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions
options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)

   at Mono.CompilerServices.SymbolWriter.MonoSymbolWriter.WriteSymbolFile(Guid
guid)

   at Mono.Debugger.Utilities.pdb2mdb.ConvertAssembly(String fileName)

   at Mono.Debugger.Utilities.pdb2mdb.CreateFromPDB(String path)

   at Mono.Debugger.Utilities.pdb2mdb.SafeConvertToMdb(String project_root,
String filename)

   at Novell.MonoVS.BaseRunner.PrepareSession(Solution solution, SessionType
type)

   at Novell.MonoVS.DebugRemotelyRunner.Run()

   at Novell.MonoVS.Package.StartDebuggingCallback(Object sender, EventArgs e)
---------------------------
OK   
---------------------------


Expected Results:
Begin debugging the application, or show a friendlier message explaining why
debugging cannot be started.


How often does this happen? 
every time

-- 
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