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.61k stars 283 forks source link

Attaching succeed without control panel shown up, but another gammaray instance can connect to the attached and show the panel. #1022

Open neko-para opened 3 days ago

neko-para commented 3 days ago

System: MacOS 14.5 Intel Qt: 5.15.14 debug

The target program is inside the app bundle, but uses rpath to linking the external qt library that is the same as what used to build gammaray. Gammaray can successfully attach the program built with the same qt without bundle, and show the control panel.

Currently, I have to first attach the program, kill the gammaray, and reopen gammaray to connect to it, which is quite complicated. Is this a known issue about bundled app? Also, is there a way to combine gammaray inside the app that starts the server while program launched?

Waqar144 commented 4 hours ago

Also, is there a way to combine gammaray inside the app that starts the server while program launched?

yes, see https://docs.kdab.com/gammaray-manual/latest/gammaray-advanced-usage.html