35 |
35 |
36 @param filename file name where a breakpoint is set |
36 @param filename file name where a breakpoint is set |
37 @type str |
37 @type str |
38 @param lineno line number of the breakpoint |
38 @param lineno line number of the breakpoint |
39 @type int |
39 @type int |
40 @keyparam temporary flag to indicate a temporary breakpoint |
40 @param temporary flag to indicate a temporary breakpoint |
41 @type bool |
41 @type bool |
42 @keyparam cond Python expression which dynamically enables this bp |
42 @param cond Python expression which dynamically enables this bp |
43 @type str |
43 @type str |
44 """ |
44 """ |
45 filename = os.path.abspath(filename) |
45 filename = os.path.abspath(filename) |
46 self.file = filename |
46 self.file = filename |
47 self.line = lineno |
47 self.line = lineno |
107 @staticmethod |
107 @staticmethod |
108 def get_break(filename, lineno): |
108 def get_break(filename, lineno): |
109 """ |
109 """ |
110 Static method to get the breakpoint of a particular line. |
110 Static method to get the breakpoint of a particular line. |
111 |
111 |
112 Because eric6 supports only one breakpoint per line, this |
112 Because eric supports only one breakpoint per line, this |
113 method will return only one breakpoint. |
113 method will return only one breakpoint. |
114 |
114 |
115 @param filename file name of the bp to retrieve |
115 @param filename file name of the bp to retrieve |
116 @type str |
116 @type str |
117 @param lineno line number of the bp to retrieve |
117 @param lineno line number of the bp to retrieve |