The Internal Javascript Source Debugger - Adobe GoLive CS2 Programmer's Manual

Hide thumbs Also See for GoLive CS2:
Table of Contents

Advertisement

SDK Programmer's Guide

The Internal JavaScript Source Debugger

If you have installed any extension that enables debugging, you can open the JavaScript Source Debugger
by selecting the checkbox next to the Module selector in the JavaScript Debugger.
A module that activates the internal debugger displays the Script Debugger window automatically
whenever GoLive encounters a runtime error or a breakpoint in any of the module's scripts. When GoLive
encounters the error or breakpoint, script execution halts and the Script Debugger window displays the
current line of Javascript source and the current stack trace.
The GoLive Script Debugger window provides three informational views, as well as buttons to control
execution interactively and to set and clear breakpoints:
During execution, the Stack Trace view displays the calling hierarchy at the breakpoint.
The Variable view displays current variable bindings. The buttons at the bottom allow you to create, set,
or clear variables.
The JavaScript Source view displays the JavaScript source for the current module. You can select a line
and use the red dot buttons to set or clear an unconditional breakpoint on that line; when a breakpoint
is set, it is indicated by a red dot next to the line number.
The controls immediately above the JavaScript Source view allow you to customize the display:
Reapply the syntax marking style
Select a syntax marking style
Turn color syntax marking on or off
Turn word wrap on or off
Adobe GoLive CS2 SDK
Control execution
Open full debugger
JavaScript Source view
Breakpoint indicator
Debugging Scripts
Customize
source display
Stack Trace view
Variable view
Create new variable
173
Remove
selected variables

Advertisement

Table of Contents
loading

Table of Contents