PY-32284 Reraise KeyboardInterrupt exception to interrupt cell execution (IDEA-CR-44337)

This commit is contained in:
Elizaveta Shashkova
2019-03-04 14:58:53 +03:00
parent d95faeaafa
commit 46927f7418
19 changed files with 797 additions and 793 deletions
@@ -7,7 +7,7 @@ from _pydev_bundle import pydev_log
from _pydevd_bundle.pydevd_frame import PyDBFrame
# ENDIF
version = 14
version = 15
if not hasattr(sys, '_current_frames'):
File diff suppressed because it is too large Load Diff
@@ -11,7 +11,7 @@ pydev_log.debug("Using Cython speedups")
# from _pydevd_bundle.pydevd_frame import PyDBFrame
# ENDIF
version = 14
version = 15
if not hasattr(sys, '_current_frames'):
@@ -765,6 +765,7 @@ cdef class PyDBFrame:
frame_skips_cache[line_cache_key] = 0
except KeyboardInterrupt:
self.clear_run_state(info)
raise
except:
traceback.print_exc()
raise
@@ -636,6 +636,7 @@ class PyDBFrame:
frame_skips_cache[line_cache_key] = 0
except KeyboardInterrupt:
self.clear_run_state(info)
raise
except:
traceback.print_exc()
raise