Using the debug launch shortcuts

When you launch a debug session for an XSL transformation, the debugger requires the XSL file that you want to debug and it requires the XML input to that file. If you have a project that contains these files, you can complete the steps in this topic to quickly launch a debug session for them.
  1. Open a workbench perspective that offers the launch/debug/run action set and a project file Navigator view (such as the Java™ perspective). Alternatively, you can open a workbench perspective that offers the launch/debug/run action set, and then open a project file Navigator view within that perspective.
  2. In a project file Navigator view, select both the XSL and XML files by using the keyboard Ctrl or Shift key.
  3. Perform one of the following tasks:
    • 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 files and choose Debug As > XSL Transformation from the pop-up menu.
Alternatively, you can select the XSL file or the XML input file and choose one of these launch actions. This will invoke the Debug launch configurations dialog box, 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

Feedback