Skip to Main Content
Learn PowerShell Scripting in a Month of Lunches
book

Learn PowerShell Scripting in a Month of Lunches

by Jeffery Hicks, Don Jones
December 2017
Beginner content levelBeginner
352 pages
10h 31m
English
Manning Publications
Content preview from Learn PowerShell Scripting in a Month of Lunches

Chapter 23. Squashing bugs

No book on scripting could be complete without at least a quick word on debugging. So here it goes: “Debugging sucks.” There you are: Two words on debugging. Actually, although debugging does suck, we have quite a few more words to share on the topic, along with some solid tips for making debugging easier on you. Let’s dive in.

23.1. The three kinds of bugs

We tend to categorize bugs as syntax, results, or logic bugs. We used to focus on syntax and logic bugs, but we recently added results bugs to the mix to identify a particular type of vexing situation and help people work past it. In order of increasing complexity, these bug families work like this:

  • Syntax bugs— You typed something wrong. Perhaps you typed ...
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.
Start your free trial

You might also like

Learn Windows PowerShell in a Month of Lunches, Third Edition

Learn Windows PowerShell in a Month of Lunches, Third Edition

Don Jones

Publisher Resources

ISBN: 9781617295096Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link