[FDS-111] Use of Custom Exceptions in ColdFusion, Caught and Uncaught


Break on Runtime Custom Exceptions ColdFusion Connector

When using Break on custom_type exceptions in ColdFusion servers, the behavior may not be as expected. ColdFusion defines a Caught exception as an exception thrown inside a <cftry> body. This means that the <cfcatch> type does not have to be of custom_type for the breakpoint to be fired.

For example, the following would be deemed a caught exception and an exception breakpoint would fire, if enabled.

	<cfthrow type="custom_type" message="Error">
<cfcatch type="application">
	Application exception thrown! <br>

An Uncaught exception would be one thrown outside of a <cftry> body, as expected.


Different ColdFusion servers will thow the exception multiple times. This will cause FusionDebug to halt the page more than once.

Issue Details

Type: Technote
Issue Number: FDS-111
Components: Exception Breakpoints
Resolution: Fixed
Added: 22/07/2009 12:47:19
Affects Version: 3.0
Fixed Version: 3.0
Server: ColdFusion 8, ColdFusion 6, ColdFusion 7
Related Issues: None