Link to home
Start Free TrialLog in
Avatar of softbreeze
softbreezeFlag for United States of America

asked on

How to get the name of function or method name that is executing

I am doing some common logging within a large series of funtions and methods and was wondering if there is an easy way to determine the name of the current function/method while executing? Currently I set a const cTag = 'ThisFunction' at the beginning of the function/method and then use cTag in my common logging statements. I was curious if there is a better way to identify the function/method.
Thanks
ASKER CERTIFIED SOLUTION
Avatar of jimyX
jimyX

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
JclDebug unit has function called ProcByLevel, you can download it from JCL website
Avatar of softbreeze

ASKER

Thank you