Symboldatabase: improved debug output

This commit is contained in:
Robert Reif 2015-02-04 06:08:41 +01:00 committed by Daniel Marjamäki
parent f1714110d0
commit 323475393b
1 changed files with 2 additions and 1 deletions

View File

@ -2085,7 +2085,8 @@ void SymbolDatabase::printVariable(const Variable *var, const char *indent) cons
std::cout << indent << "_type: "; std::cout << indent << "_type: ";
if (var->type()) { if (var->type()) {
std::cout << var->type()->name(); std::cout << var->type()->name();
std::cout << " " << var->type(); std::cout << " " << _tokenizer->list.fileLine(var->type()->classDef);
std::cout << " " << var->type() << std::endl;
} else } else
std::cout << "none" << std::endl; std::cout << "none" << std::endl;