Show TOC

Creating Debug Configurations in the Developer StudioLocate this document in the navigation structure

Context

Debug configurations store sets of debugging settings. You can reuse these configurations. SAP NetWeaver Developer Studio automatically recognizes the application type according to the associated Java EE project type, and displays only relevant debugging settings.

Procedure

  1. Open the Java EE perspective: choose Start of the navigation path Window Next navigation step Open Perspective Next navigation step Other Next navigation step Java EE End of the navigation path.
  2. Choose Start of the navigation path Run Next navigation step Debug Configurations End of the navigation path.
  3. In the context menu of SAP Application , choose New .

    A new debug configuration is created. You can now configure it.

  4. Configure the necessary debug settings as described in the following table:

    Tab

    Description

    Module

    Specify the Java EE project and its component you want to debug.

    • The Build and Deploy option rebuilds the application automatically each time you launch this debug configuration (if this is a Development Component project, the application is rebuilt only if there are changes in the project).

      Caution

      If you are using the Load Isolation debugging option, do not use Build and Deploy (SAP systems do not accept deployment requests while running in debug mode with the Load Isolation option enabled).

    • The Use Custom Launch URL option allows you to specify the application URL with custom parameters.

      Note

      You must include the debugging session ID in the launch URL. You can retrieve that ID by using the Copy Debug Session Key option in the SAP Management Console perspective.

    Runtime

    Specify the SAP system to be connected, and the server process to be used for debugging. Optionally, you can also specify using a debug proxy.

    Source

    Contains the source paths for the application (defined automatically).

    Common

    Additional display settings.

  5. Enter a descriptive configuration name and choose the Apply button.
  6. Choose Debug to start a debugging session.

Results

The debugging session is initiated, and you can continue by monitoring the application execution in the Web browser window, and controlling the corresponding source code in the Debug perspective.