Thu, 12 Jan 2017 19:21:16 +0100
Fixed a subtle bug in the debugger client causing it to exit, if the first line is an import statement.
DebugClients/Python/DebugBase.py | file | annotate | diff | comparison | revisions |
--- a/DebugClients/Python/DebugBase.py Wed Jan 11 19:28:04 2017 +0100 +++ b/DebugClients/Python/DebugBase.py Thu Jan 12 19:21:16 2017 +0100 @@ -312,7 +312,7 @@ return self.trace_dispatch if event == 'call': - if self.botframe is None and frame.f_lineno > 1: + if self.botframe is None and frame.f_lineno >= 1: self.botframe = frame frame.f_trace = self.trace_dispatch