GammaRay icon indicating copy to clipboard operation
GammaRay copied to clipboard

StateMachine not loaded on attach process

Open droidsyer opened this issue 8 years ago • 8 comments

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:

droidsyer avatar May 04 '16 13:05 droidsyer

Just checking: You're using GammaRay 2.4 branch here, too?

krf avatar May 09 '16 17:05 krf

Yes, I'm using GammaRay version 2.4.0

droidsyer avatar May 10 '16 08:05 droidsyer

Any fixes for this issue?

aletricks avatar May 19 '16 04:05 aletricks

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.

statemachine

jcelerier avatar Nov 16 '16 13:11 jcelerier

same here with GammaRay 2.8.50 (revision d4c1424)

adam-ce avatar Jul 31 '17 16:07 adam-ce

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.

antonindrawan avatar Oct 11 '17 19:10 antonindrawan

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

jcelerier avatar Oct 27 '17 19:10 jcelerier

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

iamsergio avatar Nov 11 '17 11:11 iamsergio