About Arbortext Styler > Debugging Stylesheets > Performance Profiling for Arbortext Styler or FOSI Stylesheets > Investigating Common Stylesheet Problems
  
Investigating Common Stylesheet Problems
This section contains a selection of problems that may be encountered when working with Arbortext Styler stylesheets. In most cases the suggested steps to produce the relevant performance information are detailed, giving you a start point at which to begin tracing the root cause of the problem. In each example the filename to which the diagnostic information will be written is D:\diagnosis.txt.
Document is slow to open
To determine why a document seems slow to open, follow the steps given below:
1. Before opening the document, enter the instruction set debug=10.25-27,=D:\diagnosis.txt in the Editor command line
2. Open your document
3. After the document has opened, refer to the output in D:\diagnosis.txt
Update of generated text is slow
To determine why the update of generated text is slow, follow the steps given below:
1. Before opening the document, enter the instruction set debug=10.25-27,=D:\diagnosis.txt in the Editor command line
2. Open your document
3. After the document has opened, refer to the output in D:\diagnosis.txt
If your document is already open, you can enter the debug command shown in point 1 above and then deactivate and reactivate the generated text option by selecting the menu option View > Generated Text > Show twice. The diagnostic information will then be passed to the output file as normal.
Print publishing is slow
To determine why print preview, print or PDF publishing actions are slow, follow the steps given below:
1. Open your document
2. Enter the instruction set debug=10.25-27,=D:\diagnosis.txt in the Editor command line
3. Select one of the following menu options (note that, for the purpose of tracking timing, it does not make any difference which one you choose):
File > Print Preview
File > Print
File > Publish > PDF File
4. Once the selected formatting is complete, refer to the output in D:\diagnosis.txt