|
RE: [Jython-users] Getting the stack calls in a function
From: Updike, Clark <Clark.Updike@jh...> - 2006-02-16 16:17
|
http://www.faqts.com/knowledge_base/view.phtml/aid/5702/fid/245=20 -Clark > -----Original Message----- > From: jython-users-admin@... > [mailto:jython-users-admin@...] On Behalf=20 > Of Romain Zente > Sent: Thursday, February 16, 2006 11:02 AM > To: jython-users@... > Cc: rzente@... > Subject: [Jython-users] Getting the stack calls in a function >=20 > Hello all, >=20 > I am trying to retrieve the module from where a function has been=20 > called, and eventually the complete stack trace. > =20 > For example: > - in Module1.py, I call a function on an object=20 > instance of my=20 > class Object.py: > ... #obj is an instance of the class=20 > Object in the module Object.py > obj.f() ... >=20 > - in the function f of the module Object.py, i would like to=20 > retrieve who has made the call to the function : >=20 > def f(): > ... > #I would like to know that it is Module1.py=20 > that has=20 > called me, and eventually getting all the stack trace > ... >=20 >=20 > Does anyone have an idea, it would be very helpful > Thanks >=20 > Romain > =20 > =20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep=20 > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. =20 > DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486& > dat=3D121642 > _______________________________________________ > Jython-users mailing list > Jython-users@... > https://lists.sourceforge.net/lists/listinfo/jython-users >=20 |
| Thread | Author | Date |
|---|---|---|
| RE: [Jython-users] Getting the stack calls in a function | Updike, Clark <Clark.Updike@jh...> |