Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What tools are available for F# debugging?

Tags:

debugging

f#

  • Are there gdb (or similar) for F#?
  • What tools/programs do F# programmers normally use for tracing F# code in Mono?
  • Does Visual Studio 2010 provides some integrated debugging tools for F#?
like image 717
prosseek Avatar asked Oct 10 '10 19:10

prosseek


1 Answers

Visual Studio 2010 provides a fantastic debugging experience for F#, including breakpoints, tracepoints, call stacks, locals, stepping, set next statement, threads window, poking new values into variables, debugger visualizers, conditional breakpoints, immediate window, ... the only caveat is that the last two use the C# expression evaluator (F# does not have its own debugger EE), which means you must type e.g. C# syntax into the 'immediate window'.

(Everything I mentioned above is available for free if you download the free VS2010 Integrated Shell and the F# CTP.)

I am not sure what is available right now for Mono, but would not be surprised if there is something decent already, and something even better coming in the not-too-distant future.

like image 158
Brian Avatar answered Sep 22 '22 00:09

Brian