Michael, is the code that Ben posted the undocumented factory call you are referring to?
Ie, this code: <cfset objFactory = CreateObject( "java", "coldfusion.server.ServiceFactory")> <cfset objDebugging = objFactory.GetDebuggingService()> That code will only work when debugging is enabled unfortunately. / Per On 8/30/06, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > I was asked that question a few weeks back by a friend and the answer was to > take the debug template that sits in the cfusionmx/wwwroot/web-inf/debug and > play with it some. There is an undocumented factory call there that gives > access to all the page info. It is possible to rewrite the whole debug (which > I've done a few times) into something that will give you the info you need. > Let me write it into my book as a possible project. > > >Does anyone know if there is a way I can tell what template (and what > >line) called a specific function? > > > >Something along the lines of what you get in cfcatch.tagContext but > >without having to throw an error to get it. > > > >Maybe there is some magic "under the hood" Java that can be used to > >get the info? > > > >/ Per > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251429 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

