Starting the Java debugger (JDB) tool

The Java Debugger (JDB) tool can be started so that it communicates with the debuggee by using the jdb command as described for the following situations:

  • If you are using JDB on the same NonStop system where the debuggee runs, use the following command:

    jdb -attach portnum
  • If you are using JDB on a different NonStop system from where the debuggee runs, use the following command:

    jdb -attach host-name:portnum
  • If you are using JDB from Microsoft Windows or any other platform, use the following command:

    jdb -connect com.sun.jdi.SocketAttach:hostname=hostname,port=portnum
Additional information
  • If you are using a GUI debugger, refer to the vendors' documentation to configure the debugger to communicate with the debuggee.

  • Remote debugging of NSJ applications can be performed using NSDEE debugger tool. For more information, see NonStop Development Environment for Eclipse User Guide.

  • For more details on command-line options, see Connection and Invocation Details