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.
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.
|Server:||ColdFusion 8, ColdFusion 6, ColdFusion 7|
Comments are closed.