1

Simple question: Is there a way to reset the F# interactive pad in MonoDevelop (not clear it) so that it starts over with a fresh session? And if so, how?

Mark Pattison
  • 2,964
  • 1
  • 22
  • 42
Jwosty
  • 3,497
  • 2
  • 22
  • 50

1 Answers1

4

I think there is no button for doing that (i.e. context menu item as in Visual Studio), but you can reset the session by typing the #q command:

> #q;;
Session termination detected. Press Enter to restart.

If you then pres "Enter", you'll get a fresh F# Interactive session. Also, if F# Interactive gets stuck in an infinite loop, there is no button to kill it (I think) but you can kill it from a task manager and then you can restart it using "Enter".

Tomas Petricek
  • 240,744
  • 19
  • 378
  • 553