I didn't find anything in any of the CF Admin API's for this.  I do think this 
would be a good idea so I added a feature request to the Adobe Bug Base. Voter 
for it if you think this is a good idea.

https://bugbase.adobe.com/index.cfm?event=bug&id=3322414

Feature 3322414

Title
ColdFusion 11 - more Debug API features

Description
I would like to be able to access the Debug API to do more than just adjust the 
Debug settings. I'd like to capture the Debug output data so we can do what 
ever we want with it.

A current example is with a massive code base we inherited, there isn't an UML 
or documentation anywhere. There are thousands of stored proces. We'd like to 
be able to log/record all the SP's and queries called on each page (URL) thus 
helping to generate a mapping of things. 

I think more features in the Debug API would allow for this.

Example ideas:
Debug.queries();
Debug.stackTrace();
Debug.scope('session');
Debug.scope('application');

Etc....





Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

[email protected]
www.trunkful.com

On Aug 30, 2012, at 3:06 PM, [email protected] [email protected] wrote:

> 
> We have a client for whom we are doing a bunch of refactoring of code. As 
> part of the QA, the client would like to know, for every page, what stored 
> procedures are called and how that page is accessed.
> 
> So what I would like to do is to log the call stack and the stored procedures 
> called for every page.
> 
> That information is in the debug info, so it should be obtainable, but I 
> can't see how.
> 
> Any ideas?
> 
> Thanks,
> Kathryn 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to