【问题标题】:Unable to load qtcreatorcdbext.dll when remote debugging with Qt 15.3.1使用 Qt 15.3.1 进行远程调试时无法加载 qtcreatorcdbext.dll
【发布时间】:2020-10-17 10:38:50
【问题描述】:

I've been following the instructions here for remote debugging with CDB.

我能够很好地连接到远程机器的 CDB 会话并查看输出,但是当我尝试在运行 Qt Creator 的本地机器上添加断点时,我最终收到以下错误:

The call to LoadLibrary(qtcreatorcdbext) failed, Win32 error 0n126
    "The specified module could not be found."

我创建了一个系统环境变量 _NT_DEBUGGER_EXTENSION_PATH,它指向远程机器上包含 qtcreatorcdbext.dll 的文件夹。 DLL 是 64 位版本,我在使用 MSVC2017 64 位编译器编译的 64 位应用程序上运行 64 位版本的 CDB。如果我将 qtcreatorcdbext.dll 替换为 32 位版本,则在指定断点时出现以下错误:

The call to LoadLibrary(qtcreatorcdbext) failed, Win32 error 0n193
    "%1 is not a valid Win32 application."

所以看起来它能够找到 DLL,但实际上并没有加载 64 位版本。我还验证了我在两台机器上运行的 CDB 版本相同。

感谢任何帮助!

【问题讨论】:

    标签: c++ windows qt qt-creator remote-debugging


    【解决方案1】:

    我有同样的问题。 我不得不使用这个工具https://github.com/lucasg/Dependencies 来调查关于 qtcreatorcdbext.dll 和 python35.dll 的依赖关系,并查看我的设置中缺少哪些 dll。

    【讨论】:

      猜你喜欢
      • 2014-07-19
      • 2011-04-16
      • 2014-02-05
      • 2011-06-12
      • 2014-10-29
      • 2013-05-27
      • 2013-06-18
      • 2012-12-07
      • 2012-11-04
      相关资源
      最近更新 更多