Collaboration diagram for Debugging Macros:
|
Defines | |
| #define | _TRACE(message) |
| Define macros to support debugging. | |
| #define | _TRACE_EX(err_code, err_subcode, message) |
| #define | _TRACE_X(err_subcode, message) _TRACE_XX(NCBI_USE_ERRCODE_X, err_subcode, message) |
| #define | _TRACE_XX(error_name, err_subcode, message) |
| #define | NCBI_TROUBLE(mess) NCBI_NS_NCBI::CNcbiDiag::DiagTrouble(DIAG_COMPILE_INFO, mess) |
| #define | NCBI_ASSERT(expr, mess) |
| #define | NCBI_VERIFY(expr, mess) NCBI_ASSERT(expr, mess) |
| #define | _DEBUG_ARG(arg) arg |
| #define | _DEBUG_CODE(code) do { code } while ( 0 ) |
| #define | _ASSERT(expr) NCBI_ASSERT(expr, NULL) |
| #define | _VERIFY(expr) NCBI_VERIFY(expr, NULL) |
| #define | _TROUBLE NCBI_TROUBLE(NULL) |
Enumerations | |
| enum | EValidateAction { eValidate_Default = 0, eValidate_Abort, eValidate_Throw } |
| Which action to perform. More... | |
Functions | |
| void | xncbi_SetValidateAction (EValidateAction action) |
| Set the action to be performed. | |
| EValidateAction | xncbi_GetValidateAction (void) |
| Get the action to be performed. | |
|
|
Definition at line 132 of file ncbidbg.hpp. |
|
|
Definition at line 107 of file ncbidbg.hpp. Referenced by CPager::CPager(), CCodeGenerator::ExternalResolve(), CPager::IsPagerCommand(), CObjectsSniffer::ProbeASN1_Bin(), CCodeGenerator::ResolveInAnyModule(), and SplitQuery_CalculateNumChunks(). |
|
|
Definition at line 109 of file ncbidbg.hpp. Referenced by DropExonHead(), SplitChunk(), and SplitExon(). |
|
|
|
Value: ( NCBI_NS_NCBI::CNcbiDiag(DIAG_COMPILE_INFO \ NCBI_NS_NCBI::eDiag_Trace).GetRef() \ << NCBI_NS_NCBI::ErrCode( (err_code), (err_subcode) ) \ << message << NCBI_NS_NCBI::Endm ) Definition at line 72 of file ncbidbg.hpp. |
|
|
Definition at line 78 of file ncbidbg.hpp. |
|
|
Value: ( (NCBI_CHECK_ERR_SUBCODE_X_NAME(error_name, err_subcode)), \ _TRACE_EX(NCBI_ERRCODE_X_NAME(error_name), err_subcode, message) ) Definition at line 81 of file ncbidbg.hpp. |
|
|
Definition at line 134 of file ncbidbg.hpp. |
|
|
|
Value: do { if ( !(expr) ) \ NCBI_NS_NCBI::CNcbiDiag::DiagAssert(DIAG_COMPILE_INFO, #expr, mess); \ } while ( 0 ) Definition at line 99 of file ncbidbg.hpp. Referenced by CAgpErrEx::CAgpErrEx(), CAgpValidateReader::OnGapOrComponent(), CAgpValidateReader::OnScaffoldEnd(), CAlnVecRow::RenderColumn(), CAgpReader::SetErrorHandler(), and CAgpRow::SetErrorHandler(). |
|
|
Definition at line 85 of file ncbidbg.hpp. Referenced by CNCDBFile::x_GetStatement(). |
|
|
Definition at line 105 of file ncbidbg.hpp. |
|
|
Which action to perform. Specify action to be performed when expression under "xncbi_Validate(expr, ...)" evaluates to FALSE.
Definition at line 141 of file ncbidbg.hpp. |
|
|
Get the action to be performed.
Definition at line 57 of file ncbidbg.cpp. References eValidate_Abort, eValidate_Default, eValidate_Throw, and s_ValidateTLS. |
|
|
Set the action to be performed.
Definition at line 51 of file ncbidbg.cpp. References s_ValidateTLS. |
1.4.6
Modified on Mon Dec 07 16:24:35 2009 by modify_doxy.py rev. 173732