Giter Site home page Giter Site logo

Comments (10)

funnelweb avatar funnelweb commented on July 20, 2024

This seems to be fixed in latest bits, maybe a monodevelop fix

from zarchive-fsharpbinding.

tpetricek avatar tpetricek commented on July 20, 2024

I'm getting this error on Windows 8 64bit when running the latest version of Xamarin studio with F# bindings (3.2.15) on .NET. The stack trace is:

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

from zarchive-fsharpbinding.

7sharp9 avatar 7sharp9 commented on July 20, 2024

Can you debug with C#?

Which latest version of Xamarin studio? Alpha, beta, or stable?

from zarchive-fsharpbinding.

pver avatar pver commented on July 20, 2024

I have the same error as Tomas, when trying to debug F# code. I did a test with a C# project and I can debug the C# code fine.

I have Xamarin Studio 4.0.9 installed (which is marked as the stable version at the MonoDevelop site: http://monodevelop.com/Download ) and I'm using it on Windows 7 64bit, in combination with the 3.2.15 version of the F# bindings.

from zarchive-fsharpbinding.

7sharp9 avatar 7sharp9 commented on July 20, 2024

This looks like it might be an issue with coredebug/monodevelop

See forum post and bugzilla

from zarchive-fsharpbinding.

ronnieholm avatar ronnieholm commented on July 20, 2024

When trying to debug an F# project using Run -> Debug Application ..., no breakpoint is hit.

In the Application output window I see this COM exception:

Debugger Error: Unable to cast COM object of type 'System.__ComObject' to interface type
'Microsoft.Samples.Debugging.CorSymbolStore.ISymUnmanagedBinder'. This operation failed because the 
QueryInterface call on the COM component for the interface with IID '{AA544D42-28CB-11D3-BD22-
0000F80849BD}' failed due to the following error: No such interface supported (Exception from HRESULT:
x80004002 (E_NOINTERFACE)).

from zarchive-fsharpbinding.

7sharp9 avatar 7sharp9 commented on July 20, 2024

Have you tried installing mono as discussed in the linked forum post above?

from zarchive-fsharpbinding.

rojepp avatar rojepp commented on July 20, 2024

Debugging in Windows works on Xamarin Studio 4.2.3.

There are issues, but overall it works. I'll try and get some issues logged..

from zarchive-fsharpbinding.

rojepp avatar rojepp commented on July 20, 2024

@7sharp9 We can close this? the COMException is gone, and there are other issues covering debugging.

from zarchive-fsharpbinding.

7sharp9 avatar 7sharp9 commented on July 20, 2024

This is really old, I found a reference ages ago saying this would never be fixed anyway. Closing

from zarchive-fsharpbinding.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.