多くのデバッガー コマンドには、パラメーターとしてプロセス識別子があります。
システム識別子の前に 2 つの垂直バー (|| ) が表示されます。 システム識別子には、次のいずれかの値を指定できます。
| System identifier | Description |
|---|---|
||. |
現在のシステム |
||# |
現在の例外またはデバッグ イベントの原因となったシステム。 |
||* |
All systems. |
|| ddd |
The system whose ordinal is ddd. |
システムには、デバッガーがアタッチする順序で序数が割り当てられます。
デバッグが開始されると、現在のシステムは、現在の例外またはデバッグ イベント (またはデバッガーが最後にアタッチしたもの) を引き起こしたシステムです。 || を使用して新しいシステムを指定するまで、そのシステムは現在のシステムのままです。 s (現在のシステムの設定) コマンドを使用するか、WinDbg の [プロセスとスレッド] ウィンドウ を使用します。
Example
この例では、3 つのダンプ ファイルが読み込まれているのを示します。 システム 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.