Accessing CF Debug Output In Flex

ColdFusion debug output is returned to Flex apps as part of the ResultEvent (as of beta 3 of CF 7.0.2). Of course, CF debugging must be enabled. This example does a simple text dump of returned debug information:
public function ResultHandler(event:ResultEvent):void

3 responses to “Accessing CF Debug Output In Flex”

  1. John Farrar Avatar
    John Farrar

    Does this mean that it returns deep structure data or is this like the debugging feature offered in DreamWeaver? This is of interest to me because it would be great to have this not only in Flex… but imagine getting an IDE for building regular CF apps that could do real debugging! Could you give me just a few more details?

  2. Ben Forta Avatar
    Ben Forta

    The data is being returned for AMF requests, so I guess as long as Flash Remoting was being called then sure, other IDEs could get the data too.
    But keep in mind that there is a simpler way. The special Dreamweaver support is just a custom debug handler, and you can create your own one just like it (or based on it) for any other IDE.
    — Ben

  3. John Farrar Avatar
    John Farrar

    Great… I will certainly try this out if I can find a link to the docs on the topic or an example. Do you have one of those? I am sure that others would be interested in that also… and it must be somewhere, but haven’t found it yet.

Leave a Reply