mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
PY-82449 Debug mode not working after last update
(cherry picked from commit c890ec6e8b15df1f629f3d1845e2c89b1e99ff81) IJ-MR-168364 GitOrigin-RevId: bcd94cc3ad5ea744ed3bc5c9571d61750022bf42
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e4d9cbe1aa
commit
2ca6bf52ec
@@ -7,7 +7,7 @@ from _pydev_bundle import pydev_log
|
||||
from _pydevd_bundle.pydevd_frame import PyDBFrame
|
||||
# ENDIF
|
||||
|
||||
version = 57
|
||||
version = 58
|
||||
|
||||
if not hasattr(sys, '_current_frames'):
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -13,7 +13,7 @@ pydev_log.debug("Using Cython speedups")
|
||||
# from _pydevd_bundle.pydevd_frame import PyDBFrame
|
||||
# ENDIF
|
||||
|
||||
version = 57
|
||||
version = 58
|
||||
|
||||
if not hasattr(sys, '_current_frames'):
|
||||
|
||||
|
||||
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.
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.
@@ -240,6 +240,9 @@ def _should_enable_line_events_for_code(frame, code, filename, info, will_be_sto
|
||||
|
||||
plugin_manager = py_db.plugin
|
||||
|
||||
if info is None:
|
||||
return False
|
||||
|
||||
stop_frame = info.pydev_step_stop
|
||||
step_cmd = info.pydev_step_cmd
|
||||
|
||||
@@ -315,6 +318,9 @@ def _should_enable_line_events_for_code(frame, code, filename, info, will_be_sto
|
||||
|
||||
|
||||
def _clear_run_state(info):
|
||||
if info is None:
|
||||
return
|
||||
|
||||
info.pydev_step_stop = None
|
||||
info.pydev_step_cmd = -1
|
||||
info.pydev_state = STATE_RUN
|
||||
@@ -351,6 +357,9 @@ def _get_top_level_frame():
|
||||
|
||||
def _stop_on_unhandled_exception(exc_info, py_db, thread):
|
||||
additional_info = _get_additional_info(thread)
|
||||
if additional_info is None:
|
||||
return
|
||||
|
||||
if not additional_info.suspended_at_unhandled:
|
||||
additional_info.suspended_at_unhandled = True
|
||||
stop_on_unhandled_exception(py_db, thread, additional_info,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -246,6 +246,9 @@ def _should_enable_line_events_for_code(frame, code, filename, info, will_be_sto
|
||||
|
||||
plugin_manager = py_db.plugin
|
||||
|
||||
if info is None:
|
||||
return False
|
||||
|
||||
stop_frame = info.pydev_step_stop
|
||||
step_cmd = info.pydev_step_cmd
|
||||
|
||||
@@ -321,6 +324,9 @@ def _should_enable_line_events_for_code(frame, code, filename, info, will_be_sto
|
||||
|
||||
|
||||
def _clear_run_state(info):
|
||||
if info is None:
|
||||
return
|
||||
|
||||
info.pydev_step_stop = None
|
||||
info.pydev_step_cmd = -1
|
||||
info.pydev_state = STATE_RUN
|
||||
@@ -357,6 +363,9 @@ def _get_top_level_frame():
|
||||
|
||||
def _stop_on_unhandled_exception(exc_info, py_db, thread):
|
||||
additional_info = _get_additional_info(thread)
|
||||
if additional_info is None:
|
||||
return
|
||||
|
||||
if not additional_info.suspended_at_unhandled:
|
||||
additional_info.suspended_at_unhandled = True
|
||||
stop_on_unhandled_exception(py_db, thread, additional_info,
|
||||
|
||||
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.
Reference in New Issue
Block a user