Tools: Debugging Native and Java Code with WDB

Page 4
Tools for
Debugging
© 2001 Hewlett-Packard Company
gdb
Goals
We will learn how to use gdb with Java 1.3.1:
Debugging Java
How to start up
Skip the first signal
Debugging a running Java application
Where am I? The threads in the Java process
Looking at native instructions generated by the runtime compiler
Interpreting a SIGBUS
Reading the stack traces in a core file
Enabling remote diagnosis of problems
Key to highlights in the text:
Comments and explanations
Commands to enter
Highlights which you should notice