General debugging
In addition to what we've discussed in the preceding sections, some general debugging tips and principals should be applied in order to preserve the performance of your instance, and to make your debugging as efficient as possible.
One important principal of debugging, is of course to check whether your script even ran. If you have access to the script debugger, this is a simple matter of adding a breakpoint to the script and seeing if execution halts before or after the line with the breakpoint, then stepping through each line until you find the issue. If not, however, you may need to add an infoMessage or log statement to the script or code block which you want to know about. There is, however, another way, if you're checking ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access