Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
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)
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.
*** Bug 12603 has been marked as a duplicate of this bug. ***
*** Bug 11304 has been marked as a duplicate of this bug. ***
*** Bug 11078 has been marked as a duplicate of this bug. ***
*** Bug 8199 has been marked as a duplicate of this bug. ***
*** Bug 5330 has been marked as a duplicate of this bug. ***
*** Bug 3537 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 753 ***