123
JDB Commands
Command | Description |
---|---|
Help, or? | This is one of the most important JDB command used to display the list of recognized commands with a brief description. |
run | This command is used to start the execution. |
cont | This command is used to prevent the execution of debugged application from any type of exception, breakpoint, or step. |
This command is used to display Java objects and primitive values. | |
dump | This command is similar to print for primitive values. But for objects, it prints the current value of each field defined in the object. |
threads | This command is used to list out the threads that are running currently. |
thread | This command is used to select a thread as a current thread. |
where | This command is used to dump the stack of the current thread. |
Next TopicJDB Example