DebugClients/Python/DebugBase.py

changeset 2953
703452a2876f
parent 2927
f36b757378f1
child 2987
c99695c0f13a
--- a/DebugClients/Python/DebugBase.py	Sat Sep 28 17:40:42 2013 +0200
+++ b/DebugClients/Python/DebugBase.py	Sat Sep 28 19:06:25 2013 +0200
@@ -147,9 +147,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
@@ -236,6 +237,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)
@@ -250,6 +252,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)
@@ -264,6 +267,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)
@@ -319,6 +323,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 \
@@ -375,6 +380,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)):
@@ -500,8 +506,8 @@
         Because eric5 supports only one breakpoint per line, this overwritten
         method will return this one and only breakpoint.
         
-        @param filename the filename of the bp to retrieve (string)
-        @param ineno the linenumber of the bp to retrieve (integer)
+        @param filename filename of the bp to retrieve (string)
+        @param lineno linenumber of the bp to retrieve (integer)
         @return breakpoint or None, if there is no bp
         """
         filename = self.canonic(filename)

eric ide

mercurial