如何调试等待任务 [英] How to debug await task

查看:95
本文介绍了如何调试等待任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试调试等待任务。冻结主线程并不会导致断点被点击只是冻结程序。如何调试await任务?

解决方案

也许您可以提供一些代码来提供上下文。


另请查看以下内容


https://msdn.microsoft.com/en-us/library/jj155813.aspx?f=255&MSPPError=-2147217396


I have an await task which I am trying to debug. Freezing the main thread does not not cause the breakpoint to be hit just freezes the program at that point. How can I debug a an await task?

解决方案

Perhaps you could supply some of your code to provide context.

Also check out the following

https://msdn.microsoft.com/en-us/library/jj155813.aspx?f=255&MSPPError=-2147217396


这篇关于如何调试等待任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆