猿问

是否可以在 Visual Studio 的 Locals 或 Watch windows

我正在处理许多类型的 lambda 表达式,Action<>并且Func<>这些表达式正在传递参数,我发现很难跟踪这些变量代表的实际代码。在LocalsWindows 或WatchWindows中调试期间可以看到这些 lambda 表达式的实际代码吗?
前任。Action<Exception, int> doNothing = (_, __) => { };doNothing作为参数传递给方法时,我想(_, __) => { }LocalsWatch窗口中的某处看到。


呼唤远方
浏览 188回答 1
1回答
随时随地看视频慕课网APP
我要回答