another words i want to trace stack
in python for PC there is a module 'inspect' and method 'stack()'
From there I can get a stack information:
Caller method name
Method's line number
Code: Select all
def MethodA(): # some code to get a caller name # in my case it should be 'Main' def Main(): MethodA()