Thread information is displayed by the !rpcexts.getthreadinfo extension, or by DbgRpc when the -t switch is used.
必须指定进程的 PID。 还可以在该进程中指定线程。 如果省略线程,则会显示该进程中的所有线程。
在以下示例中,进程 ID 0x278,并且省略线程 ID:
D:\wmsg>dbgrpc -t -P 278
Searching for thread info ...
## PID CELL ID ST TID LASTTIME
-----------------------------------
0278 0000.0002 01 000001a4 00072c09
0278 0000.0005 03 0000031c 00072bf5
有关可选参数的详细信息,请参阅 DbgRpc Command-Line 选项。
For a similar example using the RPC debugger extensions, see !rpcexts.getthreadinfo.