7. Debugging with Eclipse

To start a SocrateCloud debug session with Eclipse the following steps should be performed:

    • In Eclipse select from menu Window -> Show View -> Other...

  • In the dialog that opens, select in the tree Server -> Servers. This will cause a new tab named "Servers" to appear in Eclipse.

  • Select the GlassFish Server and click the Debug button. Wait until the server is [re]started in debug mode

    • Set breakpoints in code

    • Start Web User Interface and use application. The Eclipse debugger will automatically stop at the breakpoints you set.