Getting debugger context in F# interactive

前端 未结 2 1536
情话喂你
情话喂你 2021-01-20 18:52

Is it possible to somehow get the debugger context in F# interactive? For instance, if I hit a breakpoint in C# project then I would like to work with local variables in F#

相关标签:
2条回答
  • 2021-01-20 19:27

    I've make very similar tool for Python, so I'm just using Python shell to evaluate some expressions like in Immediate Window. For this I've created a very simple VS Add-In and Python helper script. You can find sources on github - https://github.com/dp0h/VsImmediate

    0 讨论(0)
  • 2021-01-20 19:29

    Neither. You need to create an Expression Evaluator for it. Not sure if C# can be extended, but there is a sample in the VS SDK (the 2008 one at least).

    0 讨论(0)
提交回复
热议问题