

A good JavaScript editor will have advanced features that make code manipulation and navigation easier when you are editing document code.
WHAT DOES ADOBE ACROBAT 6.0 STANDARD HOW TO
If you don't already know how to use software debugging tools, you are much better off sticking to the Console Window.Ī very useful feature is the external JavaScript editor, since the default Acrobat editor is very basic. So the only reason you would actually turn on the debugger is if you needed to use the debugging tools. The reason for not enabling the debugger is because it has a significant negative impact on Acrobat performance, and can even cause Acrobat to crash. I prefer the options as they are shown in Figure 1, but uncheck this option before exiting the preferences. First, you can enable it temporarily in order to change the "Exception" options. It is not a good idea to check Enable JavaScript debugger after Acrobat is restarted, except in two situations. JavaScript is turned on by default, and Acrobat will automatically ask you if you want to turn on the Console Window if you attempt to use it. In fact, both of these settings may already be checked.

These are the two most important preference settings. Make sure both Enable Acrobat JavaScript and Enable interactive console are checked. In Preferences, select the JavaScript panel. Acrobat PreferencesĪcrobat Menu Item (Acrobat 6.0 and above)Īcrobat > Preferences (On Application menu) Depending on your platform, use one of the following methods to open the Preferences dialog (Figure 1). If this is your first time using the Console Window, you will need to enable and configure it from Acrobat's Preferences settings. Setting up the Console Window in Acrobat XI Note: Special instructions for using the Console Window with Reader are provided at the end of the article. In this article, we'll cover setting up and using this essential tool. It does not do everything needed to debug code, but it does provide a quick and easy way to perform most of the code development tasks you'll ever need to do. It can also be used to execute code snippets to automate tasks in Acrobat and to analyze documents. It is the default location where JavaScript error messages are displayed as well as being an entry window for testing and debugging Acrobat JavaScript code. The Console Window is a multi-purpose and somewhat generic tool. However, the Console Window remains many times faster and easier to use than the other tools, as well as being error free. The other tools are very useful and have much better performance and stability in Acrobat XI than in previous versions. The Console Window is the best of the bunch. the Console Window) is one of the many tools included in the Acrobat JavaScript Debugger Dialog (Figure 3). The Acrobat JavaScript Console Window (a.k.a. The Acrobat JavaScript Console (Your best friend for developing Acrobat JavaScript)īy Thom Parker, Software Developer/Adventurer, WindJack Solutions, Inc.
