[FDS-29] Why don’t I step into CFC constructors when stepping through my application?


There are three possible causes here:

  • Ensure that FusionDebug has actually completed the step. If the Debug View still shows the CF page is “(Stepping)”, wait until this completes. Sometimes this can take a few seconds, depending on whether the page has been run previously.
  • ColdFusion may have optimized the CFC constructor call away, or placed it on a line other than the original source code line. Try performing “Step Into” from the line prior to the tag which constructs the CFC.

Another thing that can make stepping seem not to work exhibits itself while control is stopped on a given breakpoint. Despite subsequent requests to step through code, no new lines seem to be reached in the file editor, but if you watch the stack trace pane you see the line numbers properly stepping through the code. The problem occurs because you have opened the file using the file system rather than an Eclipse “project”. FusionDebug only works with Eclipse projects, please open the file by clicking on it from within the Eclipse project instead of using the Eclipse File->Open File… menu.

Issue Details

Type: Technote
Issue Number: FDS-29
Resolution: Fixed
Added: 18/05/2007 14:07:51
Affects Version: 2.0
Fixed Version: 2.0
Platform: Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP
Related Issues: None