5 Replies Latest reply on May 11, 2007 3:31 PM by willrose


    willrose Level 1
      Say I have a function called updateText().

      Now say I have 5 other separate functions that can all possibly call updateText(). Is there a simple way to find out at runtime which function is calling updateText()?

      At the moment what I would do is I would put trace statements in each of the parent functions to see which function is called just before updateText(). However, this can be cumbersome in a big program if you then have to trace the parent's parent function, or even farther up. That would be a lot of trace statements...

      Any help would be greatly appreciated.