如何通过用户模式转储确定在 WinDbg 中创建线程的时间。
最佳答案
!runaway
命令允许您显示自创建线程以来所耗时。来自文档:
!runaway [Flags] Parameters
Flags Specifies the kind of information to be displayed. Flags can be any combination of the following bits. The default value is 0x1.
Bit 0 (0x1) Causes the debugger to show the amount of user time consumed by each thread.
Bit 1 (0x2) Causes the debugger to show the amount of kernel time consumed by each thread.
Bit 2 (0x4) Causes the debugger to show the amount of time that has elapsed since each thread was created.
关于debugging - 使用用户模式转储确定 WinDbg 中线程的创建时间,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11638131/