DebugClients/Python3/DebugBase.py

changeset 2953
703452a2876f
parent 2927
f36b757378f1
child 2987
c99695c0f13a
diff -r 94fc661a54a2 -r 703452a2876f DebugClients/Python3/DebugBase.py
--- a/DebugClients/Python3/DebugBase.py	Sat Sep 28 17:40:42 2013 +0200
+++ b/DebugClients/Python3/DebugBase.py	Sat Sep 28 19:06:25 2013 +0200
@@ -146,9 +146,10 @@
         Public method used to trace some stuff independent of the debugger
         trace function.
         
-        @param frame The current stack frame.
-        @param event The trace event (string)
-        @param arg The arguments
+        @param frame current stack frame.
+        @param event trace event (string)
+        @param arg arguments
+        @exception RuntimeError raised to indicate too many recursions
         """
         if event == 'return':
             self.cFrame = frame.f_back
@@ -235,6 +236,7 @@
         
         @param frame The current stack frame.
         @return local trace function
+        @exception bdb.BdbQuit raised to indicate the end of the debug session
         """
         if self.stop_here(frame) or self.break_here(frame):
             self.user_line(frame)
@@ -249,6 +251,7 @@
         @param frame The current stack frame.
         @param arg The arguments
         @return local trace function
+        @exception bdb.BdbQuit raised to indicate the end of the debug session
         """
         if self.stop_here(frame) or frame == self.returnframe:
             self.user_return(frame, arg)
@@ -263,6 +266,7 @@
         @param frame The current stack frame.
         @param arg The arguments
         @return local trace function
+        @exception bdb.BdbQuit raised to indicate the end of the debug session
         """
         if not self.__skip_it(frame):
             self.user_exception(frame, arg)
@@ -318,6 +322,7 @@
         code over a network... This logic deals with that.
         
         @param frame the frame object
+        @return fixed up file name (string)
         """
         # get module name from __file__
         if '__file__' in frame.f_globals and \
@@ -378,6 +383,7 @@
         Public method to get a watch expression.
         
         @param cond expression of the watch expression to be cleared (string)
+        @return reference to the watch point
         """
         possibles = bdb.Breakpoint.bplist["Watch", 0]
         for i in range(0, len(possibles)):
@@ -719,6 +725,7 @@
         type object.
         
         @param exctype type of the exception
+        @return exception name (string)
         """
         return str(exctype).replace("<class '", "").replace("'>", "")
     

eric ide

mercurial