Once the compilation of a program has been done, instead of Java application launcher, JDB is used to debug the code. There are various options of java command that are also accepted by JDB such as -D, -X<option>, -classpath.
||It is used to display a help message.
||It is used to search the source files on the basis of given path.
||It is used to attach the debugger to virtual machine by using default connection mechanism
||It is used to specify wait for the VM until it connects with the specified address.
||It is used to wait for the VM until it connects with any type of available address.
||It is used to launch debugged application immediately instead of waiting for 'run' command.
||It is used to list all the connectors available in the VM.
||It is used to connect to the target virtual machine by specifying connector name with its argument.
||It is used to display the information for debugging jdb.
||It is used to run the application in the HotSpot Client Compiler.
||It is used to run the application in the HotSpot Server Compiler.
||It is used to pass the option to JVM that can be used to run jdb.