diff options
| -rw-r--r-- | src/lib/config.cc | 4 | ||||
| -rw-r--r-- | src/lib/state.cc | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index bd17dcbcf..0572f4dd3 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -290,8 +290,11 @@ void Config::read_config() try { + std::cout << "=> Config::read_config()\n"; + std::cout << "config_read_file()=" << config_read_file() << "\n"; cxml::Document f ("Config"); f.read_file(config_read_file()); + std::cout << "back from read_file\n"; auto version = f.optional_number_child<int> ("Version"); if (version && *version < _current_version) { @@ -1449,6 +1452,7 @@ config_file (boost::filesystem::path main) cxml::Document f ("Config"); if (!dcp::filesystem::exists(main)) { /* It doesn't exist, so there can't be any links; just return it */ + std::cout << main << " doesn't exist.\n"; return main; } diff --git a/src/lib/state.cc b/src/lib/state.cc index e0d008810..daae0e7ac 100644 --- a/src/lib/state.cc +++ b/src/lib/state.cc @@ -65,6 +65,8 @@ State::read_path (string file) auto full = config_path_or_override(i) / file; if (dcp::filesystem::exists(full)) { return full; + } else { + std::cout << full << " does not exist.\n"; } } |
