Changes in src/builder.cpp [b9c847:097902]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/builder.cpp
rb9c847 r097902 60 60 #include "config.hpp" 61 61 #include "log.hpp" 62 #include "memoryusageobserver.hpp"63 62 #include "molecule.hpp" 64 63 #include "periodentafel.hpp" … … 111 110 } 112 111 112 void dumpMemory(){ 113 ofstream ost("molecuilder.memdump"); 114 Memory::dumpMemory(ost); 115 } 116 113 117 int main(int argc, char **argv) 114 118 { 115 119 // while we are non interactive, we want to abort from asserts 116 //ASSERT_DO(Assert::Abort); 120 ASSERT_DO(Assert::Abort); 121 ASSERT_HOOK(dumpMemory); 117 122 string line; 118 123 char **Arguments = NULL; … … 128 133 // need to init the history before any action is created 129 134 ActionHistory::init(); 130 131 // In the interactive mode, we can leave the user the choice in case of error132 ASSERT_DO(Assert::Ask);133 135 134 136 // from this moment on, we need to be sure to deeinitialize in the correct order … … 156 158 UIFactory::makeUserInterface("CommandLine"); 157 159 } else { 160 // In the interactive mode, we can leave the user the choice in case of error 161 ASSERT_DO(Assert::Ask); 158 162 #ifdef USE_GUI_QT 159 163 DoLog(0) && (Log() << Verbose(0) << "Setting UI to QT4." << endl);
Note:
See TracChangeset
for help on using the changeset viewer.