VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.
Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig
by dmacqueen » Fri Jan 01, 2010 1:38 pm
I need to get the name of the currently executing method, something similar to getting the current class name by executing 'self class name'.
Processor activeProcess activeMethod selector returns 'methodAtFrame:'
Thanks and Happy New Year to all.
Donald [|]
-
dmacqueen
- [|]
-
- Posts: 27
- Joined: Fri Nov 02, 2007 3:40 pm
by marten » Sat Jan 02, 2010 3:40 am
- Code: Select all
Processor activeProcess methodAtFrame: 0
or ...
- Code: Select all
Processor activeProcess currentFrame
and you get an instance of EsStackFrame and you may ask for #method, #receiver ....
Happy new year ...
Marten
-
marten
- [|]
-
- Posts: 641
- Joined: Sat Oct 14, 2006 7:10 am
- Location: Hamburg - Germany
-
by dmacqueen » Sat Jan 02, 2010 6:54 pm
Thanks, Marten
-
dmacqueen
- [|]
-
- Posts: 27
- Joined: Fri Nov 02, 2007 3:40 pm
Return to VA Smalltalk 7.0, 7.5 & 8.0
Who is online
Users browsing this forum: Yahoo [Bot] and 1 guest