mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-32284 Reraise KeyboardInterrupt exception to interrupt cell execution (IDEA-CR-44337)
This commit is contained in:
@@ -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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user