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

[Feature request] Improve the Connection Error dialog #956

Open jonas-s-s-s opened 7 months ago

jonas-s-s-s commented 7 months ago

The launcher is automatically closed once gammaray attaches itself to a process, the client is then started. However as far as I'm aware there is no way to go back from the client to the launcher. Moreover when you close the process without deattaching it first, the Connection lost dialog is shown, which upon clicking "OK" simply closes the client window. It'd be better to add a button to this dialog which would allow user to return back to the launcher, instead of having to reopen the launcher manually each time this happens. Such feature would be useful when debugging, as the Qt process is usually started inside an IDE and then terminated by it too, which causes me to click "OK" in the connection lost dialog and manually reopening the launcher each time. dialog

olib14 commented 7 months ago

Indeed - a way to retarget GammaRay to a new process would be useful - perhaps it should watch for a new process with the same name and offer to inject into it, or return to the launcher otherwise (instead of quitting).