KDAB / GammaRay

GammaRay is a tool to poke around in a Qt-application and also to manipulate the application to some extent.
https://www.kdab.com/gammaray
Other
1.63k stars 283 forks source link

GammayRay exit on attach to process #984

Closed aliks-os closed 7 months ago

aliks-os commented 7 months ago

The application and GammaRay built with Mingw-32 Qt5.15.2, windows 11.

When I try attach to the process,

GammaRay closing with message D:\Projects\GammaRay\build\Desktop_Qt_5_15_2_MinGW_32_bit-Release\bin\gammaray-launcher.exe exited with code 0

In debug application I see GammaRay: Failed to load: D:\Projects\GammaRay\build\Desktop_Qt_5_15_2_MinGW_32_bit-Release\plugins\gammaray\3.0\qt5_15-GNU-i686\gammaray_probe.dll

When I try launch the application from GammaRay, D:\Projects\GammaRay\build\Desktop_Qt_5_15_2_MinGW_32_bit-Release\bin\gammaray-launcher.exe exited with code 0

aliks-os commented 7 months ago

According https://github.com/KDAB/GammaRay/issues/959

The system environment variable PATH setting:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;D:\StrawberryPerl\c\bin;D:\StrawberryPerl\perl\site\bin;D:\StrawberryPerl\perl\bin;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\dotnet\;D:\Qt\5.15.2\mingw81_32\bin;D:\Qt\Tools\CMake_64\bin;D:\Qt\Tools\Ninja;D:\Projects\GammaRay\build\Desktop_Qt_5_15_2_MinGW_32_bit-Debug\plugins\gammaray\3.0\qt5_15-GNU-i686d;D:\Projects\GammaRay\build\Desktop_Qt_5_15_2_MinGW_32_bit-Release\plugins\gammaray\3.0\qt5_15-GNU-i686;

Waqar144 commented 7 months ago

Seems like there is a problem with mingw builds in general, not sure why. Can you try to debug using the suggestions mentioned in https://github.com/KDAB/GammaRay/issues/983 ?

Closing as its a dupe.