Bug 13508 - [CorDebugger] Debugging with 64bit referenced
Summary: [CorDebugger] Debugging with 64bit referenced
Status: RESOLVED DUPLICATE of bug 753
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 4.0.10
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Bugzilla
URL:
: 3537 8199 11078 11304 12603 ()
Depends on:
Blocks:
 
Reported: 2013-07-26 09:49 UTC by Brian Bourke-Martin
Modified: 2013-09-16 17:19 UTC (History)
8 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 753

Description Brian Bourke-Martin 2013-07-26 09:49:01 UTC
I am attempting to run a simple console "Hello World" application which references a 64bit assembly.  When I attempt to run debugger I get the following error.  If I run without the debugger it executes fine.  It should also be noted that I reduced this to it's most simplistic form where the only functional line of code declares an instance of a structure.

System.Runtime.InteropServices.COMException (0x80070032): The request is not supported. (Exception from HRESULT: 0x80070032)
   at Microsoft.Samples.Debugging.CorDebug.NativeApi.ICorDebug.CreateProcess(String lpApplicationName, String lpCommandLine, SECURITY_ATTRIBUTES lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, Int32 bInheritHandles, UInt32 dwCreationFlags, IntPtr lpEnvironment, String lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags, ICorDebugProcess& ppProcess)
   at Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(String applicationName, String commandLine, SECURITY_ATTRIBUTES processAttributes, SECURITY_ATTRIBUTES threadAttributes, Boolean inheritHandles, Int32 creationFlags, IntPtr environment, String currentDirectory, STARTUPINFO startupInfo, PROCESS_INFORMATION& processInformation, CorDebugCreateProcessFlags debuggingFlags)
   at Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(String applicationName, String commandLine, String currentDirectory, IDictionary`2 environment, Int32 flags)
   at MonoDevelop.Debugger.Win32.CorDebuggerSession.OnRun(DebuggerStartInfo startInfo)
   at Mono.Debugging.Client.DebuggerSession.<>c__DisplayClassc.<Run>b__a()
Comment 1 Jeffrey Stedfast 2013-07-26 10:23:26 UTC
Unfortunately the CorDebugger backend is not really maintained and suffers from bitrot :(

I would suggest installing Mono and targeting the Mono runtime for the purpose of debugging because my priority for bug fixing is the Mono Soft Debugger backend.

For now, the CorDebugger backend is 32bit only and even there has many limitations that the Soft Debugger does not.
Comment 2 Marius Ungureanu 2013-09-16 17:18:28 UTC
*** Bug 12603 has been marked as a duplicate of this bug. ***
Comment 3 Marius Ungureanu 2013-09-16 17:18:32 UTC
*** Bug 11304 has been marked as a duplicate of this bug. ***
Comment 4 Marius Ungureanu 2013-09-16 17:18:36 UTC
*** Bug 11078 has been marked as a duplicate of this bug. ***
Comment 5 Marius Ungureanu 2013-09-16 17:18:48 UTC
*** Bug 8199 has been marked as a duplicate of this bug. ***
Comment 6 Marius Ungureanu 2013-09-16 17:18:51 UTC
*** Bug 5330 has been marked as a duplicate of this bug. ***
Comment 7 Marius Ungureanu 2013-09-16 17:18:57 UTC
*** Bug 3537 has been marked as a duplicate of this bug. ***
Comment 8 Marius Ungureanu 2013-09-16 17:19:58 UTC

*** This bug has been marked as a duplicate of bug 753 ***