
foreword
You may already be familiar with Laurențiu Spilcă from his books Spring Security in Action and Spring Start Here, but if not, Troubleshooting Java provides a great introduction to his unique style of writing and pervasive humor. If you’re a newcomer to Java development, you may well find his careful coverage of concepts extremely useful, especially when combined with thorough coverage of the available (free) tools and how to use them. In addition, the book includes many examples and demonstrations of what can go wrong, to help you build experience and confidence in using the tools.
Part 1 focuses on debuggers and covers common tools like the IntelliJ CE debugger—both their capabilities and their limitations. Unlike many other resources, Laurențiu covers several debugger techniques that go well beyond the basics, such as conditional breakpoints and nonpausing breakpoints. There’s also solid coverage of the basics of troubleshooting Java applications using logs.