measures.cpp debug