Every time I display the watch 1 window, I get a .Net exception

Anonymous
2020-02-22
2020-02-24
  • Anonymous - 2020-02-22

    Originally created by: xs27

    When ever I download code and the watch window is active I get this exception like displayed in the attached image. Now it is happening too when I make a build. Even when I delete the expressions in the watch window and do a save, they are again there with the next download to the PLC. This is not just super annoying, it undermines the confidence into this tool, even when I can click on continue. I don't want to change the version of Codesys when I don't have to because my project is huge. The pointer type exception for .Net is mentioning a part of my code. Someone is getting pointers wrong.

    Codesys version : V3.5 SP14 Patch 4+ (64bit)

    Has someone an idea what is happening?

    IMG: exception2.png

     
  • Anonymous - 2020-02-24

    Originally created by: xs27

    The solution is easy. Codesys stores data of the UI into opt files. When these opt files are used over a longer time with git checked out project files, the data becomes obsolete and makes the system unstable. This is design issue.

     

Log in to post a comment.