Project Lead at MEKOS, Germany • Java Champion • Organization Team JUG Bremen, JCrete, JAlba 23.10.2018 EclipseCon Europe / Debugging (@rgransberger) By Karte: NordNordWest, Lizenz: Creative Commons by-sa-3.0 de, CC BY-SA 3.0 de, https://commons.wikimedia.org/w/index.php?curid=35392837
defects or problems within a computer program that prevent correct operation of computer software or a system. • Debugging tactics can involve interactive debugging, control flow analysis, unit testing, integration testing, log file analysis, monitoring at the application or system level, memory dumps, and profiling. https://en.wikipedia.org/wiki/Debugging 23.10.2018 EclipseCon Europe / Debugging (@rgransberger)
been just so in all of my inventions. The first step is an intuition, and comes with a burst, then difficulties arise—this thing gives out and [it is] then that "Bugs"—as such little faults and difficulties are called—show themselves and months of intense watching, study and labor are requisite before commercial success or failure is certainly reached. Edison to Puskas, 13 November 1878, Edison papers, Edison National Laboratory, U.S. National Park Service, West Orange, N.J., cited in Hughes, Thomas Parke (1989). American Genesis: A Century of Invention and Technological Enthusiasm, 1870- 1970. Penguin Books. p. 75. ISBN 978-0-14-009741-2. 23.10.2018 EclipseCon Europe / Debugging (@rgransberger)
Method (enter/exit) • Line • Exceptions (caught/uncaught) • On libraries without source, use the outline view context menu to set breakpoints 23.10.2018 EclipseCon Europe / Debugging (@rgransberger)
Tracing/Logging • Auto Disable • Hit/Pass Count • Trigger points/disable until • Suspend when value changes • Suspend VM/Thread • Create own Expressions 23.10.2018 EclipseCon Europe / Debugging (@rgransberger)
value • Inspect • Display in Debug Shell • Show variable values when debugging • Show method return value • Step into selection of a chained call • Copy command line details from launch 23.10.2018 EclipseCon Europe / Debugging (@rgransberger)
A Practical Guide to Java Remote Debugging • Java Remote Debugging in the Real World • jdb - The Java Debugger • Writing your own debugger • Java™ Debug Interface 23.10.2018 EclipseCon Europe / Debugging (@rgransberger)