GammaRay
GammaRay copied to clipboard
StateMachine not loaded on attach process
Hi, After gammaray is started, I attach it to a running process (that contain a FSM), the stateMachine is not loaded, the field on column "State Machine" is not enabled and I cannot see the FSM graph. If I launch application from gammaray, it works! :+1:
Just checking: You're using GammaRay 2.4 branch here, too?
Yes, I'm using GammaRay version 2.4.0
Any fixes for this issue?
I have the same issue on GammaRay 5.6 with Qt 5.7 probe.
The gammaray_statemachineviewer
plug-in is loaded if I go to the "diagnostics" dialog, but the "state machines" field on the left column isn't here at all.
It does not change anything if I use the in-process or out-of-process probe.
same here with GammaRay 2.8.50 (revision d4c1424)
I just saw a nice demo on the Qt World Summit 2017 that visualized the state machine of the stickman example.
Immediately, I built GammaRay 2.8.50 (revision https://github.com/KDAB/GammaRay/commit/b500c0e5c041a3cd984ddaf091954ccd60fe424e), but the option on the left pane didn't show up.
If this can be useful, I noticed the following lines in the stdout of gammaray :
cannot call method statusChanged on unknown object of name com.kdab.GammaRay.StateMachineViewer with address 170 - did you forget to register it? Cannot dispatch message 31 - no handler registered. Receiver: com.kdab.GammaRay.StateMachineViewer, address 170
I tested with qtbase/examples/widgets/statemachine/eventtransitions and it works @droidsyer can you test with this example ? @others if "State Machines" doesn't even appear on the left pane then it's an unrelated problem