Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 C# 中,如果我想跳过调试器中方法的最后一条语句,我可以将光标放在方法的结尾大括号上,然后右键单击并选择Set Next Statement (Ctrl+Shift+F10). 在 F# 中,因为没有大括号,有没有办法做到这一点?
Set Next Statement (Ctrl+Shift+F10)
有趣的问题!我认为 F# 中没有完全等价的东西,因为它没有花括号,也没有像 C# 那样的“语句”。
如果您想这样做以返回到您当前在调试器中检查的方法/函数的调用者,您可以使用Step Out (Shift+F11)-- 它将完成执行并从当前方法/函数返回,然后中断。
Step Out (Shift+F11)