A method and a computer program product are disclosed for tracing the
execution path through complex distributed applications in an n-tier
client/server distributed computing environment over LAN, WAN, wireless,
or the Internet. The system enables quick and pinpointed location of
applications and application components along the execution path while
consuming only minimal system resources. A tracing token is generated and
passed from application component to application component, triggering
the collection and recording of identification, timing and application
data at each stage of the execution path. The tracing action may be
automatically activated by the detection of some system event (such as a
slow response to user requests) or be controlled manually by a system
operator. The recorded data can be used to considerably speed up
application analysis and problem troubleshooting.