576 a particular line. |
576 a particular line. |
577 |
577 |
578 Because eric6 supports only one breakpoint per line, this overwritten |
578 Because eric6 supports only one breakpoint per line, this overwritten |
579 method will return this one and only breakpoint. |
579 method will return this one and only breakpoint. |
580 |
580 |
581 @param filename the filename of the bp to retrieve (string) |
581 @param filename file name of the bp to retrieve (string) |
582 @param lineno the linenumber of the bp to retrieve (integer) |
582 @param lineno line number of the bp to retrieve (integer) |
583 @return breakpoint or None, if there is no bp |
583 @return breakpoint or None, if there is no bp |
584 """ |
584 """ |
585 filename = self.canonic(filename) |
585 filename = self.canonic(filename) |
586 return filename in self.breaks and \ |
586 return filename in self.breaks and \ |
587 lineno in self.breaks[filename] and \ |
587 lineno in self.breaks[filename] and \ |
847 tb = None |
847 tb = None |
848 return stack |
848 return stack |
849 |
849 |
850 def user_return(self, frame, retval): |
850 def user_return(self, frame, retval): |
851 """ |
851 """ |
852 Public method reimplemented to report program termination to the debug |
852 Public method reimplemented to report program termination to the |
853 server. |
853 debug server. |
854 |
854 |
855 @param frame the frame object |
855 @param frame the frame object |
856 @param retval the return value of the program |
856 @param retval the return value of the program |
857 """ |
857 """ |
858 # The program has finished if we have just left the first frame. |
858 # The program has finished if we have just left the first frame. |