Using a Debugger
Many kinds of debuggers exist for Java. The JDK comes with a command-line debugger called jdb. Many people find jdb painful to use, because it isn't a graphical debugger like you find in a Java Development Environment.
Many times, however, you're working on a server where you might not have access to a graphical environment anyway. When you have a lot of machines stored away in a machine room somewhere and you can't use X-Windows because of firewall restrictions, you might need to resort to using telnet to access the machines. If you're using telnet, jdb is probably your best bet.
Tip
If you can't use X-Windows because of firewall restrictions, you might try Virtual Network Computing (VNC) from http://www.uk.research.att.com/vnc ...
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