Skip to main content
Known Participant
January 4, 2011
Question

Line debugging: breakpoints ignored in CFCs

  • January 4, 2011
  • 1 reply
  • 864 views

My line debugging works just fine if breakpoints are set in a .cfm, but breakpoints set in a CFC are completely ignored - i.e. CF Builder will not stop at even the most mundane points (like initially setting values used in the cfc).

My setup:

  • Windows XP, SP3
  • CF9 (9.01)
  • CF Builder (with update) (installed as standalone)
  • Apache 2.2.17
  • Java version 1.6.0_23-b05
  • project cfm files in one directory under htdocs
  • all components in another directory under htdocs
  • some components written entirely in cfscript, others using tags  (result is the same in either case)

I've tried adding the "components" folder as an "Additional Source" in the properties for the main project, but CFBuilder won't retain that addition.  I've tried including (checking the box) and not including the components "project" in the [main project] -> properties -> project references window.  And the breakpoints are all listed in the Breakpoint "tab" of the debugging perspective and the boxes are checked.

All to no effect.   Any assistance greatly appreciated.

This topic has been closed for replies.

1 reply

Participating Frequently
January 7, 2011

Check if this video can be of help to resolve any setup issues.

http://blogs.adobe.com/anand/2011/01/learn-how-to-debug-coldfusion-applications-using-coldfusion-builder-2.html

CFsolarAuthor
Known Participant
January 8, 2011

@hemant k: Thanks for the post.  Unfortunately, the video does not address the issue I'm having.  The video shows setting breakpoints in the .cfm file on the line calling the cfc.

I actually want to set breakpoints within the cfc as I'm doing some heavy data manipulation and want to check intermediate values.   Any further thoughts?