Qter 发表于 2018-3-31 21:19:38

The inferior stopped because it received a signal from the Operating System.

本帖最后由 Qter 于 2018-3-31 22:17 编辑

bool Logger::isEnabledFor(Level level) const
      {
            if (mpLoggerRepository->isDisabled(level))
                return false;
            return (effectiveLevel() <= level);
      }mpLoggerRepository的值 为 no such value


不要在动态库中单独调用 QLoggingLib::instance(),而是从主程序中把 QLoggingLib::instance() 以指针形式传送进来,如:initDB(QLoggingLib* pLog)
页: [1]
查看完整版本: The inferior stopped because it received a signal from the Operating System.