共用方式為


System Syntax

許多偵錯工具命令都有進程識別碼作為其參數。

兩個垂直條 ( || ) 出現在系統識別碼之前。 系統識別碼可以是下列其中一個值。

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.