调试.NET程序线程 [英] Debug .NET Program Threads
本文介绍了调试.NET程序线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何库可以从包含所有线程名称的.NET程序中获取所有托管线程?
Is there any library to get all managed threads from a .NET Program, which contains all threads names?
我想创建一个.exe来获取所有线程及其名称(thread.Name),例如Debug> Windows>线程窗口.
I want to create a .exe to get all threads and its names (thread.Name), like Debug > Windows > Thread window does.
预先感谢
艾伦
推荐答案
嗨艾伦,
我搜索了更多内容,看来可能的解决方案是我们必须跟踪"搜索结果.所有创建的线程;看来该解决方案是可行的.请注意,此线程用于活动线程.
I have searched more, it seems that the possible solution is we have to "trace" all the created threads; it seems that the solution is workable. Note this thread is for active thread.
最诚挚的问候,
克里斯汀
这篇关于调试.NET程序线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文