Skip to main content
Msert.1
Associate II
December 1, 2020
Solved

PLS UDE Debugger does not change the value of global variables

  • December 1, 2020
  • 1 reply
  • 1207 views

Hello,

I wrote some codes and it worked succesfully. Then I wanted to add some global variable for computing a value but global variables which are added later, their values did not change, altough I set the refresh period setting ( while are changing global variables which are declareted before) . And their initialize values also don't change (there is a "?" symbol everytime). Additional their adresess is seen 0x000000. What could be the reason of this? How can I add a global variable for wathing what is going on?

Regards,

This topic has been closed for replies.
Best answer by Giuseppe DI-GIORE

Hello,

Perhaps variables have been optimized away because not referenced in your code.

Regards,

Giuseppe

1 reply

Giuseppe DI-GIORE
ST Employee
January 12, 2021

Hello,

Perhaps variables have been optimized away because not referenced in your code.

Regards,

Giuseppe