How to debug F # / Nemerle mono application under Linux?

I recently discovered Nemerle and F #, but I cannot find a way to debug my applications. MonoDevelop 2.6 lacks support for Nemerle and F # errors, 2.4.2 and earlier due to the new gnome-sharp lib installed (I use the updated version of Arch Linux kernel-3.0 64-bit). The mono debugger at the command line refuses to start saying that "the platform is not supported." So few questions about this situation:

Is it possible to debug mono applications using gdb without going to the low level (inside vm or so)? How convenient is it to use F # REPL for interactive development without a debugger (compared to Common Lisp or Haskell GHCi)?

+4
source share
4 answers

I use F # Interactive environment to write F # code most of the time. Even with Visual Studio, the F # Interactive environment does not (reasonably) support debugging, so I mainly rely on the ability to easily run something interactively and see if it works - if it’s not, it’s usually easy to break down into sub-components which can also be tried interactively. The great thing about F # Interactive, compared to, for example, GHCi, is that you can use it to evaluate almost anything - including type declarations.

The F # plugin for MonoDevelop 2.4 does not currently support debugging compiled F # applications. I was able to use the Mono debugger command line ( mdb , I think), but it was on a 32-bit system.

I'm not sure why MonoDevelop doesn’t select F # debugging symbols correctly, so this is most likely some basic error. There are several poeple working on the F # plugin for MD 2.6, so hopefully will be available soon. If someone wants to investigate why debugging doesn't work, that would be great ...

+4
source

Nemerle has excellent Windows IDE support with Visual Studio and #Develop, better than F #, but as far as I know, there is nothing for Linux.

+3
source

You can easily debug Nemerle in MonoDevelop. Just convert pdb to mono using the pdb2mdb tool: http://www.mono-project.com/Guide:Debugger Than just debug your application and you will get the correct locations.

I even managed to debug the Nemerle compiler using this trick.

+3
source

About Linux and Nemerle: Nemerle got Vim bindings, Kwrite / Kate and some other editors got Nemerle support. You can also add a compiler option for any editors on Linux. Nemerle compiler just works!

Support for Nemerle MonoDevelop in development, but very slow. F # got obsolete MonodeVelop support, as @Tomas said, but what about the new MonoDevelop? Power Supply? F # 3? I think so.

Nemerle is an OpenSource project. And I'm not sure about F # 3. I like F #, but it's always Microsoft's hand. You can try both.

+2
source

All Articles