EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 29

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 28
CHAPTER 2: The ExtendScript Toolkit Debugging in the Toolkit 29
The console is a JavaScript listener, that expects input text to be JavaScript code.
You can use the console to evaluate expressions or call functions. Enter any JavaScript statement and
execute it by pressing E
NTER. The statement executes within the stack scope of the line highlighted in the
Call Stack panel, and the result appears in the next line.
X You can use the up- and down-arrow keys to scroll through previous entries, or place the cursor with
the mouse. Pressing E
NTER executes the line that contains the cursor, or all selected lines.
X The right-click context menu provides the same editing commands as that of the document window.
You can copy, cut, and paste text, and undo and redo previous actions.
X You can select text with the mouse, and use the normal copy and paste shortcuts.
X The flyout menu allows you to clear the current content.
Commands entered in the console execute with a timeout of one second. If a command takes longer than
one second to execute, the Toolkit generates a timeout error and terminates the attempt.
The console is the standard output location for JavaScript execution. If any script generates a syntax error,
the error is displayed here along with the file name and the line number. The Toolkit displays errors here
during its own startup phase.
Controlling code execution
The debugging commands are available from the Debug menu, from the document window’s right-click
context menu, through keyboard shortcuts, and from the toolbar buttons. Use these menu commands
and buttons to control the execution of code when the JavaScript Debugger is active.
Run
Continue
F5 (Windows)
Ctrl R (Mac OS)
Starts or resumes execution of a script.
Disabled when script is executing.
Break Ctrl F5 (Windows)
Cmd . (Mac OS)
Halts the currently executing script temporarily and reactivates
the JavaScript Debugger.
Enabled when a script is executing.
Stop Shift F5 (Windows)
Ctrl K (Mac OS)
Stops execution of the script and generates a runtime error.
Enabled when a script is executing.
Step
Over
F10 (Windows)
Ctrl S (Mac OS)
Halts after executing a single JavaScript line in the script. If the
statement calls a JavaScript function, executes the function in
its entirety before stopping (do not step into the function).
Step Into F11 (Windows)
Ctrl T (Mac OS)
Halts after executing a single JavaScript line statement in the
script or after executing a single statement in any JavaScript
function that the script calls.
Step Out Shift F11
(Windows)
Ctrl U (Mac OS)
When paused within the body of a JavaScript function, resumes
script execution until the function returns.
When paused outside the body of a function, resumes script
execution until the script terminates.
Vista de página 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 303 304

Comentários a estes Manuais

Sem comentários