straw-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Straw-commits] address@hidden/straw--mainline--0.24--patch-15


From: juri
Subject: [Straw-commits] address@hidden/straw--mainline--0.24--patch-15
Date: Sat, 05 Jun 2004 10:06:16 +0300

Revision: straw--mainline--0.24--patch-15
Archive: address@hidden
Creator: Juri Pakaste <address@hidden>
Date: Sat Jun  5 10:06:16 EEST 2004
Standard-date: 2004-06-05 07:06:16 GMT
Modified-files: src/lib/error.py
New-patches: address@hidden/straw--mainline--0.24--patch-15
Summary: a new debug function, debug_around
Keywords: 

error.debug_around outputs three lines: "Entering " + function name,
"Args: " + argument list, "Exiting " + function name. use it like this:
def foo(a):
        pass
foo = error.debug_around(foo)
Now you get the tree trace lines every time foo is called.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]