Well, there's the repository viewer, which can show you where various operations on the component can be called from (assuming you have the cross reference stuff turned on when compiling). You could (presumably) build something from this data which could find all the components which call all the components which call your target component, but it's going to be complex. Within the runtime you can use the $proccontext("STACK") to give you the current path to the point you are at.
Author: Iain Sharp (
i.sharp@pcisystems.co.uk)