Condividi tramite


EXCEPTION_STATE

Specifica lo stato dell'eccezione.

enum enum_EXCEPTION_STATE { 
   EXCEPTION_NONE                          = 0x0000,
   EXCEPTION_STOP_FIRST_CHANCE             = 0x0001,
   EXCEPTION_STOP_SECOND_CHANCE            = 0x0002,
   EXCEPTION_STOP_USER_FIRST_CHANCE        = 0x0010,
   EXCEPTION_STOP_USER_UNCAUGHT            = 0x0020,
   EXCEPTION_STOP_ALL                      = 0x00FF,
   EXCEPTION_CANNOT_BE_CONTINUED           = 0x0100,

   // These are for exception types only
   EXCEPTION_CODE_SUPPORTED                = 0x1000,
   EXCEPTION_CODE_DISPLAY_IN_HEX           = 0x2000,
   EXCEPTION_JUST_MY_CODE_SUPPORTED        = 0x4000,
   EXCEPTION_MANAGED_DEBUG_ASSISTANT       = 0x8000,

   // These are no longer used
   EXCEPTION_STOP_FIRST_CHANCE_USE_PARENT      = 0x0004,
   EXCEPTION_STOP_SECOND_CHANCE_USE_PARENT     = 0x0008,
   EXCEPTION_STOP_USER_FIRST_CHANCE_USE_PARENT = 0x0040,
   EXCEPTION_STOP_USER_UNCAUGHT_USE_PARENT     = 0x0080,
};
typedef DWORD EXCEPTION_STATE;
public enum enum_EXCEPTION_STATE { 
   EXCEPTION_NONE                          = 0x0000,
   EXCEPTION_STOP_FIRST_CHANCE             = 0x0001,
   EXCEPTION_STOP_SECOND_CHANCE            = 0x0002,
   EXCEPTION_STOP_USER_FIRST_CHANCE        = 0x0010,
   EXCEPTION_STOP_USER_UNCAUGHT            = 0x0020,
   EXCEPTION_STOP_ALL                      = 0x00FF,
   EXCEPTION_CANNOT_BE_CONTINUED           = 0x0100,

   // These are for exception types only
   EXCEPTION_CODE_SUPPORTED                = 0x1000,
   EXCEPTION_CODE_DISPLAY_IN_HEX           = 0x2000,
   EXCEPTION_JUST_MY_CODE_SUPPORTED        = 0x4000,
   EXCEPTION_MANAGED_DEBUG_ASSISTANT       = 0x8000,

   // These are no longer used
   EXCEPTION_STOP_FIRST_CHANCE_USE_PARENT      = 0x0004,
   EXCEPTION_STOP_SECOND_CHANCE_USE_PARENT     = 0x0008,
   EXCEPTION_STOP_USER_FIRST_CHANCE_USE_PARENT = 0x0040,
   EXCEPTION_STOP_USER_UNCAUGHT_USE_PARENT     = 0x0080,
};

Membri

  • EXCEPTION_NONE
    Non arrestarsi l'eccezione.

  • EXCEPTION_STOP_FIRST_CHANCE
    L'arresto di primo infornamento dell'eccezione. In descrivere un evento di eccezione, questo flag indica che l'evento dell'eccezione è un evento di eccezioni first-chance.

  • EXCEPTION_STOP_SECOND_CHANCE
    Interruzione su come infornamento dell'eccezione. In descrivere un evento di eccezione, indica che l'evento dell'eccezione è un evento second-chance di eccezione.

  • EXCEPTION_STOP_USER_FIRST_CHANCE
    Interruzione alla prima infornamento di un'eccezione in modalità utente. In descrivere un evento di eccezione, indica che l'evento dell'eccezione è un evento di eccezione utente di eccezioni first-chance.

  • EXCEPTION_STOP_USER_UNCAUGHT
    Interrompere l'esecuzione quando un'eccezione in modalità utente non viene intercettata. In descrivere un evento di eccezione, indica che l'evento dell'eccezione è un evento non intercettata di eccezione in modalità utente.

  • EXCEPTION_STOP_ALL
    interruzione su qualsiasi eccezione. Non utilizzato quando viene descritto un evento di eccezione.

  • _BE_CONTINUED OF EXCEPTION_CAN NOT
    In descrivere un evento di eccezione, indica che l'eccezione non è possibile continuare da.

  • EXCEPTION_CODE_SUPPORTED
    Indica che l'eccezione contiene codice che lo supporta. Utilizzato per la visualizzazione dell'eccezione

  • EXCEPTION_CODE_DISPLAY_IN_HEX
    Indica che il codice dell'eccezione deve essere visualizzato in. Utilizzato per la visualizzazione dell'eccezione.

  • EXCEPTION_JUST_MY_CODE_SUPPORTED
    Indica che il codice dell'eccezione supporta JustMyCode. Utilizzato per la visualizzazione dell'eccezione.

  • EXCEPTION_MANAGED_DEBUG_ASSISTANT
    Indica che il debugger di codice gestito deve gestire le eccezioni. Se non impostata, il debugger predefinito gestisce le eccezioni. Ciò viene passata IDebugEngine3:: SetAllExceptions al metodo e non viene EXCEPTION_INFORMATION utilizzata nella struttura.

  • EXCEPTION_STOP_FIRST_CHANCE_USE_PARENT
    OBSOLETO, NOT UTILIZZARE.

  • EXCEPTION_STOP_SECOND_CHANCE_USE_PARENT
    OBSOLETO, NOT UTILIZZARE.

  • EXCEPTION_STOP_USER_FIRST_CHANCE_USE_PARENT
    OBSOLETO, NOT UTILIZZARE.

  • EXCEPTION_STOP_USER_SECOND_CHANCE_USE_PARENT
    OBSOLETO, NOT UTILIZZARE.

Note

Utilizzato come membro di dwState EXCEPTION_INFORMATION della struttura per indicare lo stato dell'eccezione e le operazioni che è possibile eseguire a questo argomento.

Questi valori vengono passati IDebugEngine3:: SetAllExceptions al metodo per impostare lo stato di tutte le eccezioni.

Questi flag possono essere combinati con un OR bit per bit.

Requisiti

intestazione: msdbg.h

Spazio dei nomi: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

Vedere anche

Riferimenti

enumerazioni (debug di Visual Studio)

EXCEPTION_INFORMATION

IDebugEngine3:: SetAllExceptions