I'm learning F#, and keep accidentally writing infinitely recursive functions..

When I call these in F# Interactive (FSI) through Visual Studio (2010 or 2012), I can't find a way to get out of it other than to restart Visual Studio. Is there any other - ideally faster - way out?

有帮助吗?

解决方案

Right click in the F# interactive window, and select Reset Interactive Session.

Cancel Interactive Evaluation should also work for you if you just want to cancel the current running function but to keep previous results.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top