JIG Debugger Documentation


Introduction

The JIG Debugger implements a GUI interface over the JavaTM JDK supplied command line debugger, jdb. Refer to the Java documentation jdb - The Java Debugger for more information. The JIG Debugger is integrated with the JIG Browser, see the JIG Browser Documentation for more information.

The commands supported in the JIG Debugger include all of the commands implemented in the jdb debugger. Some commands are provided as buttons for convenience in the Debugger. See the Command List for more information.



Debugger GUI Interface

The JIG Debugger GUI provides a console for managing the various operations of the jdb debugger. The components of the Debugger include:

Command List

Button AvailableCommand Syntax Description (from jdb help command)
!!repeat last command
catch <class id> break for the specified exception
classeslist currently known classes
yclear <class id>:<line> clear a breakpoint
ycontcontinue execution from breakpoint
ydown [n frames]move down a thread's stack
dump <id> [id(s)] print all object information
yexit (or quit)exit debugger
gcfree unused objects
help (or ?)list commands
ignore <class id> ignore when the specified exception
list [line number|method] print source code
load classnameload Java class to be debugged
localsprint all local variables in current stack frame
ymemoryreport memory usage
ymethods <class id> list a class's methods
ynextstep one line (step OVER calls)
yprint <id> [id(s)] print object or field
yresume [thread id(s)] resume threads (default: all)
yrun <class> [args] start execution of a loaded Java class
ystepexecute current line
ystep upexecute until the current method returns to its caller
stepiexecute current instruction
ystop at <class id>:<line> set a breakpoint at a line
ystop in <class id>.<method> set a breakpoint in a method
ysuspend [thread id(s)] suspend threads (default: all)
thread <thread id> set default thread
threadgroup <name> set current threadgroup
threadgroupslist threadgroups
ythreads [threadgroup] list threads
yup [n frames]move up a thread's stack
use [source file path] display or change the source path
ywhere [thread id] | all dump a thread's stack
wherei [thread id] | all dump a thread's stack, with pc info


Note: Before you use JIG, please read the Copyright and License Information.


JIG is a product of S Cubed.

The JDK is a product of Sun Microsystems, Inc. JavaSoft is the operating company of Sun that develops the JDK.

Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.

Copyright © 1998 S Cubed