• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Debug mode not showing variable values in program and function blocks

    Mervis
    2
    4
    82
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Matt last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • M
        Matt last edited by Matt

        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.

        Martin Kudláček 1 Reply Last reply Reply Quote 0
        • Martin Kudláček
          Martin Kudláček administrators @Matt last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • M
            Matt last edited by

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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post