Updates from PyDev.Debugger: fix breakpoint skipping if it's on the last line of function (PY-22904)

This commit is contained in:
Elizaveta Shashkova
2017-03-09 15:20:50 +03:00
parent 8594c5766c
commit e070b0261b
@@ -611,7 +611,7 @@ class PyDBFrame:
self.do_wait_suspend(thread, frame, event, arg)
return self.trace_dispatch
else:
if not breakpoint:
if not breakpoint and not is_return:
# No stop from anyone and no breakpoint found in line (cache that).
frame_skips_cache[line_cache_key] = 0