Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques for code profiling, advanced debugging, and log evaluation to find and fix bugs and performance problems. In Troubleshooting Java: Read, debug, and optimize JVM applications you
How to Read Java Understanding, debugging, and optimizing JVM applications Version 3
✍ Scribed by Laurenţiu Spilcă
- Publisher
- Manning Publications
- Year
- 2022
- Tongue
- English
- Leaves
- 126
- Edition
- MEAP Edition
- Category
- Library
No coin nor oath required. For personal study only.
✦ Table of Contents
How to Read Java MEAP V03
Copyright
welcome
brief contents
Chapter 1: Starting to know your apps
1.1 How to easier understand your app
1.2 Typical scenarios for using investigation techniques
1.2.1 Demystifying the unexpected output
1.2.2 Learning certain technologies
1.2.3 Clarifying slowness
1.2.4 Understanding app crashes
1.3 What you will learn in this book
1.4 Summary
Chapter 2: Understanding your app’s logic through debugging techniques
2.1 When analyzing code is not enough…
2.2 Investigating code with a debugger
2.2.1 What is the execution stack trace, and how to use it?
2.2.2 Navigating code with the debugger
2.3 When using the debugger might not be enough?
2.4 Summary
Chapter 3: Finding problem root causes using advanced debugging techniques
3.1 Minimizing the investigation time with conditional breakpoints
3.2 Using breakpoints that don’t pause the execution
3.3 Dynamically altering the investigation scenario
3.4 Rewinding the investigation case
3.5 Summary
Chapter 4: Finding issues’ root causes in apps running in remote environments
4.1 What is remote debugging?
4.2 Investigating in remote environments
4.2.1 The scenario
4.2.2 Finding issues in remote environments
4.3 Summary
Chapter 5: Making the most of logs: Auditing app’s behavior
5.1 Investigating issues with logs
5.1.1 Using logs to identify exceptions
5.1.2 Using exception stack traces to identify who calls a method
5.1.3 Measuring time spent to execute a given instruction
5.1.4 Investigating issues in multithreaded architectures
5.2 Implementing logging
5.2.1 Persisting logs
5.2.2 Defining logging levels and using logging frameworks
5.2.3 Problems caused by logging and how to avoid them
5.3 Logs vs. remote debugging
5.4 Summary
Appendix A: Tools
A.1 IDEs
A.2 JDK
A.3 Profilers
A.4 Other tools
Appendix B: Opening a project
📜 SIMILAR VOLUMES
<span>Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques for code profiling, advanced debugging, and log evaluation to find and fix bugs and performance problems.</span><span><br><br>In </span><span>Troubleshooting Java: Read, debu
<span>Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques for code profiling, advanced debugging, and log evaluation to find and fix bugs and performance problems.</span><span><br><br>In </span><span>Troubleshooting Java: Read, debu
<span>Effectively reading and understanding existing code is a developer’s superpower. In this book, you’ll master techniques for code profiling, advanced debugging, and log evaluation to find and fix bugs and performance problems.</span><span><br><br>In </span><span>Troubleshooting Java: Read, debu
Intro; Copyright; Table of Contents; Foreword; Preface; Conventions Used in This Book; Using Code Examples; O'Reilly Safari; How to Contact Us; Acknowledgments; Chapter 1. Optimization and Performance Defined; Java Performance-The Wrong Way; Java Performance Overview; Performance as an Experimental
<p>If you are a new programmer or a Java programmer moving to Java 2 then this is the book for you! It offers: a complete introduction to Java 2; describes the language and many of its class libraries; shows how they are used; describes the key concepts of object orientation with lots of examples of