JISDLab

View on GitHubtklab-group/JISDLab

lang
ja en

1. Create a Debugger instance

The jisd.debug.Debugger class provides four debugging methods:

  1. Starts the program to be debugged as internal and debugs it using JPDA (Windows, Linux)
    Debugger(String main, String options)
    
  2. Starts the program to be debugged externally and debugs it using JPDA (Windows, Linux)
    Debugger(String host, int port)
    
  3. Starts the program to be debugged internally with ProbeJ added (Windows only)
    Debugger(String main, String options, true)
    
  4. Starts and debugs the program to be debugged externally** with ProbeJ added (Windows, Linux)
    Debugger(String host, int port, true)
    

The description of each argument is as follows.

3. can be used only on Windows, while the other options support both Linux and Windows.
However, 4. has the restriction that the OS on the program startup side is Windows only, but the OS on the debugging side supports both Linux and Windows.