Suspending Threads

Per sospendere un thread in esecuzione:

  1. Select the thread in the Debug View.
  2. Click the Suspend button [ Suspend ] in the view toolbar.

Il thread viene sospeso. The current call stack for the thread is displayed, and the current line of execution is highlighted in the editor in the Debug Perspective.

Quando un thread viene sospeso, il frame dello stack superiore del thread viene automaticamente selezionato.  The Variables View shows the stack frame's variables and their values. Le variabili complesse possono essere ulteriormente esaminate espandendole per visualizzare i valori dei relativi membri.

Quando un thread č sospeso e il cursore viene posizionato su una variabile nell'editor Java, viene visualizzato il valore di tale variabile.

Argomenti correlati
Debugger
Editor Java
Prospettive Java

Attivitā correlate
Rilevamento di eccezioni Java
Valutazione di espressioni
Ripresa dell'esecuzione dei thread sospesi
Fasi dell'esecuzione di un programma

Riferimenti correlati
Vista Debug
Resume command
Suspend command
Vista Variabili