After you install the ColdFusion Plugin, enable the debugger in ColdFusion, and configure Eclipse, you can use the ColdFusion Debugger in Eclipse. It is available in the Eclipse Debug perspective.

The Debug perspective includes the following:

  • Debug pane, which keeps the results of each completed session. The following buttons appear at the top of this pane:
    • Resume - Resumes a debugging session
    • Suspend - Pauses a debugging session
    • Terminate - Stops a debugging session
    • Disconnect - Disconnects the debugger from the selected debug target when debugging remotely
    • Remove All Terminated Launches - Clears all terminated debug targets from the display
    • Step Into - Executes code line by line, including included code, UDFs, CFCs, and the like
    • Step Over - Executes code line by line, excluding included code, UDFs, CFCs, and the like
    • Step Return - Returns to the original page from which you entered the included code, UDF, CFC, or the like
    • Drop to Frame -Reenters a specified stack frame, which is analogous to going in reverse and restarting your program partway through
    • Use Step Filters/Step Debug - Ensures that all step functions apply step filters
    • Menu - Displays the menu that lets you manage the view, show system threads, show qualified names, and show monitors
  • Variables pane, which shows the current variables, including the variable scope. The following buttons appear at the top of this pane:
    • Show Type Names - Displays the type of the variables
    • Show Logical Structure - This button is not supported
    • Collapse All - Collapses the information in the panel to show only variable types
  • Breakpoints pane - Lists breakpoints in the ColdFusion application. The following buttons appear at the top of this pane:
    • Remove Selected Breakpoints - Removes a breakpoint
    • Remove All Breakpoints - Removes all breakpoints
    • Show Breakpoints Supported by Selected Targets - Displays the breakpoints for what you are currently debugging
    • Go to File for Breakpoint - Goes to the file in which the selected breakpoint is set
    • Skip All Breakpoints - Ignores all breakpoints
    • Expand All - Expands the information in the pane
    • Collapse All - Collapses the information in the pane
    • Link with Debug View - Highlights the selected breakpoint when the application stops execution in the Debug View
    • Add Java Exception Breakpoint - Lets you specify which Java exception to throw when you reach the selected breakpoint
    • Menu - Lets you specify the type of information to display in the Breakpoints pane
  • Debug Output Buffer - Contains two panes: Browser, which displays what appears in the browser during application execution; Server Output Buffer, which displays the debug output.
  • Edit pane, which displays the stacked source panes, one for each source file you have open.
  • Outline pane, which displays the current source file's content in outline form

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy