MCPcopy Create free account
hub / github.com/JSBSim-Team/jsbsim / Debug

Method Debug

src/math/FGTable.cpp:849–871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

847// a message is printed out when they go out of bounds
848
849void FGTable::Debug(int from)
850{
851 if (debug_lvl <= 0) return;
852
853 if (debug_lvl & 1) { // Standard console startup message output
854 if (from == 0) { } // Constructor
855 }
856 if (debug_lvl & 2 ) { // Instantiation/Destruction notification
857 FGLogging log(LogLevel::DEBUG);
858 if (from == 0) log << "Instantiated: FGTable\n";
859 if (from == 1) log << "Destroyed: FGTable\n";
860 }
861 if (debug_lvl & 4 ) { // Run() method entry print for FGModel-derived objects
862 }
863 if (debug_lvl & 8 ) { // Runtime state variables
864 }
865 if (debug_lvl & 16) { // Sanity checking
866 }
867 if (debug_lvl & 64) {
868 if (from == 0) { // Constructor
869 }
870 }
871}
872}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected