debugging_complex_programs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
debugging_complex_programs [2018/12/26 11:00] – [Differences between write function for internal registers and external] emozolyak | debugging_complex_programs [2018/12/26 11:21] – [Debug messages] emozolyak | ||
---|---|---|---|
Line 43: | Line 43: | ||
If the project was linked to Level2 account, when restoring its backup on the new WebHMI, check that Level2 integration is switched off, otherwise this WebHMI may interefer another one which use same Level2 account. | If the project was linked to Level2 account, when restoring its backup on the new WebHMI, check that Level2 integration is switched off, otherwise this WebHMI may interefer another one which use same Level2 account. | ||
+ | |||
+ | ===== Debug messages ===== | ||
+ | |||
+ | It is desirable after the key moments of logic or calculations in scripts to immediately put the functions INFO, ERROR, DEBUG, TRACE, with respectve values at this point, script' | ||
+ | |||
+ | When there is a lot of records in the communication log, you can filter out unneccerary output from scripts with this [[http:// | ||
+ | |||
+ | In the script editor, there is a debugging console, which always prints out the functions INFO, DEBUG, ERROR, TRACE regardless of the system log level settings. If the output changes too quickly to analize, you can slow down the script by changging in execution type to " | ||
+ | |||
+ | There are also messaging functins like [[ http:// | ||
debugging_complex_programs.txt · Last modified: 2022/01/15 20:50 by 127.0.0.1