# Get method name?

**URL:** <https://forum.kirupa.com/t/get-method-name/282549>\
**Category:** flash\
**Created:** [February 23, 2009, 4:49pm UTC](https://forum.kirupa.com/t/get-method-name/282549 "2009-02-23T16:49:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justkevin](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@justkevin](https://forum.kirupa.com/u/justkevin)\
**Post date:** [February 23, 2009, 4:49pm UTC](https://forum.kirupa.com/t/get-method-name/282549/1 "2009-02-23T16:49:21Z")

</div>

Is it possible to get the name of the current method at runtime, as you can get the classname? I’m guessing not, but thought I’d see if someone knew a way.

(I’m profiling my app and have created a simple profiler class that keeps track of calls to certain functions. When I hit “esc” it spits out a list of function calls, how many each time was called how long was spent inside each. It would be easier if I didn’t have to type the function name every time I wanted to test a method and could just cut-and-paste.)
