References
- oracle java jdb manual
- show how jdb tools used in debug
- support local & remote debug
- url
- jdb simple use
- show the simple example of jdb, by IBM
- url
Debug Cases
Local Debug
Basic debug of a simple class file
run java class like
|
|
Then set breakpoint and do debug like Remote debug steps below.
U can try it with the doc jdb simple use
in reference.
Remote debug
add the params below as java run params, such as
|
|
run jdb with
|
|
then the jdb should set the breakpoint with command stop
|
|
input stop command to setup breakpoint
|
|
it will show
|
|
then input cont/step/next/step up or some other debug command to debug the code.
The jdb manual quick search
|
|