Summary
In this chapter, we have learned about the importance of troubleshooting, why developers are struggling with troubleshooting, and how to set up the right environment to troubleshoot your application. Furthermore, we looked into the importance of error handling and how it can help to identify the problematic areas and why developers should incorporate error handling in their day-to-day development. Then we learned the other helpful part of error handling, which is logging. We have seen how to create a logger and use the appropriate message level. We have also explored various other logging libraries that we can use in our application development. After that, we learned two important techniques in troubleshooting--thread dump and heap ...
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