diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2018-12-12 14:27:59 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-01-22 10:47:58 +0000 |
commit | e947bd79d7f0f0aca8f3f20d01c9dc8475df5696 (patch) | |
tree | 7f1073a700b256f639e1d7615000066c7273d4f8 /sources | |
parent | f85e18f755eb1387609efed90861b9d7933f6b56 (diff) |
Add debug_windows.py script
This script can be used to find out why PySide2 modules
fail to load with various DLL errors like:
- Missing DLL
- Missing symbol in DLL
You can think of it as a Windows version of ldd / LD_DEBUG.
Underneath it uses the cdb.exe command line debugger, and the
gflags.exe tool, both installed with the latest Windows Kit.
The aim is to ask users to run this script when they encounter
PySide2 imports not working on Windows.
The user should then provide the generated log file.
Incindentally it can also be used for any Windows executables,
not just Python.
Consider adapting it to work on Linux and macOS as well
(using LD_DEBUG and something similar on macOS).
Change-Id: Ic7ef37ffd0565495e0774e4db3fc509090607af2
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'sources')
0 files changed, 0 insertions, 0 deletions