Daniel
Daniel

Reputation: 47904

F# debugger hangs after hitting breakpoints

After hitting breakpoints (an apparently random number of times) and attempting to continue (F5) the debugger seems to hang. If I pause it, nothing happens. I have to stop it, and start over debugging. Anyone else encountered this? Any suggestions on how to fix or work around it?

Upvotes: 1

Views: 218

Answers (1)

JaredPar
JaredPar

Reputation: 754515

The most likely cause of a debugger hang is an implicit function / property evaluation occurring which itself locks or goes into an infinite loop. Try disabling implicit property and .ToString evaluation and see if it fixes the problem

  • Tools -> Options -> Debugger
  • Uncheck "Enable implicit property evaluation ..."

Upvotes: 4

Related Questions