|
Home >Online Product Documentation >Table of Contents >Gathering Debug Information About the Sample Files Gathering Debug Information About the Sample FilesThis topic is part of a sequence that starts with Setting Up Stylus Studio to Debug Sample Files. When XSLT processing is suspended at a breakpoint, Stylus Studio displays the Variables, Call Stack, and Watch windows. You can use the information in these windows to learn about potential and actual problems encountered in your XSLT processing.
The Variables WindowThe Variables window displays a list of variables and their values when processing was suspended.
As you can see, the stylesheet defines the The Call Stack WindowThe Call Stack window displays a history of the steps the processor performed to reach the point at which processing was suspended, including the names of the templates that are currently instantiated, in most recent-to-oldest order.
In this example, the XSLT processor has instantiated the To step out of debug, click Step out , or press Shift+F11.
The processor completes the instantiation of the
As you can see in the Call Stack window, the processor is now two levels deep in the template that matches the root node, instead of three levels deep as it was previously. The value of the context node in the Variables window is The Watch WindowIf your application contains a lot of variables, the Watch window allows you to focus on the variables in which you are particularly interested. To enter a variable to watch:
1. Double-click the Name field.
2. Type the name of the variable you want to watch and press Enter.
As processing continues, the Watch window displays the values of the variables you specify. |