Skip to content

Commit e3224ae

Browse files
committed
added temp debugging logs
1 parent b74af33 commit e3224ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/base/values.cc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ DictionaryValue::DictionaryValue()
354354
}
355355

356356
DictionaryValue::~DictionaryValue() {
357-
std::cout<< "\n********** DictionaryValue::~DictionaryValue()\n";
357+
std::cout<< "\n********** DictionaryValue::~DictionaryValue() = "<<this<<"\n";
358358
Clear();
359359
}
360360

@@ -381,6 +381,9 @@ void DictionaryValue::Clear() {
381381
std::cout << "*********** DictionaryValue::Clear()\n";
382382
ValueMap::iterator dict_iterator = dictionary_.begin();
383383
while (dict_iterator != dictionary_.end()) {
384+
if (dict_iterator->first == "message") {
385+
std::cout<< "******** "<<dict_iterator->first <<" = "<< dict_iterator->second<< " = { "<< *(dict_iterator->second)<< " }";
386+
} else
384387
std::cout<<"******** "<<dict_iterator->first <<" = "<< dict_iterator->second<<std::endl;
385388
delete dict_iterator->second;
386389
++dict_iterator;

0 commit comments

Comments
 (0)