Debug mode not showing variable values in program and function blocks



  • When I go into debug mode I can no longer see the variable values in the fbd or st file viewers. The variables do show in the Variable Browser. Any ideas?



  • Additional info: I'm using a different user account on the same computer where this has previously worked. I see that "Show debug values in ST editor" is an option in the settings. Is it possible that the settings are not being read correctly? I've tried cycling the value of that option and restarting the IDE.


  • administrators

    Hi @Matt,
    are you sure you have selected the actual instance of the FB?

    9db9f0a5-d9c3-43d2-98ab-ccaf065d1a42-image.png

    The debugging of ST code is quite "buggy". On many occasions, the values are not shown or are incorrect. We are working on a fix.



  • The controller was not selected. It's working now. Thank you for pointing that out.


Log in to reply