许多调试器命令将进程标识符作为其参数。
两个垂直条形图 (||) 显示在系统标识符之前。 系统标识符可以是以下值之一。
System identifier | Description |
---|---|
||. |
当前系统 |
||# |
导致当前异常或调试事件的系统。 |
||* |
All systems. |
|| ddd |
The system whose ordinal is ddd. |
系统按调试器附加到系统的顺序分配序号。
调试开始时,当前系统是导致当前异常或调试事件(或调试器最近附加到的异常)。 在使用 || 指定新系统之前,该系统将保持当前系统 s (设置当前系统) 命令或使用 WinDbg 中的 “进程和线程”窗口 。
Example
此示例显示已加载三个转储文件。 系统 1 处于活动状态,系统 2 导致调试事件。
||1:1:017> ||
0 User mini dump: c:\notepad.dmp
. 1 User mini dump: c:\paint.dmp
# 2 User mini dump: c:\calc.dmp
Remarks
To work with multiple systems, you can use the .opendump to debug multiple crash dumps at the same time. 有关如何控制多目标会话的详细信息,请参阅 调试多个目标。
Note There are complications, when you debug live targets and dump targets together, because commands behave differently for each type of debugging. For example, if you use the g (Go) command when the current system is a dump file, the debugger begins executing, but you cannot break back into the debugger, because the break command is not recognized as valid for dump file debugging.