diff --git a/CommonTools/Utils/src/MethodSetter.cc b/CommonTools/Utils/src/MethodSetter.cc index 46b92d0cff225..0f7254e368cd7 100644 --- a/CommonTools/Utils/src/MethodSetter.cc +++ b/CommonTools/Utils/src/MethodSetter.cc @@ -9,6 +9,9 @@ #include +//DEBUG THREADING PROBLEM +#include + using namespace reco::parser; using namespace std; @@ -121,6 +124,8 @@ bool MethodSetter::push(const string& name, const vector& arg // Not a data member either, fatal error, throw. switch (error) { case reco::parser::kNameDoesNotExist: { + //DEBUG THREADING ISSUE + std::abort(); Exception ex(begin); ex << "no method or data member named \"" << name << "\" found for type \"" << type.name() << "\"\n"; // The following information is for temporary debugging only, intended to be removed later diff --git a/CommonTools/Utils/test/testCutParser.cc b/CommonTools/Utils/test/testCutParser.cc index d9b1ba84737be..84c32c4a6efb1 100644 --- a/CommonTools/Utils/test/testCutParser.cc +++ b/CommonTools/Utils/test/testCutParser.cc @@ -178,6 +178,8 @@ void testCutParser::checkAll() { // check handling of errors // first those who are the same in lazy and non lazy parsing + //DEBUG FOR THREADING + /* for (int lazy = 0; lazy <= 1; ++lazy) { sel.reset(); CPPUNIT_ASSERT(!reco::parser::cutParser("1abc", sel, lazy)); @@ -220,6 +222,7 @@ void testCutParser::checkAll() { sel.reset(); CPPUNIT_ASSERT_THROW(reco::parser::cutParser("quality('notAnEnum')", sel, false), edm::Exception); + */ //DEBUG ENDING // check hits (for re-implemented virtual functions and exception handling) CPPUNIT_ASSERT(hitOk.hasPositionAndError());