I am experiencing a weird scenario with a WINC Screen that I created.
We are still using Plex 6.1 .
I added log messages in my function to Check what events gets fired and what subroutines gets called.
When I generate and build the screen in plex and (right click > run) my logging displays.. but I expected no logging as I placed the logging in events that should not execute when you open the screen(right click > run).
When I debug the function (right click > Action Diagram Debugger) and click GO not step the screen opens and there’s no logging ..witch I expected.
It’s the same function same logging but different results.
It seems Like When running the function with the debugger it does what its supposed to do but when I run it out of plex without the debugger its not working(going into events it should not example the Load Grid event)
Why would the execution of the code differ? The function is the same… does it have something to do with runtime?
My Logging when running the debugger and opening the screen -Correct:
My Logging when running the same function in plex right click run -Not correct