FusionDebug doesn’t require pages to be launched ‘inside’ the debugger. Simply run your page using a web browser (or Flex, Flash Remoting, Ajax, or web service client) as normal and the debugger will suspend it correctly when a breakpoint is hit.
Type: | Technote |
---|---|
Issue Number: | FDS-18 |
Components: | |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:42:35 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
Here is an outline of how to get started quickly debugging. It is recommended to read the FusionDebug manual to get further information about debugging ColdFusion:
Type: | Technote |
---|---|
Issue Number: | FDS-13 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:33:30 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 8, ColdFusion 6, ColdFusion 7 |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
This can be caused by one of two things. You can check this by starting ColdFusion from the DOS command line.
Starting CF from the DOS Command Line (make sure the CF Service is stopped first):
Type: | Technote |
---|---|
Issue Number: | FDS-17 |
Components: | Configuration |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:40:20 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | JRun 4, ColdFusion 8, ColdFusion 6, ColdFusion 7, JBoss, WebSphere, WebLogic |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: |
|
This is a known problem with Eclipse 3.1 and doesn’t occur in 3.2. We recommend you upgrade your Eclipse Platform. As of writing, the Eclipse 3.2 version of Flex Builder 2 is only available as a plugin.
Type: | Technote |
---|---|
Issue Number: | FDS-10 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:22:50 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | |
Related Issues: | None |
There are several ways to remove a breakpoint.
1. Double click directly on the breakpoint
2. Right mouse click on the breakpoint and select the Toggle Breakpoint Menu item
3. Click on the line in your code which has a breakpoint (actually on the line, not in the border) and then Right-click and select “Toggle Line Breakpoint” from the menu.
4. Open the Breakpoints tab, right click on one of the breakpoints listed and select Remove from the menu.
Also note that you can disable breakpoints on the Breakpoints tab by right mouse clicking on the breakpoint and selecting the Disable option. This causes the breakpoint to no longer fire, but the breakpoint definition is kept in the breakpoint tab so that you can Enable it again later, without having to find the location in the code and reinserting the breakpoint.
Type: | Technote |
---|---|
Issue Number: | FDS-72 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 30/05/2007 15:44:32 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 8, ColdFusion 6, ColdFusion 7 |
Platform: | |
Related Issues: | None |
“Perspectives” is the name Eclipse gives to different window layouts.
The Debug perspective contains a layout optimized for debugging code such as Java. The FusionDebug perspective has been optimized for debugging ColdFusion applications.
You typically change to the FusionDebug perspective when you start a ColdFusion debugging session, and change back to an Editing perspective such as the CFEclipse perspective when you are writing code.
You can change perspective by selecting the Windows->Open Perspective menu option.
Type: | Technote |
---|---|
Issue Number: | FDS-19 |
Components: | Configuration |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:43:25 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | |
Related Issues: | None |
Although this won’t necessarily cause a problem for you, you need to be careful of when stepping through code inside a CFLOCK or CFTRANSACTION as you could negatively impact other threads or users. In the case of CFLOCK, you could hold a lock that could hang up others trying to get the same lock. (Locks are a subject of frequent confusion, but further discussion is beyond the scope of this article.) In the case of CFTRANSACTION, you could hold a lock that holds up others trying to access the database you’re processing since CFTRANSACTION (driven by its ISOLATION attribute) can tell the database to prevent other reads or writes during the life of the transaction.
Type: | Technote |
---|---|
Issue Number: | FDS-9 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:22:03 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 8, ColdFusion 6, ColdFusion 7 |
Platform: | |
Related Issues: | None |
If your CFML page experiences an error, then CFMX will return an error page to the browsing user but will no longer provide the debugging information that FD requires. As such, FusionDebug will just appears to stop debugging that request because the request has stopped abruptly.
Type: | Technote |
---|---|
Issue Number: | FDS-8 |
Components: | Stepping |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:21:15 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |
There are some special cases where FusionDebug requires the files to have the exact capitalisation, even on file systems where this shouldn’t be an issue. Please make sure that the Application.cfm and OnRequestEnd.cfm are named exactly as shown here in Eclipse and on your ColdFusion server. (capital A on Application.cfm and Capital O, R and E on OnRequestEnd.cfm)
Type: | Technote |
---|---|
Issue Number: | FDS-6 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:18:35 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 8, ColdFusion 6, ColdFusion 7 |
Platform: | |
Related Issues: | None |
If a breakpoint fires several times for the same page (template or CFC) then you may see a highlight in the code view for every page rather than just for the currently selected one. This is a known issue in Eclipse. For more information please see the associated Eclipse ticket.
Type: | Technote |
---|---|
Issue Number: | FDS-5 |
Components: | Breakpoints |
Environment: | |
Resolution: | Fixed |
Added: | 18/05/2007 13:16:49 |
Affects Version: | 2.0 |
Fixed Version: | 2.0 |
Server: | ColdFusion 8, ColdFusion 6, ColdFusion 7 |
Platform: | Solaris, MacOS, Linux, Windows 2003, Windows 2000, Windows XP |
Related Issues: | None |