eric6/DebugClients/Python/BreakpointWatch.py

branch
maintenance
changeset 8043
0acf98cd089a
parent 7924
8a96736d465e
parent 7960
e8fc383322f7
child 8273
698ae46f40a4
equal deleted inserted replaced
7991:866adc8c315b 8043:0acf98cd089a
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
196 @type str 196 @type str
197 @param compiledCond precompiled condition 197 @param compiledCond precompiled condition
198 @type code object 198 @type code object
199 @param flag indicates type of watch (created or changed) 199 @param flag indicates type of watch (created or changed)
200 @type str 200 @type str
201 @keyparam temporary flag for temporary watches 201 @param temporary flag for temporary watches
202 @type bool 202 @type bool
203 """ 203 """
204 # Should not occur 204 # Should not occur
205 if not cond: 205 if not cond:
206 return 206 return

eric ide

mercurial