ATLAS Offline Software
Static Public Member Functions | List of all members
Debugger Class Reference

#include <Debugger.h>

Collaboration diagram for Debugger:

Static Public Member Functions

static bool get_debug_state ()
 
static bool debug ()
 

Detailed Description

Definition at line 8 of file Debugger.h.

Member Function Documentation

◆ debug()

static bool Debugger::debug ( )
inlinestatic

Definition at line 18 of file Debugger.h.

18  {
19  static const bool debug_state = get_debug_state();
20 
21  return debug_state;
22  }

◆ get_debug_state()

static bool Debugger::get_debug_state ( )
inlinestatic

Definition at line 11 of file Debugger.h.

11  {
12  if (::getenv("IDDEBUG") != 0) {
13  return true;
14  }
15  return false;
16  }

The documentation for this class was generated from the following file:
Debugger::get_debug_state
static bool get_debug_state()
Definition: Debugger.h:11
SCT_ConditionsAlgorithms::CoveritySafe::getenv
std::string getenv(const std::string &variableName)
get an environment variable
Definition: SCT_ConditionsUtilities.cxx:17