debugging_complex_programs
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
debugging_complex_programs [2018/12/26 11:12] – [Running backup on the new device] emozolyak | debugging_complex_programs [2018/12/26 11:21] – [Debug messages] emozolyak | ||
---|---|---|---|
Line 46: | Line 46: | ||
===== Debug messages ===== | ===== 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' | + | 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:// | + | 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. | + | 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 " |
- | However, in a large system with many interrelated | + | There are also messaging functins like [[ http:// |
- | + | ||
- | In addition, filtering unnecessary information in logs is also useful from the point of view of performance, | + | |
- | + | ||
- | You can proceed as follows - assign your debugging function, which will be called only if the debug printing | + | |
debugging_complex_programs.txt · Last modified: 2022/01/15 20:50 by 127.0.0.1