Any real world experience debugging a production functional program?

前端 未结 6 1074
执笔经年
执笔经年 2021-02-05 11:31

I\'m interested in what tools and methods are used for diagnosing flaws in large scale functional programs. What tools are useful? My current understanding is that \'printf\'

6条回答
  •  时光说笑
    2021-02-05 12:16

    F# has Visual Studio integration, so you can attach the debugger to your program and set breakpoints, watches, etc, just like with any other .NET language.

    However, I prefer to avoid debugging as much as possible, by writing short functions that I can unit-test individually.

提交回复
热议问题