User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
debugging_complex_programs [2018/12/26 11:21]
emozolyak [Debug messages]
debugging_complex_programs [2018/12/26 11:21]
emozolyak [Debug messages]
Line 52: Line 52:
 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 "​Execute on register'​s value change"​ and link to system time register or another one, slower. 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 "​Execute on register'​s value change"​ and link to system time register or another one, slower.
  
-There are also messaging ​functins ​like [[ http://​docs.webhmi.com.ua/​scripts#​writing_to_message_log|AddInfoMessage]],​ which can be used to write in a separate Messages log. Just take care of using them in logic transition points, otherwise you will get huge number of records generated in every scan from these functions.+There are also messaging ​functions ​like [[ http://​docs.webhmi.com.ua/​scripts#​writing_to_message_log|AddInfoMessage]],​ which can be used to write in a separate Messages log. Just take care of using them in logic transition points, otherwise you will get huge number of records generated in every scan from these functions.
  

Page Tools