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