Condividi tramite


System Syntax

Molti comandi del debugger hanno identificatori di processo come parametri.

Prima dell'identificatore di sistema vengono visualizzate due barre verticali ( || ). L'identificatore di sistema può essere uno dei valori seguenti.

System identifier Description

||.

Il sistema corrente

||#

Sistema che ha causato l'eccezione corrente o l'evento di debug.

||*

All systems.

|| ddd

The system whose ordinal is ddd.

I sistemi vengono assegnati ordinali nell'ordine a cui il debugger è collegato.

All'avvio del debug, il sistema corrente è quello che ha causato l'eccezione o l'evento di debug (o quello a cui il debugger è collegato più di recente). Tale sistema rimane il sistema corrente fino a quando non si specifica un nuovo sistema utilizzando un ||s (Imposta sistema corrente) o usando la finestra Processi e thread in WinDbg.

Example

In questo esempio vengono caricati tre file di dump. Il sistema 1 è attivo e il sistema 2 ha causato l'evento di debug.

||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. Per altre informazioni su come controllare una sessione con più destinazioni, vedere Debug di più destinazioni.

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.