Use the debug launch shortcuts

When you launch a debug session for an XSL transformation, the debugger requires the XSL file that you wish to debug and it requires the XML input to that file. If you have a project that contains these files, you can do the following to quickly launch a debug session for them:

    Open a workbench perspective that offers the launch/debug/run action set (such as the Debug perspective). In a project file Navigator view, select both the XSL and XML files by using the keyboard Ctrl or Shift key. Do one of the following:

    • Choose Run > Debug As > XSL Transformation from the workbench menu bar.

    • Select the workbench toolbar Debug push button down arrow and choose Debug As > XSL Transformation from the menu.

    • Right-click the file and choose Debug > XSL Transformation from the pop-up menu.

Alternatively, you can select the XSL file or the XML input file and choose one of the above launch actions. This will invoke the Debug launch configurations dialog, in which you will need to specify the location of the other file (using this method does not require that the other file be located in your workspace project).

Note: When you launch a debug session using a launch shortcut, the debugger creates and saves a launch configuration for the launch (the name of the launch configuration is based on the file(s) chosen for the launch action). This launch configuration can be reused or edited - or used as a Run launch configuration.

 

Related tasks

Starting a debug session
Using the XSL Transformation launch configuration