Using The Debugger; About The Debugger Toolbar; Running The Debugger - MACROMEDIA HOMESITE Using Manual

For windows 98, windows me, windows nt 4.0, windows 2000, and windows xp
Table of Contents

Advertisement

156

Using the 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 click Start on the Debugger
toolbar. 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 All Breakpoints.
You cannot debug encrypted CFML templates.

About the Debugger toolbar

This toolbar displays by default below the Resources window, 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
2
3
4
Open an application page.
The Debug toolbar displays at the bottom of the application window.
In the application page, set one or more breakpoints in your code, by clicking in
the gutter on the left side of the Editor.
In the Debug toolbar, click the Start/Continue tool.
The Remote Development Settings dialog box displays the default local server.
Enter the Start URL, which is the page URL. Click OK.
The list box displays the pages that are open in HomeSite+ for Dreamweaver MX.
Chapter 10 Debugging Application Code

Advertisement

Table of Contents
loading

This manual is also suitable for:

Homesite+ for dreamweaver mx

Table of Contents