This title offers real-world solutions for locating, inoculating and preventing bugs from creating problems. A Risk Factor Analysis (RFA) is provided to anticipate the amount of time required to debug a problem, with methods for treating conflicting Threads in Java.
Write Error-Free Programs from Development to Deployment
Kill Java bugs dead with the tips, tricks, and advanced troubleshooting techniques in this comprehensive volume. Debugging Java shows you, step-by-step, how to locate and eliminate common and hard-to-find rough spots in your applets and applications. You'll learn how to prevent bugs from hatching in your code, avoid scope creep, reduce deadline pressure using RFA, use text editors and macros to reduce errors, use debugging power tools, and eliminate multi-thread conflicts. Debugging expert Will David Mitchell even shows you how potential design and logic flaws can spark new features! When "it works on my machine" just won't cut it, use the hands-on solutions offered in this resource to exterminate Java bugs for good.
- Learn the architecture of clean Java code and eliminate bad programming habits
- Set effective traps to locate and squash Java bugs
- Find, analyze, and fix object-oriented and procedure-oriented code errors and trouble spots
- Use Risk-Factor Analysis to eliminate bugs caused by deadline pressure
- Implement robust macros to cut errors and save time
- ExtEND and train the Copy/Paste buffer to avoid typing errors
- Identify and remove conditions that may lead to mutually conflicting threads