Trigger
Trigger
Debugging Triggers
Objectives
After completing this lesson, you should be able to do
the following:
Describe the components of the Debug Console
Run a form module in debug mode by using the
Run Form Debug button
Debug PL/SQL code
14-2
14-3
Displaying debug
messages at run
time
14-4
Stack
Variables
Watch
Form Values
PL/SQL
Packages
Global and
System Variables
Breakpoints
Dock/
Undock
Click
bar for
Pop-up
Menu
14-5
Stack
Variables
Watch
Form Values
PL/SQL
Packages
Global and
System Variables
Breakpoints
Stack
Variables
Watch
Form Values
PL/SQL
Packages
Global and
System Variables
Breakpoints
Read-only:
Modifiable:
14-6
14-7
Stack
Variables
Watch
Form Values
PL/SQL
Packages
Global and
System Variables
Breakpoints
14-8
Stack
Variables
Watch
Form Values
PL/SQL
Packages
Global and
System Variables
Breakpoints
14-9
Stack
Variables
Watch
Form Values
PL/SQL
Packages
Global and
System Variables
Breakpoints
14-10
Stack
Variables
Watch
Form Values
Loaded PL/SQL
Packages
Global and
System Variables
Breakpoints
14-11
Stack
Variables
Watch
Form Values
Loaded PL/SQL
Packages
Global and
System Variables
Breakpoints
14-12
Stack
Variables
Watch
Form Values
Loaded PL/SQL
Packages
Global and
System Variables
Breakpoints
14-14
Debugging Tips
14-15
(Compiles automatically)
Contains source
code and
executable run file
.FMX
(Runs automatically)
Runs Form in
Debug Mode on
Server specified
in Runtime
Preferences
14-16
Step over
Pause
Stop
Step
into
Step
out
GO
14-17
Debug Example
Debug Example
WHEN-BUTTONPRESSED
Procedure XYZ;
2
Function ABC;
14-18
4
3
Summary
In this lesson, you should have learned that:
The Debug Console consists of panes to view the
call stack, program variables, a user-defined watch
list, Form values, loaded PL/SQL packages, global
and system variables, and breakpoints
You use the Run Debug button to run a form
module in debug mode within Forms Builder
You can set breakpoints in the PL/SQL Editor by
double-clicking to the left of an executable line of
code
The debug buttons in the Forms Builder toolbar
enable you to step through code in various ways
14-21
Practice 14 Overview
This practice covers the following topics:
Running a form in debug mode from Forms Builder
Setting breakpoints
Stepping through code
Viewing variable values while form is running
14-22