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

    Debug mode not showing variable values in program and function blocks

    Scheduled Pinned Locked Moved Mervis
    4 Posts 2 Posters 1.3k Views 1 Watching
    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áčekM 1 Reply Last reply
        Reply Quote 0
        • Martin KudláčekM
          Martin Kudláček @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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post