Using the Interactive Debugger
121
8
For each debugging mapping, repeat the previous step.
9
Click OK.
The Remote Development Settings dialog box closes
You can begin debugging in the Editor.
Using the Interactive Debugger
Running the interactive debugger helps you find problems in code by tracing how
ColdFusion evaluates a page, step by step. You place one or more breakpoints in a
page to pause its execution, then step through the code, checking the values of
variables and expressions as you go, to ensure that t he code executes as you expect.
When you have configured
RDS
and file mappings, you can use the commands on
the Debug menu and the Debug toolbar to run the debugger.
You can undock the Debug toolbar by double-clicking on the undock bars on the
left-hand side of the toolbar, or you can drop the toolbar into the QuickBar.
The Debug Start dialog box displays each time you press the Start button in the
Debugger. To disable the display of this box , select the option on the check Debug
Start pane, the next time you click Run.
Debug
breakpoint
lines are shaded red. To turn breakpoints on and off, select
Debug > Toggle Breakpoints
. To delete all breakpoints in the current document,
select
Debug > Clear Breakpoints
.
You cannot debug encrypted CFML templates.
About the Debugger toolbar
This toolbar displays by default below the Resources Window tabs, but you can drag
it to any other location in the Workspace. The toolbuttons let you quickly start,
manage, and complete a debugging session.
Running the Debugger
To run the interactive debugger:
1
Open an application page.
The Debug toolbar displays at the bottom of the application window.
2
In the application page, set one or more breakpoints in your code, by clicking in
the gutter on the left side of the editor window.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...