【问题标题】:No threads displayed in the Threads Debug Window线程调试窗口中没有显示线程
【发布时间】:2012-10-30 15:12:46
【问题描述】:

我正在尝试按照this article 中所述跟踪我的 BackgroundWorker 线程,但线程调试窗口为空:

是的,I'm debugging

我错过了什么?

【问题讨论】:

    标签: c# winforms visual-studio-2010 visual-studio backgroundworker


    【解决方案1】:

    您需要先暂停您的应用程序;当您的代码运行时,调试器不会显示任何内容。

    您可以设置断点并等待它被击中,或者单击暂停按钮立即中断。

    【讨论】:

    • 谢谢! Debug > Break All 成功了。现在的问题是:我如何杀死一个特定线程以进行诊断?
    猜你喜欢
    • 2014-02-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多