diff --git a/plugins/org.python.pydev.core/pysrc/.github/workflows/pydevd-tests-python.yml b/plugins/org.python.pydev.core/pysrc/.github/workflows/pydevd-tests-python.yml index d87fac13be..27395e7072 100644 --- a/plugins/org.python.pydev.core/pysrc/.github/workflows/pydevd-tests-python.yml +++ b/plugins/org.python.pydev.core/pysrc/.github/workflows/pydevd-tests-python.yml @@ -93,6 +93,7 @@ jobs: pip install psutil --no-warn-script-location pip install ipython --no-warn-script-location pip install untangle --no-warn-script-location + pip install importlib-metadata --no-warn-script-location - name: Install Python 3.x deps if: contains(matrix.name, 'py3') && !contains(matrix.name, 'pypy') && !contains(matrix.name, 'py312') && !contains(matrix.name, 'py311') run: | diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_constants.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_constants.py index 4ebe83ed53..4d3627ab84 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_constants.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_constants.py @@ -173,9 +173,10 @@ def _current_frames(): IS_PY310_OR_GREATER = sys.version_info >= (3, 10) IS_PY311_OR_GREATER = sys.version_info >= (3, 11) IS_PY312_OR_GREATER = sys.version_info >= (3, 12) +IS_PY313_OR_GREATER = sys.version_info >= (3, 13) # Not currently supported in Python 3.12. -SUPPORT_ATTACH_TO_PID = not IS_PY312_OR_GREATER +SUPPORT_ATTACH_TO_PID = not IS_PY313_OR_GREATER def version_str(v): diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.c b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.c index 06c5b6545d..ce60e1a1e3 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.c +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.c @@ -2794,6 +2794,7 @@ static const char __pyx_k_exc_break[] = "exc_break"; static const char __pyx_k_exception[] = "exception"; static const char __pyx_k_f_globals[] = "f_globals"; static const char __pyx_k_func_name[] = "func_name"; +static const char __pyx_k_is_unwind[] = "is_unwind"; static const char __pyx_k_isenabled[] = "isenabled"; static const char __pyx_k_last_stat[] = "last_stat"; static const char __pyx_k_linecache[] = "linecache"; @@ -3170,7 +3171,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_8handle_us static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_10trace_dispatch(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *__pyx_v_self, PyObject *__pyx_v_frame, PyObject *__pyx_v_event, PyObject *__pyx_v_arg); /* proto */ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_12__reduce_cython__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *__pyx_v_self); /* proto */ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_14__setstate_cython__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBFrame *__pyx_v_self, PyObject *__pyx_v___pyx_state); /* proto */ -static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exception(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_thread, PyObject *__pyx_v_arg, PyObject *__pyx_v_prev_user_uncaught_exc_info); /* proto */ +static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exception(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_thread, PyObject *__pyx_v_arg, PyObject *__pyx_v_prev_user_uncaught_exc_info, PyObject *__pyx_v_is_unwind); /* proto */ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_14handle_exception(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, PyObject *__pyx_v_thread, PyObject *__pyx_v_frame, PyObject *__pyx_v_arg, PyObject *__pyx_v_exception_type); /* proto */ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_16notify_skipped_step_in_because_of_filters(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, PyObject *__pyx_v_frame); /* proto */ static int __pyx_pf_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper___init__(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper *__pyx_v_self, PyObject *__pyx_v_method_object); /* proto */ @@ -3537,6 +3538,7 @@ typedef struct { PyObject *__pyx_n_s_is_stopped; PyObject *__pyx_n_s_is_thread_alive; PyObject *__pyx_n_s_is_unhandled_exception; + PyObject *__pyx_n_s_is_unwind; PyObject *__pyx_n_s_is_user_uncaught; PyObject *__pyx_kp_u_isenabled; PyObject *__pyx_n_s_j; @@ -3759,12 +3761,13 @@ typedef struct { PyObject *__pyx_tuple__53; PyObject *__pyx_tuple__57; PyObject *__pyx_tuple__59; - PyObject *__pyx_tuple__61; - PyObject *__pyx_tuple__66; - PyObject *__pyx_tuple__68; - PyObject *__pyx_tuple__70; - PyObject *__pyx_tuple__75; - PyObject *__pyx_tuple__84; + PyObject *__pyx_tuple__60; + PyObject *__pyx_tuple__62; + PyObject *__pyx_tuple__67; + PyObject *__pyx_tuple__69; + PyObject *__pyx_tuple__71; + PyObject *__pyx_tuple__76; + PyObject *__pyx_tuple__85; PyObject *__pyx_codeobj__21; PyObject *__pyx_codeobj__22; PyObject *__pyx_codeobj__24; @@ -3787,18 +3790,17 @@ typedef struct { PyObject *__pyx_codeobj__55; PyObject *__pyx_codeobj__56; PyObject *__pyx_codeobj__58; - PyObject *__pyx_codeobj__60; - PyObject *__pyx_codeobj__62; + PyObject *__pyx_codeobj__61; PyObject *__pyx_codeobj__63; PyObject *__pyx_codeobj__64; PyObject *__pyx_codeobj__65; - PyObject *__pyx_codeobj__67; - PyObject *__pyx_codeobj__69; - PyObject *__pyx_codeobj__71; + PyObject *__pyx_codeobj__66; + PyObject *__pyx_codeobj__68; + PyObject *__pyx_codeobj__70; PyObject *__pyx_codeobj__72; PyObject *__pyx_codeobj__73; PyObject *__pyx_codeobj__74; - PyObject *__pyx_codeobj__76; + PyObject *__pyx_codeobj__75; PyObject *__pyx_codeobj__77; PyObject *__pyx_codeobj__78; PyObject *__pyx_codeobj__79; @@ -3806,13 +3808,14 @@ typedef struct { PyObject *__pyx_codeobj__81; PyObject *__pyx_codeobj__82; PyObject *__pyx_codeobj__83; - PyObject *__pyx_codeobj__85; + PyObject *__pyx_codeobj__84; PyObject *__pyx_codeobj__86; PyObject *__pyx_codeobj__87; PyObject *__pyx_codeobj__88; PyObject *__pyx_codeobj__89; PyObject *__pyx_codeobj__90; PyObject *__pyx_codeobj__91; + PyObject *__pyx_codeobj__92; } __pyx_mstate; #if CYTHON_USE_MODULE_STATE @@ -4113,6 +4116,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_is_stopped); Py_CLEAR(clear_module_state->__pyx_n_s_is_thread_alive); Py_CLEAR(clear_module_state->__pyx_n_s_is_unhandled_exception); + Py_CLEAR(clear_module_state->__pyx_n_s_is_unwind); Py_CLEAR(clear_module_state->__pyx_n_s_is_user_uncaught); Py_CLEAR(clear_module_state->__pyx_kp_u_isenabled); Py_CLEAR(clear_module_state->__pyx_n_s_j); @@ -4335,12 +4339,13 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_tuple__53); Py_CLEAR(clear_module_state->__pyx_tuple__57); Py_CLEAR(clear_module_state->__pyx_tuple__59); - Py_CLEAR(clear_module_state->__pyx_tuple__61); - Py_CLEAR(clear_module_state->__pyx_tuple__66); - Py_CLEAR(clear_module_state->__pyx_tuple__68); - Py_CLEAR(clear_module_state->__pyx_tuple__70); - Py_CLEAR(clear_module_state->__pyx_tuple__75); - Py_CLEAR(clear_module_state->__pyx_tuple__84); + Py_CLEAR(clear_module_state->__pyx_tuple__60); + Py_CLEAR(clear_module_state->__pyx_tuple__62); + Py_CLEAR(clear_module_state->__pyx_tuple__67); + Py_CLEAR(clear_module_state->__pyx_tuple__69); + Py_CLEAR(clear_module_state->__pyx_tuple__71); + Py_CLEAR(clear_module_state->__pyx_tuple__76); + Py_CLEAR(clear_module_state->__pyx_tuple__85); Py_CLEAR(clear_module_state->__pyx_codeobj__21); Py_CLEAR(clear_module_state->__pyx_codeobj__22); Py_CLEAR(clear_module_state->__pyx_codeobj__24); @@ -4363,18 +4368,17 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_codeobj__55); Py_CLEAR(clear_module_state->__pyx_codeobj__56); Py_CLEAR(clear_module_state->__pyx_codeobj__58); - Py_CLEAR(clear_module_state->__pyx_codeobj__60); - Py_CLEAR(clear_module_state->__pyx_codeobj__62); + Py_CLEAR(clear_module_state->__pyx_codeobj__61); Py_CLEAR(clear_module_state->__pyx_codeobj__63); Py_CLEAR(clear_module_state->__pyx_codeobj__64); Py_CLEAR(clear_module_state->__pyx_codeobj__65); - Py_CLEAR(clear_module_state->__pyx_codeobj__67); - Py_CLEAR(clear_module_state->__pyx_codeobj__69); - Py_CLEAR(clear_module_state->__pyx_codeobj__71); + Py_CLEAR(clear_module_state->__pyx_codeobj__66); + Py_CLEAR(clear_module_state->__pyx_codeobj__68); + Py_CLEAR(clear_module_state->__pyx_codeobj__70); Py_CLEAR(clear_module_state->__pyx_codeobj__72); Py_CLEAR(clear_module_state->__pyx_codeobj__73); Py_CLEAR(clear_module_state->__pyx_codeobj__74); - Py_CLEAR(clear_module_state->__pyx_codeobj__76); + Py_CLEAR(clear_module_state->__pyx_codeobj__75); Py_CLEAR(clear_module_state->__pyx_codeobj__77); Py_CLEAR(clear_module_state->__pyx_codeobj__78); Py_CLEAR(clear_module_state->__pyx_codeobj__79); @@ -4382,13 +4386,14 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_codeobj__81); Py_CLEAR(clear_module_state->__pyx_codeobj__82); Py_CLEAR(clear_module_state->__pyx_codeobj__83); - Py_CLEAR(clear_module_state->__pyx_codeobj__85); + Py_CLEAR(clear_module_state->__pyx_codeobj__84); Py_CLEAR(clear_module_state->__pyx_codeobj__86); Py_CLEAR(clear_module_state->__pyx_codeobj__87); Py_CLEAR(clear_module_state->__pyx_codeobj__88); Py_CLEAR(clear_module_state->__pyx_codeobj__89); Py_CLEAR(clear_module_state->__pyx_codeobj__90); Py_CLEAR(clear_module_state->__pyx_codeobj__91); + Py_CLEAR(clear_module_state->__pyx_codeobj__92); return 0; } #endif @@ -4667,6 +4672,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_is_stopped); Py_VISIT(traverse_module_state->__pyx_n_s_is_thread_alive); Py_VISIT(traverse_module_state->__pyx_n_s_is_unhandled_exception); + Py_VISIT(traverse_module_state->__pyx_n_s_is_unwind); Py_VISIT(traverse_module_state->__pyx_n_s_is_user_uncaught); Py_VISIT(traverse_module_state->__pyx_kp_u_isenabled); Py_VISIT(traverse_module_state->__pyx_n_s_j); @@ -4889,12 +4895,13 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_tuple__53); Py_VISIT(traverse_module_state->__pyx_tuple__57); Py_VISIT(traverse_module_state->__pyx_tuple__59); - Py_VISIT(traverse_module_state->__pyx_tuple__61); - Py_VISIT(traverse_module_state->__pyx_tuple__66); - Py_VISIT(traverse_module_state->__pyx_tuple__68); - Py_VISIT(traverse_module_state->__pyx_tuple__70); - Py_VISIT(traverse_module_state->__pyx_tuple__75); - Py_VISIT(traverse_module_state->__pyx_tuple__84); + Py_VISIT(traverse_module_state->__pyx_tuple__60); + Py_VISIT(traverse_module_state->__pyx_tuple__62); + Py_VISIT(traverse_module_state->__pyx_tuple__67); + Py_VISIT(traverse_module_state->__pyx_tuple__69); + Py_VISIT(traverse_module_state->__pyx_tuple__71); + Py_VISIT(traverse_module_state->__pyx_tuple__76); + Py_VISIT(traverse_module_state->__pyx_tuple__85); Py_VISIT(traverse_module_state->__pyx_codeobj__21); Py_VISIT(traverse_module_state->__pyx_codeobj__22); Py_VISIT(traverse_module_state->__pyx_codeobj__24); @@ -4917,18 +4924,17 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_codeobj__55); Py_VISIT(traverse_module_state->__pyx_codeobj__56); Py_VISIT(traverse_module_state->__pyx_codeobj__58); - Py_VISIT(traverse_module_state->__pyx_codeobj__60); - Py_VISIT(traverse_module_state->__pyx_codeobj__62); + Py_VISIT(traverse_module_state->__pyx_codeobj__61); Py_VISIT(traverse_module_state->__pyx_codeobj__63); Py_VISIT(traverse_module_state->__pyx_codeobj__64); Py_VISIT(traverse_module_state->__pyx_codeobj__65); - Py_VISIT(traverse_module_state->__pyx_codeobj__67); - Py_VISIT(traverse_module_state->__pyx_codeobj__69); - Py_VISIT(traverse_module_state->__pyx_codeobj__71); + Py_VISIT(traverse_module_state->__pyx_codeobj__66); + Py_VISIT(traverse_module_state->__pyx_codeobj__68); + Py_VISIT(traverse_module_state->__pyx_codeobj__70); Py_VISIT(traverse_module_state->__pyx_codeobj__72); Py_VISIT(traverse_module_state->__pyx_codeobj__73); Py_VISIT(traverse_module_state->__pyx_codeobj__74); - Py_VISIT(traverse_module_state->__pyx_codeobj__76); + Py_VISIT(traverse_module_state->__pyx_codeobj__75); Py_VISIT(traverse_module_state->__pyx_codeobj__77); Py_VISIT(traverse_module_state->__pyx_codeobj__78); Py_VISIT(traverse_module_state->__pyx_codeobj__79); @@ -4936,13 +4942,14 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_codeobj__81); Py_VISIT(traverse_module_state->__pyx_codeobj__82); Py_VISIT(traverse_module_state->__pyx_codeobj__83); - Py_VISIT(traverse_module_state->__pyx_codeobj__85); + Py_VISIT(traverse_module_state->__pyx_codeobj__84); Py_VISIT(traverse_module_state->__pyx_codeobj__86); Py_VISIT(traverse_module_state->__pyx_codeobj__87); Py_VISIT(traverse_module_state->__pyx_codeobj__88); Py_VISIT(traverse_module_state->__pyx_codeobj__89); Py_VISIT(traverse_module_state->__pyx_codeobj__90); Py_VISIT(traverse_module_state->__pyx_codeobj__91); + Py_VISIT(traverse_module_state->__pyx_codeobj__92); return 0; } #endif @@ -5245,6 +5252,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_is_stopped __pyx_mstate_global->__pyx_n_s_is_stopped #define __pyx_n_s_is_thread_alive __pyx_mstate_global->__pyx_n_s_is_thread_alive #define __pyx_n_s_is_unhandled_exception __pyx_mstate_global->__pyx_n_s_is_unhandled_exception +#define __pyx_n_s_is_unwind __pyx_mstate_global->__pyx_n_s_is_unwind #define __pyx_n_s_is_user_uncaught __pyx_mstate_global->__pyx_n_s_is_user_uncaught #define __pyx_kp_u_isenabled __pyx_mstate_global->__pyx_kp_u_isenabled #define __pyx_n_s_j __pyx_mstate_global->__pyx_n_s_j @@ -5467,12 +5475,13 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_tuple__53 __pyx_mstate_global->__pyx_tuple__53 #define __pyx_tuple__57 __pyx_mstate_global->__pyx_tuple__57 #define __pyx_tuple__59 __pyx_mstate_global->__pyx_tuple__59 -#define __pyx_tuple__61 __pyx_mstate_global->__pyx_tuple__61 -#define __pyx_tuple__66 __pyx_mstate_global->__pyx_tuple__66 -#define __pyx_tuple__68 __pyx_mstate_global->__pyx_tuple__68 -#define __pyx_tuple__70 __pyx_mstate_global->__pyx_tuple__70 -#define __pyx_tuple__75 __pyx_mstate_global->__pyx_tuple__75 -#define __pyx_tuple__84 __pyx_mstate_global->__pyx_tuple__84 +#define __pyx_tuple__60 __pyx_mstate_global->__pyx_tuple__60 +#define __pyx_tuple__62 __pyx_mstate_global->__pyx_tuple__62 +#define __pyx_tuple__67 __pyx_mstate_global->__pyx_tuple__67 +#define __pyx_tuple__69 __pyx_mstate_global->__pyx_tuple__69 +#define __pyx_tuple__71 __pyx_mstate_global->__pyx_tuple__71 +#define __pyx_tuple__76 __pyx_mstate_global->__pyx_tuple__76 +#define __pyx_tuple__85 __pyx_mstate_global->__pyx_tuple__85 #define __pyx_codeobj__21 __pyx_mstate_global->__pyx_codeobj__21 #define __pyx_codeobj__22 __pyx_mstate_global->__pyx_codeobj__22 #define __pyx_codeobj__24 __pyx_mstate_global->__pyx_codeobj__24 @@ -5495,18 +5504,17 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_codeobj__55 __pyx_mstate_global->__pyx_codeobj__55 #define __pyx_codeobj__56 __pyx_mstate_global->__pyx_codeobj__56 #define __pyx_codeobj__58 __pyx_mstate_global->__pyx_codeobj__58 -#define __pyx_codeobj__60 __pyx_mstate_global->__pyx_codeobj__60 -#define __pyx_codeobj__62 __pyx_mstate_global->__pyx_codeobj__62 +#define __pyx_codeobj__61 __pyx_mstate_global->__pyx_codeobj__61 #define __pyx_codeobj__63 __pyx_mstate_global->__pyx_codeobj__63 #define __pyx_codeobj__64 __pyx_mstate_global->__pyx_codeobj__64 #define __pyx_codeobj__65 __pyx_mstate_global->__pyx_codeobj__65 -#define __pyx_codeobj__67 __pyx_mstate_global->__pyx_codeobj__67 -#define __pyx_codeobj__69 __pyx_mstate_global->__pyx_codeobj__69 -#define __pyx_codeobj__71 __pyx_mstate_global->__pyx_codeobj__71 +#define __pyx_codeobj__66 __pyx_mstate_global->__pyx_codeobj__66 +#define __pyx_codeobj__68 __pyx_mstate_global->__pyx_codeobj__68 +#define __pyx_codeobj__70 __pyx_mstate_global->__pyx_codeobj__70 #define __pyx_codeobj__72 __pyx_mstate_global->__pyx_codeobj__72 #define __pyx_codeobj__73 __pyx_mstate_global->__pyx_codeobj__73 #define __pyx_codeobj__74 __pyx_mstate_global->__pyx_codeobj__74 -#define __pyx_codeobj__76 __pyx_mstate_global->__pyx_codeobj__76 +#define __pyx_codeobj__75 __pyx_mstate_global->__pyx_codeobj__75 #define __pyx_codeobj__77 __pyx_mstate_global->__pyx_codeobj__77 #define __pyx_codeobj__78 __pyx_mstate_global->__pyx_codeobj__78 #define __pyx_codeobj__79 __pyx_mstate_global->__pyx_codeobj__79 @@ -5514,13 +5522,14 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_codeobj__81 __pyx_mstate_global->__pyx_codeobj__81 #define __pyx_codeobj__82 __pyx_mstate_global->__pyx_codeobj__82 #define __pyx_codeobj__83 __pyx_mstate_global->__pyx_codeobj__83 -#define __pyx_codeobj__85 __pyx_mstate_global->__pyx_codeobj__85 +#define __pyx_codeobj__84 __pyx_mstate_global->__pyx_codeobj__84 #define __pyx_codeobj__86 __pyx_mstate_global->__pyx_codeobj__86 #define __pyx_codeobj__87 __pyx_mstate_global->__pyx_codeobj__87 #define __pyx_codeobj__88 __pyx_mstate_global->__pyx_codeobj__88 #define __pyx_codeobj__89 __pyx_mstate_global->__pyx_codeobj__89 #define __pyx_codeobj__90 __pyx_mstate_global->__pyx_codeobj__90 #define __pyx_codeobj__91 __pyx_mstate_global->__pyx_codeobj__91 +#define __pyx_codeobj__92 __pyx_mstate_global->__pyx_codeobj__92 /* #### Code section: module_code ### */ /* "_pydevd_bundle/pydevd_cython.pyx":75 @@ -26708,7 +26717,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_9PyDBFrame_14__setsta /* "_pydevd_bundle/pydevd_cython.pyx":1377 * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) - * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info): # <<<<<<<<<<<<<< + * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # <<<<<<<<<<<<<< * cdef bint should_stop; * cdef bint was_just_raised; */ @@ -26735,11 +26744,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds PyObject *__pyx_v_thread = 0; PyObject *__pyx_v_arg = 0; PyObject *__pyx_v_prev_user_uncaught_exc_info = 0; + PyObject *__pyx_v_is_unwind = 0; #if !CYTHON_METH_FASTCALL CYTHON_UNUSED Py_ssize_t __pyx_nargs; #endif CYTHON_UNUSED PyObject *const *__pyx_kwvalues; - PyObject* values[6] = {0,0,0,0,0,0}; + PyObject* values[7] = {0,0,0,0,0,0,0}; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; @@ -26755,10 +26765,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds #endif __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); { - PyObject **__pyx_pyargnames[] = {&__pyx_n_s_py_db,&__pyx_n_s_info,&__pyx_n_s_frame,&__pyx_n_s_thread,&__pyx_n_s_arg,&__pyx_n_s_prev_user_uncaught_exc_info,0}; + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_py_db,&__pyx_n_s_info,&__pyx_n_s_frame,&__pyx_n_s_thread,&__pyx_n_s_arg,&__pyx_n_s_prev_user_uncaught_exc_info,&__pyx_n_s_is_unwind,0}; + values[6] = __Pyx_Arg_NewRef_FASTCALL(((PyObject *)((PyObject *)Py_False))); if (__pyx_kwds) { Py_ssize_t kw_args; switch (__pyx_nargs) { + case 7: values[6] = __Pyx_Arg_FASTCALL(__pyx_args, 6); + CYTHON_FALLTHROUGH; case 6: values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); CYTHON_FALLTHROUGH; case 5: values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); @@ -26791,7 +26804,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 1, 6, 6, 1); __PYX_ERR(0, 1377, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 0, 6, 7, 1); __PYX_ERR(0, 1377, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -26801,7 +26814,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 1, 6, 6, 2); __PYX_ERR(0, 1377, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 0, 6, 7, 2); __PYX_ERR(0, 1377, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 3: @@ -26811,7 +26824,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 1, 6, 6, 3); __PYX_ERR(0, 1377, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 0, 6, 7, 3); __PYX_ERR(0, 1377, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 4: @@ -26821,7 +26834,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 1, 6, 6, 4); __PYX_ERR(0, 1377, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 0, 6, 7, 4); __PYX_ERR(0, 1377, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 5: @@ -26831,22 +26844,33 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 1, 6, 6, 5); __PYX_ERR(0, 1377, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 0, 6, 7, 5); __PYX_ERR(0, 1377, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 6: + if (kw_args > 0) { + PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_is_unwind); + if (value) { values[6] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1377, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "should_stop_on_exception") < 0)) __PYX_ERR(0, 1377, __pyx_L3_error) } - } else if (unlikely(__pyx_nargs != 6)) { - goto __pyx_L5_argtuple_error; } else { - values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); - values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); - values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); - values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); - values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); - values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); + switch (__pyx_nargs) { + case 7: values[6] = __Pyx_Arg_FASTCALL(__pyx_args, 6); + CYTHON_FALLTHROUGH; + case 6: values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); + values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + break; + default: goto __pyx_L5_argtuple_error; + } } __pyx_v_py_db = values[0]; __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)values[1]); @@ -26854,10 +26878,11 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __pyx_v_thread = values[3]; __pyx_v_arg = values[4]; __pyx_v_prev_user_uncaught_exc_info = values[5]; + __pyx_v_is_unwind = values[6]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 1, 6, 6, __pyx_nargs); __PYX_ERR(0, 1377, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("should_stop_on_exception", 0, 6, 7, __pyx_nargs); __PYX_ERR(0, 1377, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -26872,7 +26897,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return NULL; __pyx_L4_argument_unpacking_done:; if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_info), __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, 1, "info", 0))) __PYX_ERR(0, 1377, __pyx_L1_error) - __pyx_r = __pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exception(__pyx_self, __pyx_v_py_db, __pyx_v_info, __pyx_v_frame, __pyx_v_thread, __pyx_v_arg, __pyx_v_prev_user_uncaught_exc_info); + __pyx_r = __pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exception(__pyx_self, __pyx_v_py_db, __pyx_v_info, __pyx_v_frame, __pyx_v_thread, __pyx_v_arg, __pyx_v_prev_user_uncaught_exc_info, __pyx_v_is_unwind); /* function exit code */ goto __pyx_L0; @@ -26889,7 +26914,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exception(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_thread, PyObject *__pyx_v_arg, PyObject *__pyx_v_prev_user_uncaught_exc_info) { +static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exception(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_v_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_thread, PyObject *__pyx_v_arg, PyObject *__pyx_v_prev_user_uncaught_exc_info, PyObject *__pyx_v_is_unwind) { int __pyx_v_should_stop; int __pyx_v_was_just_raised; PyObject *__pyx_v_check_excs = 0; @@ -27066,7 +27091,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * exception_breakpoint = None * try: # <<<<<<<<<<<<<< * if py_db.plugin is not None: - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) */ { __Pyx_PyThreadState_declare @@ -27081,7 +27106,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * exception_breakpoint = None * try: * if py_db.plugin is not None: # <<<<<<<<<<<<<< - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) * if result: */ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1398, __pyx_L9_error) @@ -27093,7 +27118,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce /* "_pydevd_bundle/pydevd_cython.pyx":1399 * try: * if py_db.plugin is not None: - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) # <<<<<<<<<<<<<< + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) # <<<<<<<<<<<<<< * if result: * should_stop, frame = result */ @@ -27117,8 +27142,8 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce } #endif { - PyObject *__pyx_callargs[5] = {__pyx_t_3, __pyx_v_py_db, __pyx_v_frame, __pyx_v_thread, __pyx_v_arg}; - __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_11, 4+__pyx_t_11); + PyObject *__pyx_callargs[6] = {__pyx_t_3, __pyx_v_py_db, __pyx_v_frame, __pyx_v_thread, __pyx_v_arg, __pyx_v_is_unwind}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_11, 5+__pyx_t_11); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1399, __pyx_L9_error) __Pyx_GOTREF(__pyx_t_4); @@ -27129,7 +27154,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce /* "_pydevd_bundle/pydevd_cython.pyx":1400 * if py_db.plugin is not None: - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) * if result: # <<<<<<<<<<<<<< * should_stop, frame = result * except: @@ -27138,7 +27163,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce if (__pyx_t_1) { /* "_pydevd_bundle/pydevd_cython.pyx":1401 - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) * if result: * should_stop, frame = result # <<<<<<<<<<<<<< * except: @@ -27196,7 +27221,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce /* "_pydevd_bundle/pydevd_cython.pyx":1400 * if py_db.plugin is not None: - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) * if result: # <<<<<<<<<<<<<< * should_stop, frame = result * except: @@ -27207,7 +27232,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * exception_breakpoint = None * try: * if py_db.plugin is not None: # <<<<<<<<<<<<<< - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) * if result: */ } @@ -27217,7 +27242,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * exception_breakpoint = None * try: # <<<<<<<<<<<<<< * if py_db.plugin is not None: - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) */ } __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; @@ -27290,7 +27315,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce * exception_breakpoint = None * try: # <<<<<<<<<<<<<< * if py_db.plugin is not None: - * result = py_db.plugin.exception_break(py_db, frame, thread, arg) + * result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) */ __pyx_L11_except_error:; __Pyx_XGIVEREF(__pyx_t_8); @@ -28786,7 +28811,7 @@ static PyObject *__pyx_pf_14_pydevd_bundle_13pydevd_cython_12should_stop_on_exce /* "_pydevd_bundle/pydevd_cython.pyx":1377 * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) - * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info): # <<<<<<<<<<<<<< + * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # <<<<<<<<<<<<<< * cdef bint should_stop; * cdef bint was_just_raised; */ @@ -45846,6 +45871,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_is_stopped, __pyx_k_is_stopped, sizeof(__pyx_k_is_stopped), 0, 0, 1, 1}, {&__pyx_n_s_is_thread_alive, __pyx_k_is_thread_alive, sizeof(__pyx_k_is_thread_alive), 0, 0, 1, 1}, {&__pyx_n_s_is_unhandled_exception, __pyx_k_is_unhandled_exception, sizeof(__pyx_k_is_unhandled_exception), 0, 0, 1, 1}, + {&__pyx_n_s_is_unwind, __pyx_k_is_unwind, sizeof(__pyx_k_is_unwind), 0, 0, 1, 1}, {&__pyx_n_s_is_user_uncaught, __pyx_k_is_user_uncaught, sizeof(__pyx_k_is_user_uncaught), 0, 0, 1, 1}, {&__pyx_kp_u_isenabled, __pyx_k_isenabled, sizeof(__pyx_k_isenabled), 0, 1, 0, 0}, {&__pyx_n_s_j, __pyx_k_j, sizeof(__pyx_k_j), 0, 0, 1, 1}, @@ -46400,14 +46426,17 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { /* "_pydevd_bundle/pydevd_cython.pyx":1377 * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) - * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info): # <<<<<<<<<<<<<< + * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # <<<<<<<<<<<<<< * cdef bint should_stop; * cdef bint was_just_raised; */ - __pyx_tuple__57 = PyTuple_Pack(21, __pyx_n_s_py_db, __pyx_n_s_info, __pyx_n_s_frame, __pyx_n_s_thread, __pyx_n_s_arg, __pyx_n_s_prev_user_uncaught_exc_info, __pyx_n_s_should_stop, __pyx_n_s_was_just_raised, __pyx_n_s_check_excs, __pyx_n_s_maybe_user_uncaught_exc_info, __pyx_n_s_exception, __pyx_n_s_value, __pyx_n_s_trace, __pyx_n_s_exception_breakpoint, __pyx_n_s_result, __pyx_n_s_exc_break_user, __pyx_n_s_exc_break_caught, __pyx_n_s_exc_break, __pyx_n_s_is_user_uncaught, __pyx_n_s_exc_info, __pyx_n_s_lines); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(0, 1377, __pyx_L1_error) + __pyx_tuple__57 = PyTuple_Pack(22, __pyx_n_s_py_db, __pyx_n_s_info, __pyx_n_s_frame, __pyx_n_s_thread, __pyx_n_s_arg, __pyx_n_s_prev_user_uncaught_exc_info, __pyx_n_s_is_unwind, __pyx_n_s_should_stop, __pyx_n_s_was_just_raised, __pyx_n_s_check_excs, __pyx_n_s_maybe_user_uncaught_exc_info, __pyx_n_s_exception, __pyx_n_s_value, __pyx_n_s_trace, __pyx_n_s_exception_breakpoint, __pyx_n_s_result, __pyx_n_s_exc_break_user, __pyx_n_s_exc_break_caught, __pyx_n_s_exc_break, __pyx_n_s_is_user_uncaught, __pyx_n_s_exc_info, __pyx_n_s_lines); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(0, 1377, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__57); __Pyx_GIVEREF(__pyx_tuple__57); - __pyx_codeobj__58 = (PyObject*)__Pyx_PyCode_New(6, 0, 0, 21, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__57, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_should_stop_on_exception, 1377, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__58)) __PYX_ERR(0, 1377, __pyx_L1_error) + __pyx_codeobj__58 = (PyObject*)__Pyx_PyCode_New(7, 0, 0, 22, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__57, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_should_stop_on_exception, 1377, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__58)) __PYX_ERR(0, 1377, __pyx_L1_error) + __pyx_tuple__59 = PyTuple_Pack(1, ((PyObject *)Py_False)); if (unlikely(!__pyx_tuple__59)) __PYX_ERR(0, 1377, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__59); + __Pyx_GIVEREF(__pyx_tuple__59); /* "_pydevd_bundle/pydevd_cython.pyx":1510 * @@ -46416,10 +46445,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * cdef bint stopped; * cdef tuple abs_real_path_and_base; */ - __pyx_tuple__59 = PyTuple_Pack(21, __pyx_n_s_py_db, __pyx_n_s_thread, __pyx_n_s_frame, __pyx_n_s_arg, __pyx_n_s_exception_type, __pyx_n_s_stopped, __pyx_n_s_abs_real_path_and_base, __pyx_n_s_absolute_filename, __pyx_n_s_canonical_normalized_filename, __pyx_n_s_lines_ignored, __pyx_n_s_frame_id_to_frame, __pyx_n_s_merged, __pyx_n_s_trace_obj, __pyx_n_s_initial_trace_obj, __pyx_n_s_check_trace_obj, __pyx_n_s_curr_stat, __pyx_n_s_last_stat, __pyx_n_s_from_user_input, __pyx_n_s_exc_lineno, __pyx_n_s_line, __pyx_n_s_f); if (unlikely(!__pyx_tuple__59)) __PYX_ERR(0, 1510, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__59); - __Pyx_GIVEREF(__pyx_tuple__59); - __pyx_codeobj__60 = (PyObject*)__Pyx_PyCode_New(5, 0, 0, 21, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__59, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_handle_exception, 1510, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__60)) __PYX_ERR(0, 1510, __pyx_L1_error) + __pyx_tuple__60 = PyTuple_Pack(21, __pyx_n_s_py_db, __pyx_n_s_thread, __pyx_n_s_frame, __pyx_n_s_arg, __pyx_n_s_exception_type, __pyx_n_s_stopped, __pyx_n_s_abs_real_path_and_base, __pyx_n_s_absolute_filename, __pyx_n_s_canonical_normalized_filename, __pyx_n_s_lines_ignored, __pyx_n_s_frame_id_to_frame, __pyx_n_s_merged, __pyx_n_s_trace_obj, __pyx_n_s_initial_trace_obj, __pyx_n_s_check_trace_obj, __pyx_n_s_curr_stat, __pyx_n_s_last_stat, __pyx_n_s_from_user_input, __pyx_n_s_exc_lineno, __pyx_n_s_line, __pyx_n_s_f); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 1510, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__60); + __Pyx_GIVEREF(__pyx_tuple__60); + __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(5, 0, 0, 21, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_handle_exception, 1510, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 1510, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1674 * @@ -46428,10 +46457,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * global _global_notify_skipped_step_in * */ - __pyx_tuple__61 = PyTuple_Pack(2, __pyx_n_s_py_db, __pyx_n_s_frame); if (unlikely(!__pyx_tuple__61)) __PYX_ERR(0, 1674, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__61); - __Pyx_GIVEREF(__pyx_tuple__61); - __pyx_codeobj__62 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__61, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_notify_skipped_step_in_because_o, 1674, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__62)) __PYX_ERR(0, 1674, __pyx_L1_error) + __pyx_tuple__62 = PyTuple_Pack(2, __pyx_n_s_py_db, __pyx_n_s_frame); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(0, 1674, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__62); + __Pyx_GIVEREF(__pyx_tuple__62); + __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_notify_skipped_step_in_because_o, 1674, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 1674, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1700 * Py_XDECREF (method_obj) @@ -46440,14 +46469,14 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * return self.method_object * # ELSE */ - __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_get_method_object, 1700, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 1700, __pyx_L1_error) + __pyx_codeobj__64 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_get_method_object, 1700, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__64)) __PYX_ERR(0, 1700, __pyx_L1_error) /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_codeobj__64 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__64)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(2, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -46455,7 +46484,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_SafeCallWrapper__set_state(self, __pyx_state) */ - __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_codeobj__66 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__66)) __PYX_ERR(2, 16, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1707 * @@ -46464,10 +46493,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __pyx_tuple__66 = PyTuple_Pack(15, __pyx_n_s_py_db, __pyx_n_s_frame, __pyx_n_s_filename, __pyx_n_s_name_2, __pyx_n_s_args, __pyx_n_s_thread, __pyx_n_s_f_unhandled, __pyx_n_s_force_only_unhandled_tracer, __pyx_n_s_i, __pyx_n_s_j, __pyx_n_s_t, __pyx_n_s_additional_info, __pyx_n_s_top_level_thread_tracer, __pyx_n_s_f_trace, __pyx_n_s_thread_tracer); if (unlikely(!__pyx_tuple__66)) __PYX_ERR(0, 1707, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__66); - __Pyx_GIVEREF(__pyx_tuple__66); - __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 15, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__66, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_fix_top_level_trace_and_get_trac, 1707, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(0, 1707, __pyx_L1_error) + __pyx_tuple__67 = PyTuple_Pack(15, __pyx_n_s_py_db, __pyx_n_s_frame, __pyx_n_s_filename, __pyx_n_s_name_2, __pyx_n_s_args, __pyx_n_s_thread, __pyx_n_s_f_unhandled, __pyx_n_s_force_only_unhandled_tracer, __pyx_n_s_i, __pyx_n_s_j, __pyx_n_s_t, __pyx_n_s_additional_info, __pyx_n_s_top_level_thread_tracer, __pyx_n_s_f_trace, __pyx_n_s_thread_tracer); if (unlikely(!__pyx_tuple__67)) __PYX_ERR(0, 1707, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__67); + __Pyx_GIVEREF(__pyx_tuple__67); + __pyx_codeobj__68 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 15, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__67, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_fix_top_level_trace_and_get_trac, 1707, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__68)) __PYX_ERR(0, 1707, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1845 * @@ -46476,10 +46505,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * thread_trace_func, apply_to_settrace = py_db.fix_top_level_trace_and_get_trace_func(py_db, frame) * if thread_trace_func is None: */ - __pyx_tuple__68 = PyTuple_Pack(6, __pyx_n_s_py_db, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg, __pyx_n_s_thread_trace_func, __pyx_n_s_apply_to_settrace); if (unlikely(!__pyx_tuple__68)) __PYX_ERR(0, 1845, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__68); - __Pyx_GIVEREF(__pyx_tuple__68); - __pyx_codeobj__69 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__68, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_trace_dispatch, 1845, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__69)) __PYX_ERR(0, 1845, __pyx_L1_error) + __pyx_tuple__69 = PyTuple_Pack(6, __pyx_n_s_py_db, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg, __pyx_n_s_thread_trace_func, __pyx_n_s_apply_to_settrace); if (unlikely(!__pyx_tuple__69)) __PYX_ERR(0, 1845, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__69); + __Pyx_GIVEREF(__pyx_tuple__69); + __pyx_codeobj__70 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__69, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_trace_dispatch, 1845, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__70)) __PYX_ERR(0, 1845, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1868 * # fmt: on @@ -46488,10 +46517,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * # Note that we ignore the frame as this tracing method should only be put in topmost frames already. * # print('trace_unhandled_exceptions', event, frame.f_code.co_name, frame.f_code.co_filename, frame.f_code.co_firstlineno) */ - __pyx_tuple__70 = PyTuple_Pack(7, __pyx_n_s_self, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg, __pyx_n_s_py_db, __pyx_n_s_t, __pyx_n_s_additional_info); if (unlikely(!__pyx_tuple__70)) __PYX_ERR(0, 1868, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__70); - __Pyx_GIVEREF(__pyx_tuple__70); - __pyx_codeobj__71 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__70, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_trace_unhandled_exceptions, 1868, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__71)) __PYX_ERR(0, 1868, __pyx_L1_error) + __pyx_tuple__71 = PyTuple_Pack(7, __pyx_n_s_self, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg, __pyx_n_s_py_db, __pyx_n_s_t, __pyx_n_s_additional_info); if (unlikely(!__pyx_tuple__71)) __PYX_ERR(0, 1868, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__71); + __Pyx_GIVEREF(__pyx_tuple__71); + __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 7, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__71, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_trace_unhandled_exceptions, 1868, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(0, 1868, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1882 * return self.trace_unhandled_exceptions @@ -46500,14 +46529,14 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * return self.trace_unhandled_exceptions * */ - __pyx_codeobj__72 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_get_trace_dispatch_func, 1882, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__72)) __PYX_ERR(0, 1882, __pyx_L1_error) + __pyx_codeobj__73 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_get_trace_dispatch_func, 1882, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__73)) __PYX_ERR(0, 1882, __pyx_L1_error) /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_codeobj__73 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__73)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__74 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__74)) __PYX_ERR(2, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -46515,7 +46544,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(self, __pyx_state) */ - __pyx_codeobj__74 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__74)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_codeobj__75 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__75)) __PYX_ERR(2, 16, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1926 * # fmt: on @@ -46524,10 +46553,10 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * # DEBUG = 'code_to_debug' in frame.f_code.co_filename * # if DEBUG: print('trace_dispatch_and_unhandled_exceptions: %s %s %s %s %s %s' % (event, frame.f_code.co_name, frame.f_code.co_filename, frame.f_code.co_firstlineno, self._frame_trace_dispatch, frame.f_lineno)) */ - __pyx_tuple__75 = PyTuple_Pack(9, __pyx_n_s_self, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg, __pyx_n_s_frame_trace_dispatch, __pyx_n_s_py_db, __pyx_n_s_t, __pyx_n_s_additional_info, __pyx_n_s_ret); if (unlikely(!__pyx_tuple__75)) __PYX_ERR(0, 1926, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__75); - __Pyx_GIVEREF(__pyx_tuple__75); - __pyx_codeobj__76 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 9, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__75, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_trace_dispatch_and_unhandled_exc, 1926, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__76)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_tuple__76 = PyTuple_Pack(9, __pyx_n_s_self, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg, __pyx_n_s_frame_trace_dispatch, __pyx_n_s_py_db, __pyx_n_s_t, __pyx_n_s_additional_info, __pyx_n_s_ret); if (unlikely(!__pyx_tuple__76)) __PYX_ERR(0, 1926, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__76); + __Pyx_GIVEREF(__pyx_tuple__76); + __pyx_codeobj__77 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 9, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__76, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_trace_dispatch_and_unhandled_exc, 1926, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__77)) __PYX_ERR(0, 1926, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":1961 * return ret @@ -46536,14 +46565,14 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * return self.trace_dispatch_and_unhandled_exceptions * */ - __pyx_codeobj__77 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_get_trace_dispatch_func, 1961, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__77)) __PYX_ERR(0, 1961, __pyx_L1_error) + __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__20, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_get_trace_dispatch_func, 1961, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(0, 1961, __pyx_L1_error) /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_codeobj__78 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__78)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__79 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__79)) __PYX_ERR(2, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -46551,14 +46580,14 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(self, __pyx_state) */ - __pyx_codeobj__79 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__79)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(2, 16, __pyx_L1_error) /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_codeobj__80 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__80)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__81 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__26, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__81)) __PYX_ERR(2, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -46566,7 +46595,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_ThreadTracer__set_state(self, __pyx_state) */ - __pyx_codeobj__81 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__81)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_codeobj__82 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__82)) __PYX_ERR(2, 16, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":2166 * _original_call = ThreadTracer.__call__ @@ -46575,7 +46604,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * constructed_tid_to_last_frame[self._args[1].ident] = frame * return _original_call(self, frame, event, arg) */ - __pyx_codeobj__82 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_call_2, 2166, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__82)) __PYX_ERR(0, 2166, __pyx_L1_error) + __pyx_codeobj__83 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_call_2, 2166, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__83)) __PYX_ERR(0, 2166, __pyx_L1_error) /* "_pydevd_bundle/pydevd_cython.pyx":2174 * if PYDEVD_USE_SYS_MONITORING: @@ -46583,23 +46612,23 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def fix_top_level_trace_and_get_trace_func(*args, **kwargs): # <<<<<<<<<<<<<< * raise RuntimeError("Not used in sys.monitoring mode.") */ - __pyx_codeobj__83 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_fix_top_level_trace_and_get_trac, 2174, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__83)) __PYX_ERR(0, 2174, __pyx_L1_error) + __pyx_codeobj__84 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_bundle_pydevd_cython_pyx, __pyx_n_s_fix_top_level_trace_and_get_trac, 2174, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__84)) __PYX_ERR(0, 2174, __pyx_L1_error) /* "(tree fragment)":1 * def __pyx_unpickle_PyDBAdditionalThreadInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_tuple__84 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__84)) __PYX_ERR(2, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__84); - __Pyx_GIVEREF(__pyx_tuple__84); - __pyx_codeobj__85 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_PyDBAdditionalThr, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__85)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_codeobj__86 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle__TryExceptContain, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__86)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_codeobj__87 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_PyDBFrame, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__87)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_codeobj__88 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_SafeCallWrapper, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__88)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_codeobj__89 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_TopLevelThreadTra, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__89)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_TopLevelThreadTra_2, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(2, 1, __pyx_L1_error) - __pyx_codeobj__91 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__84, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadTracer, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__91)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_tuple__85 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__85)) __PYX_ERR(2, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__85); + __Pyx_GIVEREF(__pyx_tuple__85); + __pyx_codeobj__86 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_PyDBAdditionalThr, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__86)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__87 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle__TryExceptContain, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__87)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__88 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_PyDBFrame, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__88)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__89 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_SafeCallWrapper, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__89)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__90 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_TopLevelThreadTra, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__90)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__91 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_TopLevelThreadTra_2, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__91)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_codeobj__92 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__85, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadTracer, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__92)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; @@ -48244,12 +48273,13 @@ if (!__Pyx_RefNanny) { /* "_pydevd_bundle/pydevd_cython.pyx":1377 * * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) - * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info): # <<<<<<<<<<<<<< + * def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # <<<<<<<<<<<<<< * cdef bint should_stop; * cdef bint was_just_raised; */ __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_13should_stop_on_exception, 0, __pyx_n_s_should_stop_on_exception, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__58)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1377, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_tuple__59); if (PyDict_SetItem(__pyx_d, __pyx_n_s_should_stop_on_exception, __pyx_t_2) < 0) __PYX_ERR(0, 1377, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48284,7 +48314,7 @@ if (!__Pyx_RefNanny) { * cdef bint stopped; * cdef tuple abs_real_path_and_base; */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15handle_exception, 0, __pyx_n_s_handle_exception, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__60)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1510, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15handle_exception, 0, __pyx_n_s_handle_exception, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__61)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_d, __pyx_n_s_handle_exception, __pyx_t_2) < 0) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48495,7 +48525,7 @@ if (!__Pyx_RefNanny) { * global _global_notify_skipped_step_in * */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_17notify_skipped_step_in_because_of_filters, 0, __pyx_n_s_notify_skipped_step_in_because_o, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__62)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1674, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_17notify_skipped_step_in_because_of_filters, 0, __pyx_n_s_notify_skipped_step_in_because_o, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1674, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_d, __pyx_n_s_notify_skipped_step_in_because_o, __pyx_t_2) < 0) __PYX_ERR(0, 1674, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48507,7 +48537,7 @@ if (!__Pyx_RefNanny) { * return self.method_object * # ELSE */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_5get_method_object, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_SafeCallWrapper_get_method_objec, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1700, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_5get_method_object, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_SafeCallWrapper_get_method_objec, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__64)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1700, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_n_s_get_method_object, __pyx_t_2) < 0) __PYX_ERR(0, 1700, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48518,7 +48548,7 @@ if (!__Pyx_RefNanny) { * cdef tuple state * cdef object _dict */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_SafeCallWrapper___reduce_cython, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__64)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_SafeCallWrapper___reduce_cython, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__65)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_n_s_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48530,7 +48560,7 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_SafeCallWrapper__set_state(self, __pyx_state) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_SafeCallWrapper___setstate_cytho, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__65)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_15SafeCallWrapper_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_SafeCallWrapper___setstate_cytho, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__66)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_SafeCallWrapper, __pyx_n_s_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48543,7 +48573,7 @@ if (!__Pyx_RefNanny) { * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_19fix_top_level_trace_and_get_trace_func, 0, __pyx_n_s_fix_top_level_trace_and_get_trac, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__67)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1707, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_19fix_top_level_trace_and_get_trace_func, 0, __pyx_n_s_fix_top_level_trace_and_get_trac, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__68)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1707, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_d, __pyx_n_s_fix_top_level_trace_and_get_trac, __pyx_t_2) < 0) __PYX_ERR(0, 1707, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48555,7 +48585,7 @@ if (!__Pyx_RefNanny) { * thread_trace_func, apply_to_settrace = py_db.fix_top_level_trace_and_get_trace_func(py_db, frame) * if thread_trace_func is None: */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_21trace_dispatch, 0, __pyx_n_s_trace_dispatch, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__69)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_21trace_dispatch, 0, __pyx_n_s_trace_dispatch, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__70)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (PyDict_SetItem(__pyx_d, __pyx_n_s_trace_dispatch, __pyx_t_2) < 0) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48567,7 +48597,7 @@ if (!__Pyx_RefNanny) { * # Note that we ignore the frame as this tracing method should only be put in topmost frames already. * # print('trace_unhandled_exceptions', event, frame.f_code.co_name, frame.f_code.co_filename, frame.f_code.co_firstlineno) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_3trace_unhandled_exceptions, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__71)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1868, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_3trace_unhandled_exceptions, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__72)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1868, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_n_s_trace_unhandled_exceptions, __pyx_t_2) < 0) __PYX_ERR(0, 1868, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48580,7 +48610,7 @@ if (!__Pyx_RefNanny) { * return self.trace_unhandled_exceptions * */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5get_trace_dispatch_func, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_3, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__72)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1882, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_5get_trace_dispatch_func, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_3, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__73)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1882, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_n_s_get_trace_dispatch_func, __pyx_t_2) < 0) __PYX_ERR(0, 1882, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48591,7 +48621,7 @@ if (!__Pyx_RefNanny) { * cdef tuple state * cdef object _dict */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_4, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__73)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_4, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__74)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_n_s_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48603,7 +48633,7 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions__set_state(self, __pyx_state) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_5, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__74)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_43TopLevelThreadTracerOnlyUnhandledExceptions_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerOnlyUnhandle_5, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__75)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerOnlyUnhandledExceptions, __pyx_n_s_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48616,7 +48646,7 @@ if (!__Pyx_RefNanny) { * # DEBUG = 'code_to_debug' in frame.f_code.co_filename * # if DEBUG: print('trace_dispatch_and_unhandled_exceptions: %s %s %s %s %s %s' % (event, frame.f_code.co_name, frame.f_code.co_filename, frame.f_code.co_firstlineno, self._frame_trace_dispatch, frame.f_lineno)) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_3trace_dispatch_and_unhandled_exceptions, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__76)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1926, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_3trace_dispatch_and_unhandled_exceptions, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__77)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1926, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_n_s_trace_dispatch_and_unhandled_exc, __pyx_t_2) < 0) __PYX_ERR(0, 1926, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48629,7 +48659,7 @@ if (!__Pyx_RefNanny) { * return self.trace_dispatch_and_unhandled_exceptions * */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5get_trace_dispatch_func, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_3, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__77)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1961, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_5get_trace_dispatch_func, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_3, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__78)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1961, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_n_s_get_trace_dispatch_func, __pyx_t_2) < 0) __PYX_ERR(0, 1961, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48640,7 +48670,7 @@ if (!__Pyx_RefNanny) { * cdef tuple state * cdef object _dict */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_4, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__78)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_7__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_4, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__79)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_n_s_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48652,7 +48682,7 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_TopLevelThreadTracerNoBackFrame__set_state(self, __pyx_state) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_5, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__79)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31TopLevelThreadTracerNoBackFrame_9__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TopLevelThreadTracerNoBackFrame_5, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__80)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_TopLevelThreadTracerNoBackFrame, __pyx_n_s_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48663,7 +48693,7 @@ if (!__Pyx_RefNanny) { * cdef tuple state * cdef object _dict */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadTracer___reduce_cython, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__80)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_5__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadTracer___reduce_cython, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__81)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_n_s_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48675,7 +48705,7 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_ThreadTracer__set_state(self, __pyx_state) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadTracer___setstate_cython, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__81)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) + __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_12ThreadTracer_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadTracer___setstate_cython, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__82)); if (unlikely(!__pyx_t_2)) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_14_pydevd_bundle_13pydevd_cython_ThreadTracer, __pyx_n_s_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(2, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; @@ -48734,7 +48764,7 @@ if (!__Pyx_RefNanny) { * constructed_tid_to_last_frame[self._args[1].ident] = frame * return _original_call(self, frame, event, arg) */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_23__call__, 0, __pyx_n_s_call_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__82)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2166, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_23__call__, 0, __pyx_n_s_call_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__83)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2166, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_call_2, __pyx_t_3) < 0) __PYX_ERR(0, 2166, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48779,7 +48809,7 @@ if (!__Pyx_RefNanny) { * def fix_top_level_trace_and_get_trace_func(*args, **kwargs): # <<<<<<<<<<<<<< * raise RuntimeError("Not used in sys.monitoring mode.") */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_25fix_top_level_trace_and_get_trace_func, 0, __pyx_n_s_fix_top_level_trace_and_get_trac, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__83)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2174, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_25fix_top_level_trace_and_get_trace_func, 0, __pyx_n_s_fix_top_level_trace_and_get_trac, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__84)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 2174, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_fix_top_level_trace_and_get_trac, __pyx_t_3) < 0) __PYX_ERR(0, 2174, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48798,7 +48828,7 @@ if (!__Pyx_RefNanny) { * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_27__pyx_unpickle_PyDBAdditionalThreadInfo, 0, __pyx_n_s_pyx_unpickle_PyDBAdditionalThr, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__85)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_27__pyx_unpickle_PyDBAdditionalThreadInfo, 0, __pyx_n_s_pyx_unpickle_PyDBAdditionalThr, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__86)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_PyDBAdditionalThr, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48810,7 +48840,7 @@ if (!__Pyx_RefNanny) { * __pyx_result.conditional_breakpoint_exception = __pyx_state[0]; __pyx_result.is_in_wait_loop = __pyx_state[1]; __pyx_result.is_tracing = __pyx_state[2]; __pyx_result.pydev_call_from_jinja2 = __pyx_state[3]; __pyx_result.pydev_call_inside_jinja2 = __pyx_state[4]; __pyx_result.pydev_django_resolve_frame = __pyx_state[5]; __pyx_result.pydev_func_name = __pyx_state[6]; __pyx_result.pydev_message = __pyx_state[7]; __pyx_result.pydev_next_line = __pyx_state[8]; __pyx_result.pydev_notify_kill = __pyx_state[9]; __pyx_result.pydev_original_step_cmd = __pyx_state[10]; __pyx_result.pydev_smart_child_offset = __pyx_state[11]; __pyx_result.pydev_smart_parent_offset = __pyx_state[12]; __pyx_result.pydev_smart_step_into_variants = __pyx_state[13]; __pyx_result.pydev_smart_step_stop = __pyx_state[14]; __pyx_result.pydev_state = __pyx_state[15]; __pyx_result.pydev_step_cmd = __pyx_state[16]; __pyx_result.pydev_step_stop = __pyx_state[17]; __pyx_result.pydev_use_scoped_step_frame = __pyx_state[18]; __pyx_result.step_in_initial_location = __pyx_state[19]; __pyx_result.suspend_type = __pyx_state[20]; __pyx_result.suspended_at_unhandled = __pyx_state[21]; __pyx_result.target_id_to_smart_step_into_variant = __pyx_state[22]; __pyx_result.thread_tracer = __pyx_state[23]; __pyx_result.top_level_thread_tracer_no_back_frames = __pyx_state[24]; __pyx_result.top_level_thread_tracer_unhandled = __pyx_state[25]; __pyx_result.trace_suspend_type = __pyx_state[26]; __pyx_result.weak_thread = __pyx_state[27] * if len(__pyx_state) > 28 and hasattr(__pyx_result, '__dict__'): */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_29__pyx_unpickle__TryExceptContainerObj, 0, __pyx_n_s_pyx_unpickle__TryExceptContain, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__86)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_29__pyx_unpickle__TryExceptContainerObj, 0, __pyx_n_s_pyx_unpickle__TryExceptContain, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__87)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle__TryExceptContain, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48820,7 +48850,7 @@ if (!__Pyx_RefNanny) { * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31__pyx_unpickle_PyDBFrame, 0, __pyx_n_s_pyx_unpickle_PyDBFrame, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__87)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_31__pyx_unpickle_PyDBFrame, 0, __pyx_n_s_pyx_unpickle_PyDBFrame, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__88)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_PyDBFrame, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48832,7 +48862,7 @@ if (!__Pyx_RefNanny) { * __pyx_result._args = __pyx_state[0]; __pyx_result.exc_info = __pyx_state[1]; __pyx_result.should_skip = __pyx_state[2] * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_33__pyx_unpickle_SafeCallWrapper, 0, __pyx_n_s_pyx_unpickle_SafeCallWrapper, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__88)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_33__pyx_unpickle_SafeCallWrapper, 0, __pyx_n_s_pyx_unpickle_SafeCallWrapper, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__89)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_SafeCallWrapper, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48842,7 +48872,7 @@ if (!__Pyx_RefNanny) { * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_35__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, 0, __pyx_n_s_pyx_unpickle_TopLevelThreadTra, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__89)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_35__pyx_unpickle_TopLevelThreadTracerOnlyUnhandledExceptions, 0, __pyx_n_s_pyx_unpickle_TopLevelThreadTra, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__90)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_TopLevelThreadTra, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48854,7 +48884,7 @@ if (!__Pyx_RefNanny) { * __pyx_result._args = __pyx_state[0] * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_37__pyx_unpickle_TopLevelThreadTracerNoBackFrame, 0, __pyx_n_s_pyx_unpickle_TopLevelThreadTra_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__90)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_37__pyx_unpickle_TopLevelThreadTracerNoBackFrame, 0, __pyx_n_s_pyx_unpickle_TopLevelThreadTra_2, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__91)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_TopLevelThreadTra_2, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -48864,7 +48894,7 @@ if (!__Pyx_RefNanny) { * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_39__pyx_unpickle_ThreadTracer, 0, __pyx_n_s_pyx_unpickle_ThreadTracer, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__91)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_14_pydevd_bundle_13pydevd_cython_39__pyx_unpickle_ThreadTracer, 0, __pyx_n_s_pyx_unpickle_ThreadTracer, NULL, __pyx_n_s_pydevd_bundle_pydevd_cython, __pyx_d, ((PyObject *)__pyx_codeobj__92)); if (unlikely(!__pyx_t_3)) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ThreadTracer, __pyx_t_3) < 0) __PYX_ERR(2, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.pyx b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.pyx index 135d91b73e..2f6bc92948 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.pyx +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_cython.pyx @@ -1374,12 +1374,12 @@ cdef class PyDBFrame: # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) -def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info): +def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): cdef bint should_stop; cdef bint was_just_raised; cdef list check_excs; # ELSE -# def should_stop_on_exception(py_db, info, frame, thread, arg, prev_user_uncaught_exc_info): +# def should_stop_on_exception(py_db, info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # ENDIF should_stop = False @@ -1396,7 +1396,7 @@ def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread exception_breakpoint = None try: if py_db.plugin is not None: - result = py_db.plugin.exception_break(py_db, frame, thread, arg) + result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) if result: should_stop, frame = result except: diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_dont_trace_files.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_dont_trace_files.py index 1a64c83abc..7fe1981651 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_dont_trace_files.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_dont_trace_files.py @@ -30,6 +30,7 @@ 'inputhookpyglet.py', 'inputhookqt4.py', 'inputhookqt5.py', + 'inputhookqt6.py', 'inputhooktk.py', 'inputhookwx.py', 'matplotlibtools.py', diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame.py index 21241eedfd..7371380d3b 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame.py @@ -1053,12 +1053,12 @@ def trace_dispatch(self, frame, event, arg): # IFDEF CYTHON -# def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info): +# def should_stop_on_exception(py_db, PyDBAdditionalThreadInfo info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # cdef bint should_stop; # cdef bint was_just_raised; # cdef list check_excs; # ELSE -def should_stop_on_exception(py_db, info, frame, thread, arg, prev_user_uncaught_exc_info): +def should_stop_on_exception(py_db, info, frame, thread, arg, prev_user_uncaught_exc_info, is_unwind=False): # ENDIF should_stop = False @@ -1075,7 +1075,7 @@ def should_stop_on_exception(py_db, info, frame, thread, arg, prev_user_uncaught exception_breakpoint = None try: if py_db.plugin is not None: - result = py_db.plugin.exception_break(py_db, frame, thread, arg) + result = py_db.plugin.exception_break(py_db, frame, thread, arg, is_unwind) if result: should_stop, frame = result except: diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame_utils.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame_utils.py index b282f093d6..12048b285d 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame_utils.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_frame_utils.py @@ -2,6 +2,7 @@ from _pydev_bundle import pydev_log import itertools from typing import Any, Dict +from os.path import basename, splitext class Frame(object): @@ -42,8 +43,32 @@ def remove_exception_from_frame(frame): def just_raised(trace): if trace is None: return False + return trace.tb_next is None +def short_tb(exc_tb): + traceback = [] + while exc_tb: + traceback.append('{%r, %r, %r}' % (exc_tb.tb_frame.f_code.co_filename, + exc_tb.tb_frame.f_code.co_name, + exc_tb.tb_lineno)) + exc_tb = exc_tb.tb_next + return 'Traceback: %s\n' % (' -> '.join(traceback)) + +def short_frame(frame): + if frame is None: + return 'None' + + filename = frame.f_code.co_filename + name = splitext(basename(filename))[0] + return '%s::%s %s' % (name, frame.f_code.co_name, frame.f_lineno) + +def short_stack(frame): + stack = [] + while frame: + stack.append(short_frame(frame)) + frame = frame.f_back + return 'Stack: %s\n' % (' -> '.join(stack)) def ignore_exception_trace(trace): while trace is not None: diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_plugin_utils.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_plugin_utils.py index 71b526896b..df1f50c18c 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_plugin_utils.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_plugin_utils.py @@ -191,9 +191,9 @@ def suspend(self, py_db, thread, frame, bp_type): return None - def exception_break(self, py_db, frame, thread, arg): + def exception_break(self, py_db, frame, thread, arg, is_unwind=False): for plugin in self.active_plugins: - ret = plugin.exception_break(py_db, frame, thread, arg) + ret = plugin.exception_break(py_db, frame, thread, arg, is_unwind) if ret is not None: return ret diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_process_net_command_json.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_process_net_command_json.py index 9b51fcf9e7..9e11819878 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_process_net_command_json.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_process_net_command_json.py @@ -765,6 +765,7 @@ def on_setfunctionbreakpoints_request(self, py_db, request): expression = None breakpoints_set = [] + arguments.breakpoints = arguments.breakpoints or [] for bp in arguments.breakpoints: hit_condition = self._get_hit_condition_expression(bp.get("hitCondition")) condition = bp.get("condition") @@ -805,7 +806,7 @@ def on_setbreakpoints_request(self, py_db, request): btype = "jinja2-line" breakpoints_set = [] - + arguments.breakpoints = arguments.breakpoints or [] for source_breakpoint in arguments.breakpoints: source_breakpoint = SourceBreakpoint(**source_breakpoint) line = source_breakpoint.line diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_safe_repr.py b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_safe_repr.py index bbb1b0befa..df5e8f4a03 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_safe_repr.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_bundle/pydevd_safe_repr.py @@ -20,7 +20,7 @@ class SafeRepr(object): # most level, and truncated to maxstring_inner characters inside # collections. maxstring_outer = 2**16 - maxstring_inner = 30 + maxstring_inner = 128 string_types = (str, bytes) bytes = bytes set_info = (set, "{", "}", False) @@ -30,7 +30,7 @@ class SafeRepr(object): # Collection types are recursively iterated for each limit in # maxcollection. - maxcollection = (15, 10) + maxcollection = (60, 20) # Specifies type, prefix string, suffix string, and whether to include a # comma if there is only one element. (Using a sequence rather than a @@ -61,7 +61,7 @@ class SafeRepr(object): # All other types are treated identically to strings, but using # different limits. maxother_outer = 2**16 - maxother_inner = 30 + maxother_inner = 128 convert_to_hex = False raw_value = False diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py b/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py index 59c9fa84d4..c04916d4f1 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py @@ -32,6 +32,8 @@ from _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception from _pydevd_bundle.pydevd_utils import get_clsname_for_code +from _pydevd_bundle.pydevd_dont_trace_files import PYDEV_FILE + # fmt: off # IFDEF CYTHON @@ -168,7 +170,6 @@ def _get_bootstrap_frame(depth: int) -> Tuple[Optional[FrameType], bool]: return f_bootstrap, is_bootstrap_frame_internal - # fmt: off # IFDEF CYTHON # cdef _get_unhandled_exception_frame(int depth): @@ -177,10 +178,19 @@ def _get_unhandled_exception_frame(depth: int) -> Optional[FrameType]: # ENDIF # fmt: on try: - return _thread_local_info.f_unhandled + result = _thread_local_info.f_unhandled + + # Make sure the result is from the same exception. That means the result is in the stack somewhere. + if result is not None: + orig = frame = _getframe(depth) + while result != frame and frame is not None: + frame = frame.f_back + if frame is not None: + return result + del _thread_local_info.f_unhandled + raise AttributeError("Unhandled frame from different exception") except: - frame = _getframe(depth) - f_unhandled = frame + f_unhandled = _getframe(depth) while f_unhandled is not None and f_unhandled.f_back is not None: f_back = f_unhandled.f_back @@ -205,6 +215,14 @@ def _get_unhandled_exception_frame(depth: int) -> Optional[FrameType]: if f_back.f_code.co_name.startswith(("run", "_run")): break + elif name == "": + if f_back.f_code.co_name.startswith(("run", "_run")): + break + + elif name == "runpy": + if f_back.f_code.co_name.startswith(("run", "_run")): + break + f_unhandled = f_back if f_unhandled is not None: @@ -631,6 +649,7 @@ def _enable_line_tracing(code): # ENDIF # fmt: on # print('enable line tracing', code) + _ensure_monitoring() events = monitor.get_local_events(DEBUGGER_ID, code) monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) @@ -643,6 +662,7 @@ def _enable_return_tracing(code): # ENDIF # fmt: on # print('enable return tracing', code) + _ensure_monitoring() events = monitor.get_local_events(DEBUGGER_ID, code) monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) @@ -654,6 +674,7 @@ def _enable_return_tracing(code): def disable_code_tracing(code): # ENDIF # fmt: on + _ensure_monitoring() monitor.set_local_events(DEBUGGER_ID, code, 0) @@ -810,6 +831,7 @@ def _unwind_event(code, instruction, exc): if thread_info is None: return + py_db: object = GlobalDebuggerHolder.global_dbg if py_db is None or py_db.pydb_disposed: return @@ -831,9 +853,10 @@ def _unwind_event(code, instruction, exc): py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks ) + if has_caught_exception_breakpoint_in_pydb: _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( - py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True ) if user_uncaught_exc_info: # TODO: Check: this may no longer be needed as in the unwind we know it's @@ -842,16 +865,17 @@ def _unwind_event(code, instruction, exc): container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code)) func_code_info.try_except_container_obj = container_obj - if is_unhandled_exception( + is_unhandled = is_unhandled_exception( func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] - ): - # print('stop in user uncaught') + ) + + if is_unhandled: handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) return break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions if break_on_uncaught_exceptions: - if frame is _get_unhandled_exception_frame(depth=1): + if frame is _get_unhandled_exception_frame(1): stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) return @@ -881,7 +905,7 @@ def _raise_event(code, instruction, exc): thread_info = _get_thread_info(True, 1) if thread_info is None: return - + py_db: object = GlobalDebuggerHolder.global_dbg if py_db is None or py_db.pydb_disposed: return @@ -895,17 +919,22 @@ def _raise_event(code, instruction, exc): if func_code_info.always_skip_code: return - # print('_raise_event --- ', code, exc) - frame = _getframe(1) arg = (type(exc), exc, exc.__traceback__) + + # Compute the previous exception info (if any). We use it to check if the exception + # should be stopped + prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( - py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info ) + + # Save the current exception info for the next raise event. + _thread_local_info._user_uncaught_exc_info = _user_uncaught_exc_info + # print('!!!! should_stop (in raise)', should_stop) if should_stop: handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) - return # fmt: off @@ -1307,6 +1336,10 @@ def _jump_event(code, from_offset, to_offset): if py_db is None or py_db.pydb_disposed: return monitor.DISABLE + # If we get another jump event, remove the extra check for the line event + if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + del _thread_local_info.f_disable_next_line_if_match + if not thread_info.trace or thread_info.thread._is_stopped: # For thread-related stuff we can't disable the code tracing because other # threads may still want it... @@ -1325,7 +1358,6 @@ def _jump_event(code, from_offset, to_offset): from_line = func_code_info.get_line_of_offset(from_offset) to_line = func_code_info.get_line_of_offset(to_offset) - # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line) if from_line != to_line: # I.e.: use case: "yield from [j for j in a if j % 2 == 0]" @@ -1333,6 +1365,10 @@ def _jump_event(code, from_offset, to_offset): # We know the frame depth. frame = _getframe(1) + + # Disable the next line event as we're jumping to a line. The line event will be redundant. + _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno) + return _internal_line_event(func_code_info, frame, frame.f_lineno) @@ -1360,6 +1396,15 @@ def _line_event(code, line): if py_db is None or py_db.pydb_disposed: return monitor.DISABLE + # If we get another line event, remove the extra check for the line event + if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + del _thread_local_info.f_disable_next_line_if_match + if line_to_skip is line and co_filename == code.co_filename: + # The last jump already jumped to this line and we haven't had any + # line events or jumps since then. We don't want to consider this line twice + return + if not thread_info.trace or thread_info.thread._is_stopped: # For thread-related stuff we can't disable the code tracing because other # threads may still want it... @@ -1604,6 +1649,7 @@ def _start_method_event(code, instruction_offset): # threads may still want it... return + frame = _getframe(1) func_code_info = _get_func_code_info(code, frame) if func_code_info.always_skip_code: @@ -1651,6 +1697,19 @@ def _start_method_event(code, instruction_offset): return monitor.DISABLE +# fmt: off +# IFDEF CYTHON +# cpdef _ensure_monitoring(): +# ELSE +def _ensure_monitoring(): +# ENDIF +# fmt: on + DEBUGGER_ID = monitor.DEBUGGER_ID + if not monitor.get_tool(DEBUGGER_ID): + monitor.use_tool_id(DEBUGGER_ID, "pydevd") + update_monitor_events() + restart_events() + # fmt: off # IFDEF CYTHON diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c b/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c index 68b8a077c4..a56474473e 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c @@ -1515,7 +1515,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info; struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_start_monitoring; struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_stop_monitoring; -/* "_pydevd_sys_monitoring_cython.pyx":114 +/* "_pydevd_sys_monitoring_cython.pyx":116 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * @cython.cfunc # <<<<<<<<<<<<<< @@ -1527,7 +1527,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe { PyObject *depth; }; -/* "_pydevd_sys_monitoring_cython.pyx":438 +/* "_pydevd_sys_monitoring_cython.pyx":456 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< @@ -1539,7 +1539,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info { PyObject *_cache; }; -/* "_pydevd_sys_monitoring_cython.pyx":1663 +/* "_pydevd_sys_monitoring_cython.pyx":1722 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< @@ -1551,7 +1551,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_start_monitoring { int all_threads; }; -/* "_pydevd_sys_monitoring_cython.pyx":1691 +/* "_pydevd_sys_monitoring_cython.pyx":1750 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< @@ -1602,7 +1602,7 @@ struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":225 +/* "_pydevd_sys_monitoring_cython.pyx":243 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class ThreadInfo: # <<<<<<<<<<<<<< @@ -1618,7 +1618,7 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":333 +/* "_pydevd_sys_monitoring_cython.pyx":351 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class FuncCodeInfo: # <<<<<<<<<<<<<< @@ -1649,7 +1649,7 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo { }; -/* "_pydevd_sys_monitoring_cython.pyx":780 +/* "_pydevd_sys_monitoring_cython.pyx":801 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef class _TryExceptContainerObj: # <<<<<<<<<<<<<< @@ -2253,6 +2253,9 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr #define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v) #endif +/* RaiseException.proto */ +static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); + /* ArgTypeTest.proto */ #define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\ ((likely(__Pyx_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) ? 1 :\ @@ -2288,9 +2291,6 @@ static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); /* PyObjectCallNoArg.proto */ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func); -/* RaiseException.proto */ -static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); - /* PyObjectCallOneArg.proto */ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg); @@ -2382,6 +2382,12 @@ static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* s return unlikely(result < 0) ? result : (result == (eq == Py_EQ)); } +/* GetAttr.proto */ +static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *); + +/* HasAttr.proto */ +static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *); + /* SwapException.proto */ #if CYTHON_FAST_THREAD_STATE #define __Pyx_ExceptionSwap(type, value, tb) __Pyx__ExceptionSwap(__pyx_tstate, type, value, tb) @@ -2439,12 +2445,6 @@ static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level); /* ImportFrom.proto */ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); -/* GetAttr.proto */ -static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *); - -/* HasAttr.proto */ -static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *); - /* ValidateBasesTuple.proto */ #if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases); @@ -2652,6 +2652,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *, static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *, int); /*proto*/ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *, PyObject *, int); /*proto*/ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyObject *, PyObject *); /*proto*/ +static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(int __pyx_skip_dispatch); /*proto*/ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(int __pyx_skip_dispatch, struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_start_monitoring *__pyx_optional_args); /*proto*/ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(int __pyx_skip_dispatch, struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_stop_monitoring *__pyx_optional_args); /*proto*/ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, PyObject *, PyObject *); /*proto*/ @@ -2684,10 +2685,10 @@ static const char __pyx_k_os[] = "os"; static const char __pyx_k_re[] = "re"; static const char __pyx_k_ALL[] = "ALL"; static const char __pyx_k_Any[] = "Any"; -static const char __pyx_k__14[] = ""; -static const char __pyx_k__17[] = "?"; -static const char __pyx_k__19[] = "."; -static const char __pyx_k__22[] = "*"; +static const char __pyx_k__15[] = ""; +static const char __pyx_k__18[] = "?"; +static const char __pyx_k__20[] = "."; +static const char __pyx_k__23[] = "*"; static const char __pyx_k_arg[] = "arg"; static const char __pyx_k_del[] = "__del__"; static const char __pyx_k_dis[] = "dis"; @@ -2736,6 +2737,7 @@ static const char __pyx_k_local[] = "local"; static const char __pyx_k_mtime[] = "mtime"; static const char __pyx_k_py_db[] = "py_db"; static const char __pyx_k_run_2[] = "_run"; +static const char __pyx_k_runpy[] = "runpy"; static const char __pyx_k_s_s_2[] = "%s.%s"; static const char __pyx_k_start[] = "start"; static const char __pyx_k_state[] = "state"; @@ -2807,6 +2809,7 @@ static const char __pyx_k_bootstrap[] = "__bootstrap"; static const char __pyx_k_enumerate[] = "enumerate"; static const char __pyx_k_exception[] = "exception"; static const char __pyx_k_get_ident[] = "_get_ident"; +static const char __pyx_k_is_unwind[] = "is_unwind"; static const char __pyx_k_isenabled[] = "isenabled"; static const char __pyx_k_metaclass[] = "__metaclass__"; static const char __pyx_k_pydev_log[] = "pydev_log"; @@ -2816,6 +2819,7 @@ static const char __pyx_k_reduce_ex[] = "__reduce_ex__"; static const char __pyx_k_threading[] = "threading"; static const char __pyx_k_to_offset[] = "to_offset"; static const char __pyx_k_traceback[] = "__traceback__"; +static const char __pyx_k_PYDEV_FILE[] = "PYDEV_FILE"; static const char __pyx_k_ThreadInfo[] = "ThreadInfo"; static const char __pyx_k_expression[] = "expression"; static const char __pyx_k_global_dbg[] = "global_dbg"; @@ -2857,6 +2861,7 @@ static const char __pyx_k_ForkSafeLock[] = "ForkSafeLock"; static const char __pyx_k_FuncCodeInfo[] = "FuncCodeInfo"; static const char __pyx_k_dummy_thread[] = "dummy_thread"; static const char __pyx_k_free_tool_id[] = "free_tool_id"; +static const char __pyx_k_frozen_runpy[] = ""; static const char __pyx_k_initializing[] = "_initializing"; static const char __pyx_k_is_coroutine[] = "_is_coroutine"; static const char __pyx_k_pydev_bundle[] = "_pydev_bundle"; @@ -2916,6 +2921,7 @@ static const char __pyx_k_active_limbo_lock[] = "_active_limbo_lock"; static const char __pyx_k_bootstrap_inner_2[] = "_bootstrap_inner"; static const char __pyx_k_children_variants[] = "children_variants"; static const char __pyx_k_do_wait_suspend_2[] = "do_wait_suspend"; +static const char __pyx_k_ensure_monitoring[] = "_ensure_monitoring"; static const char __pyx_k_original_step_cmd[] = "original_step_cmd"; static const char __pyx_k_pydev_execfile_py[] = "_pydev_execfile.py"; static const char __pyx_k_pydevd_dont_trace[] = "pydevd_dont_trace"; @@ -2954,6 +2960,7 @@ static const char __pyx_k_has_plugin_line_breaks[] = "has_plugin_line_breaks"; static const char __pyx_k_is_pydev_daemon_thread[] = "is_pydev_daemon_thread"; static const char __pyx_k_is_unhandled_exception[] = "is_unhandled_exception"; static const char __pyx_k_track_dummy_thread_ref[] = "_track_dummy_thread_ref"; +static const char __pyx_k_user_uncaught_exc_info[] = "_user_uncaught_exc_info"; static const char __pyx_k_CMD_STEP_INTO_COROUTINE[] = "CMD_STEP_INTO_COROUTINE"; static const char __pyx_k_CMD_STEP_RETURN_MY_CODE[] = "CMD_STEP_RETURN_MY_CODE"; static const char __pyx_k_collect_try_except_info[] = "collect_try_except_info"; @@ -2978,6 +2985,7 @@ static const char __pyx_k_FuncCodeInfo___reduce_cython[] = "FuncCodeInfo.__reduc static const char __pyx_k_ThreadInfo___setstate_cython[] = "ThreadInfo.__setstate_cython__"; static const char __pyx_k_break_on_uncaught_exceptions[] = "break_on_uncaught_exceptions"; static const char __pyx_k_code_to_func_code_info_cache[] = "_code_to_func_code_info_cache"; +static const char __pyx_k_f_disable_next_line_if_match[] = "f_disable_next_line_if_match"; static const char __pyx_k_handle_breakpoint_expression[] = "handle_breakpoint_expression"; static const char __pyx_k_pydevd_sys_monitoring_cython[] = "_pydevd_sys_monitoring_cython"; static const char __pyx_k_DeleteDummyThreadOnDel___init[] = "_DeleteDummyThreadOnDel.__init__"; @@ -3001,11 +3009,13 @@ static const char __pyx_k_has_caught_exception_breakpoint[] = "has_caught_except static const char __pyx_k_pydev_bundle__pydev_saved_modul[] = "_pydev_bundle._pydev_saved_modules"; static const char __pyx_k_pydevd_bundle_pydevd_breakpoint[] = "_pydevd_bundle.pydevd_breakpoints"; static const char __pyx_k_pydevd_bundle_pydevd_bytecode_u[] = "_pydevd_bundle.pydevd_bytecode_utils"; +static const char __pyx_k_pydevd_bundle_pydevd_dont_trace[] = "_pydevd_bundle.pydevd_dont_trace_files"; static const char __pyx_k_pydevd_bundle_pydevd_trace_disp[] = "_pydevd_bundle.pydevd_trace_dispatch"; static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\_pydevd_sys_monitoring_cython.pyx"; static const char __pyx_k_set_trace_for_frame_and_parents[] = "set_trace_for_frame_and_parents"; static const char __pyx_k_Incompatible_checksums_0x_x_vs_0[] = "Incompatible checksums (0x%x vs (0xd625bfa, 0xfdc1f18, 0x57c379d) = (additional_info, thread, thread_ident, trace))"; static const char __pyx_k_Pyx_CFunc_4904d5__29_pydevd_sy_2[] = "__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval..wrap"; +static const char __pyx_k_Unhandled_frame_from_different_e[] = "Unhandled frame from different exception"; static const char __pyx_k_break_on_user_uncaught_exception[] = "break_on_user_uncaught_exceptions"; static const char __pyx_k_function_breakpoint_name_to_brea[] = "function_breakpoint_name_to_breakpoint"; static const char __pyx_k_get_smart_step_into_variant_from[] = "get_smart_step_into_variant_from_frame_offset"; @@ -3036,14 +3046,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(C static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___init__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *__pyx_v_self, PyObject *__pyx_v_try_except_infos); /* proto */ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_2__reduce_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *__pyx_v_self); /* proto */ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_4__setstate_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *__pyx_v_self, PyObject *__pyx_v___pyx_state); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8start_monitoring(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_all_threads); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10stop_monitoring(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_all_threads); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_events(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_suspend_requested); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14restart_events(CYTHON_UNUSED PyObject *__pyx_self); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_thread_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_event, PyObject *__pyx_v_arg); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18__pyx_unpickle_ThreadInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_FuncCodeInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle__TryExceptContainerObj(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8_ensure_monitoring(CYTHON_UNUSED PyObject *__pyx_self); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10start_monitoring(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_all_threads); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12stop_monitoring(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_all_threads); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_events(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_suspend_requested); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16restart_events(CYTHON_UNUSED PyObject *__pyx_self); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18_do_wait_suspend(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_thread_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_event, PyObject *__pyx_v_arg); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_ThreadInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncCodeInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__TryExceptContainerObj(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__TryExceptContainerObj(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ @@ -3154,6 +3165,7 @@ typedef struct { PyObject *__pyx_n_s_Optional; PyObject *__pyx_kp_s_Optional_bool; PyObject *__pyx_n_s_PYDEVD_IPYTHON_CONTEXT; + PyObject *__pyx_n_s_PYDEV_FILE; PyObject *__pyx_n_s_PYTHON_SUSPEND; PyObject *__pyx_n_s_PY_RESUME; PyObject *__pyx_n_s_PY_RETURN; @@ -3179,10 +3191,11 @@ typedef struct { PyObject *__pyx_n_s_TryExceptContainerObj___reduce; PyObject *__pyx_n_s_TryExceptContainerObj___setstat; PyObject *__pyx_n_s_Tuple; - PyObject *__pyx_kp_s__14; - PyObject *__pyx_kp_s__17; - PyObject *__pyx_kp_u__19; - PyObject *__pyx_n_s__22; + PyObject *__pyx_kp_s_Unhandled_frame_from_different_e; + PyObject *__pyx_kp_s__15; + PyObject *__pyx_kp_s__18; + PyObject *__pyx_kp_u__20; + PyObject *__pyx_n_s__23; PyObject *__pyx_n_s_active; PyObject *__pyx_n_s_active_limbo_lock; PyObject *__pyx_n_s_add_command; @@ -3238,6 +3251,7 @@ typedef struct { PyObject *__pyx_n_s_enable_code_tracing; PyObject *__pyx_n_s_end; PyObject *__pyx_n_s_endswith; + PyObject *__pyx_n_s_ensure_monitoring; PyObject *__pyx_n_s_enter; PyObject *__pyx_n_s_enumerate; PyObject *__pyx_n_s_event; @@ -3251,6 +3265,7 @@ typedef struct { PyObject *__pyx_n_s_f_back; PyObject *__pyx_n_s_f_bootstrap; PyObject *__pyx_n_s_f_code; + PyObject *__pyx_n_s_f_disable_next_line_if_match; PyObject *__pyx_n_s_f_lasti; PyObject *__pyx_n_s_f_lineno; PyObject *__pyx_n_s_f_locals; @@ -3261,6 +3276,7 @@ typedef struct { PyObject *__pyx_n_s_frame_or_depth; PyObject *__pyx_n_s_free_tool_id; PyObject *__pyx_n_s_from_offset; + PyObject *__pyx_kp_s_frozen_runpy; PyObject *__pyx_n_s_function_breakpoint_name_to_brea; PyObject *__pyx_kp_u_gc; PyObject *__pyx_n_s_get; @@ -3306,6 +3322,7 @@ typedef struct { PyObject *__pyx_n_s_is_stopped; PyObject *__pyx_n_s_is_tracked_frame; PyObject *__pyx_n_s_is_unhandled_exception; + PyObject *__pyx_n_s_is_unwind; PyObject *__pyx_kp_u_isenabled; PyObject *__pyx_n_s_items; PyObject *__pyx_n_s_kwargs; @@ -3354,6 +3371,7 @@ typedef struct { PyObject *__pyx_n_s_pydevd_bundle_pydevd_breakpoint; PyObject *__pyx_n_s_pydevd_bundle_pydevd_bytecode_u; PyObject *__pyx_n_s_pydevd_bundle_pydevd_constants; + PyObject *__pyx_n_s_pydevd_bundle_pydevd_dont_trace; PyObject *__pyx_n_s_pydevd_bundle_pydevd_trace_disp; PyObject *__pyx_n_s_pydevd_bundle_pydevd_utils; PyObject *__pyx_n_s_pydevd_dont_trace; @@ -3389,6 +3407,7 @@ typedef struct { PyObject *__pyx_n_s_retval; PyObject *__pyx_n_s_run; PyObject *__pyx_n_s_run_2; + PyObject *__pyx_n_s_runpy; PyObject *__pyx_kp_s_s_s; PyObject *__pyx_kp_s_s_s_2; PyObject *__pyx_n_s_self; @@ -3439,6 +3458,7 @@ typedef struct { PyObject *__pyx_n_s_update_monitor_events; PyObject *__pyx_n_s_use_setstate; PyObject *__pyx_n_s_use_tool_id; + PyObject *__pyx_n_s_user_uncaught_exc_info; PyObject *__pyx_n_s_values; PyObject *__pyx_n_s_wrap; PyObject *__pyx_n_s_writer; @@ -3465,65 +3485,67 @@ typedef struct { PyObject *__pyx_int_232881363; PyObject *__pyx_int_266084120; PyObject *__pyx_int_neg_1; - PyObject *__pyx_k__15; + PyObject *__pyx_k__16; PyObject *__pyx_tuple_; PyObject *__pyx_tuple__3; PyObject *__pyx_tuple__5; PyObject *__pyx_tuple__7; PyObject *__pyx_tuple__9; - PyObject *__pyx_slice__16; + PyObject *__pyx_slice__17; PyObject *__pyx_tuple__11; PyObject *__pyx_tuple__12; PyObject *__pyx_tuple__13; - PyObject *__pyx_tuple__18; - PyObject *__pyx_tuple__20; + PyObject *__pyx_tuple__14; + PyObject *__pyx_tuple__19; PyObject *__pyx_tuple__21; - PyObject *__pyx_tuple__23; - PyObject *__pyx_tuple__25; + PyObject *__pyx_tuple__22; + PyObject *__pyx_tuple__24; PyObject *__pyx_tuple__26; PyObject *__pyx_tuple__27; PyObject *__pyx_tuple__28; - PyObject *__pyx_tuple__30; - PyObject *__pyx_tuple__32; - PyObject *__pyx_tuple__34; - PyObject *__pyx_tuple__36; - PyObject *__pyx_tuple__40; + PyObject *__pyx_tuple__29; + PyObject *__pyx_tuple__31; + PyObject *__pyx_tuple__33; + PyObject *__pyx_tuple__35; + PyObject *__pyx_tuple__37; PyObject *__pyx_tuple__41; - PyObject *__pyx_tuple__43; - PyObject *__pyx_tuple__45; - PyObject *__pyx_tuple__49; + PyObject *__pyx_tuple__42; + PyObject *__pyx_tuple__44; + PyObject *__pyx_tuple__46; PyObject *__pyx_tuple__51; PyObject *__pyx_tuple__53; - PyObject *__pyx_tuple__54; + PyObject *__pyx_tuple__55; PyObject *__pyx_tuple__56; PyObject *__pyx_tuple__58; PyObject *__pyx_tuple__60; + PyObject *__pyx_tuple__62; PyObject *__pyx_codeobj__2; PyObject *__pyx_codeobj__4; PyObject *__pyx_codeobj__6; PyObject *__pyx_codeobj__8; PyObject *__pyx_codeobj__10; - PyObject *__pyx_codeobj__24; - PyObject *__pyx_codeobj__29; - PyObject *__pyx_codeobj__31; - PyObject *__pyx_codeobj__33; - PyObject *__pyx_codeobj__35; - PyObject *__pyx_codeobj__37; + PyObject *__pyx_codeobj__25; + PyObject *__pyx_codeobj__30; + PyObject *__pyx_codeobj__32; + PyObject *__pyx_codeobj__34; + PyObject *__pyx_codeobj__36; PyObject *__pyx_codeobj__38; PyObject *__pyx_codeobj__39; - PyObject *__pyx_codeobj__42; - PyObject *__pyx_codeobj__44; - PyObject *__pyx_codeobj__46; + PyObject *__pyx_codeobj__40; + PyObject *__pyx_codeobj__43; + PyObject *__pyx_codeobj__45; PyObject *__pyx_codeobj__47; PyObject *__pyx_codeobj__48; + PyObject *__pyx_codeobj__49; PyObject *__pyx_codeobj__50; PyObject *__pyx_codeobj__52; - PyObject *__pyx_codeobj__55; + PyObject *__pyx_codeobj__54; PyObject *__pyx_codeobj__57; PyObject *__pyx_codeobj__59; PyObject *__pyx_codeobj__61; - PyObject *__pyx_codeobj__62; PyObject *__pyx_codeobj__63; + PyObject *__pyx_codeobj__64; + PyObject *__pyx_codeobj__65; } __pyx_mstate; #if CYTHON_USE_MODULE_STATE @@ -3632,6 +3654,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_Optional); Py_CLEAR(clear_module_state->__pyx_kp_s_Optional_bool); Py_CLEAR(clear_module_state->__pyx_n_s_PYDEVD_IPYTHON_CONTEXT); + Py_CLEAR(clear_module_state->__pyx_n_s_PYDEV_FILE); Py_CLEAR(clear_module_state->__pyx_n_s_PYTHON_SUSPEND); Py_CLEAR(clear_module_state->__pyx_n_s_PY_RESUME); Py_CLEAR(clear_module_state->__pyx_n_s_PY_RETURN); @@ -3657,10 +3680,11 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_TryExceptContainerObj___reduce); Py_CLEAR(clear_module_state->__pyx_n_s_TryExceptContainerObj___setstat); Py_CLEAR(clear_module_state->__pyx_n_s_Tuple); - Py_CLEAR(clear_module_state->__pyx_kp_s__14); - Py_CLEAR(clear_module_state->__pyx_kp_s__17); - Py_CLEAR(clear_module_state->__pyx_kp_u__19); - Py_CLEAR(clear_module_state->__pyx_n_s__22); + Py_CLEAR(clear_module_state->__pyx_kp_s_Unhandled_frame_from_different_e); + Py_CLEAR(clear_module_state->__pyx_kp_s__15); + Py_CLEAR(clear_module_state->__pyx_kp_s__18); + Py_CLEAR(clear_module_state->__pyx_kp_u__20); + Py_CLEAR(clear_module_state->__pyx_n_s__23); Py_CLEAR(clear_module_state->__pyx_n_s_active); Py_CLEAR(clear_module_state->__pyx_n_s_active_limbo_lock); Py_CLEAR(clear_module_state->__pyx_n_s_add_command); @@ -3716,6 +3740,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_enable_code_tracing); Py_CLEAR(clear_module_state->__pyx_n_s_end); Py_CLEAR(clear_module_state->__pyx_n_s_endswith); + Py_CLEAR(clear_module_state->__pyx_n_s_ensure_monitoring); Py_CLEAR(clear_module_state->__pyx_n_s_enter); Py_CLEAR(clear_module_state->__pyx_n_s_enumerate); Py_CLEAR(clear_module_state->__pyx_n_s_event); @@ -3729,6 +3754,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_f_back); Py_CLEAR(clear_module_state->__pyx_n_s_f_bootstrap); Py_CLEAR(clear_module_state->__pyx_n_s_f_code); + Py_CLEAR(clear_module_state->__pyx_n_s_f_disable_next_line_if_match); Py_CLEAR(clear_module_state->__pyx_n_s_f_lasti); Py_CLEAR(clear_module_state->__pyx_n_s_f_lineno); Py_CLEAR(clear_module_state->__pyx_n_s_f_locals); @@ -3739,6 +3765,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_frame_or_depth); Py_CLEAR(clear_module_state->__pyx_n_s_free_tool_id); Py_CLEAR(clear_module_state->__pyx_n_s_from_offset); + Py_CLEAR(clear_module_state->__pyx_kp_s_frozen_runpy); Py_CLEAR(clear_module_state->__pyx_n_s_function_breakpoint_name_to_brea); Py_CLEAR(clear_module_state->__pyx_kp_u_gc); Py_CLEAR(clear_module_state->__pyx_n_s_get); @@ -3784,6 +3811,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_is_stopped); Py_CLEAR(clear_module_state->__pyx_n_s_is_tracked_frame); Py_CLEAR(clear_module_state->__pyx_n_s_is_unhandled_exception); + Py_CLEAR(clear_module_state->__pyx_n_s_is_unwind); Py_CLEAR(clear_module_state->__pyx_kp_u_isenabled); Py_CLEAR(clear_module_state->__pyx_n_s_items); Py_CLEAR(clear_module_state->__pyx_n_s_kwargs); @@ -3832,6 +3860,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_bundle_pydevd_breakpoint); Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_bundle_pydevd_bytecode_u); Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_bundle_pydevd_constants); + Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_bundle_pydevd_dont_trace); Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_bundle_pydevd_trace_disp); Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_bundle_pydevd_utils); Py_CLEAR(clear_module_state->__pyx_n_s_pydevd_dont_trace); @@ -3867,6 +3896,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_retval); Py_CLEAR(clear_module_state->__pyx_n_s_run); Py_CLEAR(clear_module_state->__pyx_n_s_run_2); + Py_CLEAR(clear_module_state->__pyx_n_s_runpy); Py_CLEAR(clear_module_state->__pyx_kp_s_s_s); Py_CLEAR(clear_module_state->__pyx_kp_s_s_s_2); Py_CLEAR(clear_module_state->__pyx_n_s_self); @@ -3917,6 +3947,7 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_update_monitor_events); Py_CLEAR(clear_module_state->__pyx_n_s_use_setstate); Py_CLEAR(clear_module_state->__pyx_n_s_use_tool_id); + Py_CLEAR(clear_module_state->__pyx_n_s_user_uncaught_exc_info); Py_CLEAR(clear_module_state->__pyx_n_s_values); Py_CLEAR(clear_module_state->__pyx_n_s_wrap); Py_CLEAR(clear_module_state->__pyx_n_s_writer); @@ -3943,65 +3974,67 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_int_232881363); Py_CLEAR(clear_module_state->__pyx_int_266084120); Py_CLEAR(clear_module_state->__pyx_int_neg_1); - Py_CLEAR(clear_module_state->__pyx_k__15); + Py_CLEAR(clear_module_state->__pyx_k__16); Py_CLEAR(clear_module_state->__pyx_tuple_); Py_CLEAR(clear_module_state->__pyx_tuple__3); Py_CLEAR(clear_module_state->__pyx_tuple__5); Py_CLEAR(clear_module_state->__pyx_tuple__7); Py_CLEAR(clear_module_state->__pyx_tuple__9); - Py_CLEAR(clear_module_state->__pyx_slice__16); + Py_CLEAR(clear_module_state->__pyx_slice__17); Py_CLEAR(clear_module_state->__pyx_tuple__11); Py_CLEAR(clear_module_state->__pyx_tuple__12); Py_CLEAR(clear_module_state->__pyx_tuple__13); - Py_CLEAR(clear_module_state->__pyx_tuple__18); - Py_CLEAR(clear_module_state->__pyx_tuple__20); + Py_CLEAR(clear_module_state->__pyx_tuple__14); + Py_CLEAR(clear_module_state->__pyx_tuple__19); Py_CLEAR(clear_module_state->__pyx_tuple__21); - Py_CLEAR(clear_module_state->__pyx_tuple__23); - Py_CLEAR(clear_module_state->__pyx_tuple__25); + Py_CLEAR(clear_module_state->__pyx_tuple__22); + Py_CLEAR(clear_module_state->__pyx_tuple__24); Py_CLEAR(clear_module_state->__pyx_tuple__26); Py_CLEAR(clear_module_state->__pyx_tuple__27); Py_CLEAR(clear_module_state->__pyx_tuple__28); - Py_CLEAR(clear_module_state->__pyx_tuple__30); - Py_CLEAR(clear_module_state->__pyx_tuple__32); - Py_CLEAR(clear_module_state->__pyx_tuple__34); - Py_CLEAR(clear_module_state->__pyx_tuple__36); - Py_CLEAR(clear_module_state->__pyx_tuple__40); + Py_CLEAR(clear_module_state->__pyx_tuple__29); + Py_CLEAR(clear_module_state->__pyx_tuple__31); + Py_CLEAR(clear_module_state->__pyx_tuple__33); + Py_CLEAR(clear_module_state->__pyx_tuple__35); + Py_CLEAR(clear_module_state->__pyx_tuple__37); Py_CLEAR(clear_module_state->__pyx_tuple__41); - Py_CLEAR(clear_module_state->__pyx_tuple__43); - Py_CLEAR(clear_module_state->__pyx_tuple__45); - Py_CLEAR(clear_module_state->__pyx_tuple__49); + Py_CLEAR(clear_module_state->__pyx_tuple__42); + Py_CLEAR(clear_module_state->__pyx_tuple__44); + Py_CLEAR(clear_module_state->__pyx_tuple__46); Py_CLEAR(clear_module_state->__pyx_tuple__51); Py_CLEAR(clear_module_state->__pyx_tuple__53); - Py_CLEAR(clear_module_state->__pyx_tuple__54); + Py_CLEAR(clear_module_state->__pyx_tuple__55); Py_CLEAR(clear_module_state->__pyx_tuple__56); Py_CLEAR(clear_module_state->__pyx_tuple__58); Py_CLEAR(clear_module_state->__pyx_tuple__60); + Py_CLEAR(clear_module_state->__pyx_tuple__62); Py_CLEAR(clear_module_state->__pyx_codeobj__2); Py_CLEAR(clear_module_state->__pyx_codeobj__4); Py_CLEAR(clear_module_state->__pyx_codeobj__6); Py_CLEAR(clear_module_state->__pyx_codeobj__8); Py_CLEAR(clear_module_state->__pyx_codeobj__10); - Py_CLEAR(clear_module_state->__pyx_codeobj__24); - Py_CLEAR(clear_module_state->__pyx_codeobj__29); - Py_CLEAR(clear_module_state->__pyx_codeobj__31); - Py_CLEAR(clear_module_state->__pyx_codeobj__33); - Py_CLEAR(clear_module_state->__pyx_codeobj__35); - Py_CLEAR(clear_module_state->__pyx_codeobj__37); + Py_CLEAR(clear_module_state->__pyx_codeobj__25); + Py_CLEAR(clear_module_state->__pyx_codeobj__30); + Py_CLEAR(clear_module_state->__pyx_codeobj__32); + Py_CLEAR(clear_module_state->__pyx_codeobj__34); + Py_CLEAR(clear_module_state->__pyx_codeobj__36); Py_CLEAR(clear_module_state->__pyx_codeobj__38); Py_CLEAR(clear_module_state->__pyx_codeobj__39); - Py_CLEAR(clear_module_state->__pyx_codeobj__42); - Py_CLEAR(clear_module_state->__pyx_codeobj__44); - Py_CLEAR(clear_module_state->__pyx_codeobj__46); + Py_CLEAR(clear_module_state->__pyx_codeobj__40); + Py_CLEAR(clear_module_state->__pyx_codeobj__43); + Py_CLEAR(clear_module_state->__pyx_codeobj__45); Py_CLEAR(clear_module_state->__pyx_codeobj__47); Py_CLEAR(clear_module_state->__pyx_codeobj__48); + Py_CLEAR(clear_module_state->__pyx_codeobj__49); Py_CLEAR(clear_module_state->__pyx_codeobj__50); Py_CLEAR(clear_module_state->__pyx_codeobj__52); - Py_CLEAR(clear_module_state->__pyx_codeobj__55); + Py_CLEAR(clear_module_state->__pyx_codeobj__54); Py_CLEAR(clear_module_state->__pyx_codeobj__57); Py_CLEAR(clear_module_state->__pyx_codeobj__59); Py_CLEAR(clear_module_state->__pyx_codeobj__61); - Py_CLEAR(clear_module_state->__pyx_codeobj__62); Py_CLEAR(clear_module_state->__pyx_codeobj__63); + Py_CLEAR(clear_module_state->__pyx_codeobj__64); + Py_CLEAR(clear_module_state->__pyx_codeobj__65); return 0; } #endif @@ -4088,6 +4121,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_Optional); Py_VISIT(traverse_module_state->__pyx_kp_s_Optional_bool); Py_VISIT(traverse_module_state->__pyx_n_s_PYDEVD_IPYTHON_CONTEXT); + Py_VISIT(traverse_module_state->__pyx_n_s_PYDEV_FILE); Py_VISIT(traverse_module_state->__pyx_n_s_PYTHON_SUSPEND); Py_VISIT(traverse_module_state->__pyx_n_s_PY_RESUME); Py_VISIT(traverse_module_state->__pyx_n_s_PY_RETURN); @@ -4113,10 +4147,11 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_TryExceptContainerObj___reduce); Py_VISIT(traverse_module_state->__pyx_n_s_TryExceptContainerObj___setstat); Py_VISIT(traverse_module_state->__pyx_n_s_Tuple); - Py_VISIT(traverse_module_state->__pyx_kp_s__14); - Py_VISIT(traverse_module_state->__pyx_kp_s__17); - Py_VISIT(traverse_module_state->__pyx_kp_u__19); - Py_VISIT(traverse_module_state->__pyx_n_s__22); + Py_VISIT(traverse_module_state->__pyx_kp_s_Unhandled_frame_from_different_e); + Py_VISIT(traverse_module_state->__pyx_kp_s__15); + Py_VISIT(traverse_module_state->__pyx_kp_s__18); + Py_VISIT(traverse_module_state->__pyx_kp_u__20); + Py_VISIT(traverse_module_state->__pyx_n_s__23); Py_VISIT(traverse_module_state->__pyx_n_s_active); Py_VISIT(traverse_module_state->__pyx_n_s_active_limbo_lock); Py_VISIT(traverse_module_state->__pyx_n_s_add_command); @@ -4172,6 +4207,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_enable_code_tracing); Py_VISIT(traverse_module_state->__pyx_n_s_end); Py_VISIT(traverse_module_state->__pyx_n_s_endswith); + Py_VISIT(traverse_module_state->__pyx_n_s_ensure_monitoring); Py_VISIT(traverse_module_state->__pyx_n_s_enter); Py_VISIT(traverse_module_state->__pyx_n_s_enumerate); Py_VISIT(traverse_module_state->__pyx_n_s_event); @@ -4185,6 +4221,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_f_back); Py_VISIT(traverse_module_state->__pyx_n_s_f_bootstrap); Py_VISIT(traverse_module_state->__pyx_n_s_f_code); + Py_VISIT(traverse_module_state->__pyx_n_s_f_disable_next_line_if_match); Py_VISIT(traverse_module_state->__pyx_n_s_f_lasti); Py_VISIT(traverse_module_state->__pyx_n_s_f_lineno); Py_VISIT(traverse_module_state->__pyx_n_s_f_locals); @@ -4195,6 +4232,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_frame_or_depth); Py_VISIT(traverse_module_state->__pyx_n_s_free_tool_id); Py_VISIT(traverse_module_state->__pyx_n_s_from_offset); + Py_VISIT(traverse_module_state->__pyx_kp_s_frozen_runpy); Py_VISIT(traverse_module_state->__pyx_n_s_function_breakpoint_name_to_brea); Py_VISIT(traverse_module_state->__pyx_kp_u_gc); Py_VISIT(traverse_module_state->__pyx_n_s_get); @@ -4240,6 +4278,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_is_stopped); Py_VISIT(traverse_module_state->__pyx_n_s_is_tracked_frame); Py_VISIT(traverse_module_state->__pyx_n_s_is_unhandled_exception); + Py_VISIT(traverse_module_state->__pyx_n_s_is_unwind); Py_VISIT(traverse_module_state->__pyx_kp_u_isenabled); Py_VISIT(traverse_module_state->__pyx_n_s_items); Py_VISIT(traverse_module_state->__pyx_n_s_kwargs); @@ -4288,6 +4327,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_bundle_pydevd_breakpoint); Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_bundle_pydevd_bytecode_u); Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_bundle_pydevd_constants); + Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_bundle_pydevd_dont_trace); Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_bundle_pydevd_trace_disp); Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_bundle_pydevd_utils); Py_VISIT(traverse_module_state->__pyx_n_s_pydevd_dont_trace); @@ -4323,6 +4363,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_retval); Py_VISIT(traverse_module_state->__pyx_n_s_run); Py_VISIT(traverse_module_state->__pyx_n_s_run_2); + Py_VISIT(traverse_module_state->__pyx_n_s_runpy); Py_VISIT(traverse_module_state->__pyx_kp_s_s_s); Py_VISIT(traverse_module_state->__pyx_kp_s_s_s_2); Py_VISIT(traverse_module_state->__pyx_n_s_self); @@ -4373,6 +4414,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_update_monitor_events); Py_VISIT(traverse_module_state->__pyx_n_s_use_setstate); Py_VISIT(traverse_module_state->__pyx_n_s_use_tool_id); + Py_VISIT(traverse_module_state->__pyx_n_s_user_uncaught_exc_info); Py_VISIT(traverse_module_state->__pyx_n_s_values); Py_VISIT(traverse_module_state->__pyx_n_s_wrap); Py_VISIT(traverse_module_state->__pyx_n_s_writer); @@ -4399,65 +4441,67 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_int_232881363); Py_VISIT(traverse_module_state->__pyx_int_266084120); Py_VISIT(traverse_module_state->__pyx_int_neg_1); - Py_VISIT(traverse_module_state->__pyx_k__15); + Py_VISIT(traverse_module_state->__pyx_k__16); Py_VISIT(traverse_module_state->__pyx_tuple_); Py_VISIT(traverse_module_state->__pyx_tuple__3); Py_VISIT(traverse_module_state->__pyx_tuple__5); Py_VISIT(traverse_module_state->__pyx_tuple__7); Py_VISIT(traverse_module_state->__pyx_tuple__9); - Py_VISIT(traverse_module_state->__pyx_slice__16); + Py_VISIT(traverse_module_state->__pyx_slice__17); Py_VISIT(traverse_module_state->__pyx_tuple__11); Py_VISIT(traverse_module_state->__pyx_tuple__12); Py_VISIT(traverse_module_state->__pyx_tuple__13); - Py_VISIT(traverse_module_state->__pyx_tuple__18); - Py_VISIT(traverse_module_state->__pyx_tuple__20); + Py_VISIT(traverse_module_state->__pyx_tuple__14); + Py_VISIT(traverse_module_state->__pyx_tuple__19); Py_VISIT(traverse_module_state->__pyx_tuple__21); - Py_VISIT(traverse_module_state->__pyx_tuple__23); - Py_VISIT(traverse_module_state->__pyx_tuple__25); + Py_VISIT(traverse_module_state->__pyx_tuple__22); + Py_VISIT(traverse_module_state->__pyx_tuple__24); Py_VISIT(traverse_module_state->__pyx_tuple__26); Py_VISIT(traverse_module_state->__pyx_tuple__27); Py_VISIT(traverse_module_state->__pyx_tuple__28); - Py_VISIT(traverse_module_state->__pyx_tuple__30); - Py_VISIT(traverse_module_state->__pyx_tuple__32); - Py_VISIT(traverse_module_state->__pyx_tuple__34); - Py_VISIT(traverse_module_state->__pyx_tuple__36); - Py_VISIT(traverse_module_state->__pyx_tuple__40); + Py_VISIT(traverse_module_state->__pyx_tuple__29); + Py_VISIT(traverse_module_state->__pyx_tuple__31); + Py_VISIT(traverse_module_state->__pyx_tuple__33); + Py_VISIT(traverse_module_state->__pyx_tuple__35); + Py_VISIT(traverse_module_state->__pyx_tuple__37); Py_VISIT(traverse_module_state->__pyx_tuple__41); - Py_VISIT(traverse_module_state->__pyx_tuple__43); - Py_VISIT(traverse_module_state->__pyx_tuple__45); - Py_VISIT(traverse_module_state->__pyx_tuple__49); + Py_VISIT(traverse_module_state->__pyx_tuple__42); + Py_VISIT(traverse_module_state->__pyx_tuple__44); + Py_VISIT(traverse_module_state->__pyx_tuple__46); Py_VISIT(traverse_module_state->__pyx_tuple__51); Py_VISIT(traverse_module_state->__pyx_tuple__53); - Py_VISIT(traverse_module_state->__pyx_tuple__54); + Py_VISIT(traverse_module_state->__pyx_tuple__55); Py_VISIT(traverse_module_state->__pyx_tuple__56); Py_VISIT(traverse_module_state->__pyx_tuple__58); Py_VISIT(traverse_module_state->__pyx_tuple__60); + Py_VISIT(traverse_module_state->__pyx_tuple__62); Py_VISIT(traverse_module_state->__pyx_codeobj__2); Py_VISIT(traverse_module_state->__pyx_codeobj__4); Py_VISIT(traverse_module_state->__pyx_codeobj__6); Py_VISIT(traverse_module_state->__pyx_codeobj__8); Py_VISIT(traverse_module_state->__pyx_codeobj__10); - Py_VISIT(traverse_module_state->__pyx_codeobj__24); - Py_VISIT(traverse_module_state->__pyx_codeobj__29); - Py_VISIT(traverse_module_state->__pyx_codeobj__31); - Py_VISIT(traverse_module_state->__pyx_codeobj__33); - Py_VISIT(traverse_module_state->__pyx_codeobj__35); - Py_VISIT(traverse_module_state->__pyx_codeobj__37); + Py_VISIT(traverse_module_state->__pyx_codeobj__25); + Py_VISIT(traverse_module_state->__pyx_codeobj__30); + Py_VISIT(traverse_module_state->__pyx_codeobj__32); + Py_VISIT(traverse_module_state->__pyx_codeobj__34); + Py_VISIT(traverse_module_state->__pyx_codeobj__36); Py_VISIT(traverse_module_state->__pyx_codeobj__38); Py_VISIT(traverse_module_state->__pyx_codeobj__39); - Py_VISIT(traverse_module_state->__pyx_codeobj__42); - Py_VISIT(traverse_module_state->__pyx_codeobj__44); - Py_VISIT(traverse_module_state->__pyx_codeobj__46); + Py_VISIT(traverse_module_state->__pyx_codeobj__40); + Py_VISIT(traverse_module_state->__pyx_codeobj__43); + Py_VISIT(traverse_module_state->__pyx_codeobj__45); Py_VISIT(traverse_module_state->__pyx_codeobj__47); Py_VISIT(traverse_module_state->__pyx_codeobj__48); + Py_VISIT(traverse_module_state->__pyx_codeobj__49); Py_VISIT(traverse_module_state->__pyx_codeobj__50); Py_VISIT(traverse_module_state->__pyx_codeobj__52); - Py_VISIT(traverse_module_state->__pyx_codeobj__55); + Py_VISIT(traverse_module_state->__pyx_codeobj__54); Py_VISIT(traverse_module_state->__pyx_codeobj__57); Py_VISIT(traverse_module_state->__pyx_codeobj__59); Py_VISIT(traverse_module_state->__pyx_codeobj__61); - Py_VISIT(traverse_module_state->__pyx_codeobj__62); Py_VISIT(traverse_module_state->__pyx_codeobj__63); + Py_VISIT(traverse_module_state->__pyx_codeobj__64); + Py_VISIT(traverse_module_state->__pyx_codeobj__65); return 0; } #endif @@ -4560,6 +4604,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_Optional __pyx_mstate_global->__pyx_n_s_Optional #define __pyx_kp_s_Optional_bool __pyx_mstate_global->__pyx_kp_s_Optional_bool #define __pyx_n_s_PYDEVD_IPYTHON_CONTEXT __pyx_mstate_global->__pyx_n_s_PYDEVD_IPYTHON_CONTEXT +#define __pyx_n_s_PYDEV_FILE __pyx_mstate_global->__pyx_n_s_PYDEV_FILE #define __pyx_n_s_PYTHON_SUSPEND __pyx_mstate_global->__pyx_n_s_PYTHON_SUSPEND #define __pyx_n_s_PY_RESUME __pyx_mstate_global->__pyx_n_s_PY_RESUME #define __pyx_n_s_PY_RETURN __pyx_mstate_global->__pyx_n_s_PY_RETURN @@ -4585,10 +4630,11 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_TryExceptContainerObj___reduce __pyx_mstate_global->__pyx_n_s_TryExceptContainerObj___reduce #define __pyx_n_s_TryExceptContainerObj___setstat __pyx_mstate_global->__pyx_n_s_TryExceptContainerObj___setstat #define __pyx_n_s_Tuple __pyx_mstate_global->__pyx_n_s_Tuple -#define __pyx_kp_s__14 __pyx_mstate_global->__pyx_kp_s__14 -#define __pyx_kp_s__17 __pyx_mstate_global->__pyx_kp_s__17 -#define __pyx_kp_u__19 __pyx_mstate_global->__pyx_kp_u__19 -#define __pyx_n_s__22 __pyx_mstate_global->__pyx_n_s__22 +#define __pyx_kp_s_Unhandled_frame_from_different_e __pyx_mstate_global->__pyx_kp_s_Unhandled_frame_from_different_e +#define __pyx_kp_s__15 __pyx_mstate_global->__pyx_kp_s__15 +#define __pyx_kp_s__18 __pyx_mstate_global->__pyx_kp_s__18 +#define __pyx_kp_u__20 __pyx_mstate_global->__pyx_kp_u__20 +#define __pyx_n_s__23 __pyx_mstate_global->__pyx_n_s__23 #define __pyx_n_s_active __pyx_mstate_global->__pyx_n_s_active #define __pyx_n_s_active_limbo_lock __pyx_mstate_global->__pyx_n_s_active_limbo_lock #define __pyx_n_s_add_command __pyx_mstate_global->__pyx_n_s_add_command @@ -4644,6 +4690,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_enable_code_tracing __pyx_mstate_global->__pyx_n_s_enable_code_tracing #define __pyx_n_s_end __pyx_mstate_global->__pyx_n_s_end #define __pyx_n_s_endswith __pyx_mstate_global->__pyx_n_s_endswith +#define __pyx_n_s_ensure_monitoring __pyx_mstate_global->__pyx_n_s_ensure_monitoring #define __pyx_n_s_enter __pyx_mstate_global->__pyx_n_s_enter #define __pyx_n_s_enumerate __pyx_mstate_global->__pyx_n_s_enumerate #define __pyx_n_s_event __pyx_mstate_global->__pyx_n_s_event @@ -4657,6 +4704,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_f_back __pyx_mstate_global->__pyx_n_s_f_back #define __pyx_n_s_f_bootstrap __pyx_mstate_global->__pyx_n_s_f_bootstrap #define __pyx_n_s_f_code __pyx_mstate_global->__pyx_n_s_f_code +#define __pyx_n_s_f_disable_next_line_if_match __pyx_mstate_global->__pyx_n_s_f_disable_next_line_if_match #define __pyx_n_s_f_lasti __pyx_mstate_global->__pyx_n_s_f_lasti #define __pyx_n_s_f_lineno __pyx_mstate_global->__pyx_n_s_f_lineno #define __pyx_n_s_f_locals __pyx_mstate_global->__pyx_n_s_f_locals @@ -4667,6 +4715,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_frame_or_depth __pyx_mstate_global->__pyx_n_s_frame_or_depth #define __pyx_n_s_free_tool_id __pyx_mstate_global->__pyx_n_s_free_tool_id #define __pyx_n_s_from_offset __pyx_mstate_global->__pyx_n_s_from_offset +#define __pyx_kp_s_frozen_runpy __pyx_mstate_global->__pyx_kp_s_frozen_runpy #define __pyx_n_s_function_breakpoint_name_to_brea __pyx_mstate_global->__pyx_n_s_function_breakpoint_name_to_brea #define __pyx_kp_u_gc __pyx_mstate_global->__pyx_kp_u_gc #define __pyx_n_s_get __pyx_mstate_global->__pyx_n_s_get @@ -4712,6 +4761,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_is_stopped __pyx_mstate_global->__pyx_n_s_is_stopped #define __pyx_n_s_is_tracked_frame __pyx_mstate_global->__pyx_n_s_is_tracked_frame #define __pyx_n_s_is_unhandled_exception __pyx_mstate_global->__pyx_n_s_is_unhandled_exception +#define __pyx_n_s_is_unwind __pyx_mstate_global->__pyx_n_s_is_unwind #define __pyx_kp_u_isenabled __pyx_mstate_global->__pyx_kp_u_isenabled #define __pyx_n_s_items __pyx_mstate_global->__pyx_n_s_items #define __pyx_n_s_kwargs __pyx_mstate_global->__pyx_n_s_kwargs @@ -4760,6 +4810,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_pydevd_bundle_pydevd_breakpoint __pyx_mstate_global->__pyx_n_s_pydevd_bundle_pydevd_breakpoint #define __pyx_n_s_pydevd_bundle_pydevd_bytecode_u __pyx_mstate_global->__pyx_n_s_pydevd_bundle_pydevd_bytecode_u #define __pyx_n_s_pydevd_bundle_pydevd_constants __pyx_mstate_global->__pyx_n_s_pydevd_bundle_pydevd_constants +#define __pyx_n_s_pydevd_bundle_pydevd_dont_trace __pyx_mstate_global->__pyx_n_s_pydevd_bundle_pydevd_dont_trace #define __pyx_n_s_pydevd_bundle_pydevd_trace_disp __pyx_mstate_global->__pyx_n_s_pydevd_bundle_pydevd_trace_disp #define __pyx_n_s_pydevd_bundle_pydevd_utils __pyx_mstate_global->__pyx_n_s_pydevd_bundle_pydevd_utils #define __pyx_n_s_pydevd_dont_trace __pyx_mstate_global->__pyx_n_s_pydevd_dont_trace @@ -4795,6 +4846,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_retval __pyx_mstate_global->__pyx_n_s_retval #define __pyx_n_s_run __pyx_mstate_global->__pyx_n_s_run #define __pyx_n_s_run_2 __pyx_mstate_global->__pyx_n_s_run_2 +#define __pyx_n_s_runpy __pyx_mstate_global->__pyx_n_s_runpy #define __pyx_kp_s_s_s __pyx_mstate_global->__pyx_kp_s_s_s #define __pyx_kp_s_s_s_2 __pyx_mstate_global->__pyx_kp_s_s_s_2 #define __pyx_n_s_self __pyx_mstate_global->__pyx_n_s_self @@ -4845,6 +4897,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_update_monitor_events __pyx_mstate_global->__pyx_n_s_update_monitor_events #define __pyx_n_s_use_setstate __pyx_mstate_global->__pyx_n_s_use_setstate #define __pyx_n_s_use_tool_id __pyx_mstate_global->__pyx_n_s_use_tool_id +#define __pyx_n_s_user_uncaught_exc_info __pyx_mstate_global->__pyx_n_s_user_uncaught_exc_info #define __pyx_n_s_values __pyx_mstate_global->__pyx_n_s_values #define __pyx_n_s_wrap __pyx_mstate_global->__pyx_n_s_wrap #define __pyx_n_s_writer __pyx_mstate_global->__pyx_n_s_writer @@ -4871,65 +4924,67 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_int_232881363 __pyx_mstate_global->__pyx_int_232881363 #define __pyx_int_266084120 __pyx_mstate_global->__pyx_int_266084120 #define __pyx_int_neg_1 __pyx_mstate_global->__pyx_int_neg_1 -#define __pyx_k__15 __pyx_mstate_global->__pyx_k__15 +#define __pyx_k__16 __pyx_mstate_global->__pyx_k__16 #define __pyx_tuple_ __pyx_mstate_global->__pyx_tuple_ #define __pyx_tuple__3 __pyx_mstate_global->__pyx_tuple__3 #define __pyx_tuple__5 __pyx_mstate_global->__pyx_tuple__5 #define __pyx_tuple__7 __pyx_mstate_global->__pyx_tuple__7 #define __pyx_tuple__9 __pyx_mstate_global->__pyx_tuple__9 -#define __pyx_slice__16 __pyx_mstate_global->__pyx_slice__16 +#define __pyx_slice__17 __pyx_mstate_global->__pyx_slice__17 #define __pyx_tuple__11 __pyx_mstate_global->__pyx_tuple__11 #define __pyx_tuple__12 __pyx_mstate_global->__pyx_tuple__12 #define __pyx_tuple__13 __pyx_mstate_global->__pyx_tuple__13 -#define __pyx_tuple__18 __pyx_mstate_global->__pyx_tuple__18 -#define __pyx_tuple__20 __pyx_mstate_global->__pyx_tuple__20 +#define __pyx_tuple__14 __pyx_mstate_global->__pyx_tuple__14 +#define __pyx_tuple__19 __pyx_mstate_global->__pyx_tuple__19 #define __pyx_tuple__21 __pyx_mstate_global->__pyx_tuple__21 -#define __pyx_tuple__23 __pyx_mstate_global->__pyx_tuple__23 -#define __pyx_tuple__25 __pyx_mstate_global->__pyx_tuple__25 +#define __pyx_tuple__22 __pyx_mstate_global->__pyx_tuple__22 +#define __pyx_tuple__24 __pyx_mstate_global->__pyx_tuple__24 #define __pyx_tuple__26 __pyx_mstate_global->__pyx_tuple__26 #define __pyx_tuple__27 __pyx_mstate_global->__pyx_tuple__27 #define __pyx_tuple__28 __pyx_mstate_global->__pyx_tuple__28 -#define __pyx_tuple__30 __pyx_mstate_global->__pyx_tuple__30 -#define __pyx_tuple__32 __pyx_mstate_global->__pyx_tuple__32 -#define __pyx_tuple__34 __pyx_mstate_global->__pyx_tuple__34 -#define __pyx_tuple__36 __pyx_mstate_global->__pyx_tuple__36 -#define __pyx_tuple__40 __pyx_mstate_global->__pyx_tuple__40 +#define __pyx_tuple__29 __pyx_mstate_global->__pyx_tuple__29 +#define __pyx_tuple__31 __pyx_mstate_global->__pyx_tuple__31 +#define __pyx_tuple__33 __pyx_mstate_global->__pyx_tuple__33 +#define __pyx_tuple__35 __pyx_mstate_global->__pyx_tuple__35 +#define __pyx_tuple__37 __pyx_mstate_global->__pyx_tuple__37 #define __pyx_tuple__41 __pyx_mstate_global->__pyx_tuple__41 -#define __pyx_tuple__43 __pyx_mstate_global->__pyx_tuple__43 -#define __pyx_tuple__45 __pyx_mstate_global->__pyx_tuple__45 -#define __pyx_tuple__49 __pyx_mstate_global->__pyx_tuple__49 +#define __pyx_tuple__42 __pyx_mstate_global->__pyx_tuple__42 +#define __pyx_tuple__44 __pyx_mstate_global->__pyx_tuple__44 +#define __pyx_tuple__46 __pyx_mstate_global->__pyx_tuple__46 #define __pyx_tuple__51 __pyx_mstate_global->__pyx_tuple__51 #define __pyx_tuple__53 __pyx_mstate_global->__pyx_tuple__53 -#define __pyx_tuple__54 __pyx_mstate_global->__pyx_tuple__54 +#define __pyx_tuple__55 __pyx_mstate_global->__pyx_tuple__55 #define __pyx_tuple__56 __pyx_mstate_global->__pyx_tuple__56 #define __pyx_tuple__58 __pyx_mstate_global->__pyx_tuple__58 #define __pyx_tuple__60 __pyx_mstate_global->__pyx_tuple__60 +#define __pyx_tuple__62 __pyx_mstate_global->__pyx_tuple__62 #define __pyx_codeobj__2 __pyx_mstate_global->__pyx_codeobj__2 #define __pyx_codeobj__4 __pyx_mstate_global->__pyx_codeobj__4 #define __pyx_codeobj__6 __pyx_mstate_global->__pyx_codeobj__6 #define __pyx_codeobj__8 __pyx_mstate_global->__pyx_codeobj__8 #define __pyx_codeobj__10 __pyx_mstate_global->__pyx_codeobj__10 -#define __pyx_codeobj__24 __pyx_mstate_global->__pyx_codeobj__24 -#define __pyx_codeobj__29 __pyx_mstate_global->__pyx_codeobj__29 -#define __pyx_codeobj__31 __pyx_mstate_global->__pyx_codeobj__31 -#define __pyx_codeobj__33 __pyx_mstate_global->__pyx_codeobj__33 -#define __pyx_codeobj__35 __pyx_mstate_global->__pyx_codeobj__35 -#define __pyx_codeobj__37 __pyx_mstate_global->__pyx_codeobj__37 +#define __pyx_codeobj__25 __pyx_mstate_global->__pyx_codeobj__25 +#define __pyx_codeobj__30 __pyx_mstate_global->__pyx_codeobj__30 +#define __pyx_codeobj__32 __pyx_mstate_global->__pyx_codeobj__32 +#define __pyx_codeobj__34 __pyx_mstate_global->__pyx_codeobj__34 +#define __pyx_codeobj__36 __pyx_mstate_global->__pyx_codeobj__36 #define __pyx_codeobj__38 __pyx_mstate_global->__pyx_codeobj__38 #define __pyx_codeobj__39 __pyx_mstate_global->__pyx_codeobj__39 -#define __pyx_codeobj__42 __pyx_mstate_global->__pyx_codeobj__42 -#define __pyx_codeobj__44 __pyx_mstate_global->__pyx_codeobj__44 -#define __pyx_codeobj__46 __pyx_mstate_global->__pyx_codeobj__46 +#define __pyx_codeobj__40 __pyx_mstate_global->__pyx_codeobj__40 +#define __pyx_codeobj__43 __pyx_mstate_global->__pyx_codeobj__43 +#define __pyx_codeobj__45 __pyx_mstate_global->__pyx_codeobj__45 #define __pyx_codeobj__47 __pyx_mstate_global->__pyx_codeobj__47 #define __pyx_codeobj__48 __pyx_mstate_global->__pyx_codeobj__48 +#define __pyx_codeobj__49 __pyx_mstate_global->__pyx_codeobj__49 #define __pyx_codeobj__50 __pyx_mstate_global->__pyx_codeobj__50 #define __pyx_codeobj__52 __pyx_mstate_global->__pyx_codeobj__52 -#define __pyx_codeobj__55 __pyx_mstate_global->__pyx_codeobj__55 +#define __pyx_codeobj__54 __pyx_mstate_global->__pyx_codeobj__54 #define __pyx_codeobj__57 __pyx_mstate_global->__pyx_codeobj__57 #define __pyx_codeobj__59 __pyx_mstate_global->__pyx_codeobj__59 #define __pyx_codeobj__61 __pyx_mstate_global->__pyx_codeobj__61 -#define __pyx_codeobj__62 __pyx_mstate_global->__pyx_codeobj__62 #define __pyx_codeobj__63 __pyx_mstate_global->__pyx_codeobj__63 +#define __pyx_codeobj__64 __pyx_mstate_global->__pyx_codeobj__64 +#define __pyx_codeobj__65 __pyx_mstate_global->__pyx_codeobj__65 /* #### Code section: module_code ### */ /* "cfunc.to_py":67 @@ -6172,7 +6227,7 @@ static PyObject *__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lPa return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":55 +/* "_pydevd_sys_monitoring_cython.pyx":57 * except ImportError: * * def get_smart_step_into_variant_from_frame_offset(*args, **kwargs): # <<<<<<<<<<<<<< @@ -6214,7 +6269,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_get_smart_step_into_va __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("get_smart_step_into_variant_from_frame_offset", 1); - /* "_pydevd_sys_monitoring_cython.pyx":56 + /* "_pydevd_sys_monitoring_cython.pyx":58 * * def get_smart_step_into_variant_from_frame_offset(*args, **kwargs): * return None # <<<<<<<<<<<<<< @@ -6225,7 +6280,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_get_smart_step_into_va __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":55 + /* "_pydevd_sys_monitoring_cython.pyx":57 * except ImportError: * * def get_smart_step_into_variant_from_frame_offset(*args, **kwargs): # <<<<<<<<<<<<<< @@ -6240,7 +6295,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_get_smart_step_into_va return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":94 +/* "_pydevd_sys_monitoring_cython.pyx":96 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _notify_skipped_step_in_because_of_filters(py_db, frame): # <<<<<<<<<<<<<< @@ -6268,7 +6323,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_notify_skipped_step_in_because_of_filters", 1); - /* "_pydevd_sys_monitoring_cython.pyx":101 + /* "_pydevd_sys_monitoring_cython.pyx":103 * global _global_notify_skipped_step_in * * with _global_notify_skipped_step_in_lock: # <<<<<<<<<<<<<< @@ -6276,11 +6331,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in * # Check with lock in place (callers should actually have checked */ /*with:*/ { - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_global_notify_skipped_step_in_l); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 101, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_global_notify_skipped_step_in_l); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_LookupSpecial(__pyx_t_1, __pyx_n_s_exit); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 101, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_LookupSpecial(__pyx_t_1, __pyx_n_s_exit); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_t_1, __pyx_n_s_enter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 101, __pyx_L3_error) + __pyx_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_t_1, __pyx_n_s_enter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 103, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -6300,7 +6355,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 101, __pyx_L3_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 103, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } @@ -6316,20 +6371,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __Pyx_XGOTREF(__pyx_t_9); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":102 + /* "_pydevd_sys_monitoring_cython.pyx":104 * * with _global_notify_skipped_step_in_lock: * if _global_notify_skipped_step_in: # <<<<<<<<<<<<<< * # Check with lock in place (callers should actually have checked * # before without the lock in place due to performance). */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_global_notify_skipped_step_in); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 102, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_global_notify_skipped_step_in); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 104, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 102, __pyx_L7_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 104, __pyx_L7_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":105 + /* "_pydevd_sys_monitoring_cython.pyx":107 * # Check with lock in place (callers should actually have checked * # before without the lock in place due to performance). * return # <<<<<<<<<<<<<< @@ -6340,7 +6395,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L11_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":102 + /* "_pydevd_sys_monitoring_cython.pyx":104 * * with _global_notify_skipped_step_in_lock: * if _global_notify_skipped_step_in: # <<<<<<<<<<<<<< @@ -6349,23 +6404,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in */ } - /* "_pydevd_sys_monitoring_cython.pyx":106 + /* "_pydevd_sys_monitoring_cython.pyx":108 * # before without the lock in place due to performance). * return * _global_notify_skipped_step_in = True # <<<<<<<<<<<<<< * py_db.notify_skipped_step_in_because_of_filters(frame) * */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in, Py_True) < 0) __PYX_ERR(0, 106, __pyx_L7_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in, Py_True) < 0) __PYX_ERR(0, 108, __pyx_L7_error) - /* "_pydevd_sys_monitoring_cython.pyx":107 + /* "_pydevd_sys_monitoring_cython.pyx":109 * return * _global_notify_skipped_step_in = True * py_db.notify_skipped_step_in_because_of_filters(frame) # <<<<<<<<<<<<<< * * */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_notify_skipped_step_in_because_o); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 107, __pyx_L7_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_notify_skipped_step_in_because_o); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 109, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; __pyx_t_6 = 0; @@ -6385,13 +6440,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_frame}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 107, __pyx_L7_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 109, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":101 + /* "_pydevd_sys_monitoring_cython.pyx":103 * global _global_notify_skipped_step_in * * with _global_notify_skipped_step_in_lock: # <<<<<<<<<<<<<< @@ -6410,20 +6465,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._notify_skipped_step_in_because_of_filters", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_4) < 0) __PYX_ERR(0, 101, __pyx_L9_except_error) + if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_4) < 0) __PYX_ERR(0, 103, __pyx_L9_except_error) __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_4); - __pyx_t_5 = PyTuple_Pack(3, __pyx_t_1, __pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 101, __pyx_L9_except_error) + __pyx_t_5 = PyTuple_Pack(3, __pyx_t_1, __pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 103, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_5, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 101, __pyx_L9_except_error) + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 103, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (__pyx_t_10 < 0) __PYX_ERR(0, 101, __pyx_L9_except_error) + if (__pyx_t_10 < 0) __PYX_ERR(0, 103, __pyx_L9_except_error) __pyx_t_12 = (!__pyx_t_10); if (unlikely(__pyx_t_12)) { __Pyx_GIVEREF(__pyx_t_1); @@ -6431,7 +6486,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __Pyx_XGIVEREF(__pyx_t_4); __Pyx_ErrRestoreWithState(__pyx_t_1, __pyx_t_3, __pyx_t_4); __pyx_t_1 = 0; __pyx_t_3 = 0; __pyx_t_4 = 0; - __PYX_ERR(0, 101, __pyx_L9_except_error) + __PYX_ERR(0, 103, __pyx_L9_except_error) } __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; @@ -6463,7 +6518,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in if (__pyx_t_2) { __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__11, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 101, __pyx_L1_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } @@ -6475,7 +6530,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in if (__pyx_t_2) { __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__11, NULL); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 101, __pyx_L1_error) + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; } @@ -6492,7 +6547,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in __pyx_L17:; } - /* "_pydevd_sys_monitoring_cython.pyx":94 + /* "_pydevd_sys_monitoring_cython.pyx":96 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _notify_skipped_step_in_because_of_filters(py_db, frame): # <<<<<<<<<<<<<< @@ -6516,7 +6571,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":114 +/* "_pydevd_sys_monitoring_cython.pyx":116 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * @cython.cfunc # <<<<<<<<<<<<<< @@ -6538,7 +6593,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ if (__pyx_optional_args) { } - /* "_pydevd_sys_monitoring_cython.pyx":116 + /* "_pydevd_sys_monitoring_cython.pyx":118 * @cython.cfunc * def _getframe(depth=0): * return sys._getframe() # <<<<<<<<<<<<<< @@ -6546,9 +6601,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ * # _getframe = sys._getframe */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_sys); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 116, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_sys); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 118, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_getframe); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 116, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_getframe); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 118, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -6569,7 +6624,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 116, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 118, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } @@ -6577,7 +6632,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ __pyx_t_1 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":114 + /* "_pydevd_sys_monitoring_cython.pyx":116 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * @cython.cfunc # <<<<<<<<<<<<<< @@ -6598,7 +6653,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":125 +/* "_pydevd_sys_monitoring_cython.pyx":127 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_bootstrap_frame(depth): # <<<<<<<<<<<<<< @@ -6634,7 +6689,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_bootstrap_frame", 1); - /* "_pydevd_sys_monitoring_cython.pyx":130 + /* "_pydevd_sys_monitoring_cython.pyx":132 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -6650,7 +6705,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":131 + /* "_pydevd_sys_monitoring_cython.pyx":133 * # fmt: on * try: * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal # <<<<<<<<<<<<<< @@ -6658,29 +6713,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * frame = _getframe(depth) */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 133, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_f_bootstrap); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 131, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_f_bootstrap); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 133, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 133, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 131, __pyx_L3_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 133, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __pyx_L3_error) + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 133, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_5); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5)) __PYX_ERR(0, 131, __pyx_L3_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5)) __PYX_ERR(0, 133, __pyx_L3_error); __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 131, __pyx_L3_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 133, __pyx_L3_error); __pyx_t_5 = 0; __pyx_t_6 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":130 + /* "_pydevd_sys_monitoring_cython.pyx":132 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -6693,7 +6748,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":132 + /* "_pydevd_sys_monitoring_cython.pyx":134 * try: * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal * except: # <<<<<<<<<<<<<< @@ -6702,12 +6757,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_bootstrap_frame", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 132, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 134, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":133 + /* "_pydevd_sys_monitoring_cython.pyx":135 * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal * except: * frame = _getframe(depth) # <<<<<<<<<<<<<< @@ -6716,12 +6771,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ __pyx_t_8.__pyx_n = 1; __pyx_t_8.depth = __pyx_v_depth; - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_8); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 133, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_8); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 135, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_frame = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":134 + /* "_pydevd_sys_monitoring_cython.pyx":136 * except: * frame = _getframe(depth) * f_bootstrap = frame # <<<<<<<<<<<<<< @@ -6731,7 +6786,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_INCREF(__pyx_v_frame); __pyx_v_f_bootstrap = __pyx_v_frame; - /* "_pydevd_sys_monitoring_cython.pyx":136 + /* "_pydevd_sys_monitoring_cython.pyx":138 * f_bootstrap = frame * # print('called at', f_bootstrap.f_code.co_name, f_bootstrap.f_code.co_filename, f_bootstrap.f_code.co_firstlineno) * is_bootstrap_frame_internal = False # <<<<<<<<<<<<<< @@ -6740,7 +6795,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ __pyx_v_is_bootstrap_frame_internal = 0; - /* "_pydevd_sys_monitoring_cython.pyx":137 + /* "_pydevd_sys_monitoring_cython.pyx":139 * # print('called at', f_bootstrap.f_code.co_name, f_bootstrap.f_code.co_filename, f_bootstrap.f_code.co_firstlineno) * is_bootstrap_frame_internal = False * while f_bootstrap is not None: # <<<<<<<<<<<<<< @@ -6751,31 +6806,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_9 = (__pyx_v_f_bootstrap != Py_None); if (!__pyx_t_9) break; - /* "_pydevd_sys_monitoring_cython.pyx":138 + /* "_pydevd_sys_monitoring_cython.pyx":140 * is_bootstrap_frame_internal = False * while f_bootstrap is not None: * filename = f_bootstrap.f_code.co_filename # <<<<<<<<<<<<<< * name = splitext(basename(filename))[0] * */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 138, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 140, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 138, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 140, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_XDECREF_SET(__pyx_v_filename, __pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":139 + /* "_pydevd_sys_monitoring_cython.pyx":141 * while f_bootstrap is not None: * filename = f_bootstrap.f_code.co_filename * name = splitext(basename(filename))[0] # <<<<<<<<<<<<<< * * if name == "threading": */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_splitext); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 139, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_splitext); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 141, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_basename); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 139, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_basename); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 141, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); __pyx_t_13 = NULL; __pyx_t_14 = 0; @@ -6795,7 +6850,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py PyObject *__pyx_callargs[2] = {__pyx_t_13, __pyx_v_filename}; __pyx_t_11 = __Pyx_PyObject_FastCall(__pyx_t_12, __pyx_callargs+1-__pyx_t_14, 1+__pyx_t_14); __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 139, __pyx_L5_except_error) + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 141, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; } @@ -6818,52 +6873,52 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_14, 1+__pyx_t_14); __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 139, __pyx_L5_except_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 141, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } - __pyx_t_7 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 139, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 141, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":141 + /* "_pydevd_sys_monitoring_cython.pyx":143 * name = splitext(basename(filename))[0] * * if name == "threading": # <<<<<<<<<<<<<< * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. */ - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_threading, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 141, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_threading, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 143, __pyx_L5_except_error) if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":142 + /* "_pydevd_sys_monitoring_cython.pyx":144 * * if name == "threading": * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): # <<<<<<<<<<<<<< * # We need __bootstrap_inner, not __bootstrap. * return None, False */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 142, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 144, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 142, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 144, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 142, __pyx_L5_except_error) + __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 144, __pyx_L5_except_error) if (!__pyx_t_15) { } else { __pyx_t_9 = __pyx_t_15; goto __pyx_L15_bool_binop_done; } - __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 142, __pyx_L5_except_error) + __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 144, __pyx_L5_except_error) __pyx_t_9 = __pyx_t_15; __pyx_L15_bool_binop_done:; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_15 = __pyx_t_9; if (__pyx_t_15) { - /* "_pydevd_sys_monitoring_cython.pyx":144 + /* "_pydevd_sys_monitoring_cython.pyx":146 * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. * return None, False # <<<<<<<<<<<<<< @@ -6878,7 +6933,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":142 + /* "_pydevd_sys_monitoring_cython.pyx":144 * * if name == "threading": * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): # <<<<<<<<<<<<<< @@ -6887,38 +6942,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ } - /* "_pydevd_sys_monitoring_cython.pyx":146 + /* "_pydevd_sys_monitoring_cython.pyx":148 * return None, False * * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<< * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * is_bootstrap_frame_internal = True */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 146, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 148, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 146, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 148, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 146, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) if (!__pyx_t_9) { } else { __pyx_t_15 = __pyx_t_9; goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 146, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) if (!__pyx_t_9) { } else { __pyx_t_15 = __pyx_t_9; goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_is_alive, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 146, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_is_alive, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 148, __pyx_L5_except_error) __pyx_t_15 = __pyx_t_9; __pyx_L17_bool_binop_done:; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_9 = __pyx_t_15; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":148 + /* "_pydevd_sys_monitoring_cython.pyx":150 * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * is_bootstrap_frame_internal = True # <<<<<<<<<<<<<< @@ -6927,7 +6982,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ __pyx_v_is_bootstrap_frame_internal = 1; - /* "_pydevd_sys_monitoring_cython.pyx":149 + /* "_pydevd_sys_monitoring_cython.pyx":151 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * is_bootstrap_frame_internal = True * break # <<<<<<<<<<<<<< @@ -6936,7 +6991,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ goto __pyx_L12_break; - /* "_pydevd_sys_monitoring_cython.pyx":146 + /* "_pydevd_sys_monitoring_cython.pyx":148 * return None, False * * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<< @@ -6945,7 +7000,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ } - /* "_pydevd_sys_monitoring_cython.pyx":141 + /* "_pydevd_sys_monitoring_cython.pyx":143 * name = splitext(basename(filename))[0] * * if name == "threading": # <<<<<<<<<<<<<< @@ -6955,33 +7010,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py goto __pyx_L13; } - /* "_pydevd_sys_monitoring_cython.pyx":151 + /* "_pydevd_sys_monitoring_cython.pyx":153 * break * * elif name == "pydev_monkey": # <<<<<<<<<<<<<< * if f_bootstrap.f_code.co_name == "__call__": * is_bootstrap_frame_internal = True */ - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 151, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 153, __pyx_L5_except_error) if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":152 + /* "_pydevd_sys_monitoring_cython.pyx":154 * * elif name == "pydev_monkey": * if f_bootstrap.f_code.co_name == "__call__": # <<<<<<<<<<<<<< * is_bootstrap_frame_internal = True * break */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 154, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 154, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 152, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 154, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":153 + /* "_pydevd_sys_monitoring_cython.pyx":155 * elif name == "pydev_monkey": * if f_bootstrap.f_code.co_name == "__call__": * is_bootstrap_frame_internal = True # <<<<<<<<<<<<<< @@ -6990,7 +7045,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ __pyx_v_is_bootstrap_frame_internal = 1; - /* "_pydevd_sys_monitoring_cython.pyx":154 + /* "_pydevd_sys_monitoring_cython.pyx":156 * if f_bootstrap.f_code.co_name == "__call__": * is_bootstrap_frame_internal = True * break # <<<<<<<<<<<<<< @@ -6999,7 +7054,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ goto __pyx_L12_break; - /* "_pydevd_sys_monitoring_cython.pyx":152 + /* "_pydevd_sys_monitoring_cython.pyx":154 * * elif name == "pydev_monkey": * if f_bootstrap.f_code.co_name == "__call__": # <<<<<<<<<<<<<< @@ -7008,7 +7063,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ } - /* "_pydevd_sys_monitoring_cython.pyx":151 + /* "_pydevd_sys_monitoring_cython.pyx":153 * break * * elif name == "pydev_monkey": # <<<<<<<<<<<<<< @@ -7018,42 +7073,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py goto __pyx_L13; } - /* "_pydevd_sys_monitoring_cython.pyx":156 + /* "_pydevd_sys_monitoring_cython.pyx":158 * break * * elif name == "pydevd": # <<<<<<<<<<<<<< * if f_bootstrap.f_code.co_name in ("run", "main"): * # We need to get to _exec */ - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 156, __pyx_L5_except_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 158, __pyx_L5_except_error) if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":157 + /* "_pydevd_sys_monitoring_cython.pyx":159 * * elif name == "pydevd": * if f_bootstrap.f_code.co_name in ("run", "main"): # <<<<<<<<<<<<<< * # We need to get to _exec * return None, False */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 157, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 159, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 157, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 159, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 157, __pyx_L5_except_error) + __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 159, __pyx_L5_except_error) if (!__pyx_t_15) { } else { __pyx_t_9 = __pyx_t_15; goto __pyx_L22_bool_binop_done; } - __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_main, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 157, __pyx_L5_except_error) + __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_main, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 159, __pyx_L5_except_error) __pyx_t_9 = __pyx_t_15; __pyx_L22_bool_binop_done:; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_15 = __pyx_t_9; if (__pyx_t_15) { - /* "_pydevd_sys_monitoring_cython.pyx":159 + /* "_pydevd_sys_monitoring_cython.pyx":161 * if f_bootstrap.f_code.co_name in ("run", "main"): * # We need to get to _exec * return None, False # <<<<<<<<<<<<<< @@ -7068,7 +7123,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":157 + /* "_pydevd_sys_monitoring_cython.pyx":159 * * elif name == "pydevd": * if f_bootstrap.f_code.co_name in ("run", "main"): # <<<<<<<<<<<<<< @@ -7077,23 +7132,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ } - /* "_pydevd_sys_monitoring_cython.pyx":161 + /* "_pydevd_sys_monitoring_cython.pyx":163 * return None, False * * if f_bootstrap.f_code.co_name == "_exec": # <<<<<<<<<<<<<< * is_bootstrap_frame_internal = True * break */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 161, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 163, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 161, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 163, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 161, __pyx_L5_except_error) + __pyx_t_15 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_15 < 0))) __PYX_ERR(0, 163, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_15) { - /* "_pydevd_sys_monitoring_cython.pyx":162 + /* "_pydevd_sys_monitoring_cython.pyx":164 * * if f_bootstrap.f_code.co_name == "_exec": * is_bootstrap_frame_internal = True # <<<<<<<<<<<<<< @@ -7102,7 +7157,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ __pyx_v_is_bootstrap_frame_internal = 1; - /* "_pydevd_sys_monitoring_cython.pyx":163 + /* "_pydevd_sys_monitoring_cython.pyx":165 * if f_bootstrap.f_code.co_name == "_exec": * is_bootstrap_frame_internal = True * break # <<<<<<<<<<<<<< @@ -7111,7 +7166,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ goto __pyx_L12_break; - /* "_pydevd_sys_monitoring_cython.pyx":161 + /* "_pydevd_sys_monitoring_cython.pyx":163 * return None, False * * if f_bootstrap.f_code.co_name == "_exec": # <<<<<<<<<<<<<< @@ -7120,7 +7175,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ } - /* "_pydevd_sys_monitoring_cython.pyx":156 + /* "_pydevd_sys_monitoring_cython.pyx":158 * break * * elif name == "pydevd": # <<<<<<<<<<<<<< @@ -7130,20 +7185,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py goto __pyx_L13; } - /* "_pydevd_sys_monitoring_cython.pyx":165 + /* "_pydevd_sys_monitoring_cython.pyx":167 * break * * elif f_bootstrap.f_back is None: # <<<<<<<<<<<<<< * break * */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_back); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 165, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_back); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 167, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_15 = (__pyx_t_10 == Py_None); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (__pyx_t_15) { - /* "_pydevd_sys_monitoring_cython.pyx":166 + /* "_pydevd_sys_monitoring_cython.pyx":168 * * elif f_bootstrap.f_back is None: * break # <<<<<<<<<<<<<< @@ -7152,7 +7207,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ goto __pyx_L12_break; - /* "_pydevd_sys_monitoring_cython.pyx":165 + /* "_pydevd_sys_monitoring_cython.pyx":167 * break * * elif f_bootstrap.f_back is None: # <<<<<<<<<<<<<< @@ -7162,21 +7217,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py } __pyx_L13:; - /* "_pydevd_sys_monitoring_cython.pyx":168 + /* "_pydevd_sys_monitoring_cython.pyx":170 * break * * f_bootstrap = f_bootstrap.f_back # <<<<<<<<<<<<<< * * if f_bootstrap is not None: */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_back); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 168, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap, __pyx_n_s_f_back); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 170, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF_SET(__pyx_v_f_bootstrap, __pyx_t_10); __pyx_t_10 = 0; } __pyx_L12_break:; - /* "_pydevd_sys_monitoring_cython.pyx":170 + /* "_pydevd_sys_monitoring_cython.pyx":172 * f_bootstrap = f_bootstrap.f_back * * if f_bootstrap is not None: # <<<<<<<<<<<<<< @@ -7186,34 +7241,34 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __pyx_t_15 = (__pyx_v_f_bootstrap != Py_None); if (__pyx_t_15) { - /* "_pydevd_sys_monitoring_cython.pyx":171 + /* "_pydevd_sys_monitoring_cython.pyx":173 * * if f_bootstrap is not None: * _thread_local_info.is_bootstrap_frame_internal = is_bootstrap_frame_internal # <<<<<<<<<<<<<< * _thread_local_info.f_bootstrap = f_bootstrap * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal */ - __pyx_t_10 = __Pyx_PyBool_FromLong(__pyx_v_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 171, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyBool_FromLong(__pyx_v_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 173, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 171, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 173, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_7, __pyx_n_s_is_bootstrap_frame_internal, __pyx_t_10) < 0) __PYX_ERR(0, 171, __pyx_L5_except_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_7, __pyx_n_s_is_bootstrap_frame_internal, __pyx_t_10) < 0) __PYX_ERR(0, 173, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":172 + /* "_pydevd_sys_monitoring_cython.pyx":174 * if f_bootstrap is not None: * _thread_local_info.is_bootstrap_frame_internal = is_bootstrap_frame_internal * _thread_local_info.f_bootstrap = f_bootstrap # <<<<<<<<<<<<<< * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal * */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 172, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 174, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_7, __pyx_n_s_f_bootstrap, __pyx_v_f_bootstrap) < 0) __PYX_ERR(0, 172, __pyx_L5_except_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_7, __pyx_n_s_f_bootstrap, __pyx_v_f_bootstrap) < 0) __PYX_ERR(0, 174, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":173 + /* "_pydevd_sys_monitoring_cython.pyx":175 * _thread_local_info.is_bootstrap_frame_internal = is_bootstrap_frame_internal * _thread_local_info.f_bootstrap = f_bootstrap * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal # <<<<<<<<<<<<<< @@ -7221,22 +7276,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py * return f_bootstrap, is_bootstrap_frame_internal */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 173, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 175, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_bootstrap); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 173, __pyx_L5_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_bootstrap); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 175, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 173, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 175, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 173, __pyx_L5_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 175, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 173, __pyx_L5_except_error) + __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 175, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_GIVEREF(__pyx_t_10); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_10)) __PYX_ERR(0, 173, __pyx_L5_except_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_10)) __PYX_ERR(0, 175, __pyx_L5_except_error); __Pyx_GIVEREF(__pyx_t_11); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_11)) __PYX_ERR(0, 173, __pyx_L5_except_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_11)) __PYX_ERR(0, 175, __pyx_L5_except_error); __pyx_t_10 = 0; __pyx_t_11 = 0; __pyx_r = __pyx_t_7; @@ -7246,7 +7301,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":170 + /* "_pydevd_sys_monitoring_cython.pyx":172 * f_bootstrap = f_bootstrap.f_back * * if f_bootstrap is not None: # <<<<<<<<<<<<<< @@ -7255,23 +7310,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ } - /* "_pydevd_sys_monitoring_cython.pyx":175 + /* "_pydevd_sys_monitoring_cython.pyx":177 * return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal * * return f_bootstrap, is_bootstrap_frame_internal # <<<<<<<<<<<<<< * - * + * # fmt: off */ __Pyx_XDECREF(__pyx_r); - __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 175, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_is_bootstrap_frame_internal); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 177, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 175, __pyx_L5_except_error) + __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 177, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_INCREF(__pyx_v_f_bootstrap); __Pyx_GIVEREF(__pyx_v_f_bootstrap); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_v_f_bootstrap)) __PYX_ERR(0, 175, __pyx_L5_except_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_v_f_bootstrap)) __PYX_ERR(0, 177, __pyx_L5_except_error); __Pyx_GIVEREF(__pyx_t_7); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_7)) __PYX_ERR(0, 175, __pyx_L5_except_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_7)) __PYX_ERR(0, 177, __pyx_L5_except_error); __pyx_t_7 = 0; __pyx_r = __pyx_t_11; __pyx_t_11 = 0; @@ -7281,7 +7336,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":130 + /* "_pydevd_sys_monitoring_cython.pyx":132 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -7308,7 +7363,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":125 + /* "_pydevd_sys_monitoring_cython.pyx":127 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_bootstrap_frame(depth): # <<<<<<<<<<<<<< @@ -7338,7 +7393,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":180 +/* "_pydevd_sys_monitoring_cython.pyx":181 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_unhandled_exception_frame(int depth): # <<<<<<<<<<<<<< @@ -7347,6 +7402,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py */ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(int __pyx_v_depth) { + PyObject *__pyx_v_result = NULL; + CYTHON_UNUSED PyObject *__pyx_v_orig = NULL; PyObject *__pyx_v_frame = NULL; PyObject *__pyx_v_f_unhandled = NULL; PyObject *__pyx_v_f_back = NULL; @@ -7359,12 +7416,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio PyObject *__pyx_t_3 = NULL; PyObject *__pyx_t_4 = NULL; PyObject *__pyx_t_5 = NULL; - PyObject *__pyx_t_6 = NULL; - PyObject *__pyx_t_7 = NULL; - PyObject *__pyx_t_8 = NULL; - struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_9; - int __pyx_t_10; - int __pyx_t_11; + int __pyx_t_6; + struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_7; + int __pyx_t_8; + PyObject *__pyx_t_9 = NULL; + PyObject *__pyx_t_10 = NULL; + PyObject *__pyx_t_11 = NULL; PyObject *__pyx_t_12 = NULL; PyObject *__pyx_t_13 = NULL; PyObject *__pyx_t_14 = NULL; @@ -7374,12 +7431,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_unhandled_exception_frame", 1); - /* "_pydevd_sys_monitoring_cython.pyx":185 + /* "_pydevd_sys_monitoring_cython.pyx":186 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< - * return _thread_local_info.f_unhandled - * except: + * result = _thread_local_info.f_unhandled + * */ { __Pyx_PyThreadState_declare @@ -7390,135 +7447,256 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":186 + /* "_pydevd_sys_monitoring_cython.pyx":187 * # fmt: on * try: - * return _thread_local_info.f_unhandled # <<<<<<<<<<<<<< - * except: - * frame = _getframe(depth) + * result = _thread_local_info.f_unhandled # <<<<<<<<<<<<<< + * + * # Make sure the result is from the same exception. That means the result is in the stack somewhere. */ - __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 186, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 187, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 186, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 187, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_r = __pyx_t_5; + __pyx_v_result = __pyx_t_5; __pyx_t_5 = 0; - goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":185 + /* "_pydevd_sys_monitoring_cython.pyx":190 + * + * # Make sure the result is from the same exception. That means the result is in the stack somewhere. + * if result is not None: # <<<<<<<<<<<<<< + * orig = frame = _getframe(depth) + * while result != frame and frame is not None: + */ + __pyx_t_6 = (__pyx_v_result != Py_None); + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":191 + * # Make sure the result is from the same exception. That means the result is in the stack somewhere. + * if result is not None: + * orig = frame = _getframe(depth) # <<<<<<<<<<<<<< + * while result != frame and frame is not None: + * frame = frame.f_back + */ + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 191, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7.__pyx_n = 1; + __pyx_t_7.depth = __pyx_t_5; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_7); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 191, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_INCREF(__pyx_t_4); + __pyx_v_orig = __pyx_t_4; + __Pyx_INCREF(__pyx_t_4); + __pyx_v_frame = __pyx_t_4; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":192 + * if result is not None: + * orig = frame = _getframe(depth) + * while result != frame and frame is not None: # <<<<<<<<<<<<<< + * frame = frame.f_back + * if frame is not None: + */ + while (1) { + __pyx_t_4 = PyObject_RichCompare(__pyx_v_result, __pyx_v_frame, Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 192, __pyx_L3_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 192, __pyx_L3_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (__pyx_t_8) { + } else { + __pyx_t_6 = __pyx_t_8; + goto __pyx_L12_bool_binop_done; + } + __pyx_t_8 = (__pyx_v_frame != Py_None); + __pyx_t_6 = __pyx_t_8; + __pyx_L12_bool_binop_done:; + if (!__pyx_t_6) break; + + /* "_pydevd_sys_monitoring_cython.pyx":193 + * orig = frame = _getframe(depth) + * while result != frame and frame is not None: + * frame = frame.f_back # <<<<<<<<<<<<<< + * if frame is not None: + * return result + */ + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 193, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_4); + __pyx_t_4 = 0; + } + + /* "_pydevd_sys_monitoring_cython.pyx":194 + * while result != frame and frame is not None: + * frame = frame.f_back + * if frame is not None: # <<<<<<<<<<<<<< + * return result + * del _thread_local_info.f_unhandled + */ + __pyx_t_6 = (__pyx_v_frame != Py_None); + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":195 + * frame = frame.f_back + * if frame is not None: + * return result # <<<<<<<<<<<<<< + * del _thread_local_info.f_unhandled + * raise AttributeError("Unhandled frame from different exception") + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_result); + __pyx_r = __pyx_v_result; + goto __pyx_L7_try_return; + + /* "_pydevd_sys_monitoring_cython.pyx":194 + * while result != frame and frame is not None: + * frame = frame.f_back + * if frame is not None: # <<<<<<<<<<<<<< + * return result + * del _thread_local_info.f_unhandled + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":196 + * if frame is not None: + * return result + * del _thread_local_info.f_unhandled # <<<<<<<<<<<<<< + * raise AttributeError("Unhandled frame from different exception") + * except: + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 196, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled) < 0) __PYX_ERR(0, 196, __pyx_L3_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":197 + * return result + * del _thread_local_info.f_unhandled + * raise AttributeError("Unhandled frame from different exception") # <<<<<<<<<<<<<< + * except: + * f_unhandled = _getframe(depth) + */ + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_AttributeError, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 197, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_Raise(__pyx_t_4, 0, 0, 0); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __PYX_ERR(0, 197, __pyx_L3_error) + + /* "_pydevd_sys_monitoring_cython.pyx":190 + * + * # Make sure the result is from the same exception. That means the result is in the stack somewhere. + * if result is not None: # <<<<<<<<<<<<<< + * orig = frame = _getframe(depth) + * while result != frame and frame is not None: + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":186 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< - * return _thread_local_info.f_unhandled - * except: + * result = _thread_local_info.f_unhandled + * */ } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L8_try_end; __pyx_L3_error:; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":187 - * try: - * return _thread_local_info.f_unhandled + /* "_pydevd_sys_monitoring_cython.pyx":198 + * del _thread_local_info.f_unhandled + * raise AttributeError("Unhandled frame from different exception") * except: # <<<<<<<<<<<<<< - * frame = _getframe(depth) - * f_unhandled = frame + * f_unhandled = _getframe(depth) + * */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_unhandled_exception_frame", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 187, __pyx_L5_except_error) - __Pyx_XGOTREF(__pyx_t_5); + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_9) < 0) __PYX_ERR(0, 198, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_4); - __Pyx_XGOTREF(__pyx_t_6); - - /* "_pydevd_sys_monitoring_cython.pyx":188 - * return _thread_local_info.f_unhandled - * except: - * frame = _getframe(depth) # <<<<<<<<<<<<<< - * f_unhandled = frame - * - */ - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 188, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9.__pyx_n = 1; - __pyx_t_9.depth = __pyx_t_7; - __pyx_t_8 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_9); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 188, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_v_frame = __pyx_t_8; - __pyx_t_8 = 0; + __Pyx_XGOTREF(__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_9); - /* "_pydevd_sys_monitoring_cython.pyx":189 + /* "_pydevd_sys_monitoring_cython.pyx":199 + * raise AttributeError("Unhandled frame from different exception") * except: - * frame = _getframe(depth) - * f_unhandled = frame # <<<<<<<<<<<<<< + * f_unhandled = _getframe(depth) # <<<<<<<<<<<<<< * * while f_unhandled is not None and f_unhandled.f_back is not None: */ - __Pyx_INCREF(__pyx_v_frame); - __pyx_v_f_unhandled = __pyx_v_frame; + __pyx_t_10 = __Pyx_PyInt_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 199, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_7.__pyx_n = 1; + __pyx_t_7.depth = __pyx_t_10; + __pyx_t_11 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_7); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 199, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_v_f_unhandled = __pyx_t_11; + __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":191 - * f_unhandled = frame + /* "_pydevd_sys_monitoring_cython.pyx":201 + * f_unhandled = _getframe(depth) * * while f_unhandled is not None and f_unhandled.f_back is not None: # <<<<<<<<<<<<<< * f_back = f_unhandled.f_back * filename = f_back.f_code.co_filename */ while (1) { - __pyx_t_11 = (__pyx_v_f_unhandled != Py_None); - if (__pyx_t_11) { + __pyx_t_8 = (__pyx_v_f_unhandled != Py_None); + if (__pyx_t_8) { } else { - __pyx_t_10 = __pyx_t_11; - goto __pyx_L13_bool_binop_done; + __pyx_t_6 = __pyx_t_8; + goto __pyx_L19_bool_binop_done; } - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 191, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_11 = (__pyx_t_8 != Py_None); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_10 = __pyx_t_11; - __pyx_L13_bool_binop_done:; - if (!__pyx_t_10) break; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 201, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_8 = (__pyx_t_11 != Py_None); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_6 = __pyx_t_8; + __pyx_L19_bool_binop_done:; + if (!__pyx_t_6) break; - /* "_pydevd_sys_monitoring_cython.pyx":192 + /* "_pydevd_sys_monitoring_cython.pyx":202 * * while f_unhandled is not None and f_unhandled.f_back is not None: * f_back = f_unhandled.f_back # <<<<<<<<<<<<<< * filename = f_back.f_code.co_filename * name = splitext(basename(filename))[0] */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 192, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_XDECREF_SET(__pyx_v_f_back, __pyx_t_8); - __pyx_t_8 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 202, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_XDECREF_SET(__pyx_v_f_back, __pyx_t_11); + __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":193 + /* "_pydevd_sys_monitoring_cython.pyx":203 * while f_unhandled is not None and f_unhandled.f_back is not None: * f_back = f_unhandled.f_back * filename = f_back.f_code.co_filename # <<<<<<<<<<<<<< * name = splitext(basename(filename))[0] * */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 193, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 193, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_XDECREF_SET(__pyx_v_filename, __pyx_t_7); - __pyx_t_7 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 203, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 203, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __Pyx_XDECREF_SET(__pyx_v_filename, __pyx_t_10); + __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":194 + /* "_pydevd_sys_monitoring_cython.pyx":204 * f_back = f_unhandled.f_back * filename = f_back.f_code.co_filename * name = splitext(basename(filename))[0] # <<<<<<<<<<<<<< * * # When the back frame is the bootstrap (or if we have no back */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_splitext); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 194, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_n_s_basename); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 194, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_splitext); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 204, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_n_s_basename); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 204, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_13); __pyx_t_14 = NULL; __pyx_t_15 = 0; @@ -7538,102 +7716,102 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio PyObject *__pyx_callargs[2] = {__pyx_t_14, __pyx_v_filename}; __pyx_t_12 = __Pyx_PyObject_FastCall(__pyx_t_13, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 194, __pyx_L5_except_error) + if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 204, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; } __pyx_t_13 = NULL; __pyx_t_15 = 0; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_8))) { - __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_8); + if (unlikely(PyMethod_Check(__pyx_t_11))) { + __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_11); if (likely(__pyx_t_13)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8); + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_11); __Pyx_INCREF(__pyx_t_13); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_8, function); + __Pyx_DECREF_SET(__pyx_t_11, function); __pyx_t_15 = 1; } } #endif { PyObject *__pyx_callargs[2] = {__pyx_t_13, __pyx_t_12}; - __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); + __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 194, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 204, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } - __pyx_t_8 = __Pyx_GetItemInt(__pyx_t_7, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 194, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_8); - __pyx_t_8 = 0; + __pyx_t_11 = __Pyx_GetItemInt(__pyx_t_10, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 204, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_11); + __pyx_t_11 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":198 + /* "_pydevd_sys_monitoring_cython.pyx":208 * # When the back frame is the bootstrap (or if we have no back * # frame) then use this frame as the one to track. * if name == "threading": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): * break */ - __pyx_t_10 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_threading, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 198, __pyx_L5_except_error) - if (__pyx_t_10) { + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_threading, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 208, __pyx_L5_except_error) + if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":199 + /* "_pydevd_sys_monitoring_cython.pyx":209 * # frame) then use this frame as the one to track. * if name == "threading": * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): # <<<<<<<<<<<<<< * break * */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 199, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 199, __pyx_L5_except_error) - if (!__pyx_t_11) { + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 209, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 209, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error) + if (!__pyx_t_8) { } else { - __pyx_t_10 = __pyx_t_11; - goto __pyx_L17_bool_binop_done; + __pyx_t_6 = __pyx_t_8; + goto __pyx_L23_bool_binop_done; } - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 199, __pyx_L5_except_error) - if (!__pyx_t_11) { + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error) + if (!__pyx_t_8) { } else { - __pyx_t_10 = __pyx_t_11; - goto __pyx_L17_bool_binop_done; + __pyx_t_6 = __pyx_t_8; + goto __pyx_L23_bool_binop_done; } - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 199, __pyx_L5_except_error) - if (!__pyx_t_11) { + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error) + if (!__pyx_t_8) { } else { - __pyx_t_10 = __pyx_t_11; - goto __pyx_L17_bool_binop_done; + __pyx_t_6 = __pyx_t_8; + goto __pyx_L23_bool_binop_done; } - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 199, __pyx_L5_except_error) - if (!__pyx_t_11) { + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error) + if (!__pyx_t_8) { } else { - __pyx_t_10 = __pyx_t_11; - goto __pyx_L17_bool_binop_done; + __pyx_t_6 = __pyx_t_8; + goto __pyx_L23_bool_binop_done; } - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 199, __pyx_L5_except_error) - __pyx_t_10 = __pyx_t_11; - __pyx_L17_bool_binop_done:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_11 = __pyx_t_10; - if (__pyx_t_11) { + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error) + __pyx_t_6 = __pyx_t_8; + __pyx_L23_bool_binop_done:; + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_8 = __pyx_t_6; + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":200 + /* "_pydevd_sys_monitoring_cython.pyx":210 * if name == "threading": * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): * break # <<<<<<<<<<<<<< * * elif name == "pydev_monkey": */ - goto __pyx_L12_break; + goto __pyx_L18_break; - /* "_pydevd_sys_monitoring_cython.pyx":199 + /* "_pydevd_sys_monitoring_cython.pyx":209 * # frame) then use this frame as the one to track. * if name == "threading": * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): # <<<<<<<<<<<<<< @@ -7642,52 +7820,52 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":198 + /* "_pydevd_sys_monitoring_cython.pyx":208 * # When the back frame is the bootstrap (or if we have no back * # frame) then use this frame as the one to track. * if name == "threading": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"): * break */ - goto __pyx_L15; + goto __pyx_L21; } - /* "_pydevd_sys_monitoring_cython.pyx":202 + /* "_pydevd_sys_monitoring_cython.pyx":212 * break * * elif name == "pydev_monkey": # <<<<<<<<<<<<<< * if f_back.f_code.co_name == "__call__": * break */ - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 202, __pyx_L5_except_error) - if (__pyx_t_11) { + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydev_monkey, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 212, __pyx_L5_except_error) + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":203 + /* "_pydevd_sys_monitoring_cython.pyx":213 * * elif name == "pydev_monkey": * if f_back.f_code.co_name == "__call__": # <<<<<<<<<<<<<< * break * */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 203, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 203, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 203, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (__pyx_t_11) { + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 213, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_co_name); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 213, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_t_11, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 213, __pyx_L5_except_error) + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":204 + /* "_pydevd_sys_monitoring_cython.pyx":214 * elif name == "pydev_monkey": * if f_back.f_code.co_name == "__call__": * break # <<<<<<<<<<<<<< * * elif name == "pydevd": */ - goto __pyx_L12_break; + goto __pyx_L18_break; - /* "_pydevd_sys_monitoring_cython.pyx":203 + /* "_pydevd_sys_monitoring_cython.pyx":213 * * elif name == "pydev_monkey": * if f_back.f_code.co_name == "__call__": # <<<<<<<<<<<<<< @@ -7696,67 +7874,67 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":202 + /* "_pydevd_sys_monitoring_cython.pyx":212 * break * * elif name == "pydev_monkey": # <<<<<<<<<<<<<< * if f_back.f_code.co_name == "__call__": * break */ - goto __pyx_L15; + goto __pyx_L21; } - /* "_pydevd_sys_monitoring_cython.pyx":206 + /* "_pydevd_sys_monitoring_cython.pyx":216 * break * * elif name == "pydevd": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("_exec", "run", "main"): * break */ - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 206, __pyx_L5_except_error) - if (__pyx_t_11) { + __pyx_t_8 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 216, __pyx_L5_except_error) + if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":207 + /* "_pydevd_sys_monitoring_cython.pyx":217 * * elif name == "pydevd": * if f_back.f_code.co_name in ("_exec", "run", "main"): # <<<<<<<<<<<<<< * break * */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 207, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 207, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_10 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 207, __pyx_L5_except_error) - if (!__pyx_t_10) { + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 217, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_co_name); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 217, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 217, __pyx_L5_except_error) + if (!__pyx_t_6) { } else { - __pyx_t_11 = __pyx_t_10; - goto __pyx_L24_bool_binop_done; + __pyx_t_8 = __pyx_t_6; + goto __pyx_L30_bool_binop_done; } - __pyx_t_10 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 207, __pyx_L5_except_error) - if (!__pyx_t_10) { + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 217, __pyx_L5_except_error) + if (!__pyx_t_6) { } else { - __pyx_t_11 = __pyx_t_10; - goto __pyx_L24_bool_binop_done; + __pyx_t_8 = __pyx_t_6; + goto __pyx_L30_bool_binop_done; } - __pyx_t_10 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_n_s_main, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 207, __pyx_L5_except_error) - __pyx_t_11 = __pyx_t_10; - __pyx_L24_bool_binop_done:; - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_10 = __pyx_t_11; - if (__pyx_t_10) { + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_10, __pyx_n_s_main, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 217, __pyx_L5_except_error) + __pyx_t_8 = __pyx_t_6; + __pyx_L30_bool_binop_done:; + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_6 = __pyx_t_8; + if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":208 + /* "_pydevd_sys_monitoring_cython.pyx":218 * elif name == "pydevd": * if f_back.f_code.co_name in ("_exec", "run", "main"): * break # <<<<<<<<<<<<<< * * elif name == "pydevd_runpy": */ - goto __pyx_L12_break; + goto __pyx_L18_break; - /* "_pydevd_sys_monitoring_cython.pyx":207 + /* "_pydevd_sys_monitoring_cython.pyx":217 * * elif name == "pydevd": * if f_back.f_code.co_name in ("_exec", "run", "main"): # <<<<<<<<<<<<<< @@ -7765,77 +7943,77 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":206 + /* "_pydevd_sys_monitoring_cython.pyx":216 * break * * elif name == "pydevd": # <<<<<<<<<<<<<< * if f_back.f_code.co_name in ("_exec", "run", "main"): * break */ - goto __pyx_L15; + goto __pyx_L21; } - /* "_pydevd_sys_monitoring_cython.pyx":210 + /* "_pydevd_sys_monitoring_cython.pyx":220 * break * * elif name == "pydevd_runpy": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ - __pyx_t_10 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd_runpy, Py_EQ)); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error) - if (__pyx_t_10) { + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 220, __pyx_L5_except_error) + if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":211 + /* "_pydevd_sys_monitoring_cython.pyx":221 * * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< * break * */ - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 211, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 211, __pyx_L5_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 221, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 221, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_12); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 211, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 221, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; __pyx_t_12 = NULL; __pyx_t_15 = 0; #if CYTHON_UNPACK_METHODS - if (likely(PyMethod_Check(__pyx_t_8))) { - __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_8); + if (likely(PyMethod_Check(__pyx_t_11))) { + __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_11); if (likely(__pyx_t_12)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8); + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_11); __Pyx_INCREF(__pyx_t_12); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_8, function); + __Pyx_DECREF_SET(__pyx_t_11, function); __pyx_t_15 = 1; } } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__13}; - __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); + PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__14}; + __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 211, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 221, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 211, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (__pyx_t_10) { + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 221, __pyx_L5_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":212 + /* "_pydevd_sys_monitoring_cython.pyx":222 * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): * break # <<<<<<<<<<<<<< * - * f_unhandled = f_back + * elif name == "": */ - goto __pyx_L12_break; + goto __pyx_L18_break; - /* "_pydevd_sys_monitoring_cython.pyx":211 + /* "_pydevd_sys_monitoring_cython.pyx":221 * * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< @@ -7844,17 +8022,175 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":210 + /* "_pydevd_sys_monitoring_cython.pyx":220 * break * * elif name == "pydevd_runpy": # <<<<<<<<<<<<<< * if f_back.f_code.co_name.startswith(("run", "_run")): * break */ + goto __pyx_L21; } - __pyx_L15:; - /* "_pydevd_sys_monitoring_cython.pyx":214 + /* "_pydevd_sys_monitoring_cython.pyx":224 + * break + * + * elif name == "": # <<<<<<<<<<<<<< + * if f_back.f_code.co_name.startswith(("run", "_run")): + * break + */ + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_kp_s_frozen_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 224, __pyx_L5_except_error) + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":225 + * + * elif name == "": + * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< + * break + * + */ + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 225, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 225, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_12); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 225, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_12 = NULL; + __pyx_t_15 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_11))) { + __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_11); + if (likely(__pyx_t_12)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_11); + __Pyx_INCREF(__pyx_t_12); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_11, function); + __pyx_t_15 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__14}; + __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); + __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 225, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + } + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 225, __pyx_L5_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":226 + * elif name == "": + * if f_back.f_code.co_name.startswith(("run", "_run")): + * break # <<<<<<<<<<<<<< + * + * elif name == "runpy": + */ + goto __pyx_L18_break; + + /* "_pydevd_sys_monitoring_cython.pyx":225 + * + * elif name == "": + * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< + * break + * + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":224 + * break + * + * elif name == "": # <<<<<<<<<<<<<< + * if f_back.f_code.co_name.startswith(("run", "_run")): + * break + */ + goto __pyx_L21; + } + + /* "_pydevd_sys_monitoring_cython.pyx":228 + * break + * + * elif name == "runpy": # <<<<<<<<<<<<<< + * if f_back.f_code.co_name.startswith(("run", "_run")): + * break + */ + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 228, __pyx_L5_except_error) + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":229 + * + * elif name == "runpy": + * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< + * break + * + */ + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 229, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_11, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 229, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_12); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 229, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_12 = NULL; + __pyx_t_15 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_11))) { + __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_11); + if (likely(__pyx_t_12)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_11); + __Pyx_INCREF(__pyx_t_12); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_11, function); + __pyx_t_15 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__14}; + __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15); + __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 229, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + } + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_10); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 229, __pyx_L5_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":230 + * elif name == "runpy": + * if f_back.f_code.co_name.startswith(("run", "_run")): + * break # <<<<<<<<<<<<<< + * + * f_unhandled = f_back + */ + goto __pyx_L18_break; + + /* "_pydevd_sys_monitoring_cython.pyx":229 + * + * elif name == "runpy": + * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< + * break + * + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":228 + * break + * + * elif name == "runpy": # <<<<<<<<<<<<<< + * if f_back.f_code.co_name.startswith(("run", "_run")): + * break + */ + } + __pyx_L21:; + + /* "_pydevd_sys_monitoring_cython.pyx":232 * break * * f_unhandled = f_back # <<<<<<<<<<<<<< @@ -7864,31 +8200,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __Pyx_INCREF(__pyx_v_f_back); __Pyx_DECREF_SET(__pyx_v_f_unhandled, __pyx_v_f_back); } - __pyx_L12_break:; + __pyx_L18_break:; - /* "_pydevd_sys_monitoring_cython.pyx":216 + /* "_pydevd_sys_monitoring_cython.pyx":234 * f_unhandled = f_back * * if f_unhandled is not None: # <<<<<<<<<<<<<< * _thread_local_info.f_unhandled = f_unhandled * return _thread_local_info.f_unhandled */ - __pyx_t_10 = (__pyx_v_f_unhandled != Py_None); - if (__pyx_t_10) { + __pyx_t_6 = (__pyx_v_f_unhandled != Py_None); + if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":217 + /* "_pydevd_sys_monitoring_cython.pyx":235 * * if f_unhandled is not None: * _thread_local_info.f_unhandled = f_unhandled # <<<<<<<<<<<<<< * return _thread_local_info.f_unhandled * */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 217, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_7, __pyx_n_s_f_unhandled, __pyx_v_f_unhandled) < 0) __PYX_ERR(0, 217, __pyx_L5_except_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 235, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + if (__Pyx_PyObject_SetAttrStr(__pyx_t_10, __pyx_n_s_f_unhandled, __pyx_v_f_unhandled) < 0) __PYX_ERR(0, 235, __pyx_L5_except_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":218 + /* "_pydevd_sys_monitoring_cython.pyx":236 * if f_unhandled is not None: * _thread_local_info.f_unhandled = f_unhandled * return _thread_local_info.f_unhandled # <<<<<<<<<<<<<< @@ -7896,19 +8232,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio * return f_unhandled */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 218, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_unhandled); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 218, __pyx_L5_except_error) - __Pyx_GOTREF(__pyx_t_8); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_r = __pyx_t_8; - __pyx_t_8 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 236, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_10); + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_f_unhandled); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 236, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_11); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_r = __pyx_t_11; + __pyx_t_11 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":216 + /* "_pydevd_sys_monitoring_cython.pyx":234 * f_unhandled = f_back * * if f_unhandled is not None: # <<<<<<<<<<<<<< @@ -7917,7 +8253,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ } - /* "_pydevd_sys_monitoring_cython.pyx":220 + /* "_pydevd_sys_monitoring_cython.pyx":238 * return _thread_local_info.f_unhandled * * return f_unhandled # <<<<<<<<<<<<<< @@ -7929,16 +8265,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __pyx_r = __pyx_v_f_unhandled; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":185 + /* "_pydevd_sys_monitoring_cython.pyx":186 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< - * return _thread_local_info.f_unhandled - * except: + * result = _thread_local_info.f_unhandled + * */ __pyx_L5_except_error:; __Pyx_XGIVEREF(__pyx_t_1); @@ -7958,9 +8294,10 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio __Pyx_XGIVEREF(__pyx_t_3); __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); goto __pyx_L0; + __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":180 + /* "_pydevd_sys_monitoring_cython.pyx":181 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_unhandled_exception_frame(int depth): # <<<<<<<<<<<<<< @@ -7969,18 +8306,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio */ /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; __pyx_L1_error:; __Pyx_XDECREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_5); - __Pyx_XDECREF(__pyx_t_6); - __Pyx_XDECREF(__pyx_t_7); - __Pyx_XDECREF(__pyx_t_8); + __Pyx_XDECREF(__pyx_t_9); + __Pyx_XDECREF(__pyx_t_10); + __Pyx_XDECREF(__pyx_t_11); __Pyx_XDECREF(__pyx_t_12); __Pyx_XDECREF(__pyx_t_13); __Pyx_XDECREF(__pyx_t_14); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_unhandled_exception_frame", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; + __Pyx_XDECREF(__pyx_v_result); + __Pyx_XDECREF(__pyx_v_orig); __Pyx_XDECREF(__pyx_v_frame); __Pyx_XDECREF(__pyx_v_f_unhandled); __Pyx_XDECREF(__pyx_v_f_back); @@ -7991,7 +8332,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":241 +/* "_pydevd_sys_monitoring_cython.pyx":259 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, thread, unsigned long thread_ident, bint trace, PyDBAdditionalThreadInfo additional_info): # <<<<<<<<<<<<<< @@ -8044,7 +8385,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj (void)__Pyx_Arg_NewRef_VARARGS(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 241, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L3_error) else goto __pyx_L5_argtuple_error; CYTHON_FALLTHROUGH; case 1: @@ -8052,9 +8393,9 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj (void)__Pyx_Arg_NewRef_VARARGS(values[1]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 241, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); __PYX_ERR(0, 241, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); __PYX_ERR(0, 259, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -8062,9 +8403,9 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj (void)__Pyx_Arg_NewRef_VARARGS(values[2]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 241, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); __PYX_ERR(0, 241, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); __PYX_ERR(0, 259, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 3: @@ -8072,14 +8413,14 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj (void)__Pyx_Arg_NewRef_VARARGS(values[3]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 241, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); __PYX_ERR(0, 241, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); __PYX_ERR(0, 259, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 241, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 259, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 4)) { goto __pyx_L5_argtuple_error; @@ -8090,13 +8431,13 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj values[3] = __Pyx_Arg_VARARGS(__pyx_args, 3); } __pyx_v_thread = values[0]; - __pyx_v_thread_ident = __Pyx_PyInt_As_unsigned_long(values[1]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 241, __pyx_L3_error) - __pyx_v_trace = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_trace == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 241, __pyx_L3_error) + __pyx_v_thread_ident = __Pyx_PyInt_As_unsigned_long(values[1]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L3_error) + __pyx_v_trace = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_trace == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L3_error) __pyx_v_additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)values[3]); } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 241, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 259, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -8110,7 +8451,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_10ThreadInfo_1__init__(PyObj __Pyx_RefNannyFinishContext(); return -1; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_additional_info), __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, 1, "additional_info", 0))) __PYX_ERR(0, 241, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_additional_info), __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo, 1, "additional_info", 0))) __PYX_ERR(0, 259, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_self), __pyx_v_thread, __pyx_v_thread_ident, __pyx_v_trace, __pyx_v_additional_info); /* function exit code */ @@ -8137,7 +8478,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 1); - /* "_pydevd_sys_monitoring_cython.pyx":246 + /* "_pydevd_sys_monitoring_cython.pyx":264 * # ENDIF * # fmt: on * self.thread = thread # <<<<<<<<<<<<<< @@ -8150,7 +8491,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct __Pyx_DECREF(__pyx_v_self->thread); __pyx_v_self->thread = __pyx_v_thread; - /* "_pydevd_sys_monitoring_cython.pyx":247 + /* "_pydevd_sys_monitoring_cython.pyx":265 * # fmt: on * self.thread = thread * self.thread_ident = thread_ident # <<<<<<<<<<<<<< @@ -8159,7 +8500,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct */ __pyx_v_self->thread_ident = __pyx_v_thread_ident; - /* "_pydevd_sys_monitoring_cython.pyx":248 + /* "_pydevd_sys_monitoring_cython.pyx":266 * self.thread = thread * self.thread_ident = thread_ident * self.additional_info = additional_info # <<<<<<<<<<<<<< @@ -8172,14 +8513,14 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct __Pyx_DECREF((PyObject *)__pyx_v_self->additional_info); __pyx_v_self->additional_info = __pyx_v_additional_info; - /* "_pydevd_sys_monitoring_cython.pyx":249 + /* "_pydevd_sys_monitoring_cython.pyx":267 * self.thread_ident = thread_ident * self.additional_info = additional_info * self.trace = trace # <<<<<<<<<<<<<< * * */ - __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 249, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 267, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->trace); @@ -8187,7 +8528,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct __pyx_v_self->trace = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":241 + /* "_pydevd_sys_monitoring_cython.pyx":259 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, thread, unsigned long thread_ident, bint trace, PyDBAdditionalThreadInfo additional_info): # <<<<<<<<<<<<<< @@ -8634,7 +8975,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":257 +/* "_pydevd_sys_monitoring_cython.pyx":275 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< @@ -8698,7 +9039,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 257, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 275, __pyx_L3_error) else goto __pyx_L5_argtuple_error; CYTHON_FALLTHROUGH; case 1: @@ -8706,14 +9047,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 257, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 275, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); __PYX_ERR(0, 257, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); __PYX_ERR(0, 275, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 257, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 275, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; @@ -8726,7 +9067,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 257, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 275, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -8762,40 +9103,40 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 1); - /* "_pydevd_sys_monitoring_cython.pyx":258 + /* "_pydevd_sys_monitoring_cython.pyx":276 * * def __init__(self, dummy_thread): * self._dummy_thread = dummy_thread # <<<<<<<<<<<<<< * self._tident = dummy_thread.ident * # Put the thread on a thread local variable so that when */ - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_dummy_thread_2, __pyx_v_dummy_thread) < 0) __PYX_ERR(0, 258, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_dummy_thread_2, __pyx_v_dummy_thread) < 0) __PYX_ERR(0, 276, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":259 + /* "_pydevd_sys_monitoring_cython.pyx":277 * def __init__(self, dummy_thread): * self._dummy_thread = dummy_thread * self._tident = dummy_thread.ident # <<<<<<<<<<<<<< * # Put the thread on a thread local variable so that when * # the related thread finishes this instance is collected. */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dummy_thread, __pyx_n_s_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 259, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_dummy_thread, __pyx_n_s_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 277, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_tident, __pyx_t_1) < 0) __PYX_ERR(0, 259, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_tident, __pyx_t_1) < 0) __PYX_ERR(0, 277, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":266 + /* "_pydevd_sys_monitoring_cython.pyx":284 * # If any client code creates a reference to this instance, * # the related _DummyThread will be kept forever! * _thread_local_info._track_dummy_thread_ref = self # <<<<<<<<<<<<<< * * def __del__(self): */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 266, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 284, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s_track_dummy_thread_ref, __pyx_v_self) < 0) __PYX_ERR(0, 266, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s_track_dummy_thread_ref, __pyx_v_self) < 0) __PYX_ERR(0, 284, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":257 + /* "_pydevd_sys_monitoring_cython.pyx":275 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< @@ -8816,7 +9157,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":268 +/* "_pydevd_sys_monitoring_cython.pyx":286 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< @@ -8877,12 +9218,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 268, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 286, __pyx_L3_error) else goto __pyx_L5_argtuple_error; } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__del__") < 0)) __PYX_ERR(0, 268, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__del__") < 0)) __PYX_ERR(0, 286, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; @@ -8893,7 +9234,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 268, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 286, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -8940,7 +9281,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__del__", 1); - /* "_pydevd_sys_monitoring_cython.pyx":269 + /* "_pydevd_sys_monitoring_cython.pyx":287 * * def __del__(self): * with threading._active_limbo_lock: # <<<<<<<<<<<<<< @@ -8948,14 +9289,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn * _thread_active.pop(self._tident, None) */ /*with:*/ { - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 287, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_active_limbo_lock); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 269, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_active_limbo_lock); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 287, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_3 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_n_s_exit); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 269, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_n_s_exit); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 287, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_n_s_enter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 269, __pyx_L3_error) + __pyx_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_n_s_enter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 287, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -8975,7 +9316,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn PyObject *__pyx_callargs[2] = {__pyx_t_5, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 0+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 269, __pyx_L3_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 287, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } @@ -8991,19 +9332,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XGOTREF(__pyx_t_9); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":270 + /* "_pydevd_sys_monitoring_cython.pyx":288 * def __del__(self): * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: # <<<<<<<<<<<<<< * _thread_active.pop(self._tident, None) * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 270, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 288, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 270, __pyx_L7_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 288, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_tident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 270, __pyx_L7_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_tident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 288, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -9024,30 +9365,30 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 270, __pyx_L7_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 288, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_dummy_thread_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 270, __pyx_L7_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_dummy_thread_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 288, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_10 = (__pyx_t_2 == __pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":271 + /* "_pydevd_sys_monitoring_cython.pyx":289 * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: * _thread_active.pop(self._tident, None) # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 271, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 271, __pyx_L7_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 289, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_tident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 271, __pyx_L7_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_tident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 289, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -9068,13 +9409,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 271, __pyx_L7_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 289, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":270 + /* "_pydevd_sys_monitoring_cython.pyx":288 * def __del__(self): * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: # <<<<<<<<<<<<<< @@ -9083,7 +9424,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn */ } - /* "_pydevd_sys_monitoring_cython.pyx":269 + /* "_pydevd_sys_monitoring_cython.pyx":287 * * def __del__(self): * with threading._active_limbo_lock: # <<<<<<<<<<<<<< @@ -9102,20 +9443,20 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._DeleteDummyThreadOnDel.__del__", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 269, __pyx_L9_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 287, __pyx_L9_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_2); - __pyx_t_5 = PyTuple_Pack(3, __pyx_t_4, __pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 269, __pyx_L9_except_error) + __pyx_t_5 = PyTuple_Pack(3, __pyx_t_4, __pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 287, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_11 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_t_5, NULL); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 269, __pyx_L9_except_error) + if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 287, __pyx_L9_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_11); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; - if (__pyx_t_10 < 0) __PYX_ERR(0, 269, __pyx_L9_except_error) + if (__pyx_t_10 < 0) __PYX_ERR(0, 287, __pyx_L9_except_error) __pyx_t_12 = (!__pyx_t_10); if (unlikely(__pyx_t_12)) { __Pyx_GIVEREF(__pyx_t_4); @@ -9123,7 +9464,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __Pyx_XGIVEREF(__pyx_t_2); __Pyx_ErrRestoreWithState(__pyx_t_4, __pyx_t_1, __pyx_t_2); __pyx_t_4 = 0; __pyx_t_1 = 0; __pyx_t_2 = 0; - __PYX_ERR(0, 269, __pyx_L9_except_error) + __PYX_ERR(0, 287, __pyx_L9_except_error) } __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; @@ -9149,7 +9490,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn if (__pyx_t_3) { __pyx_t_9 = __Pyx_PyObject_Call(__pyx_t_3, __pyx_tuple__11, NULL); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 269, __pyx_L1_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 287, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } @@ -9164,7 +9505,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn __pyx_L17:; } - /* "_pydevd_sys_monitoring_cython.pyx":268 + /* "_pydevd_sys_monitoring_cython.pyx":286 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< @@ -9188,7 +9529,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":276 +/* "_pydevd_sys_monitoring_cython.pyx":294 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _create_thread_info(depth): # <<<<<<<<<<<<<< @@ -9221,14 +9562,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_create_thread_info", 1); - /* "_pydevd_sys_monitoring_cython.pyx":284 + /* "_pydevd_sys_monitoring_cython.pyx":302 * # Don't call threading.currentThread because if we're too early in the process * # we may create a dummy thread. * thread_ident = _get_ident() # <<<<<<<<<<<<<< * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 284, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 302, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; __pyx_t_4 = 0; @@ -9248,24 +9589,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 284, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 302, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } - __pyx_t_5 = __Pyx_PyInt_As_unsigned_long(__pyx_t_1); if (unlikely((__pyx_t_5 == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 284, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_As_unsigned_long(__pyx_t_1); if (unlikely((__pyx_t_5 == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 302, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_thread_ident = __pyx_t_5; - /* "_pydevd_sys_monitoring_cython.pyx":286 + /* "_pydevd_sys_monitoring_cython.pyx":304 * thread_ident = _get_ident() * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) # <<<<<<<<<<<<<< * if f_bootstrap_frame is None: * return None # Case for threading when it's still in bootstrap or early in pydevd. */ - __pyx_t_1 = __Pyx_PyInt_AddObjC(__pyx_v_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 286, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_AddObjC(__pyx_v_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 304, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 286, __pyx_L1_error) + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 304, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if ((likely(PyTuple_CheckExact(__pyx_t_2))) || (PyList_CheckExact(__pyx_t_2))) { @@ -9274,7 +9615,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 286, __pyx_L1_error) + __PYX_ERR(0, 304, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -9287,15 +9628,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(__pyx_t_1); __Pyx_INCREF(__pyx_t_3); #else - __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 286, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 304, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 286, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 304, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } else { Py_ssize_t index = -1; - __pyx_t_6 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 286, __pyx_L1_error) + __pyx_t_6 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 304, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_7 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); @@ -9303,7 +9644,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_GOTREF(__pyx_t_1); index = 1; __pyx_t_3 = __pyx_t_7(__pyx_t_6); if (unlikely(!__pyx_t_3)) goto __pyx_L3_unpacking_failed; __Pyx_GOTREF(__pyx_t_3); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < 0) __PYX_ERR(0, 286, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < 0) __PYX_ERR(0, 304, __pyx_L1_error) __pyx_t_7 = NULL; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L4_unpacking_done; @@ -9311,7 +9652,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_7 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 286, __pyx_L1_error) + __PYX_ERR(0, 304, __pyx_L1_error) __pyx_L4_unpacking_done:; } __pyx_v_f_bootstrap_frame = __pyx_t_1; @@ -9319,7 +9660,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_v_is_bootstrap_frame_internal = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":287 + /* "_pydevd_sys_monitoring_cython.pyx":305 * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) * if f_bootstrap_frame is None: # <<<<<<<<<<<<<< @@ -9329,7 +9670,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_f_bootstrap_frame == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":288 + /* "_pydevd_sys_monitoring_cython.pyx":306 * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) * if f_bootstrap_frame is None: * return None # Case for threading when it's still in bootstrap or early in pydevd. # <<<<<<<<<<<<<< @@ -9340,7 +9681,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":287 + /* "_pydevd_sys_monitoring_cython.pyx":305 * * f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1) * if f_bootstrap_frame is None: # <<<<<<<<<<<<<< @@ -9349,17 +9690,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":290 + /* "_pydevd_sys_monitoring_cython.pyx":308 * return None # Case for threading when it's still in bootstrap or early in pydevd. * * if is_bootstrap_frame_internal: # <<<<<<<<<<<<<< * t = None * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_bootstrap_frame_internal); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 290, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_bootstrap_frame_internal); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 308, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":291 + /* "_pydevd_sys_monitoring_cython.pyx":309 * * if is_bootstrap_frame_internal: * t = None # <<<<<<<<<<<<<< @@ -9369,47 +9710,47 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(Py_None); __pyx_v_t = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":292 + /* "_pydevd_sys_monitoring_cython.pyx":310 * if is_bootstrap_frame_internal: * t = None * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<< * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 310, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 310, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 310, __pyx_L1_error) if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L8_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 310, __pyx_L1_error) if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L8_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_is_alive, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 292, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_is_alive, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 310, __pyx_L1_error) __pyx_t_8 = __pyx_t_9; __pyx_L8_bool_binop_done:; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_9 = __pyx_t_8; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":294 + /* "_pydevd_sys_monitoring_cython.pyx":312 * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") # <<<<<<<<<<<<<< * if not isinstance(t, threading.Thread): * t = None */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_locals); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 294, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_locals); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 294, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -9430,31 +9771,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_n_s_self}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 1+__pyx_t_4); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 294, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF_SET(__pyx_v_t, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":295 + /* "_pydevd_sys_monitoring_cython.pyx":313 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< * t = None * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 295, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 295, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 295, __pyx_L1_error) + __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 313, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = (!__pyx_t_9); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":296 + /* "_pydevd_sys_monitoring_cython.pyx":314 * t = f_bootstrap_frame.f_locals.get("self") * if not isinstance(t, threading.Thread): * t = None # <<<<<<<<<<<<<< @@ -9464,7 +9805,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_t, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":295 + /* "_pydevd_sys_monitoring_cython.pyx":313 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("self") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< @@ -9473,7 +9814,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":292 + /* "_pydevd_sys_monitoring_cython.pyx":310 * if is_bootstrap_frame_internal: * t = None * if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<< @@ -9483,41 +9824,41 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L7; } - /* "_pydevd_sys_monitoring_cython.pyx":298 + /* "_pydevd_sys_monitoring_cython.pyx":316 * t = None * * elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): # <<<<<<<<<<<<<< * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 298, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 298, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_co_name); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 298, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 316, __pyx_L1_error) if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L12_bool_binop_done; } - __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 298, __pyx_L1_error) + __pyx_t_9 = (__Pyx_PyString_Equals(__pyx_t_3, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 316, __pyx_L1_error) __pyx_t_8 = __pyx_t_9; __pyx_L12_bool_binop_done:; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_9 = __pyx_t_8; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":300 + /* "_pydevd_sys_monitoring_cython.pyx":318 * elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") # <<<<<<<<<<<<<< * if not isinstance(t, threading.Thread): * t = None */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_locals); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 300, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_bootstrap_frame, __pyx_n_s_f_locals); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 318, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 300, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 318, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -9538,31 +9879,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_n_s_t}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 1+__pyx_t_4); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 300, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF_SET(__pyx_v_t, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":301 + /* "_pydevd_sys_monitoring_cython.pyx":319 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< * t = None * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 301, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 301, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 319, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_2); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 301, __pyx_L1_error) + __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_2); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 319, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_8 = (!__pyx_t_9); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":302 + /* "_pydevd_sys_monitoring_cython.pyx":320 * t = f_bootstrap_frame.f_locals.get("t") * if not isinstance(t, threading.Thread): * t = None # <<<<<<<<<<<<<< @@ -9572,7 +9913,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_t, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":301 + /* "_pydevd_sys_monitoring_cython.pyx":319 * # Note: be careful not to use threading.current_thread to avoid creating a dummy thread. * t = f_bootstrap_frame.f_locals.get("t") * if not isinstance(t, threading.Thread): # <<<<<<<<<<<<<< @@ -9581,7 +9922,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":298 + /* "_pydevd_sys_monitoring_cython.pyx":316 * t = None * * elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): # <<<<<<<<<<<<<< @@ -9591,7 +9932,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO } __pyx_L7:; - /* "_pydevd_sys_monitoring_cython.pyx":290 + /* "_pydevd_sys_monitoring_cython.pyx":308 * return None # Case for threading when it's still in bootstrap or early in pydevd. * * if is_bootstrap_frame_internal: # <<<<<<<<<<<<<< @@ -9601,7 +9942,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L6; } - /* "_pydevd_sys_monitoring_cython.pyx":308 + /* "_pydevd_sys_monitoring_cython.pyx":326 * # In practice this means it's some unmanaged thread, so, creating * # a dummy thread is ok in this use-case. * t = threading.current_thread() # <<<<<<<<<<<<<< @@ -9609,9 +9950,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO * if t is None: */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 308, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 326, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_current_thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 308, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_current_thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 326, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -9632,7 +9973,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 308, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 326, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } @@ -9641,7 +9982,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO } __pyx_L6:; - /* "_pydevd_sys_monitoring_cython.pyx":310 + /* "_pydevd_sys_monitoring_cython.pyx":328 * t = threading.current_thread() * * if t is None: # <<<<<<<<<<<<<< @@ -9651,19 +9992,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_t == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":311 + /* "_pydevd_sys_monitoring_cython.pyx":329 * * if t is None: * t = _thread_active.get(thread_ident) # <<<<<<<<<<<<<< * * if isinstance(t, threading._DummyThread): */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 311, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 329, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 311, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 329, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 311, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 329, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_6 = NULL; __pyx_t_4 = 0; @@ -9684,14 +10025,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 1+__pyx_t_4); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 311, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 329, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF_SET(__pyx_v_t, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":310 + /* "_pydevd_sys_monitoring_cython.pyx":328 * t = threading.current_thread() * * if t is None: # <<<<<<<<<<<<<< @@ -9700,30 +10041,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":313 + /* "_pydevd_sys_monitoring_cython.pyx":331 * t = _thread_active.get(thread_ident) * * if isinstance(t, threading._DummyThread): # <<<<<<<<<<<<<< * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 313, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DummyThread); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 313, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DummyThread); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 331, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_8 = PyObject_IsInstance(__pyx_v_t, __pyx_t_3); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 313, __pyx_L1_error) + __pyx_t_8 = PyObject_IsInstance(__pyx_v_t, __pyx_t_3); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 331, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":314 + /* "_pydevd_sys_monitoring_cython.pyx":332 * * if isinstance(t, threading._DummyThread): * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) # <<<<<<<<<<<<<< * * if t is None: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DeleteDummyThreadOnDel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 314, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DeleteDummyThreadOnDel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_1 = NULL; __pyx_t_4 = 0; @@ -9743,17 +10084,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_t}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 1+__pyx_t_4); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 314, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 314, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s_ref, __pyx_t_3) < 0) __PYX_ERR(0, 314, __pyx_L1_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s_ref, __pyx_t_3) < 0) __PYX_ERR(0, 332, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":313 + /* "_pydevd_sys_monitoring_cython.pyx":331 * t = _thread_active.get(thread_ident) * * if isinstance(t, threading._DummyThread): # <<<<<<<<<<<<<< @@ -9762,7 +10103,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":316 + /* "_pydevd_sys_monitoring_cython.pyx":334 * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) * * if t is None: # <<<<<<<<<<<<<< @@ -9772,7 +10113,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_t == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":317 + /* "_pydevd_sys_monitoring_cython.pyx":335 * * if t is None: * return None # <<<<<<<<<<<<<< @@ -9783,7 +10124,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":316 + /* "_pydevd_sys_monitoring_cython.pyx":334 * _thread_local_info._ref = _DeleteDummyThreadOnDel(t) * * if t is None: # <<<<<<<<<<<<<< @@ -9792,20 +10133,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":319 + /* "_pydevd_sys_monitoring_cython.pyx":337 * return None * * if getattr(t, "is_pydev_daemon_thread", False): # <<<<<<<<<<<<<< * return ThreadInfo(t, thread_ident, False, None) * else: */ - __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_t, __pyx_n_s_is_pydev_daemon_thread, Py_False); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 319, __pyx_L1_error) + __pyx_t_2 = __Pyx_GetAttr3(__pyx_v_t, __pyx_n_s_is_pydev_daemon_thread, Py_False); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 337, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 319, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 337, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":320 + /* "_pydevd_sys_monitoring_cython.pyx":338 * * if getattr(t, "is_pydev_daemon_thread", False): * return ThreadInfo(t, thread_ident, False, None) # <<<<<<<<<<<<<< @@ -9813,30 +10154,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO * try: */ __Pyx_XDECREF(__pyx_r); - __pyx_t_2 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_t); __Pyx_GIVEREF(__pyx_v_t); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_t)) __PYX_ERR(0, 320, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_t)) __PYX_ERR(0, 338, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2)) __PYX_ERR(0, 320, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2)) __PYX_ERR(0, 338, __pyx_L1_error); __Pyx_INCREF(Py_False); __Pyx_GIVEREF(Py_False); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_False)) __PYX_ERR(0, 320, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_False)) __PYX_ERR(0, 338, __pyx_L1_error); __Pyx_INCREF(Py_None); __Pyx_GIVEREF(Py_None); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, Py_None)) __PYX_ERR(0, 320, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, Py_None)) __PYX_ERR(0, 338, __pyx_L1_error); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 320, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 338, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_r = __pyx_t_2; __pyx_t_2 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":319 + /* "_pydevd_sys_monitoring_cython.pyx":337 * return None * * if getattr(t, "is_pydev_daemon_thread", False): # <<<<<<<<<<<<<< @@ -9845,7 +10186,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":322 + /* "_pydevd_sys_monitoring_cython.pyx":340 * return ThreadInfo(t, thread_ident, False, None) * else: * try: # <<<<<<<<<<<<<< @@ -9862,19 +10203,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_XGOTREF(__pyx_t_12); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":323 + /* "_pydevd_sys_monitoring_cython.pyx":341 * else: * try: * additional_info = t.additional_info # <<<<<<<<<<<<<< * if additional_info is None: * raise AttributeError() */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_n_s_additional_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 323, __pyx_L19_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_n_s_additional_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L19_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_additional_info = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":324 + /* "_pydevd_sys_monitoring_cython.pyx":342 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -9884,20 +10225,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_t_8 = (__pyx_v_additional_info == Py_None); if (unlikely(__pyx_t_8)) { - /* "_pydevd_sys_monitoring_cython.pyx":325 + /* "_pydevd_sys_monitoring_cython.pyx":343 * additional_info = t.additional_info * if additional_info is None: * raise AttributeError() # <<<<<<<<<<<<<< * except: * additional_info = set_additional_thread_info(t) */ - __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_builtin_AttributeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 325, __pyx_L19_error) + __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_builtin_AttributeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 343, __pyx_L19_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_Raise(__pyx_t_2, 0, 0, 0); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __PYX_ERR(0, 325, __pyx_L19_error) + __PYX_ERR(0, 343, __pyx_L19_error) - /* "_pydevd_sys_monitoring_cython.pyx":324 + /* "_pydevd_sys_monitoring_cython.pyx":342 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -9906,7 +10247,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":322 + /* "_pydevd_sys_monitoring_cython.pyx":340 * return ThreadInfo(t, thread_ident, False, None) * else: * try: # <<<<<<<<<<<<<< @@ -9924,7 +10265,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":326 + /* "_pydevd_sys_monitoring_cython.pyx":344 * if additional_info is None: * raise AttributeError() * except: # <<<<<<<<<<<<<< @@ -9933,19 +10274,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._create_thread_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_1) < 0) __PYX_ERR(0, 326, __pyx_L21_except_error) + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_1) < 0) __PYX_ERR(0, 344, __pyx_L21_except_error) __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_1); - /* "_pydevd_sys_monitoring_cython.pyx":327 + /* "_pydevd_sys_monitoring_cython.pyx":345 * raise AttributeError() * except: * additional_info = set_additional_thread_info(t) # <<<<<<<<<<<<<< * return ThreadInfo(t, thread_ident, True, additional_info) * */ - __pyx_t_6 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_t, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 327, __pyx_L21_except_error) + __pyx_t_6 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_t, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 345, __pyx_L21_except_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_6); __pyx_t_6 = 0; @@ -9955,7 +10296,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L20_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":322 + /* "_pydevd_sys_monitoring_cython.pyx":340 * return ThreadInfo(t, thread_ident, False, None) * else: * try: # <<<<<<<<<<<<<< @@ -9976,7 +10317,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO __pyx_L24_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":328 + /* "_pydevd_sys_monitoring_cython.pyx":346 * except: * additional_info = set_additional_thread_info(t) * return ThreadInfo(t, thread_ident, True, additional_info) # <<<<<<<<<<<<<< @@ -9984,23 +10325,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO * */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 328, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 328, __pyx_L1_error) + __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_v_t); __Pyx_GIVEREF(__pyx_v_t); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_t)) __PYX_ERR(0, 328, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_t)) __PYX_ERR(0, 346, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(0, 328, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(0, 346, __pyx_L1_error); __Pyx_INCREF(Py_True); __Pyx_GIVEREF(Py_True); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_True)) __PYX_ERR(0, 328, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_True)) __PYX_ERR(0, 346, __pyx_L1_error); __Pyx_INCREF(__pyx_v_additional_info); __Pyx_GIVEREF(__pyx_v_additional_info); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_v_additional_info)) __PYX_ERR(0, 328, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_v_additional_info)) __PYX_ERR(0, 346, __pyx_L1_error); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 328, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo), __pyx_t_3, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 346, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_r = __pyx_t_1; @@ -10008,7 +10349,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":276 + /* "_pydevd_sys_monitoring_cython.pyx":294 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _create_thread_info(depth): # <<<<<<<<<<<<<< @@ -10034,7 +10375,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":357 +/* "_pydevd_sys_monitoring_cython.pyx":375 * # ENDIF * # fmt: on * def __init__(self): # <<<<<<<<<<<<<< @@ -10075,46 +10416,46 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru int __pyx_clineno = 0; __Pyx_RefNannySetupContext("__init__", 1); - /* "_pydevd_sys_monitoring_cython.pyx":358 + /* "_pydevd_sys_monitoring_cython.pyx":376 * # fmt: on * def __init__(self): * self.co_filename: str = "" # <<<<<<<<<<<<<< * self.canonical_normalized_filename: str = "" * self.abs_path_filename: str = "" */ - __Pyx_INCREF(__pyx_kp_s__14); - __Pyx_GIVEREF(__pyx_kp_s__14); + __Pyx_INCREF(__pyx_kp_s__15); + __Pyx_GIVEREF(__pyx_kp_s__15); __Pyx_GOTREF(__pyx_v_self->co_filename); __Pyx_DECREF(__pyx_v_self->co_filename); - __pyx_v_self->co_filename = __pyx_kp_s__14; + __pyx_v_self->co_filename = __pyx_kp_s__15; - /* "_pydevd_sys_monitoring_cython.pyx":359 + /* "_pydevd_sys_monitoring_cython.pyx":377 * def __init__(self): * self.co_filename: str = "" * self.canonical_normalized_filename: str = "" # <<<<<<<<<<<<<< * self.abs_path_filename: str = "" * */ - __Pyx_INCREF(__pyx_kp_s__14); - __Pyx_GIVEREF(__pyx_kp_s__14); + __Pyx_INCREF(__pyx_kp_s__15); + __Pyx_GIVEREF(__pyx_kp_s__15); __Pyx_GOTREF(__pyx_v_self->canonical_normalized_filename); __Pyx_DECREF(__pyx_v_self->canonical_normalized_filename); - __pyx_v_self->canonical_normalized_filename = __pyx_kp_s__14; + __pyx_v_self->canonical_normalized_filename = __pyx_kp_s__15; - /* "_pydevd_sys_monitoring_cython.pyx":360 + /* "_pydevd_sys_monitoring_cython.pyx":378 * self.co_filename: str = "" * self.canonical_normalized_filename: str = "" * self.abs_path_filename: str = "" # <<<<<<<<<<<<<< * * # These is never seen and we never stop, even if it's a callback coming */ - __Pyx_INCREF(__pyx_kp_s__14); - __Pyx_GIVEREF(__pyx_kp_s__14); + __Pyx_INCREF(__pyx_kp_s__15); + __Pyx_GIVEREF(__pyx_kp_s__15); __Pyx_GOTREF(__pyx_v_self->abs_path_filename); __Pyx_DECREF(__pyx_v_self->abs_path_filename); - __pyx_v_self->abs_path_filename = __pyx_kp_s__14; + __pyx_v_self->abs_path_filename = __pyx_kp_s__15; - /* "_pydevd_sys_monitoring_cython.pyx":364 + /* "_pydevd_sys_monitoring_cython.pyx":382 * # These is never seen and we never stop, even if it's a callback coming * # from user code (these are completely invisible to the debugging tracing). * self.always_skip_code: bool = False # <<<<<<<<<<<<<< @@ -10123,7 +10464,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->always_skip_code = 0; - /* "_pydevd_sys_monitoring_cython.pyx":366 + /* "_pydevd_sys_monitoring_cython.pyx":384 * self.always_skip_code: bool = False * * self.breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -10132,7 +10473,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":367 + /* "_pydevd_sys_monitoring_cython.pyx":385 * * self.breakpoint_found: bool = False * self.function_breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -10141,7 +10482,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->function_breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":370 + /* "_pydevd_sys_monitoring_cython.pyx":388 * * # A plugin can choose whether to stop on function calls or line events. * self.plugin_line_breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -10150,7 +10491,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_line_breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":371 + /* "_pydevd_sys_monitoring_cython.pyx":389 * # A plugin can choose whether to stop on function calls or line events. * self.plugin_line_breakpoint_found: bool = False * self.plugin_call_breakpoint_found: bool = False # <<<<<<<<<<<<<< @@ -10159,7 +10500,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_call_breakpoint_found = 0; - /* "_pydevd_sys_monitoring_cython.pyx":373 + /* "_pydevd_sys_monitoring_cython.pyx":391 * self.plugin_call_breakpoint_found: bool = False * * self.plugin_line_stepping: bool = False # <<<<<<<<<<<<<< @@ -10168,7 +10509,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_line_stepping = 0; - /* "_pydevd_sys_monitoring_cython.pyx":374 + /* "_pydevd_sys_monitoring_cython.pyx":392 * * self.plugin_line_stepping: bool = False * self.plugin_call_stepping: bool = False # <<<<<<<<<<<<<< @@ -10177,7 +10518,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_call_stepping = 0; - /* "_pydevd_sys_monitoring_cython.pyx":375 + /* "_pydevd_sys_monitoring_cython.pyx":393 * self.plugin_line_stepping: bool = False * self.plugin_call_stepping: bool = False * self.plugin_return_stepping: bool = False # <<<<<<<<<<<<<< @@ -10186,7 +10527,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->plugin_return_stepping = 0; - /* "_pydevd_sys_monitoring_cython.pyx":380 + /* "_pydevd_sys_monitoring_cython.pyx":398 * # to be re-evaluated (if invalid a new FuncCodeInfo must be created and * # tracing can't be disabled for the related frames). * self.pydb_mtime: int = -1 # <<<<<<<<<<<<<< @@ -10195,14 +10536,14 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->pydb_mtime = -1; - /* "_pydevd_sys_monitoring_cython.pyx":382 + /* "_pydevd_sys_monitoring_cython.pyx":400 * self.pydb_mtime: int = -1 * * self.bp_line_to_breakpoint: Dict[int, Any] = {} # <<<<<<<<<<<<<< * self.function_breakpoint = None * */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 382, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 400, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_GIVEREF(__pyx_t_1); __Pyx_GOTREF(__pyx_v_self->bp_line_to_breakpoint); @@ -10210,7 +10551,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __pyx_v_self->bp_line_to_breakpoint = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":383 + /* "_pydevd_sys_monitoring_cython.pyx":401 * * self.bp_line_to_breakpoint: Dict[int, Any] = {} * self.function_breakpoint = None # <<<<<<<<<<<<<< @@ -10223,7 +10564,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_DECREF(__pyx_v_self->function_breakpoint); __pyx_v_self->function_breakpoint = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":388 + /* "_pydevd_sys_monitoring_cython.pyx":406 * # that we may still need to pause in it (in a step return to user code, * # we may need to track this one). * self.always_filtered_out: bool = False # <<<<<<<<<<<<<< @@ -10232,7 +10573,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->always_filtered_out = 0; - /* "_pydevd_sys_monitoring_cython.pyx":392 + /* "_pydevd_sys_monitoring_cython.pyx":410 * # This should be used to filter code in a CMD_STEP_INTO_MY_CODE * # (and other XXX_MY_CODE variants). * self.filtered_out_force_checked: bool = False # <<<<<<<<<<<<<< @@ -10241,7 +10582,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru */ __pyx_v_self->filtered_out_force_checked = 0; - /* "_pydevd_sys_monitoring_cython.pyx":394 + /* "_pydevd_sys_monitoring_cython.pyx":412 * self.filtered_out_force_checked: bool = False * * self.try_except_container_obj: Optional[_TryExceptContainerObj] = None # <<<<<<<<<<<<<< @@ -10254,7 +10595,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_DECREF(__pyx_v_self->try_except_container_obj); __pyx_v_self->try_except_container_obj = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":395 + /* "_pydevd_sys_monitoring_cython.pyx":413 * * self.try_except_container_obj: Optional[_TryExceptContainerObj] = None * self.code_obj: CodeType = None # <<<<<<<<<<<<<< @@ -10267,20 +10608,20 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru __Pyx_DECREF(__pyx_v_self->code_obj); __pyx_v_self->code_obj = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":396 + /* "_pydevd_sys_monitoring_cython.pyx":414 * self.try_except_container_obj: Optional[_TryExceptContainerObj] = None * self.code_obj: CodeType = None * self.co_name: str = "" # <<<<<<<<<<<<<< * * def get_line_of_offset(self, offset): */ - __Pyx_INCREF(__pyx_kp_s__14); - __Pyx_GIVEREF(__pyx_kp_s__14); + __Pyx_INCREF(__pyx_kp_s__15); + __Pyx_GIVEREF(__pyx_kp_s__15); __Pyx_GOTREF(__pyx_v_self->co_name); __Pyx_DECREF(__pyx_v_self->co_name); - __pyx_v_self->co_name = __pyx_kp_s__14; + __pyx_v_self->co_name = __pyx_kp_s__15; - /* "_pydevd_sys_monitoring_cython.pyx":357 + /* "_pydevd_sys_monitoring_cython.pyx":375 * # ENDIF * # fmt: on * def __init__(self): # <<<<<<<<<<<<<< @@ -10300,7 +10641,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":398 +/* "_pydevd_sys_monitoring_cython.pyx":416 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< @@ -10361,12 +10702,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 398, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 416, __pyx_L3_error) else goto __pyx_L5_argtuple_error; } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "get_line_of_offset") < 0)) __PYX_ERR(0, 398, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "get_line_of_offset") < 0)) __PYX_ERR(0, 416, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; @@ -10377,7 +10718,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 398, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 416, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -10427,14 +10768,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_line_of_offset", 1); - /* "_pydevd_sys_monitoring_cython.pyx":399 + /* "_pydevd_sys_monitoring_cython.pyx":417 * * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): # <<<<<<<<<<<<<< * if offset >= start and offset <= end: * return line */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->code_obj, __pyx_n_s_co_lines); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->code_obj, __pyx_n_s_co_lines); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; __pyx_t_4 = 0; @@ -10454,7 +10795,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 399, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } @@ -10463,9 +10804,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __pyx_t_5 = 0; __pyx_t_6 = NULL; } else { - __pyx_t_5 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_5 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 417, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; for (;;) { @@ -10474,28 +10815,28 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li { Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); #if !CYTHON_ASSUME_SAFE_MACROS - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 399, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 417, __pyx_L1_error) #endif if (__pyx_t_5 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_1 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 417, __pyx_L1_error) #else - __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); #if !CYTHON_ASSUME_SAFE_MACROS - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 399, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 417, __pyx_L1_error) #endif if (__pyx_t_5 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_1 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_5); __Pyx_INCREF(__pyx_t_1); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 417, __pyx_L1_error) #else - __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_1 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } @@ -10505,7 +10846,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 399, __pyx_L1_error) + else __PYX_ERR(0, 417, __pyx_L1_error) } break; } @@ -10517,7 +10858,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 399, __pyx_L1_error) + __PYX_ERR(0, 417, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -10533,17 +10874,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_INCREF(__pyx_t_7); __Pyx_INCREF(__pyx_t_8); #else - __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_8 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); #endif __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else { Py_ssize_t index = -1; - __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 399, __pyx_L1_error) + __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 417, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_10 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9); @@ -10553,7 +10894,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_GOTREF(__pyx_t_7); index = 2; __pyx_t_8 = __pyx_t_10(__pyx_t_9); if (unlikely(!__pyx_t_8)) goto __pyx_L5_unpacking_failed; __Pyx_GOTREF(__pyx_t_8); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_9), 3) < 0) __PYX_ERR(0, 399, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_9), 3) < 0) __PYX_ERR(0, 417, __pyx_L1_error) __pyx_t_10 = NULL; __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; goto __pyx_L6_unpacking_done; @@ -10561,7 +10902,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_t_10 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 399, __pyx_L1_error) + __PYX_ERR(0, 417, __pyx_L1_error) __pyx_L6_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_start, __pyx_t_3); @@ -10571,29 +10912,29 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_XDECREF_SET(__pyx_v_line, __pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":400 + /* "_pydevd_sys_monitoring_cython.pyx":418 * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): * if offset >= start and offset <= end: # <<<<<<<<<<<<<< * return line * return -1 */ - __pyx_t_1 = PyObject_RichCompare(__pyx_v_offset, __pyx_v_start, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 400, __pyx_L1_error) - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 400, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_v_offset, __pyx_v_start, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 418, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 418, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_12) { } else { __pyx_t_11 = __pyx_t_12; goto __pyx_L8_bool_binop_done; } - __pyx_t_1 = PyObject_RichCompare(__pyx_v_offset, __pyx_v_end, Py_LE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 400, __pyx_L1_error) - __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 400, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_v_offset, __pyx_v_end, Py_LE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 418, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 418, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_11 = __pyx_t_12; __pyx_L8_bool_binop_done:; if (__pyx_t_11) { - /* "_pydevd_sys_monitoring_cython.pyx":401 + /* "_pydevd_sys_monitoring_cython.pyx":419 * for start, end, line in self.code_obj.co_lines(): * if offset >= start and offset <= end: * return line # <<<<<<<<<<<<<< @@ -10606,7 +10947,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":400 + /* "_pydevd_sys_monitoring_cython.pyx":418 * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): * if offset >= start and offset <= end: # <<<<<<<<<<<<<< @@ -10615,7 +10956,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li */ } - /* "_pydevd_sys_monitoring_cython.pyx":399 + /* "_pydevd_sys_monitoring_cython.pyx":417 * * def get_line_of_offset(self, offset): * for start, end, line in self.code_obj.co_lines(): # <<<<<<<<<<<<<< @@ -10625,7 +10966,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":402 + /* "_pydevd_sys_monitoring_cython.pyx":420 * if offset >= start and offset <= end: * return line * return -1 # <<<<<<<<<<<<<< @@ -10637,7 +10978,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_li __pyx_r = __pyx_int_neg_1; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":398 + /* "_pydevd_sys_monitoring_cython.pyx":416 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< @@ -11204,7 +11545,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_6__sets return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":407 +/* "_pydevd_sys_monitoring_cython.pyx":425 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_thread_info(bint create, int depth): # <<<<<<<<<<<<<< @@ -11230,7 +11571,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_thread_info", 1); - /* "_pydevd_sys_monitoring_cython.pyx":417 + /* "_pydevd_sys_monitoring_cython.pyx":435 * May return None if the thread is still not active. * """ * try: # <<<<<<<<<<<<<< @@ -11246,7 +11587,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":420 + /* "_pydevd_sys_monitoring_cython.pyx":438 * # Note: changing to a `dict[thread.ident] = thread_info` had almost no * # effect in the performance. * return _thread_local_info.thread_info # <<<<<<<<<<<<<< @@ -11254,16 +11595,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ * if not create: */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 420, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 438, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 420, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 438, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_5; __pyx_t_5 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":417 + /* "_pydevd_sys_monitoring_cython.pyx":435 * May return None if the thread is still not active. * """ * try: # <<<<<<<<<<<<<< @@ -11275,7 +11616,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":421 + /* "_pydevd_sys_monitoring_cython.pyx":439 * # effect in the performance. * return _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -11284,12 +11625,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_thread_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 421, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 439, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":422 + /* "_pydevd_sys_monitoring_cython.pyx":440 * return _thread_local_info.thread_info * except: * if not create: # <<<<<<<<<<<<<< @@ -11299,7 +11640,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __pyx_t_7 = (!__pyx_v_create); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":423 + /* "_pydevd_sys_monitoring_cython.pyx":441 * except: * if not create: * return None # <<<<<<<<<<<<<< @@ -11313,7 +11654,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":422 + /* "_pydevd_sys_monitoring_cython.pyx":440 * return _thread_local_info.thread_info * except: * if not create: # <<<<<<<<<<<<<< @@ -11322,22 +11663,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ } - /* "_pydevd_sys_monitoring_cython.pyx":424 + /* "_pydevd_sys_monitoring_cython.pyx":442 * if not create: * return None * thread_info = _create_thread_info(depth + 1) # <<<<<<<<<<<<<< * if thread_info is None: * return None */ - __pyx_t_8 = __Pyx_PyInt_From_long((__pyx_v_depth + 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 424, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyInt_From_long((__pyx_v_depth + 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 442, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 424, __pyx_L5_except_error) + __pyx_t_9 = __pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(__pyx_t_8); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 442, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_v_thread_info = __pyx_t_9; __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":425 + /* "_pydevd_sys_monitoring_cython.pyx":443 * return None * thread_info = _create_thread_info(depth + 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -11347,7 +11688,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __pyx_t_7 = (__pyx_v_thread_info == Py_None); if (__pyx_t_7) { - /* "_pydevd_sys_monitoring_cython.pyx":426 + /* "_pydevd_sys_monitoring_cython.pyx":444 * thread_info = _create_thread_info(depth + 1) * if thread_info is None: * return None # <<<<<<<<<<<<<< @@ -11361,7 +11702,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":425 + /* "_pydevd_sys_monitoring_cython.pyx":443 * return None * thread_info = _create_thread_info(depth + 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -11370,19 +11711,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ } - /* "_pydevd_sys_monitoring_cython.pyx":428 + /* "_pydevd_sys_monitoring_cython.pyx":446 * return None * * _thread_local_info.thread_info = thread_info # <<<<<<<<<<<<<< * return _thread_local_info.thread_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 428, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 446, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); - if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_n_s_thread_info, __pyx_v_thread_info) < 0) __PYX_ERR(0, 428, __pyx_L5_except_error) + if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_n_s_thread_info, __pyx_v_thread_info) < 0) __PYX_ERR(0, 446, __pyx_L5_except_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":429 + /* "_pydevd_sys_monitoring_cython.pyx":447 * * _thread_local_info.thread_info = thread_info * return _thread_local_info.thread_info # <<<<<<<<<<<<<< @@ -11390,9 +11731,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ * */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 429, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 447, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 429, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 447, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __pyx_r = __pyx_t_8; @@ -11403,7 +11744,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":417 + /* "_pydevd_sys_monitoring_cython.pyx":435 * May return None if the thread is still not active. * """ * try: # <<<<<<<<<<<<<< @@ -11430,7 +11771,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":407 + /* "_pydevd_sys_monitoring_cython.pyx":425 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_thread_info(bint create, int depth): # <<<<<<<<<<<<<< @@ -11454,7 +11795,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":438 +/* "_pydevd_sys_monitoring_cython.pyx":456 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< @@ -11463,7 +11804,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __ */ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyObject *__pyx_v_code_obj, struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info *__pyx_optional_args) { - PyObject *__pyx_v__cache = __pyx_k__15; + PyObject *__pyx_v__cache = __pyx_k__16; PyObject *__pyx_v_line_to_offset = NULL; PyObject *__pyx_v_first_line = NULL; PyObject *__pyx_v_last_line = NULL; @@ -11498,7 +11839,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO } } - /* "_pydevd_sys_monitoring_cython.pyx":443 + /* "_pydevd_sys_monitoring_cython.pyx":461 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -11514,7 +11855,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":444 + /* "_pydevd_sys_monitoring_cython.pyx":462 * # fmt: on * try: * return _cache[code_obj] # <<<<<<<<<<<<<< @@ -11522,13 +11863,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO * line_to_offset = {} */ __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v__cache, __pyx_v_code_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 444, __pyx_L3_error) + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v__cache, __pyx_v_code_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 462, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":443 + /* "_pydevd_sys_monitoring_cython.pyx":461 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -11539,7 +11880,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __pyx_L3_error:; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":445 + /* "_pydevd_sys_monitoring_cython.pyx":463 * try: * return _cache[code_obj] * except: # <<<<<<<<<<<<<< @@ -11548,24 +11889,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_code_line_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6) < 0) __PYX_ERR(0, 445, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6) < 0) __PYX_ERR(0, 463, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":446 + /* "_pydevd_sys_monitoring_cython.pyx":464 * return _cache[code_obj] * except: * line_to_offset = {} # <<<<<<<<<<<<<< * first_line = None * last_line = None */ - __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 446, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 464, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_line_to_offset = ((PyObject*)__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":447 + /* "_pydevd_sys_monitoring_cython.pyx":465 * except: * line_to_offset = {} * first_line = None # <<<<<<<<<<<<<< @@ -11575,7 +11916,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_INCREF(Py_None); __pyx_v_first_line = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":448 + /* "_pydevd_sys_monitoring_cython.pyx":466 * line_to_offset = {} * first_line = None * last_line = None # <<<<<<<<<<<<<< @@ -11585,16 +11926,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_INCREF(Py_None); __pyx_v_last_line = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":450 + /* "_pydevd_sys_monitoring_cython.pyx":468 * last_line = None * * for offset, line in dis.findlinestarts(code_obj): # <<<<<<<<<<<<<< * line_to_offset[line] = offset * */ - __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_dis); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_dis); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_findlinestarts); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_findlinestarts); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_8 = NULL; @@ -11615,7 +11956,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_v_code_obj}; __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_10, 1+__pyx_t_10); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 450, __pyx_L5_except_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; } @@ -11624,9 +11965,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __pyx_t_11 = 0; __pyx_t_12 = NULL; } else { - __pyx_t_11 = -1; __pyx_t_9 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_11 = -1; __pyx_t_9 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 468, __pyx_L5_except_error) } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; for (;;) { @@ -11635,28 +11976,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO { Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_9); #if !CYTHON_ASSUME_SAFE_MACROS - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 450, __pyx_L5_except_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 468, __pyx_L5_except_error) #endif if (__pyx_t_11 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_7 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_11); __Pyx_INCREF(__pyx_t_7); __pyx_t_11++; if (unlikely((0 < 0))) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_7 = PyList_GET_ITEM(__pyx_t_9, __pyx_t_11); __Pyx_INCREF(__pyx_t_7); __pyx_t_11++; if (unlikely((0 < 0))) __PYX_ERR(0, 468, __pyx_L5_except_error) #else - __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_9, __pyx_t_11); __pyx_t_11++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_9, __pyx_t_11); __pyx_t_11++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); #endif } else { { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_9); #if !CYTHON_ASSUME_SAFE_MACROS - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 450, __pyx_L5_except_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 468, __pyx_L5_except_error) #endif if (__pyx_t_11 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_11); __Pyx_INCREF(__pyx_t_7); __pyx_t_11++; if (unlikely((0 < 0))) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_9, __pyx_t_11); __Pyx_INCREF(__pyx_t_7); __pyx_t_11++; if (unlikely((0 < 0))) __PYX_ERR(0, 468, __pyx_L5_except_error) #else - __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_9, __pyx_t_11); __pyx_t_11++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_9, __pyx_t_11); __pyx_t_11++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); #endif } @@ -11666,7 +12007,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 450, __pyx_L5_except_error) + else __PYX_ERR(0, 468, __pyx_L5_except_error) } break; } @@ -11678,7 +12019,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 450, __pyx_L5_except_error) + __PYX_ERR(0, 468, __pyx_L5_except_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -11691,15 +12032,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_INCREF(__pyx_t_8); __Pyx_INCREF(__pyx_t_13); #else - __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_8); - __pyx_t_13 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_13 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_13); #endif __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else { Py_ssize_t index = -1; - __pyx_t_14 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 450, __pyx_L5_except_error) + __pyx_t_14 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 468, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_15 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_14); @@ -11707,7 +12048,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_GOTREF(__pyx_t_8); index = 1; __pyx_t_13 = __pyx_t_15(__pyx_t_14); if (unlikely(!__pyx_t_13)) goto __pyx_L13_unpacking_failed; __Pyx_GOTREF(__pyx_t_13); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_14), 2) < 0) __PYX_ERR(0, 450, __pyx_L5_except_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_14), 2) < 0) __PYX_ERR(0, 468, __pyx_L5_except_error) __pyx_t_15 = NULL; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; goto __pyx_L14_unpacking_done; @@ -11715,7 +12056,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __pyx_t_15 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 450, __pyx_L5_except_error) + __PYX_ERR(0, 468, __pyx_L5_except_error) __pyx_L14_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_offset, __pyx_t_8); @@ -11723,16 +12064,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO __Pyx_XDECREF_SET(__pyx_v_line, __pyx_t_13); __pyx_t_13 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":451 + /* "_pydevd_sys_monitoring_cython.pyx":469 * * for offset, line in dis.findlinestarts(code_obj): * line_to_offset[line] = offset # <<<<<<<<<<<<<< * * if line_to_offset: */ - if (unlikely((PyDict_SetItem(__pyx_v_line_to_offset, __pyx_v_line, __pyx_v_offset) < 0))) __PYX_ERR(0, 451, __pyx_L5_except_error) + if (unlikely((PyDict_SetItem(__pyx_v_line_to_offset, __pyx_v_line, __pyx_v_offset) < 0))) __PYX_ERR(0, 469, __pyx_L5_except_error) - /* "_pydevd_sys_monitoring_cython.pyx":450 + /* "_pydevd_sys_monitoring_cython.pyx":468 * last_line = None * * for offset, line in dis.findlinestarts(code_obj): # <<<<<<<<<<<<<< @@ -11742,41 +12083,41 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":453 + /* "_pydevd_sys_monitoring_cython.pyx":471 * line_to_offset[line] = offset * * if line_to_offset: # <<<<<<<<<<<<<< * first_line = min(line_to_offset) * last_line = max(line_to_offset) */ - __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_offset); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 453, __pyx_L5_except_error) + __pyx_t_16 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_offset); if (unlikely((__pyx_t_16 < 0))) __PYX_ERR(0, 471, __pyx_L5_except_error) if (__pyx_t_16) { - /* "_pydevd_sys_monitoring_cython.pyx":454 + /* "_pydevd_sys_monitoring_cython.pyx":472 * * if line_to_offset: * first_line = min(line_to_offset) # <<<<<<<<<<<<<< * last_line = max(line_to_offset) * ret = _CodeLineInfo(line_to_offset, first_line, last_line) */ - __pyx_t_9 = __Pyx_PyObject_CallOneArg(__pyx_builtin_min, __pyx_v_line_to_offset); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 454, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CallOneArg(__pyx_builtin_min, __pyx_v_line_to_offset); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 472, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF_SET(__pyx_v_first_line, __pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":455 + /* "_pydevd_sys_monitoring_cython.pyx":473 * if line_to_offset: * first_line = min(line_to_offset) * last_line = max(line_to_offset) # <<<<<<<<<<<<<< * ret = _CodeLineInfo(line_to_offset, first_line, last_line) * _cache[code_obj] = ret */ - __pyx_t_9 = __Pyx_PyObject_CallOneArg(__pyx_builtin_max, __pyx_v_line_to_offset); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 455, __pyx_L5_except_error) + __pyx_t_9 = __Pyx_PyObject_CallOneArg(__pyx_builtin_max, __pyx_v_line_to_offset); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 473, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF_SET(__pyx_v_last_line, __pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":453 + /* "_pydevd_sys_monitoring_cython.pyx":471 * line_to_offset[line] = offset * * if line_to_offset: # <<<<<<<<<<<<<< @@ -11785,14 +12126,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":456 + /* "_pydevd_sys_monitoring_cython.pyx":474 * first_line = min(line_to_offset) * last_line = max(line_to_offset) * ret = _CodeLineInfo(line_to_offset, first_line, last_line) # <<<<<<<<<<<<<< * _cache[code_obj] = ret * return ret */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_CodeLineInfo); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 456, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_CodeLineInfo); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 474, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_13 = NULL; __pyx_t_10 = 0; @@ -11812,23 +12153,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO PyObject *__pyx_callargs[4] = {__pyx_t_13, __pyx_v_line_to_offset, __pyx_v_first_line, __pyx_v_last_line}; __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_10, 3+__pyx_t_10); __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 456, __pyx_L5_except_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 474, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __pyx_v_ret = __pyx_t_9; __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":457 + /* "_pydevd_sys_monitoring_cython.pyx":475 * last_line = max(line_to_offset) * ret = _CodeLineInfo(line_to_offset, first_line, last_line) * _cache[code_obj] = ret # <<<<<<<<<<<<<< * return ret * */ - if (unlikely((PyObject_SetItem(__pyx_v__cache, __pyx_v_code_obj, __pyx_v_ret) < 0))) __PYX_ERR(0, 457, __pyx_L5_except_error) + if (unlikely((PyObject_SetItem(__pyx_v__cache, __pyx_v_code_obj, __pyx_v_ret) < 0))) __PYX_ERR(0, 475, __pyx_L5_except_error) - /* "_pydevd_sys_monitoring_cython.pyx":458 + /* "_pydevd_sys_monitoring_cython.pyx":476 * ret = _CodeLineInfo(line_to_offset, first_line, last_line) * _cache[code_obj] = ret * return ret # <<<<<<<<<<<<<< @@ -11844,7 +12185,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":443 + /* "_pydevd_sys_monitoring_cython.pyx":461 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -11871,7 +12212,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":438 + /* "_pydevd_sys_monitoring_cython.pyx":456 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< @@ -11903,7 +12244,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":466 +/* "_pydevd_sys_monitoring_cython.pyx":484 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< @@ -11964,22 +12305,22 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_func_code_info", 1); - /* "_pydevd_sys_monitoring_cython.pyx":480 + /* "_pydevd_sys_monitoring_cython.pyx":498 * Note that this can be called by any thread. * """ * py_db = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None: * return None */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 480, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 498, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 480, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 498, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":481 + /* "_pydevd_sys_monitoring_cython.pyx":499 * """ * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -11989,7 +12330,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (__pyx_v_py_db == Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":482 + /* "_pydevd_sys_monitoring_cython.pyx":500 * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: * return None # <<<<<<<<<<<<<< @@ -12000,7 +12341,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_r = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)Py_None); __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":481 + /* "_pydevd_sys_monitoring_cython.pyx":499 * """ * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -12009,16 +12350,16 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":484 + /* "_pydevd_sys_monitoring_cython.pyx":502 * return None * * func_code_info = _code_to_func_code_info_cache.get(code_obj) # <<<<<<<<<<<<<< * if func_code_info is not None: * if func_code_info.pydb_mtime == py_db.mtime: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 484, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 502, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 484, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 502, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -12039,15 +12380,15 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_code_obj}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 484, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 502, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo))))) __PYX_ERR(0, 484, __pyx_L1_error) + if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo))))) __PYX_ERR(0, 502, __pyx_L1_error) __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":485 + /* "_pydevd_sys_monitoring_cython.pyx":503 * * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: # <<<<<<<<<<<<<< @@ -12057,25 +12398,25 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (((PyObject *)__pyx_v_func_code_info) != Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":486 + /* "_pydevd_sys_monitoring_cython.pyx":504 * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: * if func_code_info.pydb_mtime == py_db.mtime: # <<<<<<<<<<<<<< * # if DEBUG: * # print('_get_func_code_info: matched mtime', key, code_obj) */ - __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_func_code_info->pydb_mtime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 486, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_func_code_info->pydb_mtime); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_mtime); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 486, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_mtime); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 486, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_2, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 504, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 486, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 504, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":489 + /* "_pydevd_sys_monitoring_cython.pyx":507 * # if DEBUG: * # print('_get_func_code_info: matched mtime', key, code_obj) * return func_code_info # <<<<<<<<<<<<<< @@ -12087,7 +12428,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_r = __pyx_v_func_code_info; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":486 + /* "_pydevd_sys_monitoring_cython.pyx":504 * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: * if func_code_info.pydb_mtime == py_db.mtime: # <<<<<<<<<<<<<< @@ -12096,7 +12437,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":485 + /* "_pydevd_sys_monitoring_cython.pyx":503 * * func_code_info = _code_to_func_code_info_cache.get(code_obj) * if func_code_info is not None: # <<<<<<<<<<<<<< @@ -12105,7 +12446,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":498 + /* "_pydevd_sys_monitoring_cython.pyx":516 * cdef str co_filename * cdef str co_name * code = code_obj # <<<<<<<<<<<<<< @@ -12114,7 +12455,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_code = ((PyCodeObject *)__pyx_v_code_obj); - /* "_pydevd_sys_monitoring_cython.pyx":499 + /* "_pydevd_sys_monitoring_cython.pyx":517 * cdef str co_name * code = code_obj * co_filename = code.co_filename # <<<<<<<<<<<<<< @@ -12126,7 +12467,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_v_co_filename = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":500 + /* "_pydevd_sys_monitoring_cython.pyx":518 * code = code_obj * co_filename = code.co_filename * co_name = code.co_name # <<<<<<<<<<<<<< @@ -12138,19 +12479,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_v_co_name = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":512 + /* "_pydevd_sys_monitoring_cython.pyx":530 * # print('_get_func_code_info: new (mtime did not match)', key, code_obj) * * func_code_info = FuncCodeInfo() # <<<<<<<<<<<<<< * func_code_info.code_obj = code_obj * code_line_info = _get_code_line_info(code_obj) */ - __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 512, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_CallNoArg(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_1)); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":513 + /* "_pydevd_sys_monitoring_cython.pyx":531 * * func_code_info = FuncCodeInfo() * func_code_info.code_obj = code_obj # <<<<<<<<<<<<<< @@ -12163,44 +12504,44 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_DECREF(__pyx_v_func_code_info->code_obj); __pyx_v_func_code_info->code_obj = __pyx_v_code_obj; - /* "_pydevd_sys_monitoring_cython.pyx":514 + /* "_pydevd_sys_monitoring_cython.pyx":532 * func_code_info = FuncCodeInfo() * func_code_info.code_obj = code_obj * code_line_info = _get_code_line_info(code_obj) # <<<<<<<<<<<<<< * line_to_offset = code_line_info.line_to_offset * func_code_info.pydb_mtime = py_db.mtime */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(__pyx_v_code_obj, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 514, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(__pyx_v_code_obj, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_code_line_info = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":515 + /* "_pydevd_sys_monitoring_cython.pyx":533 * func_code_info.code_obj = code_obj * code_line_info = _get_code_line_info(code_obj) * line_to_offset = code_line_info.line_to_offset # <<<<<<<<<<<<<< * func_code_info.pydb_mtime = py_db.mtime * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_code_line_info, __pyx_n_s_line_to_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 515, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_code_line_info, __pyx_n_s_line_to_offset); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 533, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_line_to_offset = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":516 + /* "_pydevd_sys_monitoring_cython.pyx":534 * code_line_info = _get_code_line_info(code_obj) * line_to_offset = code_line_info.line_to_offset * func_code_info.pydb_mtime = py_db.mtime # <<<<<<<<<<<<<< * * func_code_info.co_filename = co_filename */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_mtime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 516, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_mtime); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 516, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_6 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 534, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_func_code_info->pydb_mtime = __pyx_t_6; - /* "_pydevd_sys_monitoring_cython.pyx":518 + /* "_pydevd_sys_monitoring_cython.pyx":536 * func_code_info.pydb_mtime = py_db.mtime * * func_code_info.co_filename = co_filename # <<<<<<<<<<<<<< @@ -12213,7 +12554,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_DECREF(__pyx_v_func_code_info->co_filename); __pyx_v_func_code_info->co_filename = __pyx_v_co_filename; - /* "_pydevd_sys_monitoring_cython.pyx":519 + /* "_pydevd_sys_monitoring_cython.pyx":537 * * func_code_info.co_filename = co_filename * func_code_info.co_name = co_name # <<<<<<<<<<<<<< @@ -12226,7 +12567,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_DECREF(__pyx_v_func_code_info->co_name); __pyx_v_func_code_info->co_name = __pyx_v_co_name; - /* "_pydevd_sys_monitoring_cython.pyx":522 + /* "_pydevd_sys_monitoring_cython.pyx":540 * * # Compute whether to always skip this. * try: # <<<<<<<<<<<<<< @@ -12242,22 +12583,22 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XGOTREF(__pyx_t_9); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":523 + /* "_pydevd_sys_monitoring_cython.pyx":541 * # Compute whether to always skip this. * try: * abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename] # <<<<<<<<<<<<<< * except: * abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename) */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 523, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 541, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_v_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 523, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_Dict_GetItem(__pyx_t_1, __pyx_v_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 541, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_abs_path_real_path_and_base = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":522 + /* "_pydevd_sys_monitoring_cython.pyx":540 * * # Compute whether to always skip this. * try: # <<<<<<<<<<<<<< @@ -12274,7 +12615,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":524 + /* "_pydevd_sys_monitoring_cython.pyx":542 * try: * abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename] * except: # <<<<<<<<<<<<<< @@ -12283,19 +12624,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_func_code_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 524, __pyx_L8_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 542, __pyx_L8_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":525 + /* "_pydevd_sys_monitoring_cython.pyx":543 * abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename] * except: * abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename) # <<<<<<<<<<<<<< * * func_code_info.abs_path_filename = abs_path_real_path_and_base[0] */ - __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 525, __pyx_L8_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_11, __pyx_n_s_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 543, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_12 = NULL; __pyx_t_5 = 0; @@ -12315,7 +12656,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_v_co_filename}; __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 525, __pyx_L8_except_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 543, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } @@ -12327,7 +12668,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L7_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":522 + /* "_pydevd_sys_monitoring_cython.pyx":540 * * # Compute whether to always skip this. * try: # <<<<<<<<<<<<<< @@ -12348,39 +12689,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_L11_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":527 + /* "_pydevd_sys_monitoring_cython.pyx":545 * abs_path_real_path_and_base = get_abs_path_real_path_and_base_from_file(co_filename) * * func_code_info.abs_path_filename = abs_path_real_path_and_base[0] # <<<<<<<<<<<<<< * func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1] * */ - __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 527, __pyx_L1_error) + __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 545, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (!(likely(PyString_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 527, __pyx_L1_error) + if (!(likely(PyString_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 545, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_2); __Pyx_GOTREF(__pyx_v_func_code_info->abs_path_filename); __Pyx_DECREF(__pyx_v_func_code_info->abs_path_filename); __pyx_v_func_code_info->abs_path_filename = ((PyObject*)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":528 + /* "_pydevd_sys_monitoring_cython.pyx":546 * * func_code_info.abs_path_filename = abs_path_real_path_and_base[0] * func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1] # <<<<<<<<<<<<<< * * frame = None */ - __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 528, __pyx_L1_error) + __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (!(likely(PyString_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 528, __pyx_L1_error) + if (!(likely(PyString_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 546, __pyx_L1_error) __Pyx_GIVEREF(__pyx_t_2); __Pyx_GOTREF(__pyx_v_func_code_info->canonical_normalized_filename); __Pyx_DECREF(__pyx_v_func_code_info->canonical_normalized_filename); __pyx_v_func_code_info->canonical_normalized_filename = ((PyObject*)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":530 + /* "_pydevd_sys_monitoring_cython.pyx":548 * func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1] * * frame = None # <<<<<<<<<<<<<< @@ -12390,14 +12731,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_INCREF(Py_None); __pyx_v_frame = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":531 + /* "_pydevd_sys_monitoring_cython.pyx":549 * * frame = None * cache_file_type = py_db.get_cache_file_type() # <<<<<<<<<<<<<< * # Note: this cache key must be the same from PyDB.get_file_type() -- see it for comments * # on the cache. */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_get_cache_file_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 531, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_get_cache_file_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -12417,40 +12758,40 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 531, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 549, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } - if (!(likely(PyDict_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_2))) __PYX_ERR(0, 531, __pyx_L1_error) + if (!(likely(PyDict_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_2))) __PYX_ERR(0, 549, __pyx_L1_error) __pyx_v_cache_file_type = ((PyObject*)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":534 + /* "_pydevd_sys_monitoring_cython.pyx":552 * # Note: this cache key must be the same from PyDB.get_file_type() -- see it for comments * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) # <<<<<<<<<<<<<< * try: * file_type = cache_file_type[cache_file_type_key] # Make it faster */ - __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_code->co_firstlineno); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 534, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_code->co_firstlineno); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 552, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 534, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_abs_path_real_path_and_base, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 552, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 534, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 552, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2)) __PYX_ERR(0, 534, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2)) __PYX_ERR(0, 552, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1)) __PYX_ERR(0, 534, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1)) __PYX_ERR(0, 552, __pyx_L1_error); __Pyx_INCREF(__pyx_v_code_obj); __Pyx_GIVEREF(__pyx_v_code_obj); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_code_obj)) __PYX_ERR(0, 534, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_code_obj)) __PYX_ERR(0, 552, __pyx_L1_error); __pyx_t_2 = 0; __pyx_t_1 = 0; __pyx_v_cache_file_type_key = ((PyObject*)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":535 + /* "_pydevd_sys_monitoring_cython.pyx":553 * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: # <<<<<<<<<<<<<< @@ -12466,7 +12807,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XGOTREF(__pyx_t_7); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":536 + /* "_pydevd_sys_monitoring_cython.pyx":554 * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: * file_type = cache_file_type[cache_file_type_key] # Make it faster # <<<<<<<<<<<<<< @@ -12475,14 +12816,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ if (unlikely(__pyx_v_cache_file_type == Py_None)) { PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); - __PYX_ERR(0, 536, __pyx_L14_error) + __PYX_ERR(0, 554, __pyx_L14_error) } - __pyx_t_4 = __Pyx_PyDict_GetItem(__pyx_v_cache_file_type, __pyx_v_cache_file_type_key); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 536, __pyx_L14_error) + __pyx_t_4 = __Pyx_PyDict_GetItem(__pyx_v_cache_file_type, __pyx_v_cache_file_type_key); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 554, __pyx_L14_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_file_type = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":535 + /* "_pydevd_sys_monitoring_cython.pyx":553 * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: # <<<<<<<<<<<<<< @@ -12502,7 +12843,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":537 + /* "_pydevd_sys_monitoring_cython.pyx":555 * try: * file_type = cache_file_type[cache_file_type_key] # Make it faster * except: # <<<<<<<<<<<<<< @@ -12511,12 +12852,12 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_func_code_info", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 537, __pyx_L16_except_error) + if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 555, __pyx_L16_except_error) __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":538 + /* "_pydevd_sys_monitoring_cython.pyx":556 * file_type = cache_file_type[cache_file_type_key] # Make it faster * except: * if frame is None: # <<<<<<<<<<<<<< @@ -12526,39 +12867,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (__pyx_v_frame == Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":539 + /* "_pydevd_sys_monitoring_cython.pyx":557 * except: * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< * frame = _getframe(frame_or_depth + 1) * else: */ - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_n_s_class); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 539, __pyx_L16_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_n_s_class); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 557, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = PyObject_RichCompare(__pyx_t_10, ((PyObject *)(&PyInt_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_11); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 539, __pyx_L16_except_error) + __pyx_t_11 = PyObject_RichCompare(__pyx_t_10, ((PyObject *)(&PyInt_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_11); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 557, __pyx_L16_except_error) __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_11); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 539, __pyx_L16_except_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_11); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 557, __pyx_L16_except_error) __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":540 + /* "_pydevd_sys_monitoring_cython.pyx":558 * if frame is None: * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) # <<<<<<<<<<<<<< * else: * frame = frame_or_depth */ - __pyx_t_11 = __Pyx_PyInt_AddObjC(__pyx_v_frame_or_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 540, __pyx_L16_except_error) + __pyx_t_11 = __Pyx_PyInt_AddObjC(__pyx_v_frame_or_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 558, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_13.__pyx_n = 1; __pyx_t_13.depth = __pyx_t_11; - __pyx_t_10 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 540, __pyx_L16_except_error) + __pyx_t_10 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 558, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_10); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":539 + /* "_pydevd_sys_monitoring_cython.pyx":557 * except: * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< @@ -12568,7 +12909,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L23; } - /* "_pydevd_sys_monitoring_cython.pyx":542 + /* "_pydevd_sys_monitoring_cython.pyx":560 * frame = _getframe(frame_or_depth + 1) * else: * frame = frame_or_depth # <<<<<<<<<<<<<< @@ -12581,7 +12922,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L23:; - /* "_pydevd_sys_monitoring_cython.pyx":543 + /* "_pydevd_sys_monitoring_cython.pyx":561 * else: * frame = frame_or_depth * assert frame.f_code is code_obj, "%s != %s" % (frame.f_code, code_obj) # <<<<<<<<<<<<<< @@ -12590,34 +12931,34 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(__pyx_assertions_enabled())) { - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 543, __pyx_L16_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 561, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_10); __pyx_t_3 = (__pyx_t_10 == __pyx_v_code_obj); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; if (unlikely(!__pyx_t_3)) { - __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 543, __pyx_L16_except_error) + __pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 561, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 543, __pyx_L16_except_error) + __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 561, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_GIVEREF(__pyx_t_10); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_10)) __PYX_ERR(0, 543, __pyx_L16_except_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_10)) __PYX_ERR(0, 561, __pyx_L16_except_error); __Pyx_INCREF(__pyx_v_code_obj); __Pyx_GIVEREF(__pyx_v_code_obj); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_v_code_obj)) __PYX_ERR(0, 543, __pyx_L16_except_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_v_code_obj)) __PYX_ERR(0, 561, __pyx_L16_except_error); __pyx_t_10 = 0; - __pyx_t_10 = __Pyx_PyString_Format(__pyx_kp_s_s_s, __pyx_t_11); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 543, __pyx_L16_except_error) + __pyx_t_10 = __Pyx_PyString_Format(__pyx_kp_s_s_s, __pyx_t_11); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 561, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; __Pyx_Raise(__pyx_builtin_AssertionError, __pyx_t_10, 0, 0); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; - __PYX_ERR(0, 543, __pyx_L16_except_error) + __PYX_ERR(0, 561, __pyx_L16_except_error) } } #else - if ((1)); else __PYX_ERR(0, 543, __pyx_L16_except_error) + if ((1)); else __PYX_ERR(0, 561, __pyx_L16_except_error) #endif - /* "_pydevd_sys_monitoring_cython.pyx":538 + /* "_pydevd_sys_monitoring_cython.pyx":556 * file_type = cache_file_type[cache_file_type_key] # Make it faster * except: * if frame is None: # <<<<<<<<<<<<<< @@ -12626,14 +12967,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":545 + /* "_pydevd_sys_monitoring_cython.pyx":563 * assert frame.f_code is code_obj, "%s != %s" % (frame.f_code, code_obj) * * file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd # <<<<<<<<<<<<<< * * if file_type is not None: */ - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_get_file_type); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 545, __pyx_L16_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_get_file_type); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 563, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_11); __pyx_t_12 = NULL; __pyx_t_5 = 0; @@ -12653,7 +12994,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[3] = {__pyx_t_12, __pyx_v_frame, __pyx_v_abs_path_real_path_and_base}; __pyx_t_10 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; - if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 545, __pyx_L16_except_error) + if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 563, __pyx_L16_except_error) __Pyx_GOTREF(__pyx_t_10); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } @@ -12665,7 +13006,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L15_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":535 + /* "_pydevd_sys_monitoring_cython.pyx":553 * # on the cache. * cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj) * try: # <<<<<<<<<<<<<< @@ -12686,7 +13027,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_L19_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":547 + /* "_pydevd_sys_monitoring_cython.pyx":565 * file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd * * if file_type is not None: # <<<<<<<<<<<<<< @@ -12696,7 +13037,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_3 = (__pyx_v_file_type != Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":548 + /* "_pydevd_sys_monitoring_cython.pyx":566 * * if file_type is not None: * func_code_info.always_skip_code = True # <<<<<<<<<<<<<< @@ -12705,7 +13046,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->always_skip_code = 1; - /* "_pydevd_sys_monitoring_cython.pyx":549 + /* "_pydevd_sys_monitoring_cython.pyx":567 * if file_type is not None: * func_code_info.always_skip_code = True * func_code_info.always_filtered_out = True # <<<<<<<<<<<<<< @@ -12714,19 +13055,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->always_filtered_out = 1; - /* "_pydevd_sys_monitoring_cython.pyx":550 + /* "_pydevd_sys_monitoring_cython.pyx":568 * func_code_info.always_skip_code = True * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 550, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 568, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (unlikely((PyObject_SetItem(__pyx_t_2, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 550, __pyx_L1_error) + if (unlikely((PyObject_SetItem(__pyx_t_2, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 568, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":551 + /* "_pydevd_sys_monitoring_cython.pyx":569 * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< @@ -12738,7 +13079,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_r = __pyx_v_func_code_info; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":547 + /* "_pydevd_sys_monitoring_cython.pyx":565 * file_type = py_db.get_file_type(frame, abs_path_real_path_and_base) # we don't want to debug anything related to pydevd * * if file_type is not None: # <<<<<<<<<<<<<< @@ -12747,32 +13088,32 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":554 + /* "_pydevd_sys_monitoring_cython.pyx":572 * * # still not set, check for dont trace comments. * if pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< * # I.e.: cache the result skip (no need to evaluate the same frame multiple times). * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 554, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 572, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 554, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 572, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_3 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":558 + /* "_pydevd_sys_monitoring_cython.pyx":576 * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): # <<<<<<<<<<<<<< * if frame is None: * if frame_or_depth.__class__ == int: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 558, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 576, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 558, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 576, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -12793,16 +13134,16 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_v_code_obj, __pyx_v_func_code_info->abs_path_filename}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 558, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 576, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 558, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 576, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_14 = (!__pyx_t_3); if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":559 + /* "_pydevd_sys_monitoring_cython.pyx":577 * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: # <<<<<<<<<<<<<< @@ -12812,39 +13153,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_14 = (__pyx_v_frame == Py_None); if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":560 + /* "_pydevd_sys_monitoring_cython.pyx":578 * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< * frame = _getframe(frame_or_depth + 1) * else: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 560, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 578, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)(&PyInt_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 560, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)(&PyInt_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 578, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 560, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 578, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":561 + /* "_pydevd_sys_monitoring_cython.pyx":579 * if frame is None: * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) # <<<<<<<<<<<<<< * else: * frame = frame_or_depth */ - __pyx_t_4 = __Pyx_PyInt_AddObjC(__pyx_v_frame_or_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 561, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_AddObjC(__pyx_v_frame_or_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_13.__pyx_n = 1; __pyx_t_13.depth = __pyx_t_4; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 561, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 579, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":560 + /* "_pydevd_sys_monitoring_cython.pyx":578 * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< @@ -12854,7 +13195,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L28; } - /* "_pydevd_sys_monitoring_cython.pyx":563 + /* "_pydevd_sys_monitoring_cython.pyx":581 * frame = _getframe(frame_or_depth + 1) * else: * frame = frame_or_depth # <<<<<<<<<<<<<< @@ -12867,7 +13208,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L28:; - /* "_pydevd_sys_monitoring_cython.pyx":559 + /* "_pydevd_sys_monitoring_cython.pyx":577 * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): * if frame is None: # <<<<<<<<<<<<<< @@ -12876,7 +13217,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":564 + /* "_pydevd_sys_monitoring_cython.pyx":582 * else: * frame = frame_or_depth * assert frame.f_code is code_obj # <<<<<<<<<<<<<< @@ -12885,20 +13226,20 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(__pyx_assertions_enabled())) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 564, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 582, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_14 = (__pyx_t_1 == __pyx_v_code_obj); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(!__pyx_t_14)) { __Pyx_Raise(__pyx_builtin_AssertionError, 0, 0, 0); - __PYX_ERR(0, 564, __pyx_L1_error) + __PYX_ERR(0, 582, __pyx_L1_error) } } #else - if ((1)); else __PYX_ERR(0, 564, __pyx_L1_error) + if ((1)); else __PYX_ERR(0, 582, __pyx_L1_error) #endif - /* "_pydevd_sys_monitoring_cython.pyx":566 + /* "_pydevd_sys_monitoring_cython.pyx":584 * assert frame.f_code is code_obj * * func_code_info.always_filtered_out = True # <<<<<<<<<<<<<< @@ -12907,19 +13248,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->always_filtered_out = 1; - /* "_pydevd_sys_monitoring_cython.pyx":567 + /* "_pydevd_sys_monitoring_cython.pyx":585 * * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 567, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 585, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 567, __pyx_L1_error) + if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 585, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":568 + /* "_pydevd_sys_monitoring_cython.pyx":586 * func_code_info.always_filtered_out = True * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< @@ -12931,7 +13272,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_r = __pyx_v_func_code_info; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":558 + /* "_pydevd_sys_monitoring_cython.pyx":576 * # Note that on a code reload, we won't re-evaluate this because in practice, the frame.f_code * # Which will be handled by this frame is read-only, so, we can cache it safely. * if not pydevd_dont_trace.should_trace_hook(code_obj, func_code_info.abs_path_filename): # <<<<<<<<<<<<<< @@ -12940,7 +13281,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":554 + /* "_pydevd_sys_monitoring_cython.pyx":572 * * # still not set, check for dont trace comments. * if pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< @@ -12949,7 +13290,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":570 + /* "_pydevd_sys_monitoring_cython.pyx":588 * return func_code_info * * if frame is None: # <<<<<<<<<<<<<< @@ -12959,39 +13300,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_14 = (__pyx_v_frame == Py_None); if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":571 + /* "_pydevd_sys_monitoring_cython.pyx":589 * * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< * frame = _getframe(frame_or_depth + 1) * else: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 571, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame_or_depth, __pyx_n_s_class); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 589, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)(&PyInt_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 571, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, ((PyObject *)(&PyInt_Type)), Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 589, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 571, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 589, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":572 + /* "_pydevd_sys_monitoring_cython.pyx":590 * if frame is None: * if frame_or_depth.__class__ == int: * frame = _getframe(frame_or_depth + 1) # <<<<<<<<<<<<<< * else: * frame = frame_or_depth */ - __pyx_t_4 = __Pyx_PyInt_AddObjC(__pyx_v_frame_or_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 572, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_AddObjC(__pyx_v_frame_or_depth, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_13.__pyx_n = 1; __pyx_t_13.depth = __pyx_t_4; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 572, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 590, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":571 + /* "_pydevd_sys_monitoring_cython.pyx":589 * * if frame is None: * if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<< @@ -13001,7 +13342,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L30; } - /* "_pydevd_sys_monitoring_cython.pyx":574 + /* "_pydevd_sys_monitoring_cython.pyx":592 * frame = _getframe(frame_or_depth + 1) * else: * frame = frame_or_depth # <<<<<<<<<<<<<< @@ -13014,7 +13355,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L30:; - /* "_pydevd_sys_monitoring_cython.pyx":575 + /* "_pydevd_sys_monitoring_cython.pyx":593 * else: * frame = frame_or_depth * assert frame.f_code is code_obj # <<<<<<<<<<<<<< @@ -13023,20 +13364,20 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ #ifndef CYTHON_WITHOUT_ASSERTIONS if (unlikely(__pyx_assertions_enabled())) { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 575, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 593, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_14 = (__pyx_t_1 == __pyx_v_code_obj); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (unlikely(!__pyx_t_14)) { __Pyx_Raise(__pyx_builtin_AssertionError, 0, 0, 0); - __PYX_ERR(0, 575, __pyx_L1_error) + __PYX_ERR(0, 593, __pyx_L1_error) } } #else - if ((1)); else __PYX_ERR(0, 575, __pyx_L1_error) + if ((1)); else __PYX_ERR(0, 593, __pyx_L1_error) #endif - /* "_pydevd_sys_monitoring_cython.pyx":570 + /* "_pydevd_sys_monitoring_cython.pyx":588 * return func_code_info * * if frame is None: # <<<<<<<<<<<<<< @@ -13045,14 +13386,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":577 + /* "_pydevd_sys_monitoring_cython.pyx":595 * assert frame.f_code is code_obj * * func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True) # <<<<<<<<<<<<<< * * if py_db.is_files_filter_enabled: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_apply_files_filter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 577, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_apply_files_filter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = NULL; __pyx_t_5 = 0; @@ -13072,28 +13413,28 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[4] = {__pyx_t_2, __pyx_v_frame, __pyx_v_func_code_info->abs_path_filename, Py_True}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 3+__pyx_t_5); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 577, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 595, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 577, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 595, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_func_code_info->filtered_out_force_checked = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":579 + /* "_pydevd_sys_monitoring_cython.pyx":597 * func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True) * * if py_db.is_files_filter_enabled: # <<<<<<<<<<<<<< * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_is_files_filter_enabled); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 579, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_is_files_filter_enabled); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 597, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 579, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 597, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":580 + /* "_pydevd_sys_monitoring_cython.pyx":598 * * if py_db.is_files_filter_enabled: * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked # <<<<<<<<<<<<<< @@ -13103,7 +13444,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_14 = __pyx_v_func_code_info->filtered_out_force_checked; __pyx_v_func_code_info->always_filtered_out = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":581 + /* "_pydevd_sys_monitoring_cython.pyx":599 * if py_db.is_files_filter_enabled: * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -13112,19 +13453,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ if (__pyx_v_func_code_info->always_filtered_out) { - /* "_pydevd_sys_monitoring_cython.pyx":582 + /* "_pydevd_sys_monitoring_cython.pyx":600 * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 582, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 600, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 582, __pyx_L1_error) + if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 600, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":583 + /* "_pydevd_sys_monitoring_cython.pyx":601 * if func_code_info.always_filtered_out: * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< @@ -13136,7 +13477,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_r = __pyx_v_func_code_info; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":581 + /* "_pydevd_sys_monitoring_cython.pyx":599 * if py_db.is_files_filter_enabled: * func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -13145,7 +13486,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":579 + /* "_pydevd_sys_monitoring_cython.pyx":597 * func_code_info.filtered_out_force_checked = py_db.apply_files_filter(frame, func_code_info.abs_path_filename, True) * * if py_db.is_files_filter_enabled: # <<<<<<<<<<<<<< @@ -13155,7 +13496,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 goto __pyx_L31; } - /* "_pydevd_sys_monitoring_cython.pyx":586 + /* "_pydevd_sys_monitoring_cython.pyx":604 * * else: * func_code_info.always_filtered_out = False # <<<<<<<<<<<<<< @@ -13167,16 +13508,16 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __pyx_L31:; - /* "_pydevd_sys_monitoring_cython.pyx":589 + /* "_pydevd_sys_monitoring_cython.pyx":607 * * # Handle regular breakpoints * breakpoints: dict = py_db.breakpoints.get(func_code_info.canonical_normalized_filename) # <<<<<<<<<<<<<< * function_breakpoint: object = py_db.function_breakpoint_name_to_breakpoint.get(func_code_info.co_name) * # print('\n---') */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_breakpoints); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 589, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_breakpoints); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 589, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -13197,24 +13538,24 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_func_code_info->canonical_normalized_filename}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 589, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 607, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } - if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(0, 589, __pyx_L1_error) + if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(0, 607, __pyx_L1_error) __pyx_v_breakpoints = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":590 + /* "_pydevd_sys_monitoring_cython.pyx":608 * # Handle regular breakpoints * breakpoints: dict = py_db.breakpoints.get(func_code_info.canonical_normalized_filename) * function_breakpoint: object = py_db.function_breakpoint_name_to_breakpoint.get(func_code_info.co_name) # <<<<<<<<<<<<<< * # print('\n---') * # print(py_db.breakpoints) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 590, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 590, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -13235,24 +13576,24 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_2, __pyx_v_func_code_info->co_name}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 590, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 608, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __pyx_v_function_breakpoint = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":595 + /* "_pydevd_sys_monitoring_cython.pyx":613 * # print(func_code_info.canonical_normalized_filename) * # print(py_db.breakpoints.get(func_code_info.canonical_normalized_filename)) * if function_breakpoint: # <<<<<<<<<<<<<< * # Go directly into tracing mode * func_code_info.function_breakpoint_found = True */ - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 595, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 613, __pyx_L1_error) if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":597 + /* "_pydevd_sys_monitoring_cython.pyx":615 * if function_breakpoint: * # Go directly into tracing mode * func_code_info.function_breakpoint_found = True # <<<<<<<<<<<<<< @@ -13261,7 +13602,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ __pyx_v_func_code_info->function_breakpoint_found = 1; - /* "_pydevd_sys_monitoring_cython.pyx":598 + /* "_pydevd_sys_monitoring_cython.pyx":616 * # Go directly into tracing mode * func_code_info.function_breakpoint_found = True * func_code_info.function_breakpoint = function_breakpoint # <<<<<<<<<<<<<< @@ -13274,7 +13615,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_DECREF(__pyx_v_func_code_info->function_breakpoint); __pyx_v_func_code_info->function_breakpoint = __pyx_v_function_breakpoint; - /* "_pydevd_sys_monitoring_cython.pyx":595 + /* "_pydevd_sys_monitoring_cython.pyx":613 * # print(func_code_info.canonical_normalized_filename) * # print(py_db.breakpoints.get(func_code_info.canonical_normalized_filename)) * if function_breakpoint: # <<<<<<<<<<<<<< @@ -13283,29 +13624,29 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":600 + /* "_pydevd_sys_monitoring_cython.pyx":618 * func_code_info.function_breakpoint = function_breakpoint * * if breakpoints: # <<<<<<<<<<<<<< * # if DEBUG: * # print('found breakpoints', code_obj_py.co_name, breakpoints) */ - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoints); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 600, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoints); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 618, __pyx_L1_error) if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":604 + /* "_pydevd_sys_monitoring_cython.pyx":622 * # print('found breakpoints', code_obj_py.co_name, breakpoints) * * bp_line_to_breakpoint = {} # <<<<<<<<<<<<<< * * for breakpoint_line, bp in breakpoints.items(): */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 604, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_bp_line_to_breakpoint = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":606 + /* "_pydevd_sys_monitoring_cython.pyx":624 * bp_line_to_breakpoint = {} * * for breakpoint_line, bp in breakpoints.items(): # <<<<<<<<<<<<<< @@ -13315,9 +13656,9 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_t_15 = 0; if (unlikely(__pyx_v_breakpoints == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items"); - __PYX_ERR(0, 606, __pyx_L1_error) + __PYX_ERR(0, 624, __pyx_L1_error) } - __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_breakpoints, 1, __pyx_n_s_items, (&__pyx_t_16), (&__pyx_t_6)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 606, __pyx_L1_error) + __pyx_t_4 = __Pyx_dict_iterator(__pyx_v_breakpoints, 1, __pyx_n_s_items, (&__pyx_t_16), (&__pyx_t_6)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 624, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = __pyx_t_4; @@ -13325,7 +13666,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 while (1) { __pyx_t_17 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_16, &__pyx_t_15, &__pyx_t_4, &__pyx_t_2, NULL, __pyx_t_6); if (unlikely(__pyx_t_17 == 0)) break; - if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 606, __pyx_L1_error) + if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 624, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_GOTREF(__pyx_t_2); __Pyx_XDECREF_SET(__pyx_v_breakpoint_line, __pyx_t_4); @@ -13333,26 +13674,26 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":607 + /* "_pydevd_sys_monitoring_cython.pyx":625 * * for breakpoint_line, bp in breakpoints.items(): * if breakpoint_line in line_to_offset: # <<<<<<<<<<<<<< * bp_line_to_breakpoint[breakpoint_line] = bp * */ - __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_v_breakpoint_line, __pyx_v_line_to_offset, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 607, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_v_breakpoint_line, __pyx_v_line_to_offset, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 625, __pyx_L1_error) if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":608 + /* "_pydevd_sys_monitoring_cython.pyx":626 * for breakpoint_line, bp in breakpoints.items(): * if breakpoint_line in line_to_offset: * bp_line_to_breakpoint[breakpoint_line] = bp # <<<<<<<<<<<<<< * * func_code_info.breakpoint_found = bool(bp_line_to_breakpoint) */ - if (unlikely((PyDict_SetItem(__pyx_v_bp_line_to_breakpoint, __pyx_v_breakpoint_line, __pyx_v_bp) < 0))) __PYX_ERR(0, 608, __pyx_L1_error) + if (unlikely((PyDict_SetItem(__pyx_v_bp_line_to_breakpoint, __pyx_v_breakpoint_line, __pyx_v_bp) < 0))) __PYX_ERR(0, 626, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":607 + /* "_pydevd_sys_monitoring_cython.pyx":625 * * for breakpoint_line, bp in breakpoints.items(): * if breakpoint_line in line_to_offset: # <<<<<<<<<<<<<< @@ -13363,17 +13704,17 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":610 + /* "_pydevd_sys_monitoring_cython.pyx":628 * bp_line_to_breakpoint[breakpoint_line] = bp * * func_code_info.breakpoint_found = bool(bp_line_to_breakpoint) # <<<<<<<<<<<<<< * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint * */ - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_bp_line_to_breakpoint); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 610, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_bp_line_to_breakpoint); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 628, __pyx_L1_error) __pyx_v_func_code_info->breakpoint_found = (!(!__pyx_t_14)); - /* "_pydevd_sys_monitoring_cython.pyx":611 + /* "_pydevd_sys_monitoring_cython.pyx":629 * * func_code_info.breakpoint_found = bool(bp_line_to_breakpoint) * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint # <<<<<<<<<<<<<< @@ -13386,7 +13727,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __Pyx_DECREF(__pyx_v_func_code_info->bp_line_to_breakpoint); __pyx_v_func_code_info->bp_line_to_breakpoint = __pyx_v_bp_line_to_breakpoint; - /* "_pydevd_sys_monitoring_cython.pyx":600 + /* "_pydevd_sys_monitoring_cython.pyx":618 * func_code_info.function_breakpoint = function_breakpoint * * if breakpoints: # <<<<<<<<<<<<<< @@ -13395,39 +13736,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":613 + /* "_pydevd_sys_monitoring_cython.pyx":631 * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint * * if py_db.plugin: # <<<<<<<<<<<<<< * plugin_manager = py_db.plugin * is_tracked_frame = plugin_manager.is_tracked_frame(frame) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 613, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 613, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 631, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":614 + /* "_pydevd_sys_monitoring_cython.pyx":632 * * if py_db.plugin: * plugin_manager = py_db.plugin # <<<<<<<<<<<<<< * is_tracked_frame = plugin_manager.is_tracked_frame(frame) * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 614, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 632, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_plugin_manager = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":615 + /* "_pydevd_sys_monitoring_cython.pyx":633 * if py_db.plugin: * plugin_manager = py_db.plugin * is_tracked_frame = plugin_manager.is_tracked_frame(frame) # <<<<<<<<<<<<<< * * if is_tracked_frame: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_is_tracked_frame); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 615, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_is_tracked_frame); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -13447,44 +13788,44 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_frame}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 615, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 633, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __pyx_v_is_tracked_frame = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":617 + /* "_pydevd_sys_monitoring_cython.pyx":635 * is_tracked_frame = plugin_manager.is_tracked_frame(frame) * * if is_tracked_frame: # <<<<<<<<<<<<<< * if py_db.has_plugin_line_breaks: * required_events_breakpoint = plugin_manager.required_events_breakpoint() */ - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_is_tracked_frame); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 617, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_is_tracked_frame); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 635, __pyx_L1_error) if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":618 + /* "_pydevd_sys_monitoring_cython.pyx":636 * * if is_tracked_frame: * if py_db.has_plugin_line_breaks: # <<<<<<<<<<<<<< * required_events_breakpoint = plugin_manager.required_events_breakpoint() * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_line_breaks); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 618, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_line_breaks); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 636, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 618, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 636, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_14) { - /* "_pydevd_sys_monitoring_cython.pyx":619 + /* "_pydevd_sys_monitoring_cython.pyx":637 * if is_tracked_frame: * if py_db.has_plugin_line_breaks: * required_events_breakpoint = plugin_manager.required_events_breakpoint() # <<<<<<<<<<<<<< * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_required_events_breakpoint); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 619, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_required_events_breakpoint); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 637, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -13504,34 +13845,34 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 619, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 637, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __pyx_v_required_events_breakpoint = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":620 + /* "_pydevd_sys_monitoring_cython.pyx":638 * if py_db.has_plugin_line_breaks: * required_events_breakpoint = plugin_manager.required_events_breakpoint() * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint # <<<<<<<<<<<<<< * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint * */ - __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_line, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 620, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_line, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 638, __pyx_L1_error) __pyx_v_func_code_info->plugin_line_breakpoint_found = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":621 + /* "_pydevd_sys_monitoring_cython.pyx":639 * required_events_breakpoint = plugin_manager.required_events_breakpoint() * func_code_info.plugin_line_breakpoint_found = "line" in required_events_breakpoint * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint # <<<<<<<<<<<<<< * * required_events_stepping = plugin_manager.required_events_stepping() */ - __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_call_2, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 621, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_call_2, __pyx_v_required_events_breakpoint, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 639, __pyx_L1_error) __pyx_v_func_code_info->plugin_call_breakpoint_found = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":618 + /* "_pydevd_sys_monitoring_cython.pyx":636 * * if is_tracked_frame: * if py_db.has_plugin_line_breaks: # <<<<<<<<<<<<<< @@ -13540,14 +13881,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":623 + /* "_pydevd_sys_monitoring_cython.pyx":641 * func_code_info.plugin_call_breakpoint_found = "call" in required_events_breakpoint * * required_events_stepping = plugin_manager.required_events_stepping() # <<<<<<<<<<<<<< * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_required_events_stepping); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 623, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_required_events_stepping); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 641, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -13567,44 +13908,44 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 623, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 641, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __pyx_v_required_events_stepping = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":624 + /* "_pydevd_sys_monitoring_cython.pyx":642 * * required_events_stepping = plugin_manager.required_events_stepping() * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping # <<<<<<<<<<<<<< * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping */ - __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_line, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 624, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_line, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 642, __pyx_L1_error) __pyx_v_func_code_info->plugin_line_stepping = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":625 + /* "_pydevd_sys_monitoring_cython.pyx":643 * required_events_stepping = plugin_manager.required_events_stepping() * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping # <<<<<<<<<<<<<< * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping * */ - __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_call_2, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 625, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_call_2, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 643, __pyx_L1_error) __pyx_v_func_code_info->plugin_call_stepping = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":626 + /* "_pydevd_sys_monitoring_cython.pyx":644 * func_code_info.plugin_line_stepping: bool = "line" in required_events_stepping * func_code_info.plugin_call_stepping: bool = "call" in required_events_stepping * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping # <<<<<<<<<<<<<< * * _code_to_func_code_info_cache[code_obj] = func_code_info */ - __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_return, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 626, __pyx_L1_error) + __pyx_t_14 = (__Pyx_PySequence_ContainsTF(__pyx_n_s_return, __pyx_v_required_events_stepping, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 644, __pyx_L1_error) __pyx_v_func_code_info->plugin_return_stepping = __pyx_t_14; - /* "_pydevd_sys_monitoring_cython.pyx":617 + /* "_pydevd_sys_monitoring_cython.pyx":635 * is_tracked_frame = plugin_manager.is_tracked_frame(frame) * * if is_tracked_frame: # <<<<<<<<<<<<<< @@ -13613,7 +13954,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":613 + /* "_pydevd_sys_monitoring_cython.pyx":631 * func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint * * if py_db.plugin: # <<<<<<<<<<<<<< @@ -13622,19 +13963,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 */ } - /* "_pydevd_sys_monitoring_cython.pyx":628 + /* "_pydevd_sys_monitoring_cython.pyx":646 * func_code_info.plugin_return_stepping: bool = "return" in required_events_stepping * * _code_to_func_code_info_cache[code_obj] = func_code_info # <<<<<<<<<<<<<< * return func_code_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 628, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_code_to_func_code_info_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 646, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 628, __pyx_L1_error) + if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 646, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":629 + /* "_pydevd_sys_monitoring_cython.pyx":647 * * _code_to_func_code_info_cache[code_obj] = func_code_info * return func_code_info # <<<<<<<<<<<<<< @@ -13646,7 +13987,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29 __pyx_r = __pyx_v_func_code_info; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":466 + /* "_pydevd_sys_monitoring_cython.pyx":484 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< @@ -13746,7 +14087,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 466, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 484, __pyx_L3_error) else goto __pyx_L5_argtuple_error; CYTHON_FALLTHROUGH; case 1: @@ -13754,14 +14095,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 466, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 484, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, 1); __PYX_ERR(0, 466, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, 1); __PYX_ERR(0, 484, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "_get_func_code_info") < 0)) __PYX_ERR(0, 466, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "_get_func_code_info") < 0)) __PYX_ERR(0, 484, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 2)) { goto __pyx_L5_argtuple_error; @@ -13774,7 +14115,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 466, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 484, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -13810,7 +14151,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_2_get_func_code_info(C int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_get_func_code_info", 1); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code_obj, __pyx_v_frame_or_depth, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 466, __pyx_L1_error) + __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code_obj, __pyx_v_frame_or_depth, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 484, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -13827,7 +14168,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_2_get_func_code_info(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":634 +/* "_pydevd_sys_monitoring_cython.pyx":652 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_line_tracing(code): # <<<<<<<<<<<<<< @@ -13851,19 +14192,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_line_tracing", 1); - /* "_pydevd_sys_monitoring_cython.pyx":640 + /* "_pydevd_sys_monitoring_cython.pyx":658 * # fmt: on * # print('enable line tracing', code) + * _ensure_monitoring() # <<<<<<<<<<<<<< + * events = monitor.get_local_events(DEBUGGER_ID, code) + * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) + */ + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 658, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":659 + * # print('enable line tracing', code) + * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) # <<<<<<<<<<<<<< * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 640, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_local_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 640, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_local_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 640, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -13884,47 +14236,47 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 640, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __pyx_v_events = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":641 - * # print('enable line tracing', code) + /* "_pydevd_sys_monitoring_cython.pyx":660 + * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 641, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 641, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 641, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_LINE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_LINE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = PyNumber_Or(__pyx_v_events, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_6 = PyNumber_Or(__pyx_v_events, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 641, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = PyNumber_Or(__pyx_t_6, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 641, __pyx_L1_error) + __pyx_t_7 = PyNumber_Or(__pyx_t_6, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -13948,13 +14300,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 641, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":634 + /* "_pydevd_sys_monitoring_cython.pyx":652 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_line_tracing(code): # <<<<<<<<<<<<<< @@ -13981,7 +14333,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":646 +/* "_pydevd_sys_monitoring_cython.pyx":665 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_return_tracing(code): # <<<<<<<<<<<<<< @@ -14004,19 +14356,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_return_tracing", 1); - /* "_pydevd_sys_monitoring_cython.pyx":652 + /* "_pydevd_sys_monitoring_cython.pyx":671 * # fmt: on * # print('enable return tracing', code) + * _ensure_monitoring() # <<<<<<<<<<<<<< + * events = monitor.get_local_events(DEBUGGER_ID, code) + * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) + */ + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 671, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":672 + * # print('enable return tracing', code) + * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) # <<<<<<<<<<<<<< * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 652, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 672, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_local_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 652, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_local_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 672, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 652, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 672, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -14037,36 +14400,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 652, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 672, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __pyx_v_events = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":653 - * # print('enable return tracing', code) + /* "_pydevd_sys_monitoring_cython.pyx":673 + * _ensure_monitoring() * events = monitor.get_local_events(DEBUGGER_ID, code) * monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 653, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 653, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_set_local_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 653, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 653, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 653, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 653, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = PyNumber_Or(__pyx_v_events, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 653, __pyx_L1_error) + __pyx_t_6 = PyNumber_Or(__pyx_v_events, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -14089,13 +14452,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 653, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 673, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":646 + /* "_pydevd_sys_monitoring_cython.pyx":665 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_return_tracing(code): # <<<<<<<<<<<<<< @@ -14121,7 +14484,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing( return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":658 +/* "_pydevd_sys_monitoring_cython.pyx":678 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< @@ -14149,19 +14512,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("disable_code_tracing", 1); - /* "_pydevd_sys_monitoring_cython.pyx":663 + /* "_pydevd_sys_monitoring_cython.pyx":683 * # ENDIF * # fmt: on + * _ensure_monitoring() # <<<<<<<<<<<<<< + * monitor.set_local_events(DEBUGGER_ID, code, 0) + * + */ + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 683, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":684 + * # fmt: on + * _ensure_monitoring() * monitor.set_local_events(DEBUGGER_ID, code, 0) # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 663, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_set_local_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 663, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_set_local_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 663, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -14182,13 +14556,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(Py __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 3+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 663, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":658 + /* "_pydevd_sys_monitoring_cython.pyx":678 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< @@ -14265,12 +14639,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 658, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 678, __pyx_L3_error) else goto __pyx_L5_argtuple_error; } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "disable_code_tracing") < 0)) __PYX_ERR(0, 658, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "disable_code_tracing") < 0)) __PYX_ERR(0, 678, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; @@ -14281,7 +14655,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 658, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 678, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -14317,7 +14691,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing( int __pyx_clineno = 0; __Pyx_RefNannySetupContext("disable_code_tracing", 1); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(__pyx_v_code, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 658, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_disable_code_tracing(__pyx_v_code, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 678, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -14334,7 +14708,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing( return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":668 +/* "_pydevd_sys_monitoring_cython.pyx":689 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< @@ -14371,22 +14745,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns int __pyx_clineno = 0; __Pyx_RefNannySetupContext("enable_code_tracing", 1); - /* "_pydevd_sys_monitoring_cython.pyx":683 + /* "_pydevd_sys_monitoring_cython.pyx":704 * # if DEBUG: * # print('==== enable code tracing', code.co_filename[-30:], code.co_name) * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return False */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 683, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 704, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 683, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 704, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":684 + /* "_pydevd_sys_monitoring_cython.pyx":705 * # print('==== enable code tracing', code.co_filename[-30:], code.co_name) * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -14399,15 +14773,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_t_3 = __pyx_t_4; goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 684, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 705, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 684, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 705, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_3 = __pyx_t_4; __pyx_L4_bool_binop_done:; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":685 + /* "_pydevd_sys_monitoring_cython.pyx":706 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return False # <<<<<<<<<<<<<< @@ -14419,7 +14793,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_r = Py_False; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":684 + /* "_pydevd_sys_monitoring_cython.pyx":705 * # print('==== enable code tracing', code.co_filename[-30:], code.co_name) * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -14428,19 +14802,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ } - /* "_pydevd_sys_monitoring_cython.pyx":687 + /* "_pydevd_sys_monitoring_cython.pyx":708 * return False * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * # if DEBUG: */ - __pyx_t_2 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 687, __pyx_L1_error) + __pyx_t_2 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 708, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":688 + /* "_pydevd_sys_monitoring_cython.pyx":709 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -14449,7 +14823,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":691 + /* "_pydevd_sys_monitoring_cython.pyx":712 * # if DEBUG: * # print('disable (always skip)') * return False # <<<<<<<<<<<<<< @@ -14461,7 +14835,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_r = Py_False; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":688 + /* "_pydevd_sys_monitoring_cython.pyx":709 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -14470,7 +14844,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ } - /* "_pydevd_sys_monitoring_cython.pyx":693 + /* "_pydevd_sys_monitoring_cython.pyx":714 * return False * * try: # <<<<<<<<<<<<<< @@ -14486,22 +14860,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __Pyx_XGOTREF(__pyx_t_7); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":694 + /* "_pydevd_sys_monitoring_cython.pyx":715 * * try: * thread = threading._active.get(thread_ident) # <<<<<<<<<<<<<< * if thread is None: * return False */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 694, __pyx_L7_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 715, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_active); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 694, __pyx_L7_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_active); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 715, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 694, __pyx_L7_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 715, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __pyx_t_8 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 694, __pyx_L7_error) + __pyx_t_8 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 715, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_8); __pyx_t_9 = NULL; __pyx_t_10 = 0; @@ -14522,14 +14896,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_10, 1+__pyx_t_10); __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 694, __pyx_L7_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 715, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __pyx_v_thread = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":695 + /* "_pydevd_sys_monitoring_cython.pyx":716 * try: * thread = threading._active.get(thread_ident) * if thread is None: # <<<<<<<<<<<<<< @@ -14539,7 +14913,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_t_3 = (__pyx_v_thread == Py_None); if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":696 + /* "_pydevd_sys_monitoring_cython.pyx":717 * thread = threading._active.get(thread_ident) * if thread is None: * return False # <<<<<<<<<<<<<< @@ -14551,7 +14925,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_r = Py_False; goto __pyx_L11_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":695 + /* "_pydevd_sys_monitoring_cython.pyx":716 * try: * thread = threading._active.get(thread_ident) * if thread is None: # <<<<<<<<<<<<<< @@ -14560,19 +14934,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ } - /* "_pydevd_sys_monitoring_cython.pyx":697 + /* "_pydevd_sys_monitoring_cython.pyx":718 * if thread is None: * return False * additional_info = set_additional_thread_info(thread) # <<<<<<<<<<<<<< * except: * # Cannot set based on stepping */ - __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_thread, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 697, __pyx_L7_error) + __pyx_t_2 = __pyx_f_14_pydevd_bundle_13pydevd_cython_set_additional_thread_info(__pyx_v_thread, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 718, __pyx_L7_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_additional_info = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":693 + /* "_pydevd_sys_monitoring_cython.pyx":714 * return False * * try: # <<<<<<<<<<<<<< @@ -14590,7 +14964,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":698 + /* "_pydevd_sys_monitoring_cython.pyx":719 * return False * additional_info = set_additional_thread_info(thread) * except: # <<<<<<<<<<<<<< @@ -14599,12 +14973,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.enable_code_tracing", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_1, &__pyx_t_8) < 0) __PYX_ERR(0, 698, __pyx_L9_except_error) + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_1, &__pyx_t_8) < 0) __PYX_ERR(0, 719, __pyx_L9_except_error) __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_8); - /* "_pydevd_sys_monitoring_cython.pyx":700 + /* "_pydevd_sys_monitoring_cython.pyx":721 * except: * # Cannot set based on stepping * return False # <<<<<<<<<<<<<< @@ -14620,7 +14994,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns goto __pyx_L10_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":693 + /* "_pydevd_sys_monitoring_cython.pyx":714 * return False * * try: # <<<<<<<<<<<<<< @@ -14648,7 +15022,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns __pyx_L12_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":702 + /* "_pydevd_sys_monitoring_cython.pyx":723 * return False * * return _enable_code_tracing(py_db, additional_info, func_code_info, code, frame, False) # <<<<<<<<<<<<<< @@ -14656,15 +15030,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns * */ __Pyx_XDECREF(__pyx_r); - if (!(likely(((__pyx_v_additional_info) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_additional_info, __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(0, 702, __pyx_L1_error) - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_additional_info), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 702, __pyx_L1_error) - __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 702, __pyx_L1_error) + if (!(likely(((__pyx_v_additional_info) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_additional_info, __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(0, 723, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_additional_info), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 723, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 723, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __pyx_r = __pyx_t_8; __pyx_t_8 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":668 + /* "_pydevd_sys_monitoring_cython.pyx":689 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< @@ -14750,7 +15124,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 668, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 689, __pyx_L3_error) else goto __pyx_L5_argtuple_error; CYTHON_FALLTHROUGH; case 1: @@ -14758,9 +15132,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 668, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 689, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 1); __PYX_ERR(0, 668, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 1); __PYX_ERR(0, 689, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -14768,14 +15142,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 668, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 689, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 2); __PYX_ERR(0, 668, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 2); __PYX_ERR(0, 689, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "enable_code_tracing") < 0)) __PYX_ERR(0, 668, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "enable_code_tracing") < 0)) __PYX_ERR(0, 689, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 3)) { goto __pyx_L5_argtuple_error; @@ -14784,13 +15158,13 @@ PyObject *__pyx_args, PyObject *__pyx_kwds values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); } - __pyx_v_thread_ident = __Pyx_PyInt_As_unsigned_long(values[0]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 668, __pyx_L3_error) + __pyx_v_thread_ident = __Pyx_PyInt_As_unsigned_long(values[0]); if (unlikely((__pyx_v_thread_ident == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(0, 689, __pyx_L3_error) __pyx_v_code = values[1]; __pyx_v_frame = values[2]; } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 668, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 689, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -14826,7 +15200,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(C int __pyx_clineno = 0; __Pyx_RefNannySetupContext("enable_code_tracing", 1); __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(__pyx_v_thread_ident, __pyx_v_code, __pyx_v_frame, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 668, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(__pyx_v_thread_ident, __pyx_v_code, __pyx_v_frame, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -14843,7 +15217,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":707 +/* "_pydevd_sys_monitoring_cython.pyx":728 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef bint _enable_code_tracing(py_db, PyDBAdditionalThreadInfo additional_info, FuncCodeInfo func_code_info, code, frame, bint warn_on_filtered_out): # <<<<<<<<<<<<<< @@ -14869,7 +15243,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_code_tracing", 1); - /* "_pydevd_sys_monitoring_cython.pyx":719 + /* "_pydevd_sys_monitoring_cython.pyx":740 * """ * # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename * step_cmd = additional_info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -14879,7 +15253,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject __pyx_t_1 = __pyx_v_additional_info->pydev_step_cmd; __pyx_v_step_cmd = __pyx_t_1; - /* "_pydevd_sys_monitoring_cython.pyx":720 + /* "_pydevd_sys_monitoring_cython.pyx":741 * # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename * step_cmd = additional_info.pydev_step_cmd * is_stepping = step_cmd != -1 # <<<<<<<<<<<<<< @@ -14888,7 +15262,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_is_stepping = (__pyx_v_step_cmd != -1L); - /* "_pydevd_sys_monitoring_cython.pyx":721 + /* "_pydevd_sys_monitoring_cython.pyx":742 * step_cmd = additional_info.pydev_step_cmd * is_stepping = step_cmd != -1 * code_tracing_added = False # <<<<<<<<<<<<<< @@ -14897,7 +15271,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 0; - /* "_pydevd_sys_monitoring_cython.pyx":723 + /* "_pydevd_sys_monitoring_cython.pyx":744 * code_tracing_added = False * * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -14906,7 +15280,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_func_code_info->always_filtered_out) { - /* "_pydevd_sys_monitoring_cython.pyx":727 + /* "_pydevd_sys_monitoring_cython.pyx":748 * # print('disable (always filtered out)') * if ( * warn_on_filtered_out # <<<<<<<<<<<<<< @@ -14919,7 +15293,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject goto __pyx_L5_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":728 + /* "_pydevd_sys_monitoring_cython.pyx":749 * if ( * warn_on_filtered_out * and is_stepping # <<<<<<<<<<<<<< @@ -14932,7 +15306,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject goto __pyx_L5_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":729 + /* "_pydevd_sys_monitoring_cython.pyx":750 * warn_on_filtered_out * and is_stepping * and additional_info.pydev_original_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE) # <<<<<<<<<<<<<< @@ -14940,28 +15314,28 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject * ): */ __pyx_t_1 = __pyx_v_additional_info->pydev_original_step_cmd; - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 729, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 729, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 729, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 729, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_7) { } else { __pyx_t_3 = __pyx_t_7; goto __pyx_L9_bool_binop_done; } - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 729, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 729, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 729, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 729, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 750, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_3 = __pyx_t_7; __pyx_L9_bool_binop_done:; @@ -14972,22 +15346,22 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject goto __pyx_L5_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":730 + /* "_pydevd_sys_monitoring_cython.pyx":751 * and is_stepping * and additional_info.pydev_original_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE) * and not _global_notify_skipped_step_in # <<<<<<<<<<<<<< * ): * _notify_skipped_step_in_because_of_filters(py_db, frame) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_global_notify_skipped_step_in); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 730, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_global_notify_skipped_step_in); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 751, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 730, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 751, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_3 = (!__pyx_t_7); __pyx_t_2 = __pyx_t_3; __pyx_L5_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":726 + /* "_pydevd_sys_monitoring_cython.pyx":747 * # if DEBUG: * # print('disable (always filtered out)') * if ( # <<<<<<<<<<<<<< @@ -14996,18 +15370,18 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":732 + /* "_pydevd_sys_monitoring_cython.pyx":753 * and not _global_notify_skipped_step_in * ): * _notify_skipped_step_in_because_of_filters(py_db, frame) # <<<<<<<<<<<<<< * * if is_stepping: */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in_because_of_filters(__pyx_v_py_db, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 732, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in_because_of_filters(__pyx_v_py_db, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 753, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":726 + /* "_pydevd_sys_monitoring_cython.pyx":747 * # if DEBUG: * # print('disable (always filtered out)') * if ( # <<<<<<<<<<<<<< @@ -15016,7 +15390,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":734 + /* "_pydevd_sys_monitoring_cython.pyx":755 * _notify_skipped_step_in_because_of_filters(py_db, frame) * * if is_stepping: # <<<<<<<<<<<<<< @@ -15025,21 +15399,21 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_is_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":736 + /* "_pydevd_sys_monitoring_cython.pyx":757 * if is_stepping: * # Tracing may be needed for return value * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) # <<<<<<<<<<<<<< * code_tracing_added = True * return code_tracing_added */ - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 736, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 757, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_4, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 736, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_4, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 757, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":737 + /* "_pydevd_sys_monitoring_cython.pyx":758 * # Tracing may be needed for return value * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) * code_tracing_added = True # <<<<<<<<<<<<<< @@ -15048,7 +15422,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 1; - /* "_pydevd_sys_monitoring_cython.pyx":734 + /* "_pydevd_sys_monitoring_cython.pyx":755 * _notify_skipped_step_in_because_of_filters(py_db, frame) * * if is_stepping: # <<<<<<<<<<<<<< @@ -15057,7 +15431,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":738 + /* "_pydevd_sys_monitoring_cython.pyx":759 * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) * code_tracing_added = True * return code_tracing_added # <<<<<<<<<<<<<< @@ -15067,7 +15441,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject __pyx_r = __pyx_v_code_tracing_added; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":723 + /* "_pydevd_sys_monitoring_cython.pyx":744 * code_tracing_added = False * * if func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -15076,7 +15450,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":740 + /* "_pydevd_sys_monitoring_cython.pyx":761 * return code_tracing_added * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -15092,18 +15466,18 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject __pyx_L13_bool_binop_done:; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":741 + /* "_pydevd_sys_monitoring_cython.pyx":762 * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: * _enable_line_tracing(code) # <<<<<<<<<<<<<< * code_tracing_added = True * */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 741, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":742 + /* "_pydevd_sys_monitoring_cython.pyx":763 * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: * _enable_line_tracing(code) * code_tracing_added = True # <<<<<<<<<<<<<< @@ -15112,7 +15486,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 1; - /* "_pydevd_sys_monitoring_cython.pyx":740 + /* "_pydevd_sys_monitoring_cython.pyx":761 * return code_tracing_added * * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -15121,7 +15495,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":744 + /* "_pydevd_sys_monitoring_cython.pyx":765 * code_tracing_added = True * * if is_stepping: # <<<<<<<<<<<<<< @@ -15130,21 +15504,21 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ if (__pyx_v_is_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":745 + /* "_pydevd_sys_monitoring_cython.pyx":766 * * if is_stepping: * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) # <<<<<<<<<<<<<< * code_tracing_added = True * */ - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 745, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_5, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 745, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(__pyx_v_py_db, __pyx_v_code, __pyx_t_5, __pyx_v_additional_info, __pyx_v_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":746 + /* "_pydevd_sys_monitoring_cython.pyx":767 * if is_stepping: * _enable_step_tracing(py_db, code, step_cmd, additional_info, frame) * code_tracing_added = True # <<<<<<<<<<<<<< @@ -15153,7 +15527,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ __pyx_v_code_tracing_added = 1; - /* "_pydevd_sys_monitoring_cython.pyx":744 + /* "_pydevd_sys_monitoring_cython.pyx":765 * code_tracing_added = True * * if is_stepping: # <<<<<<<<<<<<<< @@ -15162,7 +15536,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":748 + /* "_pydevd_sys_monitoring_cython.pyx":769 * code_tracing_added = True * * return code_tracing_added # <<<<<<<<<<<<<< @@ -15172,7 +15546,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject __pyx_r = __pyx_v_code_tracing_added; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":707 + /* "_pydevd_sys_monitoring_cython.pyx":728 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef bint _enable_code_tracing(py_db, PyDBAdditionalThreadInfo additional_info, FuncCodeInfo func_code_info, code, frame, bint warn_on_filtered_out): # <<<<<<<<<<<<<< @@ -15192,7 +15566,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":753 +/* "_pydevd_sys_monitoring_cython.pyx":774 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame): # <<<<<<<<<<<<<< @@ -15214,7 +15588,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_enable_step_tracing", 1); - /* "_pydevd_sys_monitoring_cython.pyx":758 + /* "_pydevd_sys_monitoring_cython.pyx":779 * # ENDIF * # fmt: on * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<< @@ -15223,44 +15597,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __Pyx_INCREF(__pyx_v_step_cmd); __pyx_t_1 = __pyx_v_step_cmd; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 758, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_5) { } else { __pyx_t_2 = __pyx_t_5; goto __pyx_L4_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 758, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (!__pyx_t_5) { } else { __pyx_t_2 = __pyx_t_5; goto __pyx_L4_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 758, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_5) { } else { __pyx_t_2 = __pyx_t_5; goto __pyx_L4_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 758, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 758, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 779, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_2 = __pyx_t_5; __pyx_L4_bool_binop_done:; @@ -15268,29 +15642,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py __pyx_t_5 = __pyx_t_2; if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":760 + /* "_pydevd_sys_monitoring_cython.pyx":781 * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO): * # Stepping (must have line/return tracing enabled). * _enable_line_tracing(code) # <<<<<<<<<<<<<< * _enable_return_tracing(code) * */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 760, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 781, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":761 + /* "_pydevd_sys_monitoring_cython.pyx":782 * # Stepping (must have line/return tracing enabled). * _enable_line_tracing(code) * _enable_return_tracing(code) # <<<<<<<<<<<<<< * * elif step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, info.pydev_step_stop, frame): */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 761, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 782, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":758 + /* "_pydevd_sys_monitoring_cython.pyx":779 * # ENDIF * # fmt: on * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<< @@ -15300,7 +15674,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":763 + /* "_pydevd_sys_monitoring_cython.pyx":784 * _enable_return_tracing(code) * * elif step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -15309,22 +15683,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __Pyx_INCREF(__pyx_v_step_cmd); __pyx_t_1 = __pyx_v_step_cmd; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 763, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 763, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_3, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 763, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_6) { } else { __pyx_t_2 = __pyx_t_6; goto __pyx_L10_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 763, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 763, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 763, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_2 = __pyx_t_6; __pyx_L10_bool_binop_done:; @@ -15337,27 +15711,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py } __pyx_t_1 = __pyx_v_info->pydev_step_stop; __Pyx_INCREF(__pyx_t_1); - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_v_frame); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 763, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_v_frame); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 763, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_5 = __pyx_t_6; __pyx_L8_bool_binop_done:; if (__pyx_t_5) { - /* "_pydevd_sys_monitoring_cython.pyx":764 + /* "_pydevd_sys_monitoring_cython.pyx":785 * * elif step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, info.pydev_step_stop, frame): * _enable_return_tracing(code) # <<<<<<<<<<<<<< * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): */ - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 764, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 785, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":763 + /* "_pydevd_sys_monitoring_cython.pyx":784 * _enable_return_tracing(code) * * elif step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -15367,7 +15741,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":766 + /* "_pydevd_sys_monitoring_cython.pyx":787 * _enable_return_tracing(code) * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<< @@ -15376,22 +15750,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __Pyx_INCREF(__pyx_v_step_cmd); __pyx_t_3 = __pyx_v_step_cmd; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 766, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 766, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_3, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 766, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_6) { } else { __pyx_t_5 = __pyx_t_6; goto __pyx_L12_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 766, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_3, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 766, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_3, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 766, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 787, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_5 = __pyx_t_6; __pyx_L12_bool_binop_done:; @@ -15399,7 +15773,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py __pyx_t_6 = __pyx_t_5; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":767 + /* "_pydevd_sys_monitoring_cython.pyx":788 * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): * if _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -15408,36 +15782,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py */ __pyx_t_3 = __pyx_v_info->pydev_step_stop; __Pyx_INCREF(__pyx_t_3); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_3, __pyx_v_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 767, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_3, __pyx_v_frame); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 788, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 767, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 788, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":768 + /* "_pydevd_sys_monitoring_cython.pyx":789 * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): * if _is_same_frame(info, info.pydev_step_stop, frame): * _enable_line_tracing(code) # <<<<<<<<<<<<<< * * # Wee need to enable return tracing because if we have a return during a step over */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 768, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 789, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":772 + /* "_pydevd_sys_monitoring_cython.pyx":793 * # Wee need to enable return tracing because if we have a return during a step over * # we need to stop too. * _enable_return_tracing(code) # <<<<<<<<<<<<<< * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): * # Show return values on step over. */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 772, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 793, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":767 + /* "_pydevd_sys_monitoring_cython.pyx":788 * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): * if _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<< @@ -15447,16 +15821,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py goto __pyx_L14; } - /* "_pydevd_sys_monitoring_cython.pyx":773 + /* "_pydevd_sys_monitoring_cython.pyx":794 * # we need to stop too. * _enable_return_tracing(code) * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): # <<<<<<<<<<<<<< * # Show return values on step over. * _enable_return_tracing(code) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 773, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 794, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 773, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 794, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_5) { } else { @@ -15465,30 +15839,30 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py } __pyx_t_1 = __pyx_v_info->pydev_step_stop; __Pyx_INCREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 773, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 794, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 773, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_t_1, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 794, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 773, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 794, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_6 = __pyx_t_5; __pyx_L15_bool_binop_done:; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":775 + /* "_pydevd_sys_monitoring_cython.pyx":796 * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): * # Show return values on step over. * _enable_return_tracing(code) # <<<<<<<<<<<<<< * * */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 775, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(__pyx_v_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 796, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":773 + /* "_pydevd_sys_monitoring_cython.pyx":794 * # we need to stop too. * _enable_return_tracing(code) * elif py_db.show_return_values and _is_same_frame(info, info.pydev_step_stop, frame.f_back): # <<<<<<<<<<<<<< @@ -15498,7 +15872,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py } __pyx_L14:; - /* "_pydevd_sys_monitoring_cython.pyx":766 + /* "_pydevd_sys_monitoring_cython.pyx":787 * _enable_return_tracing(code) * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<< @@ -15508,7 +15882,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":753 + /* "_pydevd_sys_monitoring_cython.pyx":774 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame): # <<<<<<<<<<<<<< @@ -15531,7 +15905,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":793 +/* "_pydevd_sys_monitoring_cython.pyx":814 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, list try_except_infos): # <<<<<<<<<<<<<< @@ -15575,12 +15949,12 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__ (void)__Pyx_Arg_NewRef_VARARGS(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 793, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 814, __pyx_L3_error) else goto __pyx_L5_argtuple_error; } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 793, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 814, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 1)) { goto __pyx_L5_argtuple_error; @@ -15591,7 +15965,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__ } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 793, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 814, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -15605,7 +15979,7 @@ static int __pyx_pw_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_1__ __Pyx_RefNannyFinishContext(); return -1; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_try_except_infos), (&PyList_Type), 1, "try_except_infos", 1))) __PYX_ERR(0, 793, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_try_except_infos), (&PyList_Type), 1, "try_except_infos", 1))) __PYX_ERR(0, 814, __pyx_L1_error) __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)__pyx_v_self), __pyx_v_try_except_infos); /* function exit code */ @@ -15628,7 +16002,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__init__", 1); - /* "_pydevd_sys_monitoring_cython.pyx":794 + /* "_pydevd_sys_monitoring_cython.pyx":815 * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, list try_except_infos): * self.try_except_infos = try_except_infos # <<<<<<<<<<<<<< @@ -15641,7 +16015,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i __Pyx_DECREF(__pyx_v_self->try_except_infos); __pyx_v_self->try_except_infos = __pyx_v_try_except_infos; - /* "_pydevd_sys_monitoring_cython.pyx":793 + /* "_pydevd_sys_monitoring_cython.pyx":814 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def __init__(self, list try_except_infos): # <<<<<<<<<<<<<< @@ -16056,7 +16430,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":805 +/* "_pydevd_sys_monitoring_cython.pyx":826 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _unwind_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -16074,6 +16448,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject CYTHON_UNUSED PyObject *__pyx_v__should_stop = NULL; PyObject *__pyx_v_user_uncaught_exc_info = NULL; struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *__pyx_v_container_obj = NULL; + PyObject *__pyx_v_is_unhandled = NULL; PyObject *__pyx_v_break_on_uncaught_exceptions = NULL; PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations @@ -16088,15 +16463,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject int __pyx_t_9; int __pyx_t_10; struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_11; - unsigned int __pyx_t_12; - PyObject *__pyx_t_13 = NULL; - PyObject *(*__pyx_t_14)(PyObject *); + PyObject *__pyx_t_12 = NULL; + PyObject *(*__pyx_t_13)(PyObject *); + unsigned int __pyx_t_14; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_unwind_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":812 + /* "_pydevd_sys_monitoring_cython.pyx":833 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -16112,23 +16487,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":813 + /* "_pydevd_sys_monitoring_cython.pyx":834 * # fmt: on * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 813, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 834, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 813, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 834, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 813, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 834, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":812 + /* "_pydevd_sys_monitoring_cython.pyx":833 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -16144,7 +16519,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":814 + /* "_pydevd_sys_monitoring_cython.pyx":835 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -16153,25 +16528,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._unwind_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 814, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 835, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":815 + /* "_pydevd_sys_monitoring_cython.pyx":836 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 815, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 836, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 815, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 836, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":816 + /* "_pydevd_sys_monitoring_cython.pyx":837 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -16181,12 +16556,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":817 + /* "_pydevd_sys_monitoring_cython.pyx":838 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< * - * py_db: object = GlobalDebuggerHolder.global_dbg + * */ __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); @@ -16195,7 +16570,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":816 + /* "_pydevd_sys_monitoring_cython.pyx":837 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -16209,7 +16584,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":812 + /* "_pydevd_sys_monitoring_cython.pyx":833 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -16236,22 +16611,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":819 - * return + /* "_pydevd_sys_monitoring_cython.pyx":841 + * * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 819, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 819, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 841, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":820 + /* "_pydevd_sys_monitoring_cython.pyx":842 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -16264,15 +16639,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_8 = __pyx_t_9; goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 820, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 842, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 820, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 842, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":821 + /* "_pydevd_sys_monitoring_cython.pyx":843 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return # <<<<<<<<<<<<<< @@ -16283,7 +16658,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":820 + /* "_pydevd_sys_monitoring_cython.pyx":842 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -16292,29 +16667,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":823 + /* "_pydevd_sys_monitoring_cython.pyx":845 * return * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 823, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 845, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L16_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 823, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 823, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 845, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":826 + /* "_pydevd_sys_monitoring_cython.pyx":848 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< @@ -16325,7 +16700,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":823 + /* "_pydevd_sys_monitoring_cython.pyx":845 * return * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< @@ -16334,19 +16709,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":828 + /* "_pydevd_sys_monitoring_cython.pyx":850 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * return */ - __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 828, __pyx_L1_error) + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":829 + /* "_pydevd_sys_monitoring_cython.pyx":851 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -16355,7 +16730,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":830 + /* "_pydevd_sys_monitoring_cython.pyx":852 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: * return # <<<<<<<<<<<<<< @@ -16366,7 +16741,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":829 + /* "_pydevd_sys_monitoring_cython.pyx":851 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -16375,7 +16750,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":833 + /* "_pydevd_sys_monitoring_cython.pyx":855 * * # print('_unwind_event', code, exc) * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -16384,44 +16759,44 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 833, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":834 + /* "_pydevd_sys_monitoring_cython.pyx":856 * # print('_unwind_event', code, exc) * frame = _getframe(1) * arg = (type(exc), exc, exc.__traceback__) # <<<<<<<<<<<<<< * * has_caught_exception_breakpoint_in_pydb = ( */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_n_s_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 834, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_n_s_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 834, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_exc))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_exc))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc)))) __PYX_ERR(0, 834, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc)))) __PYX_ERR(0, 856, __pyx_L1_error); __Pyx_INCREF(__pyx_v_exc); __Pyx_GIVEREF(__pyx_v_exc); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc)) __PYX_ERR(0, 834, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc)) __PYX_ERR(0, 856, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 834, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 856, __pyx_L1_error); __pyx_t_4 = 0; __pyx_v_arg = ((PyObject*)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":837 + /* "_pydevd_sys_monitoring_cython.pyx":859 * * has_caught_exception_breakpoint_in_pydb = ( * py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks # <<<<<<<<<<<<<< * ) * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_caught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 837, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_caught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 859, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 837, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 859, __pyx_L1_error) if (!__pyx_t_8) { __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else { @@ -16430,9 +16805,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L19_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 837, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 859, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 837, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 859, __pyx_L1_error) if (!__pyx_t_8) { __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } else { @@ -16441,7 +16816,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L19_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_exception_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 837, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_exception_breaks); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 859, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_4); __pyx_t_6 = __pyx_t_4; @@ -16450,134 +16825,140 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_v_has_caught_exception_breakpoint_in_pydb = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":840 - * ) + /* "_pydevd_sys_monitoring_cython.pyx":863 + * * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 840, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 863, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":841 + /* "_pydevd_sys_monitoring_cython.pyx":864 * * if has_caught_exception_breakpoint_in_pydb: * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True * ) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 841, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 864, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":842 + /* "_pydevd_sys_monitoring_cython.pyx":865 * if has_caught_exception_breakpoint_in_pydb: * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None # <<<<<<<<<<<<<< + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True # <<<<<<<<<<<<<< * ) * if user_uncaught_exc_info: */ - __pyx_t_5 = NULL; - __pyx_t_12 = 0; - #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4); - if (likely(__pyx_t_5)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_5); - __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_4, function); - __pyx_t_12 = 1; - } - } - #endif - { - PyObject *__pyx_callargs[7] = {__pyx_t_5, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_frame, __pyx_v_thread_info->thread, __pyx_v_arg, Py_None}; - __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_12, 6+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 841, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - } - if ((likely(PyTuple_CheckExact(__pyx_t_6))) || (PyList_CheckExact(__pyx_t_6))) { - PyObject* sequence = __pyx_t_6; + __pyx_t_4 = PyTuple_New(6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 864, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_INCREF(__pyx_v_py_db); + __Pyx_GIVEREF(__pyx_v_py_db); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_py_db)) __PYX_ERR(0, 864, __pyx_L1_error); + __Pyx_INCREF((PyObject *)__pyx_v_thread_info->additional_info); + __Pyx_GIVEREF((PyObject *)__pyx_v_thread_info->additional_info); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_v_thread_info->additional_info))) __PYX_ERR(0, 864, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_frame); + __Pyx_GIVEREF(__pyx_v_frame); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_frame)) __PYX_ERR(0, 864, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_thread_info->thread); + __Pyx_GIVEREF(__pyx_v_thread_info->thread); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_v_thread_info->thread)) __PYX_ERR(0, 864, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_arg); + __Pyx_GIVEREF(__pyx_v_arg); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_v_arg)) __PYX_ERR(0, 864, __pyx_L1_error); + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 5, Py_None)) __PYX_ERR(0, 864, __pyx_L1_error); + __pyx_t_5 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 865, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_is_unwind, Py_True) < 0) __PYX_ERR(0, 865, __pyx_L1_error) + + /* "_pydevd_sys_monitoring_cython.pyx":864 + * + * if has_caught_exception_breakpoint_in_pydb: + * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True + * ) + */ + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 864, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if ((likely(PyTuple_CheckExact(__pyx_t_7))) || (PyList_CheckExact(__pyx_t_7))) { + PyObject* sequence = __pyx_t_7; Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 841, __pyx_L1_error) + __PYX_ERR(0, 864, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); - __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); - __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2); + __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); + __pyx_t_6 = PyTuple_GET_ITEM(sequence, 2); } else { - __pyx_t_4 = PyList_GET_ITEM(sequence, 0); - __pyx_t_5 = PyList_GET_ITEM(sequence, 1); - __pyx_t_7 = PyList_GET_ITEM(sequence, 2); + __pyx_t_5 = PyList_GET_ITEM(sequence, 0); + __pyx_t_4 = PyList_GET_ITEM(sequence, 1); + __pyx_t_6 = PyList_GET_ITEM(sequence, 2); } - __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_5); - __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(__pyx_t_6); #else - __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 841, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 841, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 864, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 841, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 864, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 864, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); #endif - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } else { Py_ssize_t index = -1; - __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 841, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_13); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_14 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_13); - index = 0; __pyx_t_4 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_4)) goto __pyx_L23_unpacking_failed; - __Pyx_GOTREF(__pyx_t_4); - index = 1; __pyx_t_5 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_5)) goto __pyx_L23_unpacking_failed; + __pyx_t_12 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 864, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_12); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_13 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_12); + index = 0; __pyx_t_5 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_5)) goto __pyx_L23_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); - index = 2; __pyx_t_7 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_7)) goto __pyx_L23_unpacking_failed; - __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < 0) __PYX_ERR(0, 841, __pyx_L1_error) - __pyx_t_14 = NULL; - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; + index = 1; __pyx_t_4 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_4)) goto __pyx_L23_unpacking_failed; + __Pyx_GOTREF(__pyx_t_4); + index = 2; __pyx_t_6 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_6)) goto __pyx_L23_unpacking_failed; + __Pyx_GOTREF(__pyx_t_6); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_12), 3) < 0) __PYX_ERR(0, 864, __pyx_L1_error) + __pyx_t_13 = NULL; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; goto __pyx_L24_unpacking_done; __pyx_L23_unpacking_failed:; - __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; - __pyx_t_14 = NULL; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_13 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 841, __pyx_L1_error) + __PYX_ERR(0, 864, __pyx_L1_error) __pyx_L24_unpacking_done:; } - - /* "_pydevd_sys_monitoring_cython.pyx":841 - * - * if has_caught_exception_breakpoint_in_pydb: - * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None - * ) - */ - __pyx_v__should_stop = __pyx_t_4; - __pyx_t_4 = 0; - __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_5); + __pyx_v__should_stop = __pyx_t_5; __pyx_t_5 = 0; - __pyx_v_user_uncaught_exc_info = __pyx_t_7; - __pyx_t_7 = 0; + __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_4); + __pyx_t_4 = 0; + __pyx_v_user_uncaught_exc_info = __pyx_t_6; + __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":844 - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + /* "_pydevd_sys_monitoring_cython.pyx":867 + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True * ) * if user_uncaught_exc_info: # <<<<<<<<<<<<<< * # TODO: Check: this may no longer be needed as in the unwind we know it's * # an exception bubbling up (wait for all tests to pass to check it). */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_user_uncaught_exc_info); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 844, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_user_uncaught_exc_info); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 867, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":847 + /* "_pydevd_sys_monitoring_cython.pyx":870 * # TODO: Check: this may no longer be needed as in the unwind we know it's * # an exception bubbling up (wait for all tests to pass to check it). * if func_code_info.try_except_container_obj is None: # <<<<<<<<<<<<<< @@ -16587,52 +16968,52 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_t_8 = (__pyx_v_func_code_info->try_except_container_obj == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":848 + /* "_pydevd_sys_monitoring_cython.pyx":871 * # an exception bubbling up (wait for all tests to pass to check it). * if func_code_info.try_except_container_obj is None: * container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code)) # <<<<<<<<<<<<<< * func_code_info.try_except_container_obj = container_obj * */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_collect_try_except_info); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 848, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 848, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = NULL; - __pyx_t_12 = 0; + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_collect_try_except_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 871, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 871, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = NULL; + __pyx_t_14 = 0; #if CYTHON_UNPACK_METHODS - if (likely(PyMethod_Check(__pyx_t_7))) { - __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_7); - if (likely(__pyx_t_4)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); - __Pyx_INCREF(__pyx_t_4); + if (likely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_5)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_7, function); - __pyx_t_12 = 1; + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_14 = 1; } } #endif { - PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_5}; - __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 848, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_4}; + __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_14, 1+__pyx_t_14); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 871, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } - __pyx_t_7 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj), __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 848, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_v_container_obj = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)__pyx_t_7); - __pyx_t_7 = 0; + __pyx_t_6 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj), __pyx_t_7); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 871, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_v_container_obj = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *)__pyx_t_6); + __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":849 + /* "_pydevd_sys_monitoring_cython.pyx":872 * if func_code_info.try_except_container_obj is None: * container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code)) * func_code_info.try_except_container_obj = container_obj # <<<<<<<<<<<<<< * - * if is_unhandled_exception( + * is_unhandled = is_unhandled_exception( */ __Pyx_INCREF((PyObject *)__pyx_v_container_obj); __Pyx_GIVEREF((PyObject *)__pyx_v_container_obj); @@ -16640,7 +17021,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_DECREF(__pyx_v_func_code_info->try_except_container_obj); __pyx_v_func_code_info->try_except_container_obj = ((PyObject *)__pyx_v_container_obj); - /* "_pydevd_sys_monitoring_cython.pyx":847 + /* "_pydevd_sys_monitoring_cython.pyx":870 * # TODO: Check: this may no longer be needed as in the unwind we know it's * # an exception bubbling up (wait for all tests to pass to check it). * if func_code_info.try_except_container_obj is None: # <<<<<<<<<<<<<< @@ -16649,104 +17030,105 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":851 + /* "_pydevd_sys_monitoring_cython.pyx":874 * func_code_info.try_except_container_obj = container_obj * - * if is_unhandled_exception( # <<<<<<<<<<<<<< + * is_unhandled = is_unhandled_exception( # <<<<<<<<<<<<<< * func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] - * ): + * ) */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_is_unhandled_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 851, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_is_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 874, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); - /* "_pydevd_sys_monitoring_cython.pyx":852 + /* "_pydevd_sys_monitoring_cython.pyx":875 * - * if is_unhandled_exception( + * is_unhandled = is_unhandled_exception( * func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] # <<<<<<<<<<<<<< - * ): - * # print('stop in user uncaught') + * ) + * */ - __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 852, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 852, __pyx_L1_error) + __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 875, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_13 = NULL; - __pyx_t_12 = 0; + __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 875, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_12 = NULL; + __pyx_t_14 = 0; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_6))) { - __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_6); - if (likely(__pyx_t_13)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); - __Pyx_INCREF(__pyx_t_13); + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_12)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_12); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_6, function); - __pyx_t_12 = 1; + __Pyx_DECREF_SET(__pyx_t_7, function); + __pyx_t_14 = 1; } } #endif { - PyObject *__pyx_callargs[6] = {__pyx_t_13, __pyx_v_func_code_info->try_except_container_obj, __pyx_v_py_db, __pyx_v_frame, __pyx_t_5, __pyx_t_4}; - __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_12, 5+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + PyObject *__pyx_callargs[6] = {__pyx_t_12, __pyx_v_func_code_info->try_except_container_obj, __pyx_v_py_db, __pyx_v_frame, __pyx_t_4, __pyx_t_5}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_14, 5+__pyx_t_14); + __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 851, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 874, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } + __pyx_v_is_unhandled = __pyx_t_6; + __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":851 - * func_code_info.try_except_container_obj = container_obj + /* "_pydevd_sys_monitoring_cython.pyx":878 + * ) * - * if is_unhandled_exception( # <<<<<<<<<<<<<< - * func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] - * ): + * if is_unhandled: # <<<<<<<<<<<<<< + * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) + * return */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 851, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_unhandled); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 878, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":855 - * ): - * # print('stop in user uncaught') + /* "_pydevd_sys_monitoring_cython.pyx":879 + * + * if is_unhandled: * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) # <<<<<<<<<<<<<< * return * */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 855, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 855, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 855, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 879, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_5 = __Pyx_GetItemInt(__pyx_v_user_uncaught_exc_info, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 879, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_13 = NULL; - __pyx_t_12 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 879, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_12 = NULL; + __pyx_t_14 = 0; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_6))) { - __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_6); - if (likely(__pyx_t_13)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); - __Pyx_INCREF(__pyx_t_13); + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_12 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_12)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_12); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_6, function); - __pyx_t_12 = 1; + __Pyx_DECREF_SET(__pyx_t_7, function); + __pyx_t_14 = 1; } } #endif { - PyObject *__pyx_callargs[6] = {__pyx_t_13, __pyx_v_py_db, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_t_4, __pyx_t_5}; - __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_12, 5+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + PyObject *__pyx_callargs[6] = {__pyx_t_12, __pyx_v_py_db, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_t_5, __pyx_t_4}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_14, 5+__pyx_t_14); + __Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 855, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 879, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":856 - * # print('stop in user uncaught') + /* "_pydevd_sys_monitoring_cython.pyx":880 + * if is_unhandled: * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) * return # <<<<<<<<<<<<<< * @@ -16756,17 +17138,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":851 - * func_code_info.try_except_container_obj = container_obj + /* "_pydevd_sys_monitoring_cython.pyx":878 + * ) * - * if is_unhandled_exception( # <<<<<<<<<<<<<< - * func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] - * ): + * if is_unhandled: # <<<<<<<<<<<<<< + * handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) + * return */ } - /* "_pydevd_sys_monitoring_cython.pyx":844 - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + /* "_pydevd_sys_monitoring_cython.pyx":867 + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True * ) * if user_uncaught_exc_info: # <<<<<<<<<<<<<< * # TODO: Check: this may no longer be needed as in the unwind we know it's @@ -16774,85 +17156,85 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":840 - * ) + /* "_pydevd_sys_monitoring_cython.pyx":863 + * * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< * _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True */ } - /* "_pydevd_sys_monitoring_cython.pyx":858 + /* "_pydevd_sys_monitoring_cython.pyx":882 * return * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions # <<<<<<<<<<<<<< * if break_on_uncaught_exceptions: - * if frame is _get_unhandled_exception_frame(depth=1): + * if frame is _get_unhandled_exception_frame(1): */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 858, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_v_break_on_uncaught_exceptions = __pyx_t_7; - __pyx_t_7 = 0; + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 882, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_v_break_on_uncaught_exceptions = __pyx_t_6; + __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":859 + /* "_pydevd_sys_monitoring_cython.pyx":883 * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< - * if frame is _get_unhandled_exception_frame(depth=1): + * if frame is _get_unhandled_exception_frame(1): * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 859, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 883, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":860 + /* "_pydevd_sys_monitoring_cython.pyx":884 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: - * if frame is _get_unhandled_exception_frame(depth=1): # <<<<<<<<<<<<<< + * if frame is _get_unhandled_exception_frame(1): # <<<<<<<<<<<<<< * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 860, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __pyx_t_8 = (__pyx_v_frame == __pyx_t_7); - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 884, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = (__pyx_v_frame == __pyx_t_6); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":861 + /* "_pydevd_sys_monitoring_cython.pyx":885 * if break_on_uncaught_exceptions: - * if frame is _get_unhandled_exception_frame(depth=1): + * if frame is _get_unhandled_exception_frame(1): * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) # <<<<<<<<<<<<<< * return * */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_stop_on_unhandled_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 861, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = NULL; - __pyx_t_12 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_stop_on_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 885, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = NULL; + __pyx_t_14 = 0; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_6))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6); - if (likely(__pyx_t_5)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); - __Pyx_INCREF(__pyx_t_5); + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_6, function); - __pyx_t_12 = 1; + __Pyx_DECREF_SET(__pyx_t_7, function); + __pyx_t_14 = 1; } } #endif { - PyObject *__pyx_callargs[5] = {__pyx_t_5, __pyx_v_py_db, __pyx_v_thread_info->thread, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_arg}; - __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_12, 4+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 861, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + PyObject *__pyx_callargs[5] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_thread_info->thread, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_arg}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_14, 4+__pyx_t_14); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 885, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } - __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":862 - * if frame is _get_unhandled_exception_frame(depth=1): + /* "_pydevd_sys_monitoring_cython.pyx":886 + * if frame is _get_unhandled_exception_frame(1): * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) * return # <<<<<<<<<<<<<< * @@ -16862,25 +17244,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":860 + /* "_pydevd_sys_monitoring_cython.pyx":884 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: - * if frame is _get_unhandled_exception_frame(depth=1): # <<<<<<<<<<<<<< + * if frame is _get_unhandled_exception_frame(1): # <<<<<<<<<<<<<< * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) * return */ } - /* "_pydevd_sys_monitoring_cython.pyx":859 + /* "_pydevd_sys_monitoring_cython.pyx":883 * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< - * if frame is _get_unhandled_exception_frame(depth=1): + * if frame is _get_unhandled_exception_frame(1): * stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) */ } - /* "_pydevd_sys_monitoring_cython.pyx":805 + /* "_pydevd_sys_monitoring_cython.pyx":826 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _unwind_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -16896,7 +17278,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_XDECREF(__pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); - __Pyx_XDECREF(__pyx_t_13); + __Pyx_XDECREF(__pyx_t_12); __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._unwind_event", __pyx_clineno, __pyx_lineno, __pyx_filename); __pyx_r = 0; __pyx_L0:; @@ -16909,13 +17291,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject __Pyx_XDECREF(__pyx_v__should_stop); __Pyx_XDECREF(__pyx_v_user_uncaught_exc_info); __Pyx_XDECREF((PyObject *)__pyx_v_container_obj); + __Pyx_XDECREF(__pyx_v_is_unhandled); __Pyx_XDECREF(__pyx_v_break_on_uncaught_exceptions); __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":867 +/* "_pydevd_sys_monitoring_cython.pyx":891 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _raise_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -16929,8 +17312,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * PyObject *__pyx_v_py_db = 0; PyObject *__pyx_v_frame = NULL; PyObject *__pyx_v_arg = NULL; + PyObject *__pyx_v_prev_exc_info = NULL; PyObject *__pyx_v_should_stop = NULL; - CYTHON_UNUSED PyObject *__pyx_v__user_uncaught_exc_info = NULL; + PyObject *__pyx_v__user_uncaught_exc_info = NULL; PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; @@ -16952,7 +17336,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_raise_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":884 + /* "_pydevd_sys_monitoring_cython.pyx":908 * it cannot be individually enabled/disabled for a given code object). * """ * try: # <<<<<<<<<<<<<< @@ -16968,23 +17352,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":885 + /* "_pydevd_sys_monitoring_cython.pyx":909 * """ * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 885, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 909, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 885, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 909, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 885, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 909, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":884 + /* "_pydevd_sys_monitoring_cython.pyx":908 * it cannot be individually enabled/disabled for a given code object). * """ * try: # <<<<<<<<<<<<<< @@ -17000,7 +17384,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":886 + /* "_pydevd_sys_monitoring_cython.pyx":910 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -17009,25 +17393,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._raise_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 886, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 910, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":887 + /* "_pydevd_sys_monitoring_cython.pyx":911 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 887, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 911, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 887, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 911, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":888 + /* "_pydevd_sys_monitoring_cython.pyx":912 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -17037,7 +17421,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":889 + /* "_pydevd_sys_monitoring_cython.pyx":913 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< @@ -17051,7 +17435,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":888 + /* "_pydevd_sys_monitoring_cython.pyx":912 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -17065,7 +17449,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":884 + /* "_pydevd_sys_monitoring_cython.pyx":908 * it cannot be individually enabled/disabled for a given code object). * """ * try: # <<<<<<<<<<<<<< @@ -17092,22 +17476,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":891 + /* "_pydevd_sys_monitoring_cython.pyx":915 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 891, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 915, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 891, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 915, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":892 + /* "_pydevd_sys_monitoring_cython.pyx":916 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -17120,15 +17504,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_t_8 = __pyx_t_9; goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 892, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 916, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 892, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 916, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":893 + /* "_pydevd_sys_monitoring_cython.pyx":917 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return # <<<<<<<<<<<<<< @@ -17139,7 +17523,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":892 + /* "_pydevd_sys_monitoring_cython.pyx":916 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -17148,29 +17532,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":895 + /* "_pydevd_sys_monitoring_cython.pyx":919 * return * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 895, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 919, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L16_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 895, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 919, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 895, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 919, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":898 + /* "_pydevd_sys_monitoring_cython.pyx":922 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< @@ -17181,7 +17565,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":895 + /* "_pydevd_sys_monitoring_cython.pyx":919 * return * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< @@ -17190,19 +17574,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":900 + /* "_pydevd_sys_monitoring_cython.pyx":924 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * return */ - __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 900, __pyx_L1_error) + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 924, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":901 + /* "_pydevd_sys_monitoring_cython.pyx":925 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -17211,18 +17595,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":902 + /* "_pydevd_sys_monitoring_cython.pyx":926 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: * return # <<<<<<<<<<<<<< * - * # print('_raise_event --- ', code, exc) + * frame = _getframe(1) */ __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":901 + /* "_pydevd_sys_monitoring_cython.pyx":925 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -17231,81 +17615,107 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * */ } - /* "_pydevd_sys_monitoring_cython.pyx":906 - * # print('_raise_event --- ', code, exc) + /* "_pydevd_sys_monitoring_cython.pyx":928 + * return * * frame = _getframe(1) # <<<<<<<<<<<<<< * arg = (type(exc), exc, exc.__traceback__) - * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( + * */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 906, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 928, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":907 + /* "_pydevd_sys_monitoring_cython.pyx":929 * * frame = _getframe(1) * arg = (type(exc), exc, exc.__traceback__) # <<<<<<<<<<<<<< - * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + * + * # Compute the previous exception info (if any). We use it to check if the exception */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_n_s_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 907, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_n_s_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 907, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 929, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(((PyObject *)Py_TYPE(__pyx_v_exc))); __Pyx_GIVEREF(((PyObject *)Py_TYPE(__pyx_v_exc))); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc)))) __PYX_ERR(0, 907, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc)))) __PYX_ERR(0, 929, __pyx_L1_error); __Pyx_INCREF(__pyx_v_exc); __Pyx_GIVEREF(__pyx_v_exc); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc)) __PYX_ERR(0, 907, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc)) __PYX_ERR(0, 929, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 907, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 929, __pyx_L1_error); __pyx_t_4 = 0; __pyx_v_arg = ((PyObject*)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":908 - * frame = _getframe(1) - * arg = (type(exc), exc, exc.__traceback__) + /* "_pydevd_sys_monitoring_cython.pyx":933 + * # Compute the previous exception info (if any). We use it to check if the exception + * # should be stopped + * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None # <<<<<<<<<<<<<< + * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 933, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_HasAttr(__pyx_t_4, __pyx_n_s_user_uncaught_exc_info); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 933, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (__pyx_t_8) { + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 933, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_user_uncaught_exc_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 933, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_6 = __pyx_t_5; + __pyx_t_5 = 0; + } else { + __Pyx_INCREF(Py_None); + __pyx_t_6 = Py_None; + } + __pyx_v_prev_exc_info = __pyx_t_6; + __pyx_t_6 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":934 + * # should be stopped + * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info * ) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 908, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 934, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":909 - * arg = (type(exc), exc, exc.__traceback__) + /* "_pydevd_sys_monitoring_cython.pyx":935 + * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None # <<<<<<<<<<<<<< + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info # <<<<<<<<<<<<<< * ) - * # print('!!!! should_stop (in raise)', should_stop) + * */ - __pyx_t_5 = NULL; + __pyx_t_4 = NULL; __pyx_t_12 = 0; #if CYTHON_UNPACK_METHODS - if (unlikely(PyMethod_Check(__pyx_t_4))) { - __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4); - if (likely(__pyx_t_5)) { - PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); - __Pyx_INCREF(__pyx_t_5); + if (unlikely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(function); - __Pyx_DECREF_SET(__pyx_t_4, function); + __Pyx_DECREF_SET(__pyx_t_5, function); __pyx_t_12 = 1; } } #endif { - PyObject *__pyx_callargs[7] = {__pyx_t_5, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_frame, __pyx_v_thread_info->thread, __pyx_v_arg, Py_None}; - __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_12, 6+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 908, __pyx_L1_error) + PyObject *__pyx_callargs[7] = {__pyx_t_4, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info->additional_info), __pyx_v_frame, __pyx_v_thread_info->thread, __pyx_v_arg, __pyx_v_prev_exc_info}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_12, 6+__pyx_t_12); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } if ((likely(PyTuple_CheckExact(__pyx_t_6))) || (PyList_CheckExact(__pyx_t_6))) { PyObject* sequence = __pyx_t_6; @@ -17313,43 +17723,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 908, __pyx_L1_error) + __PYX_ERR(0, 934, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { - __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); - __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); + __pyx_t_5 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); __pyx_t_7 = PyTuple_GET_ITEM(sequence, 2); } else { - __pyx_t_4 = PyList_GET_ITEM(sequence, 0); - __pyx_t_5 = PyList_GET_ITEM(sequence, 1); + __pyx_t_5 = PyList_GET_ITEM(sequence, 0); + __pyx_t_4 = PyList_GET_ITEM(sequence, 1); __pyx_t_7 = PyList_GET_ITEM(sequence, 2); } - __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_5); + __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_7); #else - __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 908, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 908, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 908, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 934, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); #endif __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } else { Py_ssize_t index = -1; - __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 908, __pyx_L1_error) + __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 934, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_14 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_13); - index = 0; __pyx_t_4 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_4)) goto __pyx_L19_unpacking_failed; - __Pyx_GOTREF(__pyx_t_4); - index = 1; __pyx_t_5 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_5)) goto __pyx_L19_unpacking_failed; + index = 0; __pyx_t_5 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_5)) goto __pyx_L19_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); + index = 1; __pyx_t_4 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_4)) goto __pyx_L19_unpacking_failed; + __Pyx_GOTREF(__pyx_t_4); index = 2; __pyx_t_7 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_7)) goto __pyx_L19_unpacking_failed; __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < 0) __PYX_ERR(0, 908, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < 0) __PYX_ERR(0, 934, __pyx_L1_error) __pyx_t_14 = NULL; __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; goto __pyx_L20_unpacking_done; @@ -17357,53 +17767,65 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_14 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 908, __pyx_L1_error) + __PYX_ERR(0, 934, __pyx_L1_error) __pyx_L20_unpacking_done:; } - /* "_pydevd_sys_monitoring_cython.pyx":908 - * frame = _getframe(1) - * arg = (type(exc), exc, exc.__traceback__) + /* "_pydevd_sys_monitoring_cython.pyx":934 + * # should be stopped + * prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None * should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( # <<<<<<<<<<<<<< - * py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + * py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info * ) */ - __pyx_v_should_stop = __pyx_t_4; - __pyx_t_4 = 0; - __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_5); + __pyx_v_should_stop = __pyx_t_5; __pyx_t_5 = 0; + __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_4); + __pyx_t_4 = 0; __pyx_v__user_uncaught_exc_info = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":912 - * ) + /* "_pydevd_sys_monitoring_cython.pyx":939 + * + * # Save the current exception info for the next raise event. + * _thread_local_info._user_uncaught_exc_info = _user_uncaught_exc_info # <<<<<<<<<<<<<< + * + * # print('!!!! should_stop (in raise)', should_stop) + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 939, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (__Pyx_PyObject_SetAttrStr(__pyx_t_6, __pyx_n_s_user_uncaught_exc_info, __pyx_v__user_uncaught_exc_info) < 0) __PYX_ERR(0, 939, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":942 + * * # print('!!!! should_stop (in raise)', should_stop) * if should_stop: # <<<<<<<<<<<<<< * handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) - * return + * */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_should_stop); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 912, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_should_stop); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 942, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":913 + /* "_pydevd_sys_monitoring_cython.pyx":943 * # print('!!!! should_stop (in raise)', should_stop) * if should_stop: * handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) # <<<<<<<<<<<<<< - * return + * * */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 913, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 943, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 913, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = NULL; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 943, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = NULL; __pyx_t_12 = 0; #if CYTHON_UNPACK_METHODS if (unlikely(PyMethod_Check(__pyx_t_7))) { - __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_7); - if (likely(__pyx_t_4)) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_5)) { PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); - __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(function); __Pyx_DECREF_SET(__pyx_t_7, function); __pyx_t_12 = 1; @@ -17411,37 +17833,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * } #endif { - PyObject *__pyx_callargs[6] = {__pyx_t_4, __pyx_v_py_db, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_v_arg, __pyx_t_5}; + PyObject *__pyx_callargs[6] = {__pyx_t_5, __pyx_v_py_db, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_v_arg, __pyx_t_4}; __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_12, 5+__pyx_t_12); - __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 913, __pyx_L1_error) + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 943, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":914 - * if should_stop: - * handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) - * return # <<<<<<<<<<<<<< + /* "_pydevd_sys_monitoring_cython.pyx":942 * - * - */ - __Pyx_XDECREF(__pyx_r); - __pyx_r = Py_None; __Pyx_INCREF(Py_None); - goto __pyx_L0; - - /* "_pydevd_sys_monitoring_cython.pyx":912 - * ) * # print('!!!! should_stop (in raise)', should_stop) * if should_stop: # <<<<<<<<<<<<<< * handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) - * return + * */ } - /* "_pydevd_sys_monitoring_cython.pyx":867 + /* "_pydevd_sys_monitoring_cython.pyx":891 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _raise_event(code, instruction, exc): # <<<<<<<<<<<<<< @@ -17466,6 +17877,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * __Pyx_XDECREF(__pyx_v_py_db); __Pyx_XDECREF(__pyx_v_frame); __Pyx_XDECREF(__pyx_v_arg); + __Pyx_XDECREF(__pyx_v_prev_exc_info); __Pyx_XDECREF(__pyx_v_should_stop); __Pyx_XDECREF(__pyx_v__user_uncaught_exc_info); __Pyx_XGIVEREF(__pyx_r); @@ -17473,7 +17885,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject * return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":919 +/* "_pydevd_sys_monitoring_cython.pyx":948 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef str get_func_name(frame): # <<<<<<<<<<<<<< @@ -17503,32 +17915,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("get_func_name", 1); - /* "_pydevd_sys_monitoring_cython.pyx":925 + /* "_pydevd_sys_monitoring_cython.pyx":954 * # ENDIF * # fmt: on * code_obj = frame.f_code # <<<<<<<<<<<<<< * func_name = code_obj.co_name * try: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 925, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 954, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_code_obj = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":926 + /* "_pydevd_sys_monitoring_cython.pyx":955 * # fmt: on * code_obj = frame.f_code * func_name = code_obj.co_name # <<<<<<<<<<<<<< * try: * cls_name = get_clsname_for_code(code_obj, frame) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_code_obj, __pyx_n_s_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 926, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_code_obj, __pyx_n_s_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 955, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - if (!(likely(PyString_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 926, __pyx_L1_error) + if (!(likely(PyString_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 955, __pyx_L1_error) __pyx_v_func_name = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":927 + /* "_pydevd_sys_monitoring_cython.pyx":956 * code_obj = frame.f_code * func_name = code_obj.co_name * try: # <<<<<<<<<<<<<< @@ -17544,14 +17956,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __Pyx_XGOTREF(__pyx_t_4); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":928 + /* "_pydevd_sys_monitoring_cython.pyx":957 * func_name = code_obj.co_name * try: * cls_name = get_clsname_for_code(code_obj, frame) # <<<<<<<<<<<<<< * if cls_name is not None: * return "%s.%s" % (cls_name, func_name) */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_get_clsname_for_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 928, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_get_clsname_for_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 957, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_6 = NULL; __pyx_t_7 = 0; @@ -17571,14 +17983,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject PyObject *__pyx_callargs[3] = {__pyx_t_6, __pyx_v_code_obj, __pyx_v_frame}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_7, 2+__pyx_t_7); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 928, __pyx_L3_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 957, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __pyx_v_cls_name = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":929 + /* "_pydevd_sys_monitoring_cython.pyx":958 * try: * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: # <<<<<<<<<<<<<< @@ -17588,7 +18000,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __pyx_t_8 = (__pyx_v_cls_name != Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":930 + /* "_pydevd_sys_monitoring_cython.pyx":959 * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: * return "%s.%s" % (cls_name, func_name) # <<<<<<<<<<<<<< @@ -17596,23 +18008,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject * return func_name */ __Pyx_XDECREF(__pyx_r); - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 930, __pyx_L3_error) + __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 959, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_cls_name); __Pyx_GIVEREF(__pyx_v_cls_name); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_cls_name)) __PYX_ERR(0, 930, __pyx_L3_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_cls_name)) __PYX_ERR(0, 959, __pyx_L3_error); __Pyx_INCREF(__pyx_v_func_name); __Pyx_GIVEREF(__pyx_v_func_name); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_func_name)) __PYX_ERR(0, 930, __pyx_L3_error); - __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_s_s_2, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 930, __pyx_L3_error) + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_func_name)) __PYX_ERR(0, 959, __pyx_L3_error); + __pyx_t_5 = __Pyx_PyString_Format(__pyx_kp_s_s_s_2, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 959, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (!(likely(PyString_CheckExact(__pyx_t_5)) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_5))) __PYX_ERR(0, 930, __pyx_L3_error) + if (!(likely(PyString_CheckExact(__pyx_t_5)) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_5))) __PYX_ERR(0, 959, __pyx_L3_error) __pyx_r = ((PyObject*)__pyx_t_5); __pyx_t_5 = 0; goto __pyx_L7_try_return; - /* "_pydevd_sys_monitoring_cython.pyx":929 + /* "_pydevd_sys_monitoring_cython.pyx":958 * try: * cls_name = get_clsname_for_code(code_obj, frame) * if cls_name is not None: # <<<<<<<<<<<<<< @@ -17621,7 +18033,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":932 + /* "_pydevd_sys_monitoring_cython.pyx":961 * return "%s.%s" % (cls_name, func_name) * else: * return func_name # <<<<<<<<<<<<<< @@ -17635,7 +18047,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject goto __pyx_L7_try_return; } - /* "_pydevd_sys_monitoring_cython.pyx":927 + /* "_pydevd_sys_monitoring_cython.pyx":956 * code_obj = frame.f_code * func_name = code_obj.co_name * try: # <<<<<<<<<<<<<< @@ -17648,7 +18060,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":933 + /* "_pydevd_sys_monitoring_cython.pyx":962 * else: * return func_name * except: # <<<<<<<<<<<<<< @@ -17657,21 +18069,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.get_func_name", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_1, &__pyx_t_6) < 0) __PYX_ERR(0, 933, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_1, &__pyx_t_6) < 0) __PYX_ERR(0, 962, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":934 + /* "_pydevd_sys_monitoring_cython.pyx":963 * return func_name * except: * pydev_log.exception() # <<<<<<<<<<<<<< * return func_name * */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 934, __pyx_L5_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 963, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_exception); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 934, __pyx_L5_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_exception); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 963, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_10 = NULL; @@ -17692,13 +18104,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject PyObject *__pyx_callargs[2] = {__pyx_t_10, NULL}; __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_7, 0+__pyx_t_7); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 934, __pyx_L5_except_error) + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 963, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_9); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":935 + /* "_pydevd_sys_monitoring_cython.pyx":964 * except: * pydev_log.exception() * return func_name # <<<<<<<<<<<<<< @@ -17714,7 +18126,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject goto __pyx_L6_except_return; } - /* "_pydevd_sys_monitoring_cython.pyx":927 + /* "_pydevd_sys_monitoring_cython.pyx":956 * code_obj = frame.f_code * func_name = code_obj.co_name * try: # <<<<<<<<<<<<<< @@ -17741,7 +18153,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject goto __pyx_L0; } - /* "_pydevd_sys_monitoring_cython.pyx":919 + /* "_pydevd_sys_monitoring_cython.pyx":948 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef str get_func_name(frame): # <<<<<<<<<<<<<< @@ -17768,7 +18180,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":940 +/* "_pydevd_sys_monitoring_cython.pyx":969 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _show_return_values(frame, arg): # <<<<<<<<<<<<<< @@ -17804,7 +18216,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_show_return_values", 1); - /* "_pydevd_sys_monitoring_cython.pyx":945 + /* "_pydevd_sys_monitoring_cython.pyx":974 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -17813,7 +18225,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":946 + /* "_pydevd_sys_monitoring_cython.pyx":975 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17829,22 +18241,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":947 + /* "_pydevd_sys_monitoring_cython.pyx":976 * try: * try: * f_locals_back = getattr(frame.f_back, "f_locals", None) # <<<<<<<<<<<<<< * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 947, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 976, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_GetAttr3(__pyx_t_4, __pyx_n_s_f_locals, Py_None); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 947, __pyx_L6_error) + __pyx_t_5 = __Pyx_GetAttr3(__pyx_t_4, __pyx_n_s_f_locals, Py_None); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 976, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_f_locals_back = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":948 + /* "_pydevd_sys_monitoring_cython.pyx":977 * try: * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -17854,16 +18266,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_6 = (__pyx_v_f_locals_back != Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":949 + /* "_pydevd_sys_monitoring_cython.pyx":978 * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) # <<<<<<<<<<<<<< * if return_values_dict is None: * return_values_dict = {} */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_locals_back, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 949, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_locals_back, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 978, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 949, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 978, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -17884,14 +18296,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_9, 2+__pyx_t_9); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 949, __pyx_L6_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 978, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __pyx_v_return_values_dict = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":950 + /* "_pydevd_sys_monitoring_cython.pyx":979 * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: # <<<<<<<<<<<<<< @@ -17901,31 +18313,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_t_6 = (__pyx_v_return_values_dict == Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":951 + /* "_pydevd_sys_monitoring_cython.pyx":980 * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: * return_values_dict = {} # <<<<<<<<<<<<<< * f_locals_back[RETURN_VALUES_DICT] = return_values_dict * name = get_func_name(frame) */ - __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 951, __pyx_L6_error) + __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 980, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_return_values_dict, __pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":952 + /* "_pydevd_sys_monitoring_cython.pyx":981 * if return_values_dict is None: * return_values_dict = {} * f_locals_back[RETURN_VALUES_DICT] = return_values_dict # <<<<<<<<<<<<<< * name = get_func_name(frame) * return_values_dict[name] = arg */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 952, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 981, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); - if (unlikely((PyObject_SetItem(__pyx_v_f_locals_back, __pyx_t_5, __pyx_v_return_values_dict) < 0))) __PYX_ERR(0, 952, __pyx_L6_error) + if (unlikely((PyObject_SetItem(__pyx_v_f_locals_back, __pyx_t_5, __pyx_v_return_values_dict) < 0))) __PYX_ERR(0, 981, __pyx_L6_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":950 + /* "_pydevd_sys_monitoring_cython.pyx":979 * if f_locals_back is not None: * return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None) * if return_values_dict is None: # <<<<<<<<<<<<<< @@ -17934,28 +18346,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":953 + /* "_pydevd_sys_monitoring_cython.pyx":982 * return_values_dict = {} * f_locals_back[RETURN_VALUES_DICT] = return_values_dict * name = get_func_name(frame) # <<<<<<<<<<<<<< * return_values_dict[name] = arg * except: */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(__pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 953, __pyx_L6_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(__pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 982, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __pyx_v_name = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":954 + /* "_pydevd_sys_monitoring_cython.pyx":983 * f_locals_back[RETURN_VALUES_DICT] = return_values_dict * name = get_func_name(frame) * return_values_dict[name] = arg # <<<<<<<<<<<<<< * except: * pydev_log.exception() */ - if (unlikely((PyObject_SetItem(__pyx_v_return_values_dict, __pyx_v_name, __pyx_v_arg) < 0))) __PYX_ERR(0, 954, __pyx_L6_error) + if (unlikely((PyObject_SetItem(__pyx_v_return_values_dict, __pyx_v_name, __pyx_v_arg) < 0))) __PYX_ERR(0, 983, __pyx_L6_error) - /* "_pydevd_sys_monitoring_cython.pyx":948 + /* "_pydevd_sys_monitoring_cython.pyx":977 * try: * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -17964,7 +18376,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":946 + /* "_pydevd_sys_monitoring_cython.pyx":975 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -17982,7 +18394,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":955 + /* "_pydevd_sys_monitoring_cython.pyx":984 * name = get_func_name(frame) * return_values_dict[name] = arg * except: # <<<<<<<<<<<<<< @@ -17991,21 +18403,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._show_return_values", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_7) < 0) __PYX_ERR(0, 955, __pyx_L8_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_7) < 0) __PYX_ERR(0, 984, __pyx_L8_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_7); - /* "_pydevd_sys_monitoring_cython.pyx":956 + /* "_pydevd_sys_monitoring_cython.pyx":985 * return_values_dict[name] = arg * except: * pydev_log.exception() # <<<<<<<<<<<<<< * finally: * f_locals_back = None */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 956, __pyx_L8_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 985, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_exception); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 956, __pyx_L8_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_exception); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 985, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_10 = NULL; @@ -18026,7 +18438,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO PyObject *__pyx_callargs[2] = {__pyx_t_10, NULL}; __pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_9, 0+__pyx_t_9); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 956, __pyx_L8_except_error) + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 985, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } @@ -18037,7 +18449,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO goto __pyx_L7_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":946 + /* "_pydevd_sys_monitoring_cython.pyx":975 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -18059,7 +18471,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO } } - /* "_pydevd_sys_monitoring_cython.pyx":958 + /* "_pydevd_sys_monitoring_cython.pyx":987 * pydev_log.exception() * finally: * f_locals_back = None # <<<<<<<<<<<<<< @@ -18113,7 +18525,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO __pyx_L5:; } - /* "_pydevd_sys_monitoring_cython.pyx":940 + /* "_pydevd_sys_monitoring_cython.pyx":969 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _show_return_values(frame, arg): # <<<<<<<<<<<<<< @@ -18142,7 +18554,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":963 +/* "_pydevd_sys_monitoring_cython.pyx":992 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _remove_return_values(py_db, frame): # <<<<<<<<<<<<<< @@ -18176,7 +18588,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_remove_return_values", 1); - /* "_pydevd_sys_monitoring_cython.pyx":968 + /* "_pydevd_sys_monitoring_cython.pyx":997 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -18185,7 +18597,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":969 + /* "_pydevd_sys_monitoring_cython.pyx":998 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -18201,19 +18613,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":972 + /* "_pydevd_sys_monitoring_cython.pyx":1001 * # Showing return values was turned off, we should remove them from locals dict. * # The values can be in the current frame or in the back one * frame.f_locals.pop(RETURN_VALUES_DICT, None) # <<<<<<<<<<<<<< * * f_locals_back = getattr(frame.f_back, "f_locals", None) */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_locals); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 972, __pyx_L6_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_locals); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1001, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_pop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 972, __pyx_L6_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_pop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1001, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 972, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1001, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = NULL; __pyx_t_8 = 0; @@ -18234,28 +18646,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 972, __pyx_L6_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1001, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":974 + /* "_pydevd_sys_monitoring_cython.pyx":1003 * frame.f_locals.pop(RETURN_VALUES_DICT, None) * * f_locals_back = getattr(frame.f_back, "f_locals", None) # <<<<<<<<<<<<<< * if f_locals_back is not None: * f_locals_back.pop(RETURN_VALUES_DICT, None) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 974, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_GetAttr3(__pyx_t_4, __pyx_n_s_f_locals, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 974, __pyx_L6_error) + __pyx_t_6 = __Pyx_GetAttr3(__pyx_t_4, __pyx_n_s_f_locals, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1003, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_f_locals_back = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":975 + /* "_pydevd_sys_monitoring_cython.pyx":1004 * * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -18265,16 +18677,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_t_9 = (__pyx_v_f_locals_back != Py_None); if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":976 + /* "_pydevd_sys_monitoring_cython.pyx":1005 * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: * f_locals_back.pop(RETURN_VALUES_DICT, None) # <<<<<<<<<<<<<< * except: * pydev_log.exception() */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_locals_back, __pyx_n_s_pop); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 976, __pyx_L6_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_locals_back, __pyx_n_s_pop); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1005, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 976, __pyx_L6_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1005, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = NULL; __pyx_t_8 = 0; @@ -18295,13 +18707,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 976, __pyx_L6_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1005, __pyx_L6_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":975 + /* "_pydevd_sys_monitoring_cython.pyx":1004 * * f_locals_back = getattr(frame.f_back, "f_locals", None) * if f_locals_back is not None: # <<<<<<<<<<<<<< @@ -18310,7 +18722,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ } - /* "_pydevd_sys_monitoring_cython.pyx":969 + /* "_pydevd_sys_monitoring_cython.pyx":998 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -18328,7 +18740,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":977 + /* "_pydevd_sys_monitoring_cython.pyx":1006 * if f_locals_back is not None: * f_locals_back.pop(RETURN_VALUES_DICT, None) * except: # <<<<<<<<<<<<<< @@ -18337,21 +18749,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._remove_return_values", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_4, &__pyx_t_5) < 0) __PYX_ERR(0, 977, __pyx_L8_except_error) + if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_4, &__pyx_t_5) < 0) __PYX_ERR(0, 1006, __pyx_L8_except_error) __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_5); - /* "_pydevd_sys_monitoring_cython.pyx":978 + /* "_pydevd_sys_monitoring_cython.pyx":1007 * f_locals_back.pop(RETURN_VALUES_DICT, None) * except: * pydev_log.exception() # <<<<<<<<<<<<<< * finally: * f_locals_back = None */ - __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 978, __pyx_L8_except_error) + __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1007, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_10); - __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_exception); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 978, __pyx_L8_except_error) + __pyx_t_11 = __Pyx_PyObject_GetAttrStr(__pyx_t_10, __pyx_n_s_exception); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 1007, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_11); __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_t_10 = NULL; @@ -18372,7 +18784,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C PyObject *__pyx_callargs[2] = {__pyx_t_10, NULL}; __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_11, __pyx_callargs+1-__pyx_t_8, 0+__pyx_t_8); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 978, __pyx_L8_except_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1007, __pyx_L8_except_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; } @@ -18383,7 +18795,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C goto __pyx_L7_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":969 + /* "_pydevd_sys_monitoring_cython.pyx":998 * # fmt: on * try: * try: # <<<<<<<<<<<<<< @@ -18405,7 +18817,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C } } - /* "_pydevd_sys_monitoring_cython.pyx":980 + /* "_pydevd_sys_monitoring_cython.pyx":1009 * pydev_log.exception() * finally: * f_locals_back = None # <<<<<<<<<<<<<< @@ -18459,7 +18871,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C __pyx_L5:; } - /* "_pydevd_sys_monitoring_cython.pyx":963 + /* "_pydevd_sys_monitoring_cython.pyx":992 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _remove_return_values(py_db, frame): # <<<<<<<<<<<<<< @@ -18486,7 +18898,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":985 +/* "_pydevd_sys_monitoring_cython.pyx":1014 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _return_event(code, instruction, retval): # <<<<<<<<<<<<<< @@ -18526,7 +18938,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_return_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":994 + /* "_pydevd_sys_monitoring_cython.pyx":1023 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -18542,23 +18954,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":995 + /* "_pydevd_sys_monitoring_cython.pyx":1024 * # fmt: on * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 995, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1024, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 995, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1024, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 995, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1024, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":994 + /* "_pydevd_sys_monitoring_cython.pyx":1023 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -18574,7 +18986,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":996 + /* "_pydevd_sys_monitoring_cython.pyx":1025 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -18583,25 +18995,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._return_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 996, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1025, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":997 + /* "_pydevd_sys_monitoring_cython.pyx":1026 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 997, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1026, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 997, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1026, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":998 + /* "_pydevd_sys_monitoring_cython.pyx":1027 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -18611,7 +19023,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":999 + /* "_pydevd_sys_monitoring_cython.pyx":1028 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< @@ -18625,7 +19037,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":998 + /* "_pydevd_sys_monitoring_cython.pyx":1027 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -18639,7 +19051,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":994 + /* "_pydevd_sys_monitoring_cython.pyx":1023 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -18666,22 +19078,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1001 + /* "_pydevd_sys_monitoring_cython.pyx":1030 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1001, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1030, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1001, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1030, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1002 + /* "_pydevd_sys_monitoring_cython.pyx":1031 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -18694,15 +19106,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_8 = __pyx_t_9; goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1002, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1031, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1002, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1031, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1003 + /* "_pydevd_sys_monitoring_cython.pyx":1032 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -18710,16 +19122,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * if not thread_info.trace or thread_info.thread._is_stopped: */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1003, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1032, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1003, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1032, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1002 + /* "_pydevd_sys_monitoring_cython.pyx":1031 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -18728,29 +19140,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1005 + /* "_pydevd_sys_monitoring_cython.pyx":1034 * return monitor.DISABLE * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1005, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1034, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L16_bool_binop_done; } - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1005, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1034, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1005, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1034, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1008 + /* "_pydevd_sys_monitoring_cython.pyx":1037 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< @@ -18761,7 +19173,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1005 + /* "_pydevd_sys_monitoring_cython.pyx":1034 * return monitor.DISABLE * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< @@ -18770,19 +19182,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1010 + /* "_pydevd_sys_monitoring_cython.pyx":1039 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * return monitor.DISABLE */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1010, __pyx_L1_error) + __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1039, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1011 + /* "_pydevd_sys_monitoring_cython.pyx":1040 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -18791,7 +19203,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":1012 + /* "_pydevd_sys_monitoring_cython.pyx":1041 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -18799,16 +19211,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * info = thread_info.additional_info */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1012, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1041, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1012, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1041, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1011 + /* "_pydevd_sys_monitoring_cython.pyx":1040 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -18817,7 +19229,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1014 + /* "_pydevd_sys_monitoring_cython.pyx":1043 * return monitor.DISABLE * * info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -18829,7 +19241,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1017 + /* "_pydevd_sys_monitoring_cython.pyx":1046 * * # We know the frame depth. * frame = _getframe(1) # <<<<<<<<<<<<<< @@ -18838,12 +19250,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1017, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1046, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1019 + /* "_pydevd_sys_monitoring_cython.pyx":1048 * frame = _getframe(1) * * step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -18853,7 +19265,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_12 = __pyx_v_info->pydev_step_cmd; __pyx_v_step_cmd = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1020 + /* "_pydevd_sys_monitoring_cython.pyx":1049 * * step_cmd = info.pydev_step_cmd * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -18863,7 +19275,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_8 = (__pyx_v_step_cmd == -1L); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1021 + /* "_pydevd_sys_monitoring_cython.pyx":1050 * step_cmd = info.pydev_step_cmd * if step_cmd == -1: * return # <<<<<<<<<<<<<< @@ -18874,7 +19286,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1020 + /* "_pydevd_sys_monitoring_cython.pyx":1049 * * step_cmd = info.pydev_step_cmd * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -18883,25 +19295,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1023 + /* "_pydevd_sys_monitoring_cython.pyx":1052 * return * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< * # Plugin stepping * if func_code_info.plugin_return_stepping: */ - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1023, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1052, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1023, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1052, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_NE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1023, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_NE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1052, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1023, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1052, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1025 + /* "_pydevd_sys_monitoring_cython.pyx":1054 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_return_stepping: # <<<<<<<<<<<<<< @@ -18910,18 +19322,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_v_func_code_info->plugin_return_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":1026 + /* "_pydevd_sys_monitoring_cython.pyx":1055 * # Plugin stepping * if func_code_info.plugin_return_stepping: * _plugin_stepping(py_db, step_cmd, "return", frame, thread_info) # <<<<<<<<<<<<<< * return * */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_n_s_return, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1026, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_n_s_return, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1055, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1025 + /* "_pydevd_sys_monitoring_cython.pyx":1054 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_return_stepping: # <<<<<<<<<<<<<< @@ -18930,7 +19342,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1027 + /* "_pydevd_sys_monitoring_cython.pyx":1056 * if func_code_info.plugin_return_stepping: * _plugin_stepping(py_db, step_cmd, "return", frame, thread_info) * return # <<<<<<<<<<<<<< @@ -18941,7 +19353,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1023 + /* "_pydevd_sys_monitoring_cython.pyx":1052 * return * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -18950,7 +19362,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1030 + /* "_pydevd_sys_monitoring_cython.pyx":1059 * * # Python line stepping * stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<< @@ -18962,7 +19374,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_v_stop_frame = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1031 + /* "_pydevd_sys_monitoring_cython.pyx":1060 * # Python line stepping * stop_frame = info.pydev_step_stop * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): # <<<<<<<<<<<<<< @@ -18970,73 +19382,73 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: */ __pyx_t_12 = __pyx_v_step_cmd; - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1031, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L23_bool_binop_done; } - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1031, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L23_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1031, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1031, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1060, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L23_bool_binop_done:; __pyx_t_10 = __pyx_t_8; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1032 + /* "_pydevd_sys_monitoring_cython.pyx":1061 * stop_frame = info.pydev_step_stop * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE # <<<<<<<<<<<<<< * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) */ - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1032, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1061, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1032, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1061, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1032, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1061, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_force_check_project_scope = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1033 + /* "_pydevd_sys_monitoring_cython.pyx":1062 * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) * if ( */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1033, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1062, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_8 = (__pyx_t_5 != Py_None); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -19050,28 +19462,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_L27_bool_binop_done:; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1034 + /* "_pydevd_sys_monitoring_cython.pyx":1063 * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) # <<<<<<<<<<<<<< * if ( * # Not filtered out. */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1034, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1034, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1034, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_t_5, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1034, __pyx_L1_error) + __pyx_t_4 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_t_5, 0)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1063, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_back_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1037 + /* "_pydevd_sys_monitoring_cython.pyx":1066 * if ( * # Not filtered out. * not back_func_code_info.always_skip_code # <<<<<<<<<<<<<< @@ -19085,7 +19497,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L30_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1038 + /* "_pydevd_sys_monitoring_cython.pyx":1067 * # Not filtered out. * not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out # <<<<<<<<<<<<<< @@ -19099,14 +19511,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L30_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1039 + /* "_pydevd_sys_monitoring_cython.pyx":1068 * not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) # <<<<<<<<<<<<<< * # Prevent stopping in a return to the same location we were initially * # (i.e.: double-stop at the same place due to some filtering). */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1039, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1068, __pyx_L1_error) if (__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; @@ -19121,36 +19533,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L30_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1042 + /* "_pydevd_sys_monitoring_cython.pyx":1071 * # Prevent stopping in a return to the same location we were initially * # (i.e.: double-stop at the same place due to some filtering). * and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno) # <<<<<<<<<<<<<< * ): * if py_db.show_return_values: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1042, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1042, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1042, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1042, __pyx_L1_error) + __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1071, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4)) __PYX_ERR(0, 1042, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4)) __PYX_ERR(0, 1071, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6)) __PYX_ERR(0, 1042, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6)) __PYX_ERR(0, 1071, __pyx_L1_error); __pyx_t_4 = 0; __pyx_t_6 = 0; - __pyx_t_6 = PyObject_RichCompare(__pyx_v_info->step_in_initial_location, __pyx_t_5, Py_NE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1042, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_v_info->step_in_initial_location, __pyx_t_5, Py_NE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1071, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1042, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1071, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_10 = __pyx_t_9; __pyx_L30_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1035 + /* "_pydevd_sys_monitoring_cython.pyx":1064 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) * if ( # <<<<<<<<<<<<<< @@ -19159,31 +19571,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1044 + /* "_pydevd_sys_monitoring_cython.pyx":1073 * and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1044, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1073, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1044, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1073, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1045 + /* "_pydevd_sys_monitoring_cython.pyx":1074 * ): * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1045, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1074, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1044 + /* "_pydevd_sys_monitoring_cython.pyx":1073 * and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -19192,18 +19604,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1047 + /* "_pydevd_sys_monitoring_cython.pyx":1076 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1047, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1076, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1048 + /* "_pydevd_sys_monitoring_cython.pyx":1077 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< @@ -19214,7 +19626,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1035 + /* "_pydevd_sys_monitoring_cython.pyx":1064 * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: * back_func_code_info = _get_func_code_info(frame.f_back.f_code, frame.f_back) * if ( # <<<<<<<<<<<<<< @@ -19223,7 +19635,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1033 + /* "_pydevd_sys_monitoring_cython.pyx":1062 * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if frame.f_back is not None and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -19232,7 +19644,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1031 + /* "_pydevd_sys_monitoring_cython.pyx":1060 * # Python line stepping * stop_frame = info.pydev_step_stop * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): # <<<<<<<<<<<<<< @@ -19241,7 +19653,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1050 + /* "_pydevd_sys_monitoring_cython.pyx":1079 * return * * if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -19249,28 +19661,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * _show_return_values(frame, retval) */ __pyx_t_12 = __pyx_v_step_cmd; - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1050, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_8) { } else { __pyx_t_9 = __pyx_t_8; goto __pyx_L40_bool_binop_done; } - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1050, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_9 = __pyx_t_8; __pyx_L40_bool_binop_done:; @@ -19280,39 +19692,39 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_10 = __pyx_t_8; goto __pyx_L38_bool_binop_done; } - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1050, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1079, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_10 = __pyx_t_8; __pyx_L38_bool_binop_done:; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1051 + /* "_pydevd_sys_monitoring_cython.pyx":1080 * * if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame): * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1051, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1080, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1051, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1080, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1052 + /* "_pydevd_sys_monitoring_cython.pyx":1081 * if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame): * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1052, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1081, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1051 + /* "_pydevd_sys_monitoring_cython.pyx":1080 * * if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame): * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -19321,18 +19733,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1054 + /* "_pydevd_sys_monitoring_cython.pyx":1083 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1054, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1083, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1055 + /* "_pydevd_sys_monitoring_cython.pyx":1084 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< @@ -19343,7 +19755,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1050 + /* "_pydevd_sys_monitoring_cython.pyx":1079 * return * * if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -19352,7 +19764,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1058 + /* "_pydevd_sys_monitoring_cython.pyx":1087 * * elif ( * step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE) # <<<<<<<<<<<<<< @@ -19360,28 +19772,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * and _is_same_frame(info, stop_frame, frame) */ __pyx_t_12 = __pyx_v_step_cmd; - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1058, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1058, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1058, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1058, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L45_bool_binop_done; } - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1058, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1058, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1058, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1058, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1087, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L45_bool_binop_done:; @@ -19392,7 +19804,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L43_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1059 + /* "_pydevd_sys_monitoring_cython.pyx":1088 * elif ( * step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE) * and not info.pydev_use_scoped_step_frame # <<<<<<<<<<<<<< @@ -19406,21 +19818,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L43_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1060 + /* "_pydevd_sys_monitoring_cython.pyx":1089 * step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE) * and not info.pydev_use_scoped_step_frame * and _is_same_frame(info, stop_frame, frame) # <<<<<<<<<<<<<< * ): * # This isn't in the sys.settrace version: on a step over, if we return and the return is valid, show */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1060, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1089, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1060, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1089, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_10 = __pyx_t_9; __pyx_L43_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1057 + /* "_pydevd_sys_monitoring_cython.pyx":1086 * return * * elif ( # <<<<<<<<<<<<<< @@ -19429,19 +19841,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1065 + /* "_pydevd_sys_monitoring_cython.pyx":1094 * # as a step return instead of going back to step into mode (but if the back frame is not valid, then * # go to step into mode). * f_back = frame.f_back # <<<<<<<<<<<<<< * if f_back is not None: * back_func_code_info = _get_func_code_info(f_back.f_code, 2) */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1065, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1094, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_f_back = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1066 + /* "_pydevd_sys_monitoring_cython.pyx":1095 * # go to step into mode). * f_back = frame.f_back * if f_back is not None: # <<<<<<<<<<<<<< @@ -19451,39 +19863,39 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_10 = (__pyx_v_f_back != Py_None); if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1067 + /* "_pydevd_sys_monitoring_cython.pyx":1096 * f_back = frame.f_back * if f_back is not None: * back_func_code_info = _get_func_code_info(f_back.f_code, 2) # <<<<<<<<<<<<<< * force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1067, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1096, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_int_2, 0)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1067, __pyx_L1_error) + __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_6, __pyx_int_2, 0)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1096, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF_SET(__pyx_v_back_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_5)); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1068 + /* "_pydevd_sys_monitoring_cython.pyx":1097 * if f_back is not None: * back_func_code_info = _get_func_code_info(f_back.f_code, 2) * force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE # <<<<<<<<<<<<<< * * if ( */ - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1068, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1097, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1068, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1097, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1068, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1097, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_XDECREF_SET(__pyx_v_force_check_project_scope, __pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1071 + /* "_pydevd_sys_monitoring_cython.pyx":1100 * * if ( * back_func_code_info is not None # <<<<<<<<<<<<<< @@ -19497,7 +19909,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L50_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1072 + /* "_pydevd_sys_monitoring_cython.pyx":1101 * if ( * back_func_code_info is not None * and not back_func_code_info.always_skip_code # <<<<<<<<<<<<<< @@ -19511,7 +19923,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L50_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1073 + /* "_pydevd_sys_monitoring_cython.pyx":1102 * back_func_code_info is not None * and not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out # <<<<<<<<<<<<<< @@ -19525,14 +19937,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L50_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1074 + /* "_pydevd_sys_monitoring_cython.pyx":1103 * and not back_func_code_info.always_skip_code * and not back_func_code_info.always_filtered_out * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) # <<<<<<<<<<<<<< * ): * if py_db.show_return_values: */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1074, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1103, __pyx_L1_error) if (__pyx_t_8) { } else { __pyx_t_9 = __pyx_t_8; @@ -19544,7 +19956,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_t_10 = __pyx_t_8; __pyx_L50_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1070 + /* "_pydevd_sys_monitoring_cython.pyx":1099 * force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE * * if ( # <<<<<<<<<<<<<< @@ -19553,31 +19965,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1076 + /* "_pydevd_sys_monitoring_cython.pyx":1105 * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1076, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1105, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1076, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1105, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1077 + /* "_pydevd_sys_monitoring_cython.pyx":1106 * ): * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1077, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1106, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1076 + /* "_pydevd_sys_monitoring_cython.pyx":1105 * and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked) * ): * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -19586,18 +19998,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1079 + /* "_pydevd_sys_monitoring_cython.pyx":1108 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1079, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1108, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1080 + /* "_pydevd_sys_monitoring_cython.pyx":1109 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< @@ -19608,7 +20020,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1070 + /* "_pydevd_sys_monitoring_cython.pyx":1099 * force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE * * if ( # <<<<<<<<<<<<<< @@ -19617,7 +20029,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1066 + /* "_pydevd_sys_monitoring_cython.pyx":1095 * # go to step into mode). * f_back = frame.f_back * if f_back is not None: # <<<<<<<<<<<<<< @@ -19626,7 +20038,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1057 + /* "_pydevd_sys_monitoring_cython.pyx":1086 * return * * elif ( # <<<<<<<<<<<<<< @@ -19636,62 +20048,62 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L37; } - /* "_pydevd_sys_monitoring_cython.pyx":1082 + /* "_pydevd_sys_monitoring_cython.pyx":1111 * return * * elif step_cmd == CMD_SMART_STEP_INTO: # <<<<<<<<<<<<<< * if _is_same_frame(info, stop_frame, frame): * # We're exiting the smart step into initial frame (so, we probably didn't find our target). */ - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1082, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1111, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1082, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1111, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1082, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1111, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1082, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1111, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1083 + /* "_pydevd_sys_monitoring_cython.pyx":1112 * * elif step_cmd == CMD_SMART_STEP_INTO: * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1083, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1112, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1083, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1112, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1085 + /* "_pydevd_sys_monitoring_cython.pyx":1114 * if _is_same_frame(info, stop_frame, frame): * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1085, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1114, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1085, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1114, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1086 + /* "_pydevd_sys_monitoring_cython.pyx":1115 * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1086, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1115, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1085 + /* "_pydevd_sys_monitoring_cython.pyx":1114 * if _is_same_frame(info, stop_frame, frame): * # We're exiting the smart step into initial frame (so, we probably didn't find our target). * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -19700,18 +20112,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1088 + /* "_pydevd_sys_monitoring_cython.pyx":1117 * _show_return_values(frame, retval) * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) # <<<<<<<<<<<<<< * return * */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1088, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_info, __pyx_v_step_cmd, __pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1117, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1089 + /* "_pydevd_sys_monitoring_cython.pyx":1118 * * _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval) * return # <<<<<<<<<<<<<< @@ -19722,7 +20134,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1083 + /* "_pydevd_sys_monitoring_cython.pyx":1112 * * elif step_cmd == CMD_SMART_STEP_INTO: * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -19731,7 +20143,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1082 + /* "_pydevd_sys_monitoring_cython.pyx":1111 * return * * elif step_cmd == CMD_SMART_STEP_INTO: # <<<<<<<<<<<<<< @@ -19741,20 +20153,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject } __pyx_L37:; - /* "_pydevd_sys_monitoring_cython.pyx":1091 + /* "_pydevd_sys_monitoring_cython.pyx":1120 * return * * if py_db.show_return_values: # <<<<<<<<<<<<<< * if ( * ( */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1091, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1120, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1091, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1120, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1094 + /* "_pydevd_sys_monitoring_cython.pyx":1123 * if ( * ( * info.pydev_step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE, CMD_SMART_STEP_INTO) # <<<<<<<<<<<<<< @@ -19762,42 +20174,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * ) */ __pyx_t_12 = __pyx_v_info->pydev_step_cmd; - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1094, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L64_bool_binop_done; } - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1094, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L64_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1094, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1094, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1123, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L64_bool_binop_done:; @@ -19807,19 +20219,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject } else { } - /* "_pydevd_sys_monitoring_cython.pyx":1095 + /* "_pydevd_sys_monitoring_cython.pyx":1124 * ( * info.pydev_step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE, CMD_SMART_STEP_INTO) * and (_is_same_frame(info, stop_frame, frame.f_back)) # <<<<<<<<<<<<<< * ) * or (info.pydev_step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and (info, _is_same_frame(info, stop_frame, frame))) */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1095, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1124, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1095, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1124, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1095, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1124, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_9) { } else { @@ -19828,7 +20240,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject } __pyx_L62_next_or:; - /* "_pydevd_sys_monitoring_cython.pyx":1097 + /* "_pydevd_sys_monitoring_cython.pyx":1126 * and (_is_same_frame(info, stop_frame, frame.f_back)) * ) * or (info.pydev_step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and (info, _is_same_frame(info, stop_frame, frame))) # <<<<<<<<<<<<<< @@ -19836,28 +20248,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * or ( */ __pyx_t_12 = __pyx_v_info->pydev_step_cmd; - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1097, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_8) { } else { __pyx_t_9 = __pyx_t_8; goto __pyx_L69_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1097, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_9 = __pyx_t_8; __pyx_L69_bool_binop_done:; @@ -19866,15 +20278,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L67_next_or; } else { } - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1097, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1126, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF((PyObject *)__pyx_v_info); __Pyx_GIVEREF((PyObject *)__pyx_v_info); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_info))) __PYX_ERR(0, 1097, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_info))) __PYX_ERR(0, 1126, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 1097, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 1126, __pyx_L1_error); __pyx_t_6 = 0; __pyx_t_8 = (PyTuple_GET_SIZE(__pyx_t_4) != 0); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; @@ -19885,7 +20297,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject } __pyx_L67_next_or:; - /* "_pydevd_sys_monitoring_cython.pyx":1098 + /* "_pydevd_sys_monitoring_cython.pyx":1127 * ) * or (info.pydev_step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and (info, _is_same_frame(info, stop_frame, frame))) * or (info.pydev_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_COROUTINE)) # <<<<<<<<<<<<<< @@ -19893,28 +20305,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * info.pydev_step_cmd == CMD_STEP_INTO_MY_CODE */ __pyx_t_12 = __pyx_v_info->pydev_step_cmd; - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1098, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1098, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1098, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1098, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_9) { } else { __pyx_t_8 = __pyx_t_9; goto __pyx_L72_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1098, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1098, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1098, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1098, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1127, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L72_bool_binop_done:; @@ -19925,21 +20337,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L61_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1100 + /* "_pydevd_sys_monitoring_cython.pyx":1129 * or (info.pydev_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_COROUTINE)) * or ( * info.pydev_step_cmd == CMD_STEP_INTO_MY_CODE # <<<<<<<<<<<<<< * and frame.f_back is not None * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) */ - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1100, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1129, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1100, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1129, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1100, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_4, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1129, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1100, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1129, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_9) { } else { @@ -19947,14 +20359,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L61_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1101 + /* "_pydevd_sys_monitoring_cython.pyx":1130 * or ( * info.pydev_step_cmd == CMD_STEP_INTO_MY_CODE * and frame.f_back is not None # <<<<<<<<<<<<<< * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) * ) */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1101, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1130, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_9 = (__pyx_t_5 != Py_None); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; @@ -19964,23 +20376,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L61_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1102 + /* "_pydevd_sys_monitoring_cython.pyx":1131 * info.pydev_step_cmd == CMD_STEP_INTO_MY_CODE * and frame.f_back is not None * and not py_db.apply_files_filter(frame.f_back, frame.f_back.f_code.co_filename, True) # <<<<<<<<<<<<<< * ) * ): */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_apply_files_filter); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1102, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_apply_files_filter); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1102, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1102, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1102, __pyx_L1_error) + __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_13); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1102, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_13, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0; __pyx_t_13 = NULL; @@ -20003,17 +20415,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1102, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1102, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1131, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_8 = (!__pyx_t_9); __pyx_t_10 = __pyx_t_8; __pyx_L61_bool_binop_done:; - /* "_pydevd_sys_monitoring_cython.pyx":1092 + /* "_pydevd_sys_monitoring_cython.pyx":1121 * * if py_db.show_return_values: * if ( # <<<<<<<<<<<<<< @@ -20022,18 +20434,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1105 + /* "_pydevd_sys_monitoring_cython.pyx":1134 * ) * ): * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_STEP_OVER_MY_CODE, CMD_STEP_RETURN_MY_CODE, CMD_SMART_STEP_INTO): */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1105, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1134, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1092 + /* "_pydevd_sys_monitoring_cython.pyx":1121 * * if py_db.show_return_values: * if ( # <<<<<<<<<<<<<< @@ -20042,7 +20454,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1091 + /* "_pydevd_sys_monitoring_cython.pyx":1120 * return * * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -20051,7 +20463,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1107 + /* "_pydevd_sys_monitoring_cython.pyx":1136 * _show_return_values(frame, retval) * * if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_STEP_OVER_MY_CODE, CMD_STEP_RETURN_MY_CODE, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<< @@ -20059,77 +20471,77 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * # eventually. Force the step mode to step into and the step stop frame to None. */ __pyx_t_12 = __pyx_v_step_cmd; - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1107, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (!__pyx_t_8) { } else { __pyx_t_10 = __pyx_t_8; goto __pyx_L77_bool_binop_done; } - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1107, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_8) { } else { __pyx_t_10 = __pyx_t_8; goto __pyx_L77_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1107, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (!__pyx_t_8) { } else { __pyx_t_10 = __pyx_t_8; goto __pyx_L77_bool_binop_done; } - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1107, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_8) { } else { __pyx_t_10 = __pyx_t_8; goto __pyx_L77_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1107, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1107, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1136, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_10 = __pyx_t_8; __pyx_L77_bool_binop_done:; __pyx_t_8 = __pyx_t_10; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1114 + /* "_pydevd_sys_monitoring_cython.pyx":1143 * # Note: this is especially troublesome when we're skipping code with the * # @DontTrace comment. * stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<< @@ -20141,7 +20553,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_DECREF_SET(__pyx_v_stop_frame, __pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1115 + /* "_pydevd_sys_monitoring_cython.pyx":1144 * # @DontTrace comment. * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -20159,7 +20571,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __pyx_L83_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1116 + /* "_pydevd_sys_monitoring_cython.pyx":1145 * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<< @@ -20167,62 +20579,62 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * else: */ __pyx_t_12 = __pyx_v_step_cmd; - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1116, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L86_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1116, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L86_bool_binop_done; } - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1116, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1116, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1145, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L86_bool_binop_done:; __pyx_t_10 = __pyx_t_8; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1117 + /* "_pydevd_sys_monitoring_cython.pyx":1146 * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_SMART_STEP_INTO): * info.pydev_step_cmd = CMD_STEP_INTO # <<<<<<<<<<<<<< * else: * info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1117, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1146, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1117, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1146, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_info->pydev_step_cmd = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1116 + /* "_pydevd_sys_monitoring_cython.pyx":1145 * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: * if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<< @@ -20232,7 +20644,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject goto __pyx_L85; } - /* "_pydevd_sys_monitoring_cython.pyx":1119 + /* "_pydevd_sys_monitoring_cython.pyx":1148 * info.pydev_step_cmd = CMD_STEP_INTO * else: * info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE # <<<<<<<<<<<<<< @@ -20240,15 +20652,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1119, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1148, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1119, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1148, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_info->pydev_step_cmd = __pyx_t_12; } __pyx_L85:; - /* "_pydevd_sys_monitoring_cython.pyx":1120 + /* "_pydevd_sys_monitoring_cython.pyx":1149 * else: * info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE * info.pydev_step_stop = None # <<<<<<<<<<<<<< @@ -20261,45 +20673,45 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject __Pyx_DECREF(__pyx_v_info->pydev_step_stop); __pyx_v_info->pydev_step_stop = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":1121 + /* "_pydevd_sys_monitoring_cython.pyx":1150 * info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE * info.pydev_step_stop = None * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) # <<<<<<<<<<<<<< * if py_db.show_return_values: * _show_return_values(frame, retval) */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1121, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1150, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_for_frame_and_parents(__pyx_v_thread_info, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1121, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_for_frame_and_parents(__pyx_v_thread_info, __pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1150, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1122 + /* "_pydevd_sys_monitoring_cython.pyx":1151 * info.pydev_step_stop = None * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) * if py_db.show_return_values: # <<<<<<<<<<<<<< * _show_return_values(frame, retval) * */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1122, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_show_return_values); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1151, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1122, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1151, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_10) { - /* "_pydevd_sys_monitoring_cython.pyx":1123 + /* "_pydevd_sys_monitoring_cython.pyx":1152 * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) * if py_db.show_return_values: * _show_return_values(frame, retval) # <<<<<<<<<<<<<< * * */ - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1123, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(__pyx_v_frame, __pyx_v_retval); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1152, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1122 + /* "_pydevd_sys_monitoring_cython.pyx":1151 * info.pydev_step_stop = None * _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back) * if py_db.show_return_values: # <<<<<<<<<<<<<< @@ -20308,7 +20720,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1115 + /* "_pydevd_sys_monitoring_cython.pyx":1144 * # @DontTrace comment. * stop_frame = info.pydev_step_stop * if stop_frame is frame and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -20317,7 +20729,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":1107 + /* "_pydevd_sys_monitoring_cython.pyx":1136 * _show_return_values(frame, retval) * * if step_cmd in (CMD_STEP_OVER, CMD_STEP_RETURN, CMD_STEP_OVER_MY_CODE, CMD_STEP_RETURN_MY_CODE, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<< @@ -20326,7 +20738,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject */ } - /* "_pydevd_sys_monitoring_cython.pyx":985 + /* "_pydevd_sys_monitoring_cython.pyx":1014 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _return_event(code, instruction, retval): # <<<<<<<<<<<<<< @@ -20360,7 +20772,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1128 +/* "_pydevd_sys_monitoring_cython.pyx":1157 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame): # <<<<<<<<<<<<<< @@ -20383,22 +20795,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo __Pyx_RefNannySetupContext("_enable_code_tracing_for_frame_and_parents", 0); __Pyx_INCREF(__pyx_v_frame); - /* "_pydevd_sys_monitoring_cython.pyx":1134 + /* "_pydevd_sys_monitoring_cython.pyx":1163 * # ENDIF * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1134, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1134, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1163, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1135 + /* "_pydevd_sys_monitoring_cython.pyx":1164 * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -20411,15 +20823,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo __pyx_t_3 = __pyx_t_4; goto __pyx_L4_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1135, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1164, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1135, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1164, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_3 = __pyx_t_4; __pyx_L4_bool_binop_done:; if (__pyx_t_3) { - /* "_pydevd_sys_monitoring_cython.pyx":1136 + /* "_pydevd_sys_monitoring_cython.pyx":1165 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return # <<<<<<<<<<<<<< @@ -20430,7 +20842,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1135 + /* "_pydevd_sys_monitoring_cython.pyx":1164 * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -20439,7 +20851,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ } - /* "_pydevd_sys_monitoring_cython.pyx":1138 + /* "_pydevd_sys_monitoring_cython.pyx":1167 * return * * while frame is not None: # <<<<<<<<<<<<<< @@ -20450,22 +20862,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo __pyx_t_3 = (__pyx_v_frame != Py_None); if (!__pyx_t_3) break; - /* "_pydevd_sys_monitoring_cython.pyx":1139 + /* "_pydevd_sys_monitoring_cython.pyx":1168 * * while frame is not None: * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * frame = frame.f_back */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1139, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1168, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_2, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1139, __pyx_L1_error) + __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_t_2, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1168, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF_SET(__pyx_v_func_code_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_1)); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1140 + /* "_pydevd_sys_monitoring_cython.pyx":1169 * while frame is not None: * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -20474,19 +20886,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":1141 + /* "_pydevd_sys_monitoring_cython.pyx":1170 * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) * if func_code_info.always_skip_code: * frame = frame.f_back # <<<<<<<<<<<<<< * continue * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1141, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1170, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1142 + /* "_pydevd_sys_monitoring_cython.pyx":1171 * if func_code_info.always_skip_code: * frame = frame.f_back * continue # <<<<<<<<<<<<<< @@ -20495,7 +20907,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ goto __pyx_L6_continue; - /* "_pydevd_sys_monitoring_cython.pyx":1140 + /* "_pydevd_sys_monitoring_cython.pyx":1169 * while frame is not None: * func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -20504,7 +20916,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ } - /* "_pydevd_sys_monitoring_cython.pyx":1144 + /* "_pydevd_sys_monitoring_cython.pyx":1173 * continue * * _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, frame.f_code, frame, False) # <<<<<<<<<<<<<< @@ -20513,27 +20925,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo */ __pyx_t_1 = ((PyObject *)__pyx_v_thread_info->additional_info); __Pyx_INCREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1144, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1173, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1), __pyx_v_func_code_info, __pyx_t_2, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1144, __pyx_L1_error) + __pyx_t_3 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1), __pyx_v_func_code_info, __pyx_t_2, __pyx_v_frame, 0); if (unlikely(__pyx_t_3 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1173, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1145 + /* "_pydevd_sys_monitoring_cython.pyx":1174 * * _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, frame.f_code, frame, False) * frame = frame.f_back # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1145, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1174, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF_SET(__pyx_v_frame, __pyx_t_2); __pyx_t_2 = 0; __pyx_L6_continue:; } - /* "_pydevd_sys_monitoring_cython.pyx":1128 + /* "_pydevd_sys_monitoring_cython.pyx":1157 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame): # <<<<<<<<<<<<<< @@ -20558,7 +20970,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1150 +/* "_pydevd_sys_monitoring_cython.pyx":1179 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_return(py_db, ThreadInfo thread_info, PyDBAdditionalThreadInfo info, int step_cmd, frame, retval): # <<<<<<<<<<<<<< @@ -20588,19 +21000,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_stop_on_return", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1155 + /* "_pydevd_sys_monitoring_cython.pyx":1184 * # ENDIF * # fmt: on * back = frame.f_back # <<<<<<<<<<<<<< * if back is not None: * # When we get to the pydevd run function, the debugging has actually finished for the main thread */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1155, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1184, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_back = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1156 + /* "_pydevd_sys_monitoring_cython.pyx":1185 * # fmt: on * back = frame.f_back * if back is not None: # <<<<<<<<<<<<<< @@ -20610,14 +21022,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_2 = (__pyx_v_back != Py_None); if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1160 + /* "_pydevd_sys_monitoring_cython.pyx":1189 * # (note that it can still go on for other threads, but for this one, we just make it finish) * # So, just setting it to None should be OK * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) # <<<<<<<<<<<<<< * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): * back = None */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_get_abs_path_real_path_and_base_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1160, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_get_abs_path_real_path_and_base_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -20637,7 +21049,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_back}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1160, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } @@ -20647,7 +21059,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1160, __pyx_L1_error) + __PYX_ERR(0, 1189, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -20663,17 +21075,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_INCREF(__pyx_t_4); __Pyx_INCREF(__pyx_t_6); #else - __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1160, __pyx_L1_error) + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1160, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1160, __pyx_L1_error) + __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); #endif __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1160, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1189, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_8 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); @@ -20683,7 +21095,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_GOTREF(__pyx_t_4); index = 2; __pyx_t_6 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L4_unpacking_failed; __Pyx_GOTREF(__pyx_t_6); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1160, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1189, __pyx_L1_error) __pyx_t_8 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L5_unpacking_done; @@ -20691,7 +21103,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_8 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1160, __pyx_L1_error) + __PYX_ERR(0, 1189, __pyx_L1_error) __pyx_L5_unpacking_done:; } __pyx_v_back_absolute_filename = __pyx_t_3; @@ -20701,42 +21113,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_v_base = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1161 + /* "_pydevd_sys_monitoring_cython.pyx":1190 * # So, just setting it to None should be OK * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): # <<<<<<<<<<<<<< * back = None * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_co_name); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_INCREF(__pyx_v_base); __Pyx_GIVEREF(__pyx_v_base); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base)) __PYX_ERR(0, 1161, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base)) __PYX_ERR(0, 1190, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_6); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_6)) __PYX_ERR(0, 1190, __pyx_L1_error); __pyx_t_6 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_DEBUG_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_DEBUG_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_1, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (!__pyx_t_9) { } else { __pyx_t_2 = __pyx_t_9; goto __pyx_L7_bool_binop_done; } - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUG_START_PY3K); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1161, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUG_START_PY3K); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1161, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1190, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_2 = __pyx_t_9; __pyx_L7_bool_binop_done:; @@ -20744,7 +21156,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_9 = __pyx_t_2; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1162 + /* "_pydevd_sys_monitoring_cython.pyx":1191 * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): * back = None # <<<<<<<<<<<<<< @@ -20754,7 +21166,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_INCREF(Py_None); __Pyx_DECREF_SET(__pyx_v_back, Py_None); - /* "_pydevd_sys_monitoring_cython.pyx":1161 + /* "_pydevd_sys_monitoring_cython.pyx":1190 * # So, just setting it to None should be OK * back_absolute_filename, _, base = get_abs_path_real_path_and_base_from_frame(back) * if (base, back.f_code.co_name) in (DEBUG_START, DEBUG_START_PY3K): # <<<<<<<<<<<<<< @@ -20764,22 +21176,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec goto __pyx_L6; } - /* "_pydevd_sys_monitoring_cython.pyx":1164 + /* "_pydevd_sys_monitoring_cython.pyx":1193 * back = None * * elif base == TRACE_PROPERTY: # <<<<<<<<<<<<<< * # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging) * # if we're in a return, we want it to appear to the user in the previous frame! */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_TRACE_PROPERTY); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1164, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_TRACE_PROPERTY); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1193, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = PyObject_RichCompare(__pyx_v_base, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1164, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_v_base, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1193, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1164, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1193, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1167 + /* "_pydevd_sys_monitoring_cython.pyx":1196 * # We dont want to trace the return event of pydevd_traceproperty (custom property for debugging) * # if we're in a return, we want it to appear to the user in the previous frame! * return # <<<<<<<<<<<<<< @@ -20790,7 +21202,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1164 + /* "_pydevd_sys_monitoring_cython.pyx":1193 * back = None * * elif base == TRACE_PROPERTY: # <<<<<<<<<<<<<< @@ -20799,35 +21211,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ } - /* "_pydevd_sys_monitoring_cython.pyx":1169 + /* "_pydevd_sys_monitoring_cython.pyx":1198 * return * * elif pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< * if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): * # In this case, we'll have to skip the previous one because it shouldn't be traced. */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1169, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1198, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1169, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1198, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_9 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1170 + /* "_pydevd_sys_monitoring_cython.pyx":1199 * * elif pydevd_dont_trace.should_trace_hook is not None: * if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): # <<<<<<<<<<<<<< * # In this case, we'll have to skip the previous one because it shouldn't be traced. * # Also, we have to reset the tracing, because if the parent's parent (or some */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1170, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1170, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_should_trace_hook); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1170, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_3 = NULL; __pyx_t_5 = 0; @@ -20848,25 +21260,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1170, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1199, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1170, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1199, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_2 = (!__pyx_t_9); if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1176 + /* "_pydevd_sys_monitoring_cython.pyx":1205 * # we should anymore (so, a step in/over/return may not stop anywhere if no parent is traced). * # Related test: _debugger_case17a.py * py_db.set_trace_for_frame_and_parents(thread_info.thread_ident, back) # <<<<<<<<<<<<<< * return * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_trace_for_frame_and_parents); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1176, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_trace_for_frame_and_parents); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_info->thread_ident); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1176, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_info->thread_ident); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_3 = NULL; __pyx_t_5 = 0; @@ -20887,13 +21299,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1176, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1205, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1177 + /* "_pydevd_sys_monitoring_cython.pyx":1206 * # Related test: _debugger_case17a.py * py_db.set_trace_for_frame_and_parents(thread_info.thread_ident, back) * return # <<<<<<<<<<<<<< @@ -20904,7 +21316,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1170 + /* "_pydevd_sys_monitoring_cython.pyx":1199 * * elif pydevd_dont_trace.should_trace_hook is not None: * if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): # <<<<<<<<<<<<<< @@ -20913,7 +21325,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ } - /* "_pydevd_sys_monitoring_cython.pyx":1169 + /* "_pydevd_sys_monitoring_cython.pyx":1198 * return * * elif pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<< @@ -20923,7 +21335,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec } __pyx_L6:; - /* "_pydevd_sys_monitoring_cython.pyx":1156 + /* "_pydevd_sys_monitoring_cython.pyx":1185 * # fmt: on * back = frame.f_back * if back is not None: # <<<<<<<<<<<<<< @@ -20932,7 +21344,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ } - /* "_pydevd_sys_monitoring_cython.pyx":1179 + /* "_pydevd_sys_monitoring_cython.pyx":1208 * return * * if back is not None: # <<<<<<<<<<<<<< @@ -20942,46 +21354,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __pyx_t_2 = (__pyx_v_back != Py_None); if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1181 + /* "_pydevd_sys_monitoring_cython.pyx":1210 * if back is not None: * # if we're in a return, we want it to appear to the user in the previous frame! * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, back, "return", retval) * else: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_INCREF(__pyx_v_thread_info->thread); __Pyx_GIVEREF(__pyx_v_thread_info->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1181, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1210, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_4); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1181, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1210, __pyx_L1_error); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_original_step_cmd, __pyx_t_3) < 0) __PYX_ERR(0, 1181, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_original_step_cmd, __pyx_t_3) < 0) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1181, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_6, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1210, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1182 + /* "_pydevd_sys_monitoring_cython.pyx":1211 * # if we're in a return, we want it to appear to the user in the previous frame! * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, back, "return", retval) # <<<<<<<<<<<<<< * else: * # in jython we may not have a back frame */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1182, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1211, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_6 = NULL; __pyx_t_5 = 0; @@ -21001,13 +21413,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec PyObject *__pyx_callargs[6] = {__pyx_t_6, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_back, __pyx_n_s_return, __pyx_v_retval}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 5+__pyx_t_5); __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1182, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1211, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1179 + /* "_pydevd_sys_monitoring_cython.pyx":1208 * return * * if back is not None: # <<<<<<<<<<<<<< @@ -21017,7 +21429,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec goto __pyx_L10; } - /* "_pydevd_sys_monitoring_cython.pyx":1185 + /* "_pydevd_sys_monitoring_cython.pyx":1214 * else: * # in jython we may not have a back frame * info.pydev_step_stop = None # <<<<<<<<<<<<<< @@ -21031,7 +21443,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec __Pyx_DECREF(__pyx_v_info->pydev_step_stop); __pyx_v_info->pydev_step_stop = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":1186 + /* "_pydevd_sys_monitoring_cython.pyx":1215 * # in jython we may not have a back frame * info.pydev_step_stop = None * info.pydev_original_step_cmd = -1 # <<<<<<<<<<<<<< @@ -21040,7 +21452,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_v_info->pydev_original_step_cmd = -1; - /* "_pydevd_sys_monitoring_cython.pyx":1187 + /* "_pydevd_sys_monitoring_cython.pyx":1216 * info.pydev_step_stop = None * info.pydev_original_step_cmd = -1 * info.pydev_step_cmd = -1 # <<<<<<<<<<<<<< @@ -21049,33 +21461,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec */ __pyx_v_info->pydev_step_cmd = -1; - /* "_pydevd_sys_monitoring_cython.pyx":1188 + /* "_pydevd_sys_monitoring_cython.pyx":1217 * info.pydev_original_step_cmd = -1 * info.pydev_step_cmd = -1 * info.pydev_state = STATE_RUN # <<<<<<<<<<<<<< * info.update_stepping_info() * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_STATE_RUN); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1188, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_STATE_RUN); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1217, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_10 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1188, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1217, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_v_info->pydev_state = __pyx_t_10; - /* "_pydevd_sys_monitoring_cython.pyx":1189 + /* "_pydevd_sys_monitoring_cython.pyx":1218 * info.pydev_step_cmd = -1 * info.pydev_state = STATE_RUN * info.update_stepping_info() # <<<<<<<<<<<<<< * * */ - __pyx_t_3 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->update_stepping_info(__pyx_v_info, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1189, __pyx_L1_error) + __pyx_t_3 = ((struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_v_info->__pyx_vtab)->update_stepping_info(__pyx_v_info, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1218, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __pyx_L10:; - /* "_pydevd_sys_monitoring_cython.pyx":1150 + /* "_pydevd_sys_monitoring_cython.pyx":1179 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_return(py_db, ThreadInfo thread_info, PyDBAdditionalThreadInfo info, int step_cmd, frame, retval): # <<<<<<<<<<<<<< @@ -21104,7 +21516,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1194 +/* "_pydevd_sys_monitoring_cython.pyx":1223 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_breakpoint(py_db, ThreadInfo thread_info, int stop_reason, bp, frame, new_frame, bint stop, bint stop_on_plugin_breakpoint, str bp_type): # <<<<<<<<<<<<<< @@ -21134,7 +21546,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_stop_on_breakpoint", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1213 + /* "_pydevd_sys_monitoring_cython.pyx":1242 * Note that even if False is returned, it's still possible * """ * additional_info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -21146,27 +21558,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_v_additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1216 + /* "_pydevd_sys_monitoring_cython.pyx":1245 * # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint * # lets do the conditional stuff here * if bp.expression is not None: # <<<<<<<<<<<<<< * # If it has an expression, it's always handled even if we don't stop. * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_expression); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1216, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_expression); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1245, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_2 = (__pyx_t_1 != Py_None); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1218 + /* "_pydevd_sys_monitoring_cython.pyx":1247 * if bp.expression is not None: * # If it has an expression, it's always handled even if we don't stop. * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) # <<<<<<<<<<<<<< * * if stop or stop_on_plugin_breakpoint: */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_handle_breakpoint_expression); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1218, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_handle_breakpoint_expression); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1247, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -21186,13 +21598,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[4] = {__pyx_t_4, __pyx_v_bp, ((PyObject *)__pyx_v_additional_info), __pyx_v_new_frame}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 3+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1218, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1247, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1216 + /* "_pydevd_sys_monitoring_cython.pyx":1245 * # ok, hit breakpoint, now, we have to discover if it is a conditional breakpoint * # lets do the conditional stuff here * if bp.expression is not None: # <<<<<<<<<<<<<< @@ -21201,7 +21613,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1220 + /* "_pydevd_sys_monitoring_cython.pyx":1249 * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) * * if stop or stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -21217,27 +21629,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_L5_bool_binop_done:; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1221 + /* "_pydevd_sys_monitoring_cython.pyx":1250 * * if stop or stop_on_plugin_breakpoint: * if bp.has_condition: # <<<<<<<<<<<<<< * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_has_condition); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1221, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_has_condition); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1250, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1221, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1250, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1222 + /* "_pydevd_sys_monitoring_cython.pyx":1251 * if stop or stop_on_plugin_breakpoint: * if bp.has_condition: * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) # <<<<<<<<<<<<<< * if not eval_result: * stop = False */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_handle_breakpoint_condition); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1222, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_handle_breakpoint_condition); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -21257,25 +21669,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[4] = {__pyx_t_4, ((PyObject *)__pyx_v_additional_info), __pyx_v_bp, __pyx_v_new_frame}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 3+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1222, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1251, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __pyx_v_eval_result = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1223 + /* "_pydevd_sys_monitoring_cython.pyx":1252 * if bp.has_condition: * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: # <<<<<<<<<<<<<< * stop = False * stop_on_plugin_breakpoint = False */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_eval_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1223, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_eval_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1252, __pyx_L1_error) __pyx_t_6 = (!__pyx_t_2); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1224 + /* "_pydevd_sys_monitoring_cython.pyx":1253 * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: * stop = False # <<<<<<<<<<<<<< @@ -21284,7 +21696,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1225 + /* "_pydevd_sys_monitoring_cython.pyx":1254 * if not eval_result: * stop = False * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -21293,7 +21705,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1223 + /* "_pydevd_sys_monitoring_cython.pyx":1252 * if bp.has_condition: * eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame) * if not eval_result: # <<<<<<<<<<<<<< @@ -21302,7 +21714,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1221 + /* "_pydevd_sys_monitoring_cython.pyx":1250 * * if stop or stop_on_plugin_breakpoint: * if bp.has_condition: # <<<<<<<<<<<<<< @@ -21311,7 +21723,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1220 + /* "_pydevd_sys_monitoring_cython.pyx":1249 * py_db.handle_breakpoint_expression(bp, additional_info, new_frame) * * if stop or stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -21320,7 +21732,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1228 + /* "_pydevd_sys_monitoring_cython.pyx":1257 * * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: # <<<<<<<<<<<<<< @@ -21337,15 +21749,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO goto __pyx_L10_bool_binop_done; } __pyx_L11_next_and:; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_is_logpoint); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1228, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_is_logpoint); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1257, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1228, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1257, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_6 = __pyx_t_2; __pyx_L10_bool_binop_done:; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1229 + /* "_pydevd_sys_monitoring_cython.pyx":1258 * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: * stop = False # <<<<<<<<<<<<<< @@ -21354,7 +21766,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1230 + /* "_pydevd_sys_monitoring_cython.pyx":1259 * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: * stop = False * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -21363,7 +21775,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1232 + /* "_pydevd_sys_monitoring_cython.pyx":1261 * stop_on_plugin_breakpoint = False * * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: # <<<<<<<<<<<<<< @@ -21378,31 +21790,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO } __pyx_t_1 = __pyx_v_additional_info->pydev_message; __Pyx_INCREF(__pyx_t_1); - __pyx_t_7 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1232, __pyx_L1_error) + __pyx_t_7 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1261, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_2 = (__pyx_t_7 > 0); __pyx_t_6 = __pyx_t_2; __pyx_L14_bool_binop_done:; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1233 + /* "_pydevd_sys_monitoring_cython.pyx":1262 * * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: * cmd = py_db.cmd_factory.make_io_message(additional_info.pydev_message + os.linesep, "1") # <<<<<<<<<<<<<< * py_db.writer.add_command(cmd) * */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_cmd_factory); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1233, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_cmd_factory); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_make_io_message); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1233, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_make_io_message); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_os); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1233, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_os); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_linesep); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1233, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_linesep); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyNumber_Add(__pyx_v_additional_info->pydev_message, __pyx_t_8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1233, __pyx_L1_error) + __pyx_t_3 = PyNumber_Add(__pyx_v_additional_info->pydev_message, __pyx_t_8); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __pyx_t_8 = NULL; @@ -21424,23 +21836,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1233, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1262, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __pyx_v_cmd = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1234 + /* "_pydevd_sys_monitoring_cython.pyx":1263 * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: * cmd = py_db.cmd_factory.make_io_message(additional_info.pydev_message + os.linesep, "1") * py_db.writer.add_command(cmd) # <<<<<<<<<<<<<< * * if stop: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_writer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1234, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_writer); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1263, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_add_command); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1234, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_add_command); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1263, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -21461,13 +21873,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_cmd}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1234, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1263, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1232 + /* "_pydevd_sys_monitoring_cython.pyx":1261 * stop_on_plugin_breakpoint = False * * if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: # <<<<<<<<<<<<<< @@ -21476,7 +21888,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1228 + /* "_pydevd_sys_monitoring_cython.pyx":1257 * * # Handle logpoint (on a logpoint we should never stop). * if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: # <<<<<<<<<<<<<< @@ -21485,7 +21897,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1236 + /* "_pydevd_sys_monitoring_cython.pyx":1265 * py_db.writer.add_command(cmd) * * if stop: # <<<<<<<<<<<<<< @@ -21494,91 +21906,91 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ if (__pyx_v_stop) { - /* "_pydevd_sys_monitoring_cython.pyx":1237 + /* "_pydevd_sys_monitoring_cython.pyx":1266 * * if stop: * py_db.set_suspend( # <<<<<<<<<<<<<< * thread_info.thread, * stop_reason, */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1237, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - /* "_pydevd_sys_monitoring_cython.pyx":1239 + /* "_pydevd_sys_monitoring_cython.pyx":1268 * py_db.set_suspend( * thread_info.thread, * stop_reason, # <<<<<<<<<<<<<< * suspend_other_threads=bp and bp.suspend_policy == "ALL", * ) */ - __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_stop_reason); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1239, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_stop_reason); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1268, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - /* "_pydevd_sys_monitoring_cython.pyx":1237 + /* "_pydevd_sys_monitoring_cython.pyx":1266 * * if stop: * py_db.set_suspend( # <<<<<<<<<<<<<< * thread_info.thread, * stop_reason, */ - __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1237, __pyx_L1_error) + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1266, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_INCREF(__pyx_v_thread_info->thread); __Pyx_GIVEREF(__pyx_v_thread_info->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1237, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1266, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_3); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3)) __PYX_ERR(0, 1237, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3)) __PYX_ERR(0, 1266, __pyx_L1_error); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1240 + /* "_pydevd_sys_monitoring_cython.pyx":1269 * thread_info.thread, * stop_reason, * suspend_other_threads=bp and bp.suspend_policy == "ALL", # <<<<<<<<<<<<<< * ) * # print('suspend on breakpoint...') */ - __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1240, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1269, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1240, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1269, __pyx_L1_error) if (__pyx_t_6) { } else { __Pyx_INCREF(__pyx_v_bp); __pyx_t_8 = __pyx_v_bp; goto __pyx_L17_bool_binop_done; } - __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_suspend_policy); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1240, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_suspend_policy); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1269, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_9); - __pyx_t_10 = PyObject_RichCompare(__pyx_t_9, __pyx_n_s_ALL, Py_EQ); __Pyx_XGOTREF(__pyx_t_10); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1240, __pyx_L1_error) + __pyx_t_10 = PyObject_RichCompare(__pyx_t_9, __pyx_n_s_ALL, Py_EQ); __Pyx_XGOTREF(__pyx_t_10); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1269, __pyx_L1_error) __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; __Pyx_INCREF(__pyx_t_10); __pyx_t_8 = __pyx_t_10; __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; __pyx_L17_bool_binop_done:; - if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_suspend_other_threads, __pyx_t_8) < 0) __PYX_ERR(0, 1240, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_suspend_other_threads, __pyx_t_8) < 0) __PYX_ERR(0, 1269, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1237 + /* "_pydevd_sys_monitoring_cython.pyx":1266 * * if stop: * py_db.set_suspend( # <<<<<<<<<<<<<< * thread_info.thread, * stop_reason, */ - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1237, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1266, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1243 + /* "_pydevd_sys_monitoring_cython.pyx":1272 * ) * # print('suspend on breakpoint...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * return True * */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1243, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_t_4 = NULL; __pyx_t_5 = 0; @@ -21598,13 +22010,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[6] = {__pyx_t_4, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_n_s_line, Py_None}; __pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 5+__pyx_t_5); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1243, __pyx_L1_error) + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1244 + /* "_pydevd_sys_monitoring_cython.pyx":1273 * # print('suspend on breakpoint...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return True # <<<<<<<<<<<<<< @@ -21616,7 +22028,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_r = Py_True; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1236 + /* "_pydevd_sys_monitoring_cython.pyx":1265 * py_db.writer.add_command(cmd) * * if stop: # <<<<<<<<<<<<<< @@ -21625,7 +22037,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1246 + /* "_pydevd_sys_monitoring_cython.pyx":1275 * return True * * elif stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -21634,16 +22046,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ if (__pyx_v_stop_on_plugin_breakpoint) { - /* "_pydevd_sys_monitoring_cython.pyx":1247 + /* "_pydevd_sys_monitoring_cython.pyx":1276 * * elif stop_on_plugin_breakpoint: * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) # <<<<<<<<<<<<<< * if stop_at_frame and thread_info.additional_info.pydev_state == STATE_SUSPEND: * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1247, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1276, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1247, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1276, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -21664,47 +22076,47 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[5] = {__pyx_t_3, __pyx_v_py_db, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_v_bp_type}; __pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 4+__pyx_t_5); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1247, __pyx_L1_error) + if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1276, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __pyx_v_stop_at_frame = __pyx_t_8; __pyx_t_8 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1248 + /* "_pydevd_sys_monitoring_cython.pyx":1277 * elif stop_on_plugin_breakpoint: * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) * if stop_at_frame and thread_info.additional_info.pydev_state == STATE_SUSPEND: # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) * return */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_stop_at_frame); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1248, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_stop_at_frame); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1277, __pyx_L1_error) if (__pyx_t_2) { } else { __pyx_t_6 = __pyx_t_2; goto __pyx_L20_bool_binop_done; } - __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_thread_info->additional_info->pydev_state); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1248, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_thread_info->additional_info->pydev_state); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1277, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_8); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_STATE_SUSPEND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1248, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_STATE_SUSPEND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1277, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = PyObject_RichCompare(__pyx_t_8, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1248, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_8, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1277, __pyx_L1_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1248, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1277, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_6 = __pyx_t_2; __pyx_L20_bool_binop_done:; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1249 + /* "_pydevd_sys_monitoring_cython.pyx":1278 * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) * if stop_at_frame and thread_info.additional_info.pydev_state == STATE_SUSPEND: * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) # <<<<<<<<<<<<<< * return * */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1249, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1278, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_8 = NULL; __pyx_t_5 = 0; @@ -21724,13 +22136,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO PyObject *__pyx_callargs[6] = {__pyx_t_8, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_stop_at_frame, __pyx_n_s_line, Py_None}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 5+__pyx_t_5); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1249, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1278, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1248 + /* "_pydevd_sys_monitoring_cython.pyx":1277 * elif stop_on_plugin_breakpoint: * stop_at_frame = py_db.plugin.suspend(py_db, thread_info.thread, frame, bp_type) * if stop_at_frame and thread_info.additional_info.pydev_state == STATE_SUSPEND: # <<<<<<<<<<<<<< @@ -21739,7 +22151,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1250 + /* "_pydevd_sys_monitoring_cython.pyx":1279 * if stop_at_frame and thread_info.additional_info.pydev_state == STATE_SUSPEND: * _do_wait_suspend(py_db, thread_info, stop_at_frame, "line", None) * return # <<<<<<<<<<<<<< @@ -21750,7 +22162,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1246 + /* "_pydevd_sys_monitoring_cython.pyx":1275 * return True * * elif stop_on_plugin_breakpoint: # <<<<<<<<<<<<<< @@ -21759,7 +22171,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1252 + /* "_pydevd_sys_monitoring_cython.pyx":1281 * return * * return False # <<<<<<<<<<<<<< @@ -21771,7 +22183,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO __pyx_r = Py_False; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1194 + /* "_pydevd_sys_monitoring_cython.pyx":1223 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _stop_on_breakpoint(py_db, ThreadInfo thread_info, int stop_reason, bp, frame, new_frame, bint stop, bint stop_on_plugin_breakpoint, str bp_type): # <<<<<<<<<<<<<< @@ -21799,7 +22211,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1257 +/* "_pydevd_sys_monitoring_cython.pyx":1286 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _plugin_stepping(py_db, int step_cmd, event, frame, ThreadInfo thread_info): # <<<<<<<<<<<<<< @@ -21830,19 +22242,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_plugin_stepping", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1264 + /* "_pydevd_sys_monitoring_cython.pyx":1293 * # ENDIF * # fmt: on * plugin_manager = py_db.plugin # <<<<<<<<<<<<<< * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1264, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1293, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_plugin_manager = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1266 + /* "_pydevd_sys_monitoring_cython.pyx":1295 * plugin_manager = py_db.plugin * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( # <<<<<<<<<<<<<< @@ -21850,56 +22262,56 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje * CMD_STEP_RETURN_MY_CODE, */ __pyx_t_3 = __pyx_v_step_cmd; - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1266, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_7) { } else { __pyx_t_4 = __pyx_t_7; goto __pyx_L6_bool_binop_done; } - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1266, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (!__pyx_t_7) { } else { __pyx_t_4 = __pyx_t_7; goto __pyx_L6_bool_binop_done; } - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1266, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_7) { } else { __pyx_t_4 = __pyx_t_7; goto __pyx_L6_bool_binop_done; } - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1266, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_4 = __pyx_t_7; __pyx_L6_bool_binop_done:; @@ -21910,60 +22322,60 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje goto __pyx_L4_bool_binop_done; } __pyx_t_3 = __pyx_v_step_cmd; - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - /* "_pydevd_sys_monitoring_cython.pyx":1267 + /* "_pydevd_sys_monitoring_cython.pyx":1296 * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( * CMD_STEP_RETURN, # <<<<<<<<<<<<<< * CMD_STEP_RETURN_MY_CODE, * ): */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1267, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1296, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1266 + /* "_pydevd_sys_monitoring_cython.pyx":1295 * plugin_manager = py_db.plugin * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( # <<<<<<<<<<<<<< * CMD_STEP_RETURN, * CMD_STEP_RETURN_MY_CODE, */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_4) { } else { __pyx_t_7 = __pyx_t_4; goto __pyx_L10_bool_binop_done; } - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1268 + /* "_pydevd_sys_monitoring_cython.pyx":1297 * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( * CMD_STEP_RETURN, * CMD_STEP_RETURN_MY_CODE, # <<<<<<<<<<<<<< * ): * stop_info = {} */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1268, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1297, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_6, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1266 + /* "_pydevd_sys_monitoring_cython.pyx":1295 * plugin_manager = py_db.plugin * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( # <<<<<<<<<<<<<< * CMD_STEP_RETURN, * CMD_STEP_RETURN_MY_CODE, */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1266, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1295, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_7 = __pyx_t_4; __pyx_L10_bool_binop_done:; @@ -21972,19 +22384,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_L4_bool_binop_done:; if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1270 + /* "_pydevd_sys_monitoring_cython.pyx":1299 * CMD_STEP_RETURN_MY_CODE, * ): * stop_info = {} # <<<<<<<<<<<<<< * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1270, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1299, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_stop_info = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1271 + /* "_pydevd_sys_monitoring_cython.pyx":1300 * ): * stop_info = {} * stop = False # <<<<<<<<<<<<<< @@ -21993,16 +22405,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1272 + /* "_pydevd_sys_monitoring_cython.pyx":1301 * stop_info = {} * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) # <<<<<<<<<<<<<< * if result: * stop, plugin_stop = result */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_cmd_step_into); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1272, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_cmd_step_into); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1301, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1272, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1301, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -22023,24 +22435,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_9, 7+__pyx_t_9); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1272, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1301, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __pyx_v_result = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1273 + /* "_pydevd_sys_monitoring_cython.pyx":1302 * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< * stop, plugin_stop = result * if plugin_stop: */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1273, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1302, __pyx_L1_error) if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1274 + /* "_pydevd_sys_monitoring_cython.pyx":1303 * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: * stop, plugin_stop = result # <<<<<<<<<<<<<< @@ -22053,7 +22465,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1274, __pyx_L1_error) + __PYX_ERR(0, 1303, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -22066,21 +22478,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_INCREF(__pyx_t_1); __Pyx_INCREF(__pyx_t_5); #else - __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1274, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1303, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1274, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1303, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif } else { Py_ssize_t index = -1; - __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1274, __pyx_L1_error) + __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1303, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_10 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); index = 0; __pyx_t_1 = __pyx_t_10(__pyx_t_6); if (unlikely(!__pyx_t_1)) goto __pyx_L13_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); index = 1; __pyx_t_5 = __pyx_t_10(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L13_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_6), 2) < 0) __PYX_ERR(0, 1274, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_6), 2) < 0) __PYX_ERR(0, 1303, __pyx_L1_error) __pyx_t_10 = NULL; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L14_unpacking_done; @@ -22088,35 +22500,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_10 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1274, __pyx_L1_error) + __PYX_ERR(0, 1303, __pyx_L1_error) __pyx_L14_unpacking_done:; } - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1274, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1303, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_stop = __pyx_t_2; __pyx_v_plugin_stop = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1275 + /* "_pydevd_sys_monitoring_cython.pyx":1304 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return */ - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1275, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1304, __pyx_L1_error) if (__pyx_t_2) { - /* "_pydevd_sys_monitoring_cython.pyx":1276 + /* "_pydevd_sys_monitoring_cython.pyx":1305 * stop, plugin_stop = result * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) # <<<<<<<<<<<<<< * return * */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_stop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1276, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_stop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1305, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1276, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1305, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -22137,13 +22549,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_9, 7+__pyx_t_9); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1276, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1305, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1277 + /* "_pydevd_sys_monitoring_cython.pyx":1306 * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return # <<<<<<<<<<<<<< @@ -22154,7 +22566,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1275 + /* "_pydevd_sys_monitoring_cython.pyx":1304 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< @@ -22163,7 +22575,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1273 + /* "_pydevd_sys_monitoring_cython.pyx":1302 * stop = False * result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< @@ -22172,7 +22584,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1266 + /* "_pydevd_sys_monitoring_cython.pyx":1295 * plugin_manager = py_db.plugin * # Step return makes no sense for plugins (I guess?!?), so, just handle as step into. * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO) or step_cmd in ( # <<<<<<<<<<<<<< @@ -22182,7 +22594,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":1279 + /* "_pydevd_sys_monitoring_cython.pyx":1308 * return * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<< @@ -22190,35 +22602,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje * stop_info = {} */ __pyx_t_3 = __pyx_v_step_cmd; - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_6 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; if (!__pyx_t_4) { } else { __pyx_t_2 = __pyx_t_4; goto __pyx_L16_bool_binop_done; } - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1279, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1279, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1308, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_2 = __pyx_t_4; __pyx_L16_bool_binop_done:; __pyx_t_4 = __pyx_t_2; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1280 + /* "_pydevd_sys_monitoring_cython.pyx":1309 * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): * if plugin_manager is not None: # <<<<<<<<<<<<<< @@ -22228,19 +22640,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_4 = (__pyx_v_plugin_manager != Py_None); if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1281 + /* "_pydevd_sys_monitoring_cython.pyx":1310 * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): * if plugin_manager is not None: * stop_info = {} # <<<<<<<<<<<<<< * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) */ - __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1281, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1310, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_v_stop_info = ((PyObject*)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1282 + /* "_pydevd_sys_monitoring_cython.pyx":1311 * if plugin_manager is not None: * stop_info = {} * stop = False # <<<<<<<<<<<<<< @@ -22249,16 +22661,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1283 + /* "_pydevd_sys_monitoring_cython.pyx":1312 * stop_info = {} * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) # <<<<<<<<<<<<<< * if result: * stop, plugin_stop = result */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_cmd_step_over); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1283, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_cmd_step_over); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1283, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -22279,24 +22691,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_9, 7+__pyx_t_9); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1283, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1312, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __pyx_v_result = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1284 + /* "_pydevd_sys_monitoring_cython.pyx":1313 * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< * stop, plugin_stop = result * if plugin_stop: */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1284, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1313, __pyx_L1_error) if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1285 + /* "_pydevd_sys_monitoring_cython.pyx":1314 * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: * stop, plugin_stop = result # <<<<<<<<<<<<<< @@ -22309,7 +22721,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje if (unlikely(size != 2)) { if (size > 2) __Pyx_RaiseTooManyValuesError(2); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1285, __pyx_L1_error) + __PYX_ERR(0, 1314, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -22322,21 +22734,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(__pyx_t_1); #else - __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1285, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1314, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1285, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1314, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { Py_ssize_t index = -1; - __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1285, __pyx_L1_error) + __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1314, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_10 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); index = 0; __pyx_t_5 = __pyx_t_10(__pyx_t_6); if (unlikely(!__pyx_t_5)) goto __pyx_L20_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); index = 1; __pyx_t_1 = __pyx_t_10(__pyx_t_6); if (unlikely(!__pyx_t_1)) goto __pyx_L20_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_6), 2) < 0) __PYX_ERR(0, 1285, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_6), 2) < 0) __PYX_ERR(0, 1314, __pyx_L1_error) __pyx_t_10 = NULL; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L21_unpacking_done; @@ -22344,35 +22756,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_10 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1285, __pyx_L1_error) + __PYX_ERR(0, 1314, __pyx_L1_error) __pyx_L21_unpacking_done:; } - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1285, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1314, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_v_stop = __pyx_t_4; __pyx_v_plugin_stop = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1286 + /* "_pydevd_sys_monitoring_cython.pyx":1315 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1286, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1315, __pyx_L1_error) if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1287 + /* "_pydevd_sys_monitoring_cython.pyx":1316 * stop, plugin_stop = result * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) # <<<<<<<<<<<<<< * return * */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_stop); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1287, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_stop); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1287, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_8 = NULL; __pyx_t_9 = 0; @@ -22393,13 +22805,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_9, 7+__pyx_t_9); __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1287, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1316, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1288 + /* "_pydevd_sys_monitoring_cython.pyx":1317 * if plugin_stop: * plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd) * return # <<<<<<<<<<<<<< @@ -22410,7 +22822,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1286 + /* "_pydevd_sys_monitoring_cython.pyx":1315 * if result: * stop, plugin_stop = result * if plugin_stop: # <<<<<<<<<<<<<< @@ -22419,7 +22831,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1284 + /* "_pydevd_sys_monitoring_cython.pyx":1313 * stop = False * result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop) * if result: # <<<<<<<<<<<<<< @@ -22428,7 +22840,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1280 + /* "_pydevd_sys_monitoring_cython.pyx":1309 * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): * if plugin_manager is not None: # <<<<<<<<<<<<<< @@ -22437,7 +22849,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje */ } - /* "_pydevd_sys_monitoring_cython.pyx":1279 + /* "_pydevd_sys_monitoring_cython.pyx":1308 * return * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<< @@ -22447,7 +22859,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":1257 + /* "_pydevd_sys_monitoring_cython.pyx":1286 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _plugin_stepping(py_db, int step_cmd, event, frame, ThreadInfo thread_info): # <<<<<<<<<<<<<< @@ -22475,7 +22887,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1293 +/* "_pydevd_sys_monitoring_cython.pyx":1322 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _jump_event(code, int from_offset, int to_offset): # <<<<<<<<<<<<<< @@ -22510,7 +22922,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_jump_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1305 + /* "_pydevd_sys_monitoring_cython.pyx":1334 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -22526,23 +22938,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1306 + /* "_pydevd_sys_monitoring_cython.pyx":1335 * # needs to be per-thread. * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1306, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1335, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1306, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1335, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1306, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1335, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1305 + /* "_pydevd_sys_monitoring_cython.pyx":1334 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -22558,7 +22970,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1307 + /* "_pydevd_sys_monitoring_cython.pyx":1336 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -22567,25 +22979,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._jump_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1307, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1336, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1308 + /* "_pydevd_sys_monitoring_cython.pyx":1337 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1308, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1337, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1308, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1337, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1309 + /* "_pydevd_sys_monitoring_cython.pyx":1338 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -22595,7 +23007,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1310 + /* "_pydevd_sys_monitoring_cython.pyx":1339 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< @@ -22609,7 +23021,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1309 + /* "_pydevd_sys_monitoring_cython.pyx":1338 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -22623,7 +23035,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1305 + /* "_pydevd_sys_monitoring_cython.pyx":1334 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -22650,22 +23062,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1312 + /* "_pydevd_sys_monitoring_cython.pyx":1341 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1312, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1312, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1341, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1313 + /* "_pydevd_sys_monitoring_cython.pyx":1342 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -22678,32 +23090,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_8 = __pyx_t_9; goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1313, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1342, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1313, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1342, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1314 + /* "_pydevd_sys_monitoring_cython.pyx":1343 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< * - * if not thread_info.trace or thread_info.thread._is_stopped: + * # If we get another jump event, remove the extra check for the line event */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1314, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1343, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1314, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1343, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1313 + /* "_pydevd_sys_monitoring_cython.pyx":1342 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -22712,29 +23124,63 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1316 - * return monitor.DISABLE + /* "_pydevd_sys_monitoring_cython.pyx":1346 + * + * # If we get another jump event, remove the extra check for the line event + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< + * del _thread_local_info.f_disable_next_line_if_match + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1346, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = __Pyx_HasAttr(__pyx_t_6, __pyx_n_s_f_disable_next_line_if_match); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1346, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (__pyx_t_8) { + + /* "_pydevd_sys_monitoring_cython.pyx":1347 + * # If we get another jump event, remove the extra check for the line event + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + * del _thread_local_info.f_disable_next_line_if_match # <<<<<<<<<<<<<< + * + * if not thread_info.trace or thread_info.thread._is_stopped: + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_6, __pyx_n_s_f_disable_next_line_if_match) < 0) __PYX_ERR(0, 1347, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1346 + * + * # If we get another jump event, remove the extra check for the line event + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< + * del _thread_local_info.f_disable_next_line_if_match + * + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":1349 + * del _thread_local_info.f_disable_next_line_if_match * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1316, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1349, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; - goto __pyx_L16_bool_binop_done; + goto __pyx_L17_bool_binop_done; } - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1316, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1349, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1316, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1349, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_8 = __pyx_t_10; - __pyx_L16_bool_binop_done:; + __pyx_L17_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1319 + /* "_pydevd_sys_monitoring_cython.pyx":1352 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< @@ -22745,8 +23191,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1316 - * return monitor.DISABLE + /* "_pydevd_sys_monitoring_cython.pyx":1349 + * del _thread_local_info.f_disable_next_line_if_match * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other @@ -22754,19 +23200,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1321 + /* "_pydevd_sys_monitoring_cython.pyx":1354 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1321, __pyx_L1_error) + __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1354, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1322 + /* "_pydevd_sys_monitoring_cython.pyx":1355 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -22776,13 +23222,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ if (!__pyx_v_func_code_info->always_skip_code) { } else { __pyx_t_8 = __pyx_v_func_code_info->always_skip_code; - goto __pyx_L19_bool_binop_done; + goto __pyx_L20_bool_binop_done; } __pyx_t_8 = __pyx_v_func_code_info->always_filtered_out; - __pyx_L19_bool_binop_done:; + __pyx_L20_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1323 + /* "_pydevd_sys_monitoring_cython.pyx":1356 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -22790,16 +23236,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ * # Same logic as "sys_trace_jump_func" in https://github.com/python/cpython/blob/main/Python/legacy_tracing.c */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1323, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1356, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1323, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1356, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1322 + /* "_pydevd_sys_monitoring_cython.pyx":1355 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -22808,7 +23254,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1329 + /* "_pydevd_sys_monitoring_cython.pyx":1362 * # Ignore forward jump. * # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset) * if to_offset > from_offset: # <<<<<<<<<<<<<< @@ -22818,7 +23264,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_8 = (__pyx_v_to_offset > __pyx_v_from_offset); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1330 + /* "_pydevd_sys_monitoring_cython.pyx":1363 * # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset) * if to_offset > from_offset: * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -22826,16 +23272,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ * from_line = func_code_info.get_line_of_offset(from_offset) */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1330, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1363, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1330, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1363, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1329 + /* "_pydevd_sys_monitoring_cython.pyx":1362 * # Ignore forward jump. * # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset) * if to_offset > from_offset: # <<<<<<<<<<<<<< @@ -22844,16 +23290,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1332 + /* "_pydevd_sys_monitoring_cython.pyx":1365 * return monitor.DISABLE * * from_line = func_code_info.get_line_of_offset(from_offset) # <<<<<<<<<<<<<< * to_line = func_code_info.get_line_of_offset(to_offset) - * # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line) + * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_func_code_info), __pyx_n_s_get_line_of_offset); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1332, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_func_code_info), __pyx_n_s_get_line_of_offset); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1365, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_from_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1332, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_from_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1365, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = NULL; __pyx_t_11 = 0; @@ -22874,24 +23320,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1332, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1365, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1332, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1365, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_from_line = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1333 + /* "_pydevd_sys_monitoring_cython.pyx":1366 * * from_line = func_code_info.get_line_of_offset(from_offset) * to_line = func_code_info.get_line_of_offset(to_offset) # <<<<<<<<<<<<<< - * # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line) * + * if from_line != to_line: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_func_code_info), __pyx_n_s_get_line_of_offset); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1333, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_func_code_info), __pyx_n_s_get_line_of_offset); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_to_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1333, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_to_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_7 = NULL; __pyx_t_11 = 0; @@ -22912,16 +23358,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1333, __pyx_L1_error) + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1366, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1333, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1366, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_to_line = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1336 - * # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line) + /* "_pydevd_sys_monitoring_cython.pyx":1368 + * to_line = func_code_info.get_line_of_offset(to_offset) * * if from_line != to_line: # <<<<<<<<<<<<<< * # I.e.: use case: "yield from [j for j in a if j % 2 == 0]" @@ -22930,7 +23376,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ __pyx_t_8 = (__pyx_v_from_line != __pyx_v_to_line); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1338 + /* "_pydevd_sys_monitoring_cython.pyx":1370 * if from_line != to_line: * # I.e.: use case: "yield from [j for j in a if j % 2 == 0]" * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -22938,17 +23384,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ * # We know the frame depth. */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1338, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1370, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1338, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1370, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1336 - * # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line) + /* "_pydevd_sys_monitoring_cython.pyx":1368 + * to_line = func_code_info.get_line_of_offset(to_offset) * * if from_line != to_line: # <<<<<<<<<<<<<< * # I.e.: use case: "yield from [j for j in a if j % 2 == 0]" @@ -22956,39 +23402,62 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1341 + /* "_pydevd_sys_monitoring_cython.pyx":1373 * * # We know the frame depth. * frame = _getframe(1) # <<<<<<<<<<<<<< - * return _internal_line_event(func_code_info, frame, frame.f_lineno) * + * # Disable the next line event as we're jumping to a line. The line event will be redundant. */ __pyx_t_13.__pyx_n = 1; __pyx_t_13.depth = __pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1341, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1373, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1342 - * # We know the frame depth. - * frame = _getframe(1) + /* "_pydevd_sys_monitoring_cython.pyx":1376 + * + * # Disable the next line event as we're jumping to a line. The line event will be redundant. + * _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno) # <<<<<<<<<<<<<< + * + * return _internal_line_event(func_code_info, frame, frame.f_lineno) + */ + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1376, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1376, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_INCREF(__pyx_v_func_code_info->co_filename); + __Pyx_GIVEREF(__pyx_v_func_code_info->co_filename); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_func_code_info->co_filename)) __PYX_ERR(0, 1376, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1376, __pyx_L1_error); + __pyx_t_4 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1376, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyObject_SetAttrStr(__pyx_t_4, __pyx_n_s_f_disable_next_line_if_match, __pyx_t_6) < 0) __PYX_ERR(0, 1376, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1378 + * _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno) + * * return _internal_line_event(func_code_info, frame, frame.f_lineno) # <<<<<<<<<<<<<< * * */ __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1342, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1342, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1378, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1342, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1378, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1293 + /* "_pydevd_sys_monitoring_cython.pyx":1322 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _jump_event(code, int from_offset, int to_offset): # <<<<<<<<<<<<<< @@ -23014,7 +23483,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1347 +/* "_pydevd_sys_monitoring_cython.pyx":1383 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _line_event(code, int line): # <<<<<<<<<<<<<< @@ -23026,6 +23495,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_thread_info = 0; struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_v_func_code_info = 0; PyObject *__pyx_v_py_db = 0; + PyObject *__pyx_v_co_filename = NULL; + PyObject *__pyx_v_line_to_skip = NULL; PyObject *__pyx_v_frame = NULL; PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations @@ -23038,14 +23509,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ PyObject *__pyx_t_7 = NULL; int __pyx_t_8; int __pyx_t_9; - int __pyx_t_10; - struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_11; + PyObject *(*__pyx_t_10)(PyObject *); + int __pyx_t_11; + struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_12; int __pyx_lineno = 0; const char *__pyx_filename = NULL; int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_line_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1358 + /* "_pydevd_sys_monitoring_cython.pyx":1394 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -23061,23 +23533,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1359 + /* "_pydevd_sys_monitoring_cython.pyx":1395 * # needs to be per-thread. * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1359, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1395, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1359, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1395, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1359, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1395, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1358 + /* "_pydevd_sys_monitoring_cython.pyx":1394 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -23093,7 +23565,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1360 + /* "_pydevd_sys_monitoring_cython.pyx":1396 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -23102,25 +23574,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._line_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1360, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1396, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1361 + /* "_pydevd_sys_monitoring_cython.pyx":1397 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1361, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1397, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1361, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1397, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1362 + /* "_pydevd_sys_monitoring_cython.pyx":1398 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -23130,7 +23602,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1363 + /* "_pydevd_sys_monitoring_cython.pyx":1399 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< @@ -23144,7 +23616,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1362 + /* "_pydevd_sys_monitoring_cython.pyx":1398 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -23158,7 +23630,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1358 + /* "_pydevd_sys_monitoring_cython.pyx":1394 * # everything is global, yet, when we start tracing something for stepping that * # needs to be per-thread. * try: # <<<<<<<<<<<<<< @@ -23185,22 +23657,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1365 + /* "_pydevd_sys_monitoring_cython.pyx":1401 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1365, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1365, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1401, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1366 + /* "_pydevd_sys_monitoring_cython.pyx":1402 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -23213,32 +23685,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_t_8 = __pyx_t_9; goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1366, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1402, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1366, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1402, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1367 + /* "_pydevd_sys_monitoring_cython.pyx":1403 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< * - * if not thread_info.trace or thread_info.thread._is_stopped: + * # If we get another line event, remove the extra check for the line event */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1367, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1403, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1367, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1403, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1366 + /* "_pydevd_sys_monitoring_cython.pyx":1402 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -23247,29 +23719,172 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1369 - * return monitor.DISABLE + /* "_pydevd_sys_monitoring_cython.pyx":1406 + * + * # If we get another line event, remove the extra check for the line event + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< + * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + * del _thread_local_info.f_disable_next_line_if_match + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1406, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_8 = __Pyx_HasAttr(__pyx_t_6, __pyx_n_s_f_disable_next_line_if_match); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 1406, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (__pyx_t_8) { + + /* "_pydevd_sys_monitoring_cython.pyx":1407 + * # If we get another line event, remove the extra check for the line event + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match # <<<<<<<<<<<<<< + * del _thread_local_info.f_disable_next_line_if_match + * if line_to_skip is line and co_filename == code.co_filename: + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1407, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_f_disable_next_line_if_match); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1407, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if ((likely(PyTuple_CheckExact(__pyx_t_4))) || (PyList_CheckExact(__pyx_t_4))) { + PyObject* sequence = __pyx_t_4; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 1407, __pyx_L1_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_6 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_5 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_6 = PyList_GET_ITEM(sequence, 0); + __pyx_t_5 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(__pyx_t_5); + #else + __pyx_t_6 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1407, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1407, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + #endif + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_7 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1407, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_10 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); + index = 0; __pyx_t_6 = __pyx_t_10(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L16_unpacking_failed; + __Pyx_GOTREF(__pyx_t_6); + index = 1; __pyx_t_5 = __pyx_t_10(__pyx_t_7); if (unlikely(!__pyx_t_5)) goto __pyx_L16_unpacking_failed; + __Pyx_GOTREF(__pyx_t_5); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_7), 2) < 0) __PYX_ERR(0, 1407, __pyx_L1_error) + __pyx_t_10 = NULL; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + goto __pyx_L17_unpacking_done; + __pyx_L16_unpacking_failed:; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_10 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 1407, __pyx_L1_error) + __pyx_L17_unpacking_done:; + } + __pyx_v_co_filename = __pyx_t_6; + __pyx_t_6 = 0; + __pyx_v_line_to_skip = __pyx_t_5; + __pyx_t_5 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1408 + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + * del _thread_local_info.f_disable_next_line_if_match # <<<<<<<<<<<<<< + * if line_to_skip is line and co_filename == code.co_filename: + * # The last jump already jumped to this line and we haven't had any + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1408, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_disable_next_line_if_match) < 0) __PYX_ERR(0, 1408, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1409 + * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + * del _thread_local_info.f_disable_next_line_if_match + * if line_to_skip is line and co_filename == code.co_filename: # <<<<<<<<<<<<<< + * # The last jump already jumped to this line and we haven't had any + * # line events or jumps since then. We don't want to consider this line twice + */ + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1409, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = (__pyx_v_line_to_skip == __pyx_t_4); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (__pyx_t_9) { + } else { + __pyx_t_8 = __pyx_t_9; + goto __pyx_L19_bool_binop_done; + } + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_code, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1409, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = PyObject_RichCompare(__pyx_v_co_filename, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1409, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1409, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_8 = __pyx_t_9; + __pyx_L19_bool_binop_done:; + if (__pyx_t_8) { + + /* "_pydevd_sys_monitoring_cython.pyx":1412 + * # The last jump already jumped to this line and we haven't had any + * # line events or jumps since then. We don't want to consider this line twice + * return # <<<<<<<<<<<<<< + * + * if not thread_info.trace or thread_info.thread._is_stopped: + */ + __Pyx_XDECREF(__pyx_r); + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + + /* "_pydevd_sys_monitoring_cython.pyx":1409 + * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + * del _thread_local_info.f_disable_next_line_if_match + * if line_to_skip is line and co_filename == code.co_filename: # <<<<<<<<<<<<<< + * # The last jump already jumped to this line and we haven't had any + * # line events or jumps since then. We don't want to consider this line twice + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":1406 + * + * # If we get another line event, remove the extra check for the line event + * if hasattr(_thread_local_info, "f_disable_next_line_if_match"): # <<<<<<<<<<<<<< + * (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + * del _thread_local_info.f_disable_next_line_if_match + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":1414 + * return * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1369, __pyx_L1_error) - __pyx_t_10 = (!__pyx_t_9); - if (!__pyx_t_10) { + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1414, __pyx_L1_error) + __pyx_t_11 = (!__pyx_t_9); + if (!__pyx_t_11) { } else { - __pyx_t_8 = __pyx_t_10; - goto __pyx_L16_bool_binop_done; + __pyx_t_8 = __pyx_t_11; + goto __pyx_L22_bool_binop_done; } - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1369, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1369, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_8 = __pyx_t_10; - __pyx_L16_bool_binop_done:; + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1414, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1414, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_8 = __pyx_t_11; + __pyx_L22_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1372 + /* "_pydevd_sys_monitoring_cython.pyx":1417 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< @@ -23280,8 +23895,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1369 - * return monitor.DISABLE + /* "_pydevd_sys_monitoring_cython.pyx":1414 + * return * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other @@ -23289,19 +23904,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1374 + /* "_pydevd_sys_monitoring_cython.pyx":1419 * return * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1374, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); - __pyx_t_6 = 0; + __pyx_t_5 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_int_1, 0)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1419, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_5); + __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1375 + /* "_pydevd_sys_monitoring_cython.pyx":1420 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -23311,13 +23926,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ if (!__pyx_v_func_code_info->always_skip_code) { } else { __pyx_t_8 = __pyx_v_func_code_info->always_skip_code; - goto __pyx_L19_bool_binop_done; + goto __pyx_L25_bool_binop_done; } __pyx_t_8 = __pyx_v_func_code_info->always_filtered_out; - __pyx_L19_bool_binop_done:; + __pyx_L25_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1376 + /* "_pydevd_sys_monitoring_cython.pyx":1421 * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -23325,16 +23940,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ * # print('line event', code.co_name, line) */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1376, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1376, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1421, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1421, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1375 + /* "_pydevd_sys_monitoring_cython.pyx":1420 * * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1) * if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<< @@ -23343,21 +23958,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1381 + /* "_pydevd_sys_monitoring_cython.pyx":1426 * * # We know the frame depth. * frame = _getframe(1) # <<<<<<<<<<<<<< * return _internal_line_event(func_code_info, frame, line) * */ - __pyx_t_11.__pyx_n = 1; - __pyx_t_11.depth = __pyx_int_1; - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1381, __pyx_L1_error) + __pyx_t_12.__pyx_n = 1; + __pyx_t_12.depth = __pyx_int_1; + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1426, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_frame = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1382 + /* "_pydevd_sys_monitoring_cython.pyx":1427 * # We know the frame depth. * frame = _getframe(1) * return _internal_line_event(func_code_info, frame, line) # <<<<<<<<<<<<<< @@ -23365,13 +23980,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ * */ __Pyx_XDECREF(__pyx_r); - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1382, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(__pyx_v_func_code_info, __pyx_v_frame, __pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1427, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1347 + /* "_pydevd_sys_monitoring_cython.pyx":1383 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _line_event(code, int line): # <<<<<<<<<<<<<< @@ -23391,13 +24006,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_ __Pyx_XDECREF((PyObject *)__pyx_v_thread_info); __Pyx_XDECREF((PyObject *)__pyx_v_func_code_info); __Pyx_XDECREF(__pyx_v_py_db); + __Pyx_XDECREF(__pyx_v_co_filename); + __Pyx_XDECREF(__pyx_v_line_to_skip); __Pyx_XDECREF(__pyx_v_frame); __Pyx_XGIVEREF(__pyx_r); __Pyx_RefNannyFinishContext(); return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1387 +/* "_pydevd_sys_monitoring_cython.pyx":1432 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line): # <<<<<<<<<<<<<< @@ -23448,38 +24065,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_internal_line_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1399 + /* "_pydevd_sys_monitoring_cython.pyx":1444 * # ENDIF * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * thread_info = _thread_local_info.thread_info * info = thread_info.additional_info */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1399, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1444, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1399, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1444, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1400 + /* "_pydevd_sys_monitoring_cython.pyx":1445 * # fmt: on * py_db: object = GlobalDebuggerHolder.global_dbg * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * info = thread_info.additional_info * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1400, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1400, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1445, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1400, __pyx_L1_error) + if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1445, __pyx_L1_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1401 + /* "_pydevd_sys_monitoring_cython.pyx":1446 * py_db: object = GlobalDebuggerHolder.global_dbg * thread_info = _thread_local_info.thread_info * info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -23491,7 +24108,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1403 + /* "_pydevd_sys_monitoring_cython.pyx":1448 * info = thread_info.additional_info * * step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -23501,7 +24118,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_3 = __pyx_v_info->pydev_step_cmd; __pyx_v_step_cmd = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1409 + /* "_pydevd_sys_monitoring_cython.pyx":1454 * # If we reached here, it was not filtered out. * * if func_code_info.breakpoint_found: # <<<<<<<<<<<<<< @@ -23510,7 +24127,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_func_code_info->breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1410 + /* "_pydevd_sys_monitoring_cython.pyx":1455 * * if func_code_info.breakpoint_found: * bp = None # <<<<<<<<<<<<<< @@ -23520,7 +24137,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(Py_None); __pyx_v_bp = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":1411 + /* "_pydevd_sys_monitoring_cython.pyx":1456 * if func_code_info.breakpoint_found: * bp = None * stop = False # <<<<<<<<<<<<<< @@ -23529,7 +24146,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1412 + /* "_pydevd_sys_monitoring_cython.pyx":1457 * bp = None * stop = False * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -23538,32 +24155,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1414 + /* "_pydevd_sys_monitoring_cython.pyx":1459 * stop_on_plugin_breakpoint = False * * stop_info = {} # <<<<<<<<<<<<<< * stop_reason = CMD_SET_BREAK * bp_type = None */ - __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1414, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1459, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_stop_info = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1415 + /* "_pydevd_sys_monitoring_cython.pyx":1460 * * stop_info = {} * stop_reason = CMD_SET_BREAK # <<<<<<<<<<<<<< * bp_type = None * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1415, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1460, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1415, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1460, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_stop_reason = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1416 + /* "_pydevd_sys_monitoring_cython.pyx":1461 * stop_info = {} * stop_reason = CMD_SET_BREAK * bp_type = None # <<<<<<<<<<<<<< @@ -23573,7 +24190,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(Py_None); __pyx_v_bp_type = Py_None; - /* "_pydevd_sys_monitoring_cython.pyx":1418 + /* "_pydevd_sys_monitoring_cython.pyx":1463 * bp_type = None * * bp = func_code_info.bp_line_to_breakpoint.get(line) # <<<<<<<<<<<<<< @@ -23582,17 +24199,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (unlikely(__pyx_v_func_code_info->bp_line_to_breakpoint == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "get"); - __PYX_ERR(0, 1418, __pyx_L1_error) + __PYX_ERR(0, 1463, __pyx_L1_error) } - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1418, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyDict_GetItemDefault(__pyx_v_func_code_info->bp_line_to_breakpoint, __pyx_t_1, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1418, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_GetItemDefault(__pyx_v_func_code_info->bp_line_to_breakpoint, __pyx_t_1, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1463, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF_SET(__pyx_v_bp, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1419 + /* "_pydevd_sys_monitoring_cython.pyx":1464 * * bp = func_code_info.bp_line_to_breakpoint.get(line) * if bp is not None: # <<<<<<<<<<<<<< @@ -23602,7 +24219,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_4 = (__pyx_v_bp != Py_None); if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1420 + /* "_pydevd_sys_monitoring_cython.pyx":1465 * bp = func_code_info.bp_line_to_breakpoint.get(line) * if bp is not None: * new_frame = frame # <<<<<<<<<<<<<< @@ -23612,7 +24229,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(__pyx_v_frame); __pyx_v_new_frame = __pyx_v_frame; - /* "_pydevd_sys_monitoring_cython.pyx":1421 + /* "_pydevd_sys_monitoring_cython.pyx":1466 * if bp is not None: * new_frame = frame * stop = True # <<<<<<<<<<<<<< @@ -23621,7 +24238,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1419 + /* "_pydevd_sys_monitoring_cython.pyx":1464 * * bp = func_code_info.bp_line_to_breakpoint.get(line) * if bp is not None: # <<<<<<<<<<<<<< @@ -23630,31 +24247,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1423 + /* "_pydevd_sys_monitoring_cython.pyx":1468 * stop = True * * if bp: # <<<<<<<<<<<<<< * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): * return */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1423, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1468, __pyx_L1_error) if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1424 + /* "_pydevd_sys_monitoring_cython.pyx":1469 * * if bp: * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): # <<<<<<<<<<<<<< * return * */ - if (unlikely(!__pyx_v_new_frame)) { __Pyx_RaiseUnboundLocalError("new_frame"); __PYX_ERR(0, 1424, __pyx_L1_error) } - __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_kp_s_python_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1424, __pyx_L1_error) + if (unlikely(!__pyx_v_new_frame)) { __Pyx_RaiseUnboundLocalError("new_frame"); __PYX_ERR(0, 1469, __pyx_L1_error) } + __pyx_t_2 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_kp_s_python_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1469, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1424, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1469, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1425 + /* "_pydevd_sys_monitoring_cython.pyx":1470 * if bp: * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): * return # <<<<<<<<<<<<<< @@ -23665,7 +24282,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1424 + /* "_pydevd_sys_monitoring_cython.pyx":1469 * * if bp: * if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): # <<<<<<<<<<<<<< @@ -23674,7 +24291,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1423 + /* "_pydevd_sys_monitoring_cython.pyx":1468 * stop = True * * if bp: # <<<<<<<<<<<<<< @@ -23683,7 +24300,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1409 + /* "_pydevd_sys_monitoring_cython.pyx":1454 * # If we reached here, it was not filtered out. * * if func_code_info.breakpoint_found: # <<<<<<<<<<<<<< @@ -23692,7 +24309,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1427 + /* "_pydevd_sys_monitoring_cython.pyx":1472 * return * * if func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -23701,16 +24318,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_func_code_info->plugin_line_breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1428 + /* "_pydevd_sys_monitoring_cython.pyx":1473 * * if func_code_info.plugin_line_breakpoint_found: * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) # <<<<<<<<<<<<<< * if result: * stop_reason = CMD_SET_BREAK */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1428, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get_breakpoint); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1428, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get_breakpoint); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -23731,37 +24348,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[5] = {__pyx_t_1, __pyx_v_py_db, __pyx_v_frame, __pyx_n_s_line, ((PyObject *)__pyx_v_info)}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 4+__pyx_t_6); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1428, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1473, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __pyx_v_result = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1429 + /* "_pydevd_sys_monitoring_cython.pyx":1474 * if func_code_info.plugin_line_breakpoint_found: * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) * if result: # <<<<<<<<<<<<<< * stop_reason = CMD_SET_BREAK * stop = False */ - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1429, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1474, __pyx_L1_error) if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1430 + /* "_pydevd_sys_monitoring_cython.pyx":1475 * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) * if result: * stop_reason = CMD_SET_BREAK # <<<<<<<<<<<<<< * stop = False * stop_on_plugin_breakpoint = True */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1430, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1475, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1430, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1475, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_v_stop_reason = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1431 + /* "_pydevd_sys_monitoring_cython.pyx":1476 * if result: * stop_reason = CMD_SET_BREAK * stop = False # <<<<<<<<<<<<<< @@ -23770,7 +24387,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1432 + /* "_pydevd_sys_monitoring_cython.pyx":1477 * stop_reason = CMD_SET_BREAK * stop = False * stop_on_plugin_breakpoint = True # <<<<<<<<<<<<<< @@ -23779,7 +24396,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop_on_plugin_breakpoint = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1433 + /* "_pydevd_sys_monitoring_cython.pyx":1478 * stop = False * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result # <<<<<<<<<<<<<< @@ -23792,7 +24409,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1433, __pyx_L1_error) + __PYX_ERR(0, 1478, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -23808,16 +24425,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_INCREF(__pyx_t_5); __Pyx_INCREF(__pyx_t_1); #else - __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1433, __pyx_L1_error) + __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1433, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1433, __pyx_L1_error) + __pyx_t_1 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); #endif } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1433, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1478, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_8 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); index = 0; __pyx_t_2 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_2)) goto __pyx_L9_unpacking_failed; @@ -23826,7 +24443,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_GOTREF(__pyx_t_5); index = 2; __pyx_t_1 = __pyx_t_8(__pyx_t_7); if (unlikely(!__pyx_t_1)) goto __pyx_L9_unpacking_failed; __Pyx_GOTREF(__pyx_t_1); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1433, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1478, __pyx_L1_error) __pyx_t_8 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L10_unpacking_done; @@ -23834,7 +24451,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_8 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1433, __pyx_L1_error) + __PYX_ERR(0, 1478, __pyx_L1_error) __pyx_L10_unpacking_done:; } __Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_2); @@ -23844,19 +24461,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_XDECREF_SET(__pyx_v_bp_type, __pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1434 + /* "_pydevd_sys_monitoring_cython.pyx":1479 * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) # <<<<<<<<<<<<<< * return * */ - if (!(likely(PyString_CheckExact(__pyx_v_bp_type))||((__pyx_v_bp_type) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_v_bp_type))) __PYX_ERR(0, 1434, __pyx_L1_error) - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_v_bp_type)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1434, __pyx_L1_error) + if (!(likely(PyString_CheckExact(__pyx_v_bp_type))||((__pyx_v_bp_type) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_v_bp_type))) __PYX_ERR(0, 1479, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_v_bp_type)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1479, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1435 + /* "_pydevd_sys_monitoring_cython.pyx":1480 * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) * return # <<<<<<<<<<<<<< @@ -23867,7 +24484,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1429 + /* "_pydevd_sys_monitoring_cython.pyx":1474 * if func_code_info.plugin_line_breakpoint_found: * result = py_db.plugin.get_breakpoint(py_db, frame, "line", info) * if result: # <<<<<<<<<<<<<< @@ -23876,7 +24493,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1427 + /* "_pydevd_sys_monitoring_cython.pyx":1472 * return * * if func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<< @@ -23885,32 +24502,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1437 + /* "_pydevd_sys_monitoring_cython.pyx":1482 * return * * if info.pydev_state == STATE_SUSPEND: # <<<<<<<<<<<<<< * # Note: it's possible that it was suspended with a pause (and we'd stop here too). * # print('suspend (pause)...') */ - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_state); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1437, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_state); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1482, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_STATE_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1437, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_STATE_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1482, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1437, __pyx_L1_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1482, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1437, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1482, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1440 + /* "_pydevd_sys_monitoring_cython.pyx":1485 * # Note: it's possible that it was suspended with a pause (and we'd stop here too). * # print('suspend (pause)...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * return * */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1440, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_1 = NULL; __pyx_t_6 = 0; @@ -23930,13 +24547,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[6] = {__pyx_t_1, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_n_s_line, Py_None}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 5+__pyx_t_6); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1440, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1485, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1441 + /* "_pydevd_sys_monitoring_cython.pyx":1486 * # print('suspend (pause)...') * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< @@ -23947,7 +24564,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1437 + /* "_pydevd_sys_monitoring_cython.pyx":1482 * return * * if info.pydev_state == STATE_SUSPEND: # <<<<<<<<<<<<<< @@ -23956,7 +24573,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1444 + /* "_pydevd_sys_monitoring_cython.pyx":1489 * * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. * stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<< @@ -23968,7 +24585,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_stop_frame = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1445 + /* "_pydevd_sys_monitoring_cython.pyx":1490 * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. * stop_frame = info.pydev_step_stop * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -23978,7 +24595,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_4 = (__pyx_v_step_cmd == -1L); if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1446 + /* "_pydevd_sys_monitoring_cython.pyx":1491 * stop_frame = info.pydev_step_stop * if step_cmd == -1: * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -23995,12 +24612,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_4 = __pyx_v_func_code_info->plugin_line_breakpoint_found; goto __pyx_L14_bool_binop_done; } - __pyx_t_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1446, __pyx_L1_error) + __pyx_t_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1491, __pyx_L1_error) __pyx_t_4 = __pyx_t_9; __pyx_L14_bool_binop_done:; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1447 + /* "_pydevd_sys_monitoring_cython.pyx":1492 * if step_cmd == -1: * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping(): * return None # <<<<<<<<<<<<<< @@ -24011,7 +24628,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1446 + /* "_pydevd_sys_monitoring_cython.pyx":1491 * stop_frame = info.pydev_step_stop * if step_cmd == -1: * if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -24020,7 +24637,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1449 + /* "_pydevd_sys_monitoring_cython.pyx":1494 * return None * * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -24028,16 +24645,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * if info.suspend_type != PYTHON_SUSPEND: */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1449, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1494, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1449, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1494, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_r = __pyx_t_5; __pyx_t_5 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1445 + /* "_pydevd_sys_monitoring_cython.pyx":1490 * # Ok, did not suspend due to a breakpoint, let's see if we're stepping. * stop_frame = info.pydev_step_stop * if step_cmd == -1: # <<<<<<<<<<<<<< @@ -24046,25 +24663,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1451 + /* "_pydevd_sys_monitoring_cython.pyx":1496 * return monitor.DISABLE * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< * # Plugin stepping * if func_code_info.plugin_line_stepping: */ - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1451, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1496, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1451, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1496, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1451, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1496, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1451, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1496, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1453 + /* "_pydevd_sys_monitoring_cython.pyx":1498 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_line_stepping: # <<<<<<<<<<<<<< @@ -24073,18 +24690,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_func_code_info->plugin_line_stepping) { - /* "_pydevd_sys_monitoring_cython.pyx":1454 + /* "_pydevd_sys_monitoring_cython.pyx":1499 * # Plugin stepping * if func_code_info.plugin_line_stepping: * _plugin_stepping(py_db, step_cmd, "line", frame, thread_info) # <<<<<<<<<<<<<< * return * */ - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_n_s_line, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1454, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_n_s_line, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1499, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1453 + /* "_pydevd_sys_monitoring_cython.pyx":1498 * if info.suspend_type != PYTHON_SUSPEND: * # Plugin stepping * if func_code_info.plugin_line_stepping: # <<<<<<<<<<<<<< @@ -24093,7 +24710,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1455 + /* "_pydevd_sys_monitoring_cython.pyx":1500 * if func_code_info.plugin_line_stepping: * _plugin_stepping(py_db, step_cmd, "line", frame, thread_info) * return # <<<<<<<<<<<<<< @@ -24104,7 +24721,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1451 + /* "_pydevd_sys_monitoring_cython.pyx":1496 * return monitor.DISABLE * * if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -24113,7 +24730,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1458 + /* "_pydevd_sys_monitoring_cython.pyx":1503 * * # Python stepping now * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): # <<<<<<<<<<<<<< @@ -24121,67 +24738,67 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * if not info.pydev_use_scoped_step_frame: */ __pyx_t_3 = __pyx_v_step_cmd; - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1458, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (!__pyx_t_9) { } else { __pyx_t_4 = __pyx_t_9; goto __pyx_L20_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1458, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (!__pyx_t_9) { } else { __pyx_t_4 = __pyx_t_9; goto __pyx_L20_bool_binop_done; } - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1458, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1458, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1503, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_4 = __pyx_t_9; __pyx_L20_bool_binop_done:; __pyx_t_9 = __pyx_t_4; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1459 + /* "_pydevd_sys_monitoring_cython.pyx":1504 * # Python stepping now * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE # <<<<<<<<<<<<<< * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): */ - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1459, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1459, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1459, __pyx_L1_error) + __pyx_t_1 = PyObject_RichCompare(__pyx_t_5, __pyx_t_2, Py_EQ); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1459, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1504, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_force_check_project_scope = __pyx_t_9; - /* "_pydevd_sys_monitoring_cython.pyx":1460 + /* "_pydevd_sys_monitoring_cython.pyx":1505 * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -24191,7 +24808,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_9 = (!__pyx_v_info->pydev_use_scoped_step_frame); if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1461 + /* "_pydevd_sys_monitoring_cython.pyx":1506 * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -24212,7 +24829,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L25_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1462 + /* "_pydevd_sys_monitoring_cython.pyx":1507 * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): * return # <<<<<<<<<<<<<< @@ -24223,7 +24840,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1461 + /* "_pydevd_sys_monitoring_cython.pyx":1506 * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if not info.pydev_use_scoped_step_frame: * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -24232,46 +24849,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1464 + /* "_pydevd_sys_monitoring_cython.pyx":1509 * return * * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_INCREF(__pyx_v_thread_info->thread); __Pyx_GIVEREF(__pyx_v_thread_info->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1464, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1509, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_2); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0, 1464, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_original_step_cmd, __pyx_t_7) < 0) __PYX_ERR(0, 1464, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_original_step_cmd, __pyx_t_7) < 0) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_5, __pyx_t_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1464, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_5, __pyx_t_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1465 + /* "_pydevd_sys_monitoring_cython.pyx":1510 * * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * return * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1465, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -24291,13 +24908,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[6] = {__pyx_t_5, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_n_s_line, Py_None}; __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 5+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1465, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1510, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1466 + /* "_pydevd_sys_monitoring_cython.pyx":1511 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< @@ -24308,7 +24925,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1460 + /* "_pydevd_sys_monitoring_cython.pyx":1505 * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): * force_check_project_scope = step_cmd == CMD_STEP_INTO_MY_CODE * if not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -24317,7 +24934,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1469 + /* "_pydevd_sys_monitoring_cython.pyx":1514 * else: * # Make sure we check the filtering inside ipython calls too... * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -24339,7 +24956,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L29_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1470 + /* "_pydevd_sys_monitoring_cython.pyx":1515 * # Make sure we check the filtering inside ipython calls too... * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): * return # <<<<<<<<<<<<<< @@ -24350,7 +24967,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1469 + /* "_pydevd_sys_monitoring_cython.pyx":1514 * else: * # Make sure we check the filtering inside ipython calls too... * if func_code_info.always_filtered_out or (force_check_project_scope and func_code_info.filtered_out_force_checked): # <<<<<<<<<<<<<< @@ -24359,7 +24976,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1472 + /* "_pydevd_sys_monitoring_cython.pyx":1517 * return * * stop = False # <<<<<<<<<<<<<< @@ -24368,29 +24985,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1474 + /* "_pydevd_sys_monitoring_cython.pyx":1519 * stop = False * # We can only stop inside the ipython call. * filename = frame.f_code.co_filename # <<<<<<<<<<<<<< * if filename.endswith(".pyc"): * filename = filename[:-1] */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1474, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1519, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1474, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1519, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_v_filename = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1475 + /* "_pydevd_sys_monitoring_cython.pyx":1520 * # We can only stop inside the ipython call. * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): # <<<<<<<<<<<<<< * filename = filename[:-1] * */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_endswith); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1475, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_endswith); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1520, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -24410,27 +25027,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_kp_s_pyc}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1475, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1520, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1475, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1520, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1476 + /* "_pydevd_sys_monitoring_cython.pyx":1521 * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): * filename = filename[:-1] # <<<<<<<<<<<<<< * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): */ - __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_filename, 0, -1L, NULL, NULL, &__pyx_slice__16, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1476, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetSlice(__pyx_v_filename, 0, -1L, NULL, NULL, &__pyx_slice__17, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1521, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF_SET(__pyx_v_filename, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1475 + /* "_pydevd_sys_monitoring_cython.pyx":1520 * # We can only stop inside the ipython call. * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): # <<<<<<<<<<<<<< @@ -24439,18 +25056,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1478 + /* "_pydevd_sys_monitoring_cython.pyx":1523 * filename = filename[:-1] * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): # <<<<<<<<<<<<<< * f = frame.f_back * while f is not None: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_endswith); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1478, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_endswith); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1478, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_GetItemInt(__pyx_t_5, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1478, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt(__pyx_t_5, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -24472,28 +25089,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1478, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1523, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1478, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1523, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_4 = (!__pyx_t_9); if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1479 + /* "_pydevd_sys_monitoring_cython.pyx":1524 * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): * f = frame.f_back # <<<<<<<<<<<<<< * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1479, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1524, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_v_f = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1480 + /* "_pydevd_sys_monitoring_cython.pyx":1525 * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): * f = frame.f_back * while f is not None: # <<<<<<<<<<<<<< @@ -24504,43 +25121,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_4 = (__pyx_v_f != Py_None); if (!__pyx_t_4) break; - /* "_pydevd_sys_monitoring_cython.pyx":1481 + /* "_pydevd_sys_monitoring_cython.pyx":1526 * f = frame.f_back * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1481, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1526, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1481, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1526, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1481, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1526, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_GetItemInt(__pyx_t_2, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1481, __pyx_L1_error) + __pyx_t_1 = __Pyx_GetItemInt(__pyx_t_2, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1526, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1481, __pyx_L1_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1526, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1481, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1526, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1482 + /* "_pydevd_sys_monitoring_cython.pyx":1527 * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f2 = f.f_back # <<<<<<<<<<<<<< * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1482, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1527, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_XDECREF_SET(__pyx_v_f2, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1483 + /* "_pydevd_sys_monitoring_cython.pyx":1528 * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -24553,35 +25170,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_4 = __pyx_t_9; goto __pyx_L38_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f2, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1483, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_f2, __pyx_n_s_f_code); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1483, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_co_name); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1483, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_GetItemInt(__pyx_t_2, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1483, __pyx_L1_error) + __pyx_t_7 = __Pyx_GetItemInt(__pyx_t_2, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1528, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_t_7, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1483, __pyx_L1_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_t_1, __pyx_t_7, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1528, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1483, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1528, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_4 = __pyx_t_9; __pyx_L38_bool_binop_done:; if (__pyx_t_4) { - /* "_pydevd_sys_monitoring_cython.pyx":1484 + /* "_pydevd_sys_monitoring_cython.pyx":1529 * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") # <<<<<<<<<<<<<< * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * thread_info.additional_info.trace_suspend_type = "sys_monitor" */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1484, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1529, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1484, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1529, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -24602,45 +25219,45 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_kp_s_Stop_inside_ipython_call}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1484, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1529, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1485 + /* "_pydevd_sys_monitoring_cython.pyx":1530 * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * pydev_log.debug("Stop inside ipython call") * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * thread_info.additional_info.trace_suspend_type = "sys_monitor" * _do_wait_suspend(py_db, thread_info, frame, "line", None) */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1485, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1485, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1485, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_v_thread_info->thread); __Pyx_GIVEREF(__pyx_v_thread_info->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1485, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1530, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1485, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L1_error); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1485, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1485, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_5) < 0) __PYX_ERR(0, 1485, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_5) < 0) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1485, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1530, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1486 + /* "_pydevd_sys_monitoring_cython.pyx":1531 * pydev_log.debug("Stop inside ipython call") * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * thread_info.additional_info.trace_suspend_type = "sys_monitor" # <<<<<<<<<<<<<< @@ -24653,14 +25270,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_DECREF(__pyx_v_thread_info->additional_info->trace_suspend_type); __pyx_v_thread_info->additional_info->trace_suspend_type = __pyx_n_s_sys_monitor; - /* "_pydevd_sys_monitoring_cython.pyx":1487 + /* "_pydevd_sys_monitoring_cython.pyx":1532 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * thread_info.additional_info.trace_suspend_type = "sys_monitor" * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * break * f = f.f_back */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1487, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_7 = NULL; __pyx_t_6 = 0; @@ -24680,13 +25297,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[6] = {__pyx_t_7, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_n_s_line, Py_None}; __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_6, 5+__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1487, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1532, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1488 + /* "_pydevd_sys_monitoring_cython.pyx":1533 * thread_info.additional_info.trace_suspend_type = "sys_monitor" * _do_wait_suspend(py_db, thread_info, frame, "line", None) * break # <<<<<<<<<<<<<< @@ -24695,7 +25312,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ goto __pyx_L35_break; - /* "_pydevd_sys_monitoring_cython.pyx":1483 + /* "_pydevd_sys_monitoring_cython.pyx":1528 * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f2 = f.f_back * if f2 is not None and f2.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -24704,7 +25321,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1481 + /* "_pydevd_sys_monitoring_cython.pyx":1526 * f = frame.f_back * while f is not None: * if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< @@ -24713,21 +25330,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1489 + /* "_pydevd_sys_monitoring_cython.pyx":1534 * _do_wait_suspend(py_db, thread_info, frame, "line", None) * break * f = f.f_back # <<<<<<<<<<<<<< * * del f */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1489, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_back); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1534, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_5); __pyx_t_5 = 0; } __pyx_L35_break:; - /* "_pydevd_sys_monitoring_cython.pyx":1491 + /* "_pydevd_sys_monitoring_cython.pyx":1536 * f = f.f_back * * del f # <<<<<<<<<<<<<< @@ -24736,7 +25353,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __Pyx_DECREF(__pyx_v_f); __pyx_v_f = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1478 + /* "_pydevd_sys_monitoring_cython.pyx":1523 * filename = filename[:-1] * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): # <<<<<<<<<<<<<< @@ -24746,7 +25363,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } } - /* "_pydevd_sys_monitoring_cython.pyx":1495 + /* "_pydevd_sys_monitoring_cython.pyx":1540 * # In scoped mode if step in didn't work in this context it won't work * # afterwards anyways. * return # <<<<<<<<<<<<<< @@ -24757,7 +25374,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1458 + /* "_pydevd_sys_monitoring_cython.pyx":1503 * * # Python stepping now * if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): # <<<<<<<<<<<<<< @@ -24766,7 +25383,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1497 + /* "_pydevd_sys_monitoring_cython.pyx":1542 * return * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<< @@ -24774,87 +25391,87 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # difference is that when we return from a frame in one we go to regular step */ __pyx_t_3 = __pyx_v_step_cmd; - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1497, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1497, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1497, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_5, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1497, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (!__pyx_t_9) { } else { __pyx_t_4 = __pyx_t_9; goto __pyx_L40_bool_binop_done; } - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1497, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1497, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1497, __pyx_L1_error) + __pyx_t_5 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1497, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1542, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_4 = __pyx_t_9; __pyx_L40_bool_binop_done:; __pyx_t_9 = __pyx_t_4; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1501 + /* "_pydevd_sys_monitoring_cython.pyx":1546 * # difference is that when we return from a frame in one we go to regular step * # into and in the other we go to a step into my code). * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1501, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_frame); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1546, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1501, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1546, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1502 + /* "_pydevd_sys_monitoring_cython.pyx":1547 * # into and in the other we go to a step into my code). * if _is_same_frame(info, stop_frame, frame): * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_v_thread_info->thread); __Pyx_GIVEREF(__pyx_v_thread_info->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1502, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1547, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1502, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1547, __pyx_L1_error); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_2) < 0) __PYX_ERR(0, 1502, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_2) < 0) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1502, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_5, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1547, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1503 + /* "_pydevd_sys_monitoring_cython.pyx":1548 * if _is_same_frame(info, stop_frame, frame): * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * return * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1503, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1548, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_7 = NULL; __pyx_t_6 = 0; @@ -24874,13 +25491,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[6] = {__pyx_t_7, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_n_s_line, Py_None}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_6, 5+__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1503, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1548, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1504 + /* "_pydevd_sys_monitoring_cython.pyx":1549 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< @@ -24891,7 +25508,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1501 + /* "_pydevd_sys_monitoring_cython.pyx":1546 * # difference is that when we return from a frame in one we go to regular step * # into and in the other we go to a step into my code). * if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<< @@ -24900,7 +25517,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1497 + /* "_pydevd_sys_monitoring_cython.pyx":1542 * return * * elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<< @@ -24910,25 +25527,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L19; } - /* "_pydevd_sys_monitoring_cython.pyx":1506 + /* "_pydevd_sys_monitoring_cython.pyx":1551 * return * * elif step_cmd == CMD_SMART_STEP_INTO: # <<<<<<<<<<<<<< * stop = False * back = frame.f_back */ - __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1506, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1551, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1506, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1551, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1506, __pyx_L1_error) + __pyx_t_7 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_7); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1551, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1506, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1551, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1507 + /* "_pydevd_sys_monitoring_cython.pyx":1552 * * elif step_cmd == CMD_SMART_STEP_INTO: * stop = False # <<<<<<<<<<<<<< @@ -24937,32 +25554,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1508 + /* "_pydevd_sys_monitoring_cython.pyx":1553 * elif step_cmd == CMD_SMART_STEP_INTO: * stop = False * back = frame.f_back # <<<<<<<<<<<<<< * if _is_same_frame(info, stop_frame, back): * if info.pydev_smart_child_offset != -1: */ - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1508, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1553, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_v_back = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1509 + /* "_pydevd_sys_monitoring_cython.pyx":1554 * stop = False * back = frame.f_back * if _is_same_frame(info, stop_frame, back): # <<<<<<<<<<<<<< * if info.pydev_smart_child_offset != -1: * # i.e.: in this case, we're not interested in the pause in the parent, rather */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_v_back); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1554, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1509, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1554, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1510 + /* "_pydevd_sys_monitoring_cython.pyx":1555 * back = frame.f_back * if _is_same_frame(info, stop_frame, back): * if info.pydev_smart_child_offset != -1: # <<<<<<<<<<<<<< @@ -24972,7 +25589,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_9 = (__pyx_v_info->pydev_smart_child_offset != -1L); if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1513 + /* "_pydevd_sys_monitoring_cython.pyx":1558 * # i.e.: in this case, we're not interested in the pause in the parent, rather * # we're interested in the pause in the child (when the parent is at the proper place). * stop = False # <<<<<<<<<<<<<< @@ -24981,7 +25598,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1510 + /* "_pydevd_sys_monitoring_cython.pyx":1555 * back = frame.f_back * if _is_same_frame(info, stop_frame, back): * if info.pydev_smart_child_offset != -1: # <<<<<<<<<<<<<< @@ -24991,7 +25608,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L44; } - /* "_pydevd_sys_monitoring_cython.pyx":1516 + /* "_pydevd_sys_monitoring_cython.pyx":1561 * * else: * pydev_smart_parent_offset = info.pydev_smart_parent_offset # <<<<<<<<<<<<<< @@ -25002,7 +25619,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_3 = __pyx_v_info->pydev_smart_parent_offset; __pyx_v_pydev_smart_parent_offset = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1518 + /* "_pydevd_sys_monitoring_cython.pyx":1563 * pydev_smart_parent_offset = info.pydev_smart_parent_offset * * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants # <<<<<<<<<<<<<< @@ -25014,7 +25631,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1519 + /* "_pydevd_sys_monitoring_cython.pyx":1564 * * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -25032,24 +25649,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L46_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1522 + /* "_pydevd_sys_monitoring_cython.pyx":1567 * # Preferred mode (when the smart step into variants are available * # and the offset is set). * stop = get_smart_step_into_variant_from_frame_offset( # <<<<<<<<<<<<<< * back.f_lasti, pydev_smart_step_into_variants * ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants) */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1522, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - /* "_pydevd_sys_monitoring_cython.pyx":1523 + /* "_pydevd_sys_monitoring_cython.pyx":1568 * # and the offset is set). * stop = get_smart_step_into_variant_from_frame_offset( * back.f_lasti, pydev_smart_step_into_variants # <<<<<<<<<<<<<< * ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants) * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_lasti); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1523, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_lasti); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1568, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -25070,21 +25687,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1522, __pyx_L1_error) + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1567, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } - /* "_pydevd_sys_monitoring_cython.pyx":1524 + /* "_pydevd_sys_monitoring_cython.pyx":1569 * stop = get_smart_step_into_variant_from_frame_offset( * back.f_lasti, pydev_smart_step_into_variants * ) is get_smart_step_into_variant_from_frame_offset(pydev_smart_parent_offset, pydev_smart_step_into_variants) # <<<<<<<<<<<<<< * * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1524, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1524, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_10 = NULL; __pyx_t_6 = 0; @@ -25105,7 +25722,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1524, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } @@ -25114,7 +25731,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_stop = __pyx_t_9; - /* "_pydevd_sys_monitoring_cython.pyx":1519 + /* "_pydevd_sys_monitoring_cython.pyx":1564 * * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -25124,7 +25741,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L45; } - /* "_pydevd_sys_monitoring_cython.pyx":1528 + /* "_pydevd_sys_monitoring_cython.pyx":1573 * else: * # Only the name/line is available, so, check that. * curr_func_name = frame.f_code.co_name # <<<<<<<<<<<<<< @@ -25132,15 +25749,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st * # global context is set with an empty name */ /*else*/ { - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1528, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1573, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1528, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_co_name); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1573, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_curr_func_name = __pyx_t_7; __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1531 + /* "_pydevd_sys_monitoring_cython.pyx":1576 * * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: # <<<<<<<<<<<<<< @@ -25149,13 +25766,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __Pyx_INCREF(__pyx_v_curr_func_name); __pyx_t_7 = __pyx_v_curr_func_name; - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_kp_s__17, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1531, __pyx_L1_error) + __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_kp_s__18, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1576, __pyx_L1_error) if (!__pyx_t_11) { } else { __pyx_t_4 = __pyx_t_11; goto __pyx_L51_bool_binop_done; } - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_kp_s_module, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1531, __pyx_L1_error) + __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_7, __pyx_kp_s_module, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1576, __pyx_L1_error) __pyx_t_4 = __pyx_t_11; __pyx_L51_bool_binop_done:; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -25170,17 +25787,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L49_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1532 + /* "_pydevd_sys_monitoring_cython.pyx":1577 * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: * curr_func_name = "" # <<<<<<<<<<<<<< * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: * stop = True */ - __Pyx_INCREF(__pyx_kp_s__14); - __Pyx_DECREF_SET(__pyx_v_curr_func_name, __pyx_kp_s__14); + __Pyx_INCREF(__pyx_kp_s__15); + __Pyx_DECREF_SET(__pyx_v_curr_func_name, __pyx_kp_s__15); - /* "_pydevd_sys_monitoring_cython.pyx":1531 + /* "_pydevd_sys_monitoring_cython.pyx":1576 * * # global context is set with an empty name * if curr_func_name in ("?", "") or curr_func_name is None: # <<<<<<<<<<<<<< @@ -25189,33 +25806,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1533 + /* "_pydevd_sys_monitoring_cython.pyx":1578 * if curr_func_name in ("?", "") or curr_func_name is None: * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: # <<<<<<<<<<<<<< * stop = True * */ - __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_v_curr_func_name, __pyx_v_info->pydev_func_name, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1533, __pyx_L1_error) + __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_v_curr_func_name, __pyx_v_info->pydev_func_name, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1578, __pyx_L1_error) if (__pyx_t_11) { } else { __pyx_t_9 = __pyx_t_11; goto __pyx_L54_bool_binop_done; } - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1533, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_stop_frame, __pyx_n_s_f_lineno); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1578, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1533, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1578, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1533, __pyx_L1_error) + __pyx_t_2 = PyObject_RichCompare(__pyx_t_7, __pyx_t_1, Py_EQ); __Pyx_XGOTREF(__pyx_t_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1578, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1533, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1578, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_9 = __pyx_t_11; __pyx_L54_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1534 + /* "_pydevd_sys_monitoring_cython.pyx":1579 * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: * stop = True # <<<<<<<<<<<<<< @@ -25224,7 +25841,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1533 + /* "_pydevd_sys_monitoring_cython.pyx":1578 * if curr_func_name in ("?", "") or curr_func_name is None: * curr_func_name = "" * if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line: # <<<<<<<<<<<<<< @@ -25237,7 +25854,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } __pyx_L44:; - /* "_pydevd_sys_monitoring_cython.pyx":1536 + /* "_pydevd_sys_monitoring_cython.pyx":1581 * stop = True * * if not stop: # <<<<<<<<<<<<<< @@ -25247,7 +25864,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_9 = (!__pyx_v_stop); if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1539 + /* "_pydevd_sys_monitoring_cython.pyx":1584 * # In smart step into, if we didn't hit it in this frame once, that'll * # not be the case next time either, so, disable tracing for this frame. * return # <<<<<<<<<<<<<< @@ -25258,7 +25875,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1536 + /* "_pydevd_sys_monitoring_cython.pyx":1581 * stop = True * * if not stop: # <<<<<<<<<<<<<< @@ -25267,7 +25884,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1509 + /* "_pydevd_sys_monitoring_cython.pyx":1554 * stop = False * back = frame.f_back * if _is_same_frame(info, stop_frame, back): # <<<<<<<<<<<<<< @@ -25277,7 +25894,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st goto __pyx_L43; } - /* "_pydevd_sys_monitoring_cython.pyx":1541 + /* "_pydevd_sys_monitoring_cython.pyx":1586 * return * * elif back is not None and _is_same_frame(info, stop_frame, back.f_back): # <<<<<<<<<<<<<< @@ -25290,18 +25907,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_9 = __pyx_t_11; goto __pyx_L57_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1541, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_back); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1586, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1541, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(__pyx_v_info, __pyx_v_stop_frame, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1586, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1541, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1586, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_9 = __pyx_t_11; __pyx_L57_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1545 + /* "_pydevd_sys_monitoring_cython.pyx":1590 * # This happens when handling a step into which targets a function inside a list comprehension * # or generator (in which case an intermediary frame is created due to an internal function call). * pydev_smart_parent_offset = info.pydev_smart_parent_offset # <<<<<<<<<<<<<< @@ -25311,7 +25928,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_3 = __pyx_v_info->pydev_smart_parent_offset; __pyx_v_pydev_smart_parent_offset = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1546 + /* "_pydevd_sys_monitoring_cython.pyx":1591 * # or generator (in which case an intermediary frame is created due to an internal function call). * pydev_smart_parent_offset = info.pydev_smart_parent_offset * pydev_smart_child_offset = info.pydev_smart_child_offset # <<<<<<<<<<<<<< @@ -25321,7 +25938,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_3 = __pyx_v_info->pydev_smart_child_offset; __pyx_v_pydev_smart_child_offset = __pyx_t_3; - /* "_pydevd_sys_monitoring_cython.pyx":1550 + /* "_pydevd_sys_monitoring_cython.pyx":1595 * # print('parent f_lasti', back.f_back.f_lasti) * # print('child f_lasti', back.f_lasti) * stop = False # <<<<<<<<<<<<<< @@ -25330,7 +25947,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1551 + /* "_pydevd_sys_monitoring_cython.pyx":1596 * # print('child f_lasti', back.f_lasti) * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: # <<<<<<<<<<<<<< @@ -25348,7 +25965,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L60_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1552 + /* "_pydevd_sys_monitoring_cython.pyx":1597 * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants # <<<<<<<<<<<<<< @@ -25360,7 +25977,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_v_pydev_smart_step_into_variants = ((PyObject*)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1554 + /* "_pydevd_sys_monitoring_cython.pyx":1599 * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -25378,24 +25995,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L63_bool_binop_done:; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1559 + /* "_pydevd_sys_monitoring_cython.pyx":1604 * # already -- and that's ok, so, we just check that the parent frame * # matches in this case). * smart_step_into_variant = get_smart_step_into_variant_from_frame_offset( # <<<<<<<<<<<<<< * pydev_smart_parent_offset, pydev_smart_step_into_variants * ) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1559, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1604, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":1560 + /* "_pydevd_sys_monitoring_cython.pyx":1605 * # matches in this case). * smart_step_into_variant = get_smart_step_into_variant_from_frame_offset( * pydev_smart_parent_offset, pydev_smart_step_into_variants # <<<<<<<<<<<<<< * ) * # print('matched parent offset', pydev_smart_parent_offset) */ - __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1560, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1605, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -25416,49 +26033,49 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1559, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1604, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __pyx_v_smart_step_into_variant = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1564 + /* "_pydevd_sys_monitoring_cython.pyx":1609 * # print('matched parent offset', pydev_smart_parent_offset) * # Ok, now, check the child variant * children_variants = smart_step_into_variant.children_variants # <<<<<<<<<<<<<< * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) */ - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_smart_step_into_variant, __pyx_n_s_children_variants); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1564, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_smart_step_into_variant, __pyx_n_s_children_variants); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1609, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_v_children_variants = __pyx_t_1; __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1565 + /* "_pydevd_sys_monitoring_cython.pyx":1610 * # Ok, now, check the child variant * children_variants = smart_step_into_variant.children_variants * stop = children_variants and ( # <<<<<<<<<<<<<< * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) */ - __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_v_children_variants); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1565, __pyx_L1_error) + __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_v_children_variants); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1610, __pyx_L1_error) if (__pyx_t_11) { } else { __pyx_t_9 = __pyx_t_11; goto __pyx_L65_bool_binop_done; } - /* "_pydevd_sys_monitoring_cython.pyx":1566 + /* "_pydevd_sys_monitoring_cython.pyx":1611 * children_variants = smart_step_into_variant.children_variants * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) # <<<<<<<<<<<<<< * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) * ) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1566, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_lasti); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1566, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_back, __pyx_n_s_f_lasti); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_5 = NULL; __pyx_t_6 = 0; @@ -25479,21 +26096,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1566, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1611, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } - /* "_pydevd_sys_monitoring_cython.pyx":1567 + /* "_pydevd_sys_monitoring_cython.pyx":1612 * stop = children_variants and ( * get_smart_step_into_variant_from_frame_offset(back.f_lasti, children_variants) * is get_smart_step_into_variant_from_frame_offset(pydev_smart_child_offset, children_variants) # <<<<<<<<<<<<<< * ) * # print('stop at child', stop) */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1567, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1567, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __pyx_t_10 = NULL; __pyx_t_6 = 0; @@ -25514,7 +26131,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1567, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1612, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; } @@ -25525,7 +26142,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_L65_bool_binop_done:; __pyx_v_stop = __pyx_t_9; - /* "_pydevd_sys_monitoring_cython.pyx":1554 + /* "_pydevd_sys_monitoring_cython.pyx":1599 * pydev_smart_step_into_variants = info.pydev_smart_step_into_variants * * if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<< @@ -25534,7 +26151,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1551 + /* "_pydevd_sys_monitoring_cython.pyx":1596 * # print('child f_lasti', back.f_lasti) * stop = False * if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: # <<<<<<<<<<<<<< @@ -25543,7 +26160,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1571 + /* "_pydevd_sys_monitoring_cython.pyx":1616 * # print('stop at child', stop) * * if not stop: # <<<<<<<<<<<<<< @@ -25553,7 +26170,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_t_9 = (!__pyx_v_stop); if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":1574 + /* "_pydevd_sys_monitoring_cython.pyx":1619 * # In smart step into, if we didn't hit it in this frame once, that'll * # not be the case next time either, so, disable tracing for this frame. * return # <<<<<<<<<<<<<< @@ -25564,7 +26181,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1571 + /* "_pydevd_sys_monitoring_cython.pyx":1616 * # print('stop at child', stop) * * if not stop: # <<<<<<<<<<<<<< @@ -25573,7 +26190,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1541 + /* "_pydevd_sys_monitoring_cython.pyx":1586 * return * * elif back is not None and _is_same_frame(info, stop_frame, back.f_back): # <<<<<<<<<<<<<< @@ -25583,7 +26200,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } __pyx_L43:; - /* "_pydevd_sys_monitoring_cython.pyx":1576 + /* "_pydevd_sys_monitoring_cython.pyx":1621 * return * * if stop: # <<<<<<<<<<<<<< @@ -25592,46 +26209,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ if (__pyx_v_stop) { - /* "_pydevd_sys_monitoring_cython.pyx":1577 + /* "_pydevd_sys_monitoring_cython.pyx":1622 * * if stop: * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) # <<<<<<<<<<<<<< * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_set_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_INCREF(__pyx_v_thread_info->thread); __Pyx_GIVEREF(__pyx_v_thread_info->thread); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1577, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1622, __pyx_L1_error); __Pyx_GIVEREF(__pyx_t_1); - if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1577, __pyx_L1_error); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1622, __pyx_L1_error); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_original_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_5) < 0) __PYX_ERR(0, 1577, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_5) < 0) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1577, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_7, __pyx_t_1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1622, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1578 + /* "_pydevd_sys_monitoring_cython.pyx":1623 * if stop: * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) # <<<<<<<<<<<<<< * return * */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1578, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1623, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_7 = NULL; __pyx_t_6 = 0; @@ -25651,13 +26268,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st PyObject *__pyx_callargs[6] = {__pyx_t_7, __pyx_v_py_db, ((PyObject *)__pyx_v_thread_info), __pyx_v_frame, __pyx_n_s_line, Py_None}; __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_6, 5+__pyx_t_6); __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1578, __pyx_L1_error) + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1623, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1579 + /* "_pydevd_sys_monitoring_cython.pyx":1624 * py_db.set_suspend(thread_info.thread, step_cmd, original_step_cmd=info.pydev_original_step_cmd) * _do_wait_suspend(py_db, thread_info, frame, "line", None) * return # <<<<<<<<<<<<<< @@ -25668,7 +26285,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1576 + /* "_pydevd_sys_monitoring_cython.pyx":1621 * return * * if stop: # <<<<<<<<<<<<<< @@ -25677,7 +26294,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st */ } - /* "_pydevd_sys_monitoring_cython.pyx":1506 + /* "_pydevd_sys_monitoring_cython.pyx":1551 * return * * elif step_cmd == CMD_SMART_STEP_INTO: # <<<<<<<<<<<<<< @@ -25687,7 +26304,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st } __pyx_L19:; - /* "_pydevd_sys_monitoring_cython.pyx":1387 + /* "_pydevd_sys_monitoring_cython.pyx":1432 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line): # <<<<<<<<<<<<<< @@ -25729,7 +26346,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1584 +/* "_pydevd_sys_monitoring_cython.pyx":1629 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _start_method_event(code, instruction_offset): # <<<<<<<<<<<<<< @@ -25774,7 +26391,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_start_method_event", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1597 + /* "_pydevd_sys_monitoring_cython.pyx":1642 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -25790,23 +26407,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1598 + /* "_pydevd_sys_monitoring_cython.pyx":1643 * # fmt: on * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(True, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1598, __pyx_L3_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1643, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1598, __pyx_L3_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1643, __pyx_L3_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1598, __pyx_L3_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1643, __pyx_L3_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1597 + /* "_pydevd_sys_monitoring_cython.pyx":1642 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -25822,7 +26439,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1599 + /* "_pydevd_sys_monitoring_cython.pyx":1644 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -25831,25 +26448,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._start_method_event", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1599, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1644, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_4); __Pyx_XGOTREF(__pyx_t_6); - /* "_pydevd_sys_monitoring_cython.pyx":1600 + /* "_pydevd_sys_monitoring_cython.pyx":1645 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1600, __pyx_L5_except_error) + __pyx_t_7 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1645, __pyx_L5_except_error) __Pyx_GOTREF(__pyx_t_7); - if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1600, __pyx_L5_except_error) + if (!(likely(((__pyx_t_7) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_7, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1645, __pyx_L5_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_7)); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1601 + /* "_pydevd_sys_monitoring_cython.pyx":1646 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -25859,7 +26476,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_8 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1602 + /* "_pydevd_sys_monitoring_cython.pyx":1647 * thread_info = _get_thread_info(True, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< @@ -25873,7 +26490,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; goto __pyx_L6_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1601 + /* "_pydevd_sys_monitoring_cython.pyx":1646 * except: * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -25887,7 +26504,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO goto __pyx_L4_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1597 + /* "_pydevd_sys_monitoring_cython.pyx":1642 * # ENDIF * # fmt: on * try: # <<<<<<<<<<<<<< @@ -25914,22 +26531,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_L8_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1604 + /* "_pydevd_sys_monitoring_cython.pyx":1649 * return * * py_db: object = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE */ - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1604, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1604, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1649, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_v_py_db = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1605 + /* "_pydevd_sys_monitoring_cython.pyx":1650 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -25942,15 +26559,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_8 = __pyx_t_9; goto __pyx_L13_bool_binop_done; } - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1605, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_pydb_disposed); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1650, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1605, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1650, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_9; __pyx_L13_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1606 + /* "_pydevd_sys_monitoring_cython.pyx":1651 * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -25958,16 +26575,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO * if not thread_info.trace or thread_info.thread._is_stopped: */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1606, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1651, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1606, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1651, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1605 + /* "_pydevd_sys_monitoring_cython.pyx":1650 * * py_db: object = GlobalDebuggerHolder.global_dbg * if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<< @@ -25976,40 +26593,40 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1608 + /* "_pydevd_sys_monitoring_cython.pyx":1653 * return monitor.DISABLE * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... */ - __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1608, __pyx_L1_error) + __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1653, __pyx_L1_error) __pyx_t_10 = (!__pyx_t_9); if (!__pyx_t_10) { } else { __pyx_t_8 = __pyx_t_10; goto __pyx_L16_bool_binop_done; } - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1608, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_thread_info->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1653, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1608, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1653, __pyx_L1_error) __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L16_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1611 + /* "_pydevd_sys_monitoring_cython.pyx":1656 * # For thread-related stuff we can't disable the code tracing because other * # threads may still want it... * return # <<<<<<<<<<<<<< * - * frame = _getframe(1) + * */ __Pyx_XDECREF(__pyx_r); __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1608 + /* "_pydevd_sys_monitoring_cython.pyx":1653 * return monitor.DISABLE * * if not thread_info.trace or thread_info.thread._is_stopped: # <<<<<<<<<<<<<< @@ -26018,8 +26635,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1613 - * return + /* "_pydevd_sys_monitoring_cython.pyx":1659 + * * * frame = _getframe(1) # <<<<<<<<<<<<<< * func_code_info = _get_func_code_info(code, frame) @@ -26027,24 +26644,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_t_11.__pyx_n = 1; __pyx_t_11.depth = __pyx_int_1; - __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1613, __pyx_L1_error) + __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_11); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1659, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_frame = __pyx_t_6; __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1614 + /* "_pydevd_sys_monitoring_cython.pyx":1660 * * frame = _getframe(1) * func_code_info = _get_func_code_info(code, frame) # <<<<<<<<<<<<<< * if func_code_info.always_skip_code: * # if DEBUG: */ - __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1614, __pyx_L1_error) + __pyx_t_6 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(__pyx_v_code, __pyx_v_frame, 0)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1660, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_v_func_code_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_t_6); __pyx_t_6 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1615 + /* "_pydevd_sys_monitoring_cython.pyx":1661 * frame = _getframe(1) * func_code_info = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -26053,7 +26670,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (__pyx_v_func_code_info->always_skip_code) { - /* "_pydevd_sys_monitoring_cython.pyx":1618 + /* "_pydevd_sys_monitoring_cython.pyx":1664 * # if DEBUG: * # print('disable (always skip)') * return monitor.DISABLE # <<<<<<<<<<<<<< @@ -26061,16 +26678,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1618, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1664, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1618, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1664, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; __pyx_r = __pyx_t_4; __pyx_t_4 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1615 + /* "_pydevd_sys_monitoring_cython.pyx":1661 * frame = _getframe(1) * func_code_info = _get_func_code_info(code, frame) * if func_code_info.always_skip_code: # <<<<<<<<<<<<<< @@ -26079,7 +26696,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1620 + /* "_pydevd_sys_monitoring_cython.pyx":1666 * return monitor.DISABLE * * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) # <<<<<<<<<<<<<< @@ -26088,11 +26705,11 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_t_4 = ((PyObject *)__pyx_v_thread_info->additional_info); __Pyx_INCREF(__pyx_t_4); - __pyx_t_8 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 1); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1620, __pyx_L1_error) + __pyx_t_8 = __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(__pyx_v_py_db, ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4), __pyx_v_func_code_info, __pyx_v_code, __pyx_v_frame, 1); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1666, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_keep_enabled = __pyx_t_8; - /* "_pydevd_sys_monitoring_cython.pyx":1622 + /* "_pydevd_sys_monitoring_cython.pyx":1668 * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) * * if func_code_info.function_breakpoint_found: # <<<<<<<<<<<<<< @@ -26101,7 +26718,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (__pyx_v_func_code_info->function_breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1623 + /* "_pydevd_sys_monitoring_cython.pyx":1669 * * if func_code_info.function_breakpoint_found: * bp = func_code_info.function_breakpoint # <<<<<<<<<<<<<< @@ -26113,7 +26730,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_v_bp = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1624 + /* "_pydevd_sys_monitoring_cython.pyx":1670 * if func_code_info.function_breakpoint_found: * bp = func_code_info.function_breakpoint * stop = True # <<<<<<<<<<<<<< @@ -26122,7 +26739,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1625 + /* "_pydevd_sys_monitoring_cython.pyx":1671 * bp = func_code_info.function_breakpoint * stop = True * new_frame = frame # <<<<<<<<<<<<<< @@ -26132,20 +26749,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_INCREF(__pyx_v_frame); __pyx_v_new_frame = __pyx_v_frame; - /* "_pydevd_sys_monitoring_cython.pyx":1626 + /* "_pydevd_sys_monitoring_cython.pyx":1672 * stop = True * new_frame = frame * stop_reason = CMD_SET_FUNCTION_BREAK # <<<<<<<<<<<<<< * stop_on_plugin_breakpoint = False * */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SET_FUNCTION_BREAK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1626, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SET_FUNCTION_BREAK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1672, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1626, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1672, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_stop_reason = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1627 + /* "_pydevd_sys_monitoring_cython.pyx":1673 * new_frame = frame * stop_reason = CMD_SET_FUNCTION_BREAK * stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<< @@ -26154,18 +26771,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop_on_plugin_breakpoint = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1629 + /* "_pydevd_sys_monitoring_cython.pyx":1675 * stop_on_plugin_breakpoint = False * * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-function") # <<<<<<<<<<<<<< * return * */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_kp_s_python_function); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1629, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, __pyx_kp_s_python_function); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1675, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1630 + /* "_pydevd_sys_monitoring_cython.pyx":1676 * * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-function") * return # <<<<<<<<<<<<<< @@ -26176,7 +26793,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1622 + /* "_pydevd_sys_monitoring_cython.pyx":1668 * keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) * * if func_code_info.function_breakpoint_found: # <<<<<<<<<<<<<< @@ -26185,32 +26802,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1632 + /* "_pydevd_sys_monitoring_cython.pyx":1678 * return * * if py_db.plugin: # <<<<<<<<<<<<<< * plugin_manager = py_db.plugin * */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1632, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1678, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1632, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1678, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1633 + /* "_pydevd_sys_monitoring_cython.pyx":1679 * * if py_db.plugin: * plugin_manager = py_db.plugin # <<<<<<<<<<<<<< * * # Check breaking on breakpoints in a 'call' */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1633, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_plugin); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1679, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_plugin_manager = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1636 + /* "_pydevd_sys_monitoring_cython.pyx":1682 * * # Check breaking on breakpoints in a 'call' * info = thread_info.additional_info # <<<<<<<<<<<<<< @@ -26222,7 +26839,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_v_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1637 + /* "_pydevd_sys_monitoring_cython.pyx":1683 * # Check breaking on breakpoints in a 'call' * info = thread_info.additional_info * if func_code_info.plugin_call_breakpoint_found: # <<<<<<<<<<<<<< @@ -26231,14 +26848,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ if (__pyx_v_func_code_info->plugin_call_breakpoint_found) { - /* "_pydevd_sys_monitoring_cython.pyx":1638 + /* "_pydevd_sys_monitoring_cython.pyx":1684 * info = thread_info.additional_info * if func_code_info.plugin_call_breakpoint_found: * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) # <<<<<<<<<<<<<< * if result: * stop_reason = CMD_SET_BREAK */ - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_get_breakpoint); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1638, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_plugin_manager, __pyx_n_s_get_breakpoint); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __pyx_t_5 = NULL; __pyx_t_13 = 0; @@ -26258,37 +26875,37 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO PyObject *__pyx_callargs[5] = {__pyx_t_5, __pyx_v_py_db, __pyx_v_frame, __pyx_n_s_call_2, ((PyObject *)__pyx_v_info)}; __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_13, 4+__pyx_t_13); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1638, __pyx_L1_error) + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1684, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; } __pyx_v_result = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1639 + /* "_pydevd_sys_monitoring_cython.pyx":1685 * if func_code_info.plugin_call_breakpoint_found: * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) * if result: # <<<<<<<<<<<<<< * stop_reason = CMD_SET_BREAK * stop = False */ - __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1639, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1685, __pyx_L1_error) if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1640 + /* "_pydevd_sys_monitoring_cython.pyx":1686 * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) * if result: * stop_reason = CMD_SET_BREAK # <<<<<<<<<<<<<< * stop = False * stop_on_plugin_breakpoint = True */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1640, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1686, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1640, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1686, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_v_stop_reason = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1641 + /* "_pydevd_sys_monitoring_cython.pyx":1687 * if result: * stop_reason = CMD_SET_BREAK * stop = False # <<<<<<<<<<<<<< @@ -26297,7 +26914,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1642 + /* "_pydevd_sys_monitoring_cython.pyx":1688 * stop_reason = CMD_SET_BREAK * stop = False * stop_on_plugin_breakpoint = True # <<<<<<<<<<<<<< @@ -26306,7 +26923,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_stop_on_plugin_breakpoint = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1643 + /* "_pydevd_sys_monitoring_cython.pyx":1689 * stop = False * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result # <<<<<<<<<<<<<< @@ -26319,7 +26936,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO if (unlikely(size != 3)) { if (size > 3) __Pyx_RaiseTooManyValuesError(3); else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); - __PYX_ERR(0, 1643, __pyx_L1_error) + __PYX_ERR(0, 1689, __pyx_L1_error) } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS if (likely(PyTuple_CheckExact(sequence))) { @@ -26335,16 +26952,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_INCREF(__pyx_t_6); __Pyx_INCREF(__pyx_t_5); #else - __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1643, __pyx_L1_error) + __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1643, __pyx_L1_error) + __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_5 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1643, __pyx_L1_error) + __pyx_t_5 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); #endif } else { Py_ssize_t index = -1; - __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1643, __pyx_L1_error) + __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1689, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __pyx_t_14 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); index = 0; __pyx_t_4 = __pyx_t_14(__pyx_t_7); if (unlikely(!__pyx_t_4)) goto __pyx_L23_unpacking_failed; @@ -26353,7 +26970,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_GOTREF(__pyx_t_6); index = 2; __pyx_t_5 = __pyx_t_14(__pyx_t_7); if (unlikely(!__pyx_t_5)) goto __pyx_L23_unpacking_failed; __Pyx_GOTREF(__pyx_t_5); - if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1643, __pyx_L1_error) + if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1689, __pyx_L1_error) __pyx_t_14 = NULL; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L24_unpacking_done; @@ -26361,7 +26978,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_14 = NULL; if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); - __PYX_ERR(0, 1643, __pyx_L1_error) + __PYX_ERR(0, 1689, __pyx_L1_error) __pyx_L24_unpacking_done:; } __pyx_v_bp = __pyx_t_4; @@ -26371,19 +26988,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_v_bp_type = __pyx_t_5; __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1644 + /* "_pydevd_sys_monitoring_cython.pyx":1690 * stop_on_plugin_breakpoint = True * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) # <<<<<<<<<<<<<< * return * */ - if (!(likely(PyString_CheckExact(__pyx_v_bp_type))||((__pyx_v_bp_type) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_v_bp_type))) __PYX_ERR(0, 1644, __pyx_L1_error) - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_v_bp_type)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1644, __pyx_L1_error) + if (!(likely(PyString_CheckExact(__pyx_v_bp_type))||((__pyx_v_bp_type) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_v_bp_type))) __PYX_ERR(0, 1690, __pyx_L1_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(__pyx_v_py_db, __pyx_v_thread_info, __pyx_v_stop_reason, __pyx_v_bp, __pyx_v_frame, __pyx_v_new_frame, __pyx_v_stop, __pyx_v_stop_on_plugin_breakpoint, ((PyObject*)__pyx_v_bp_type)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1690, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1645 + /* "_pydevd_sys_monitoring_cython.pyx":1691 * bp, new_frame, bp_type = result * _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, bp_type) * return # <<<<<<<<<<<<<< @@ -26394,7 +27011,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1639 + /* "_pydevd_sys_monitoring_cython.pyx":1685 * if func_code_info.plugin_call_breakpoint_found: * result = plugin_manager.get_breakpoint(py_db, frame, "call", info) * if result: # <<<<<<<<<<<<<< @@ -26403,7 +27020,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1647 + /* "_pydevd_sys_monitoring_cython.pyx":1693 * return * * keep_enabled = True # <<<<<<<<<<<<<< @@ -26412,7 +27029,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ __pyx_v_keep_enabled = 1; - /* "_pydevd_sys_monitoring_cython.pyx":1637 + /* "_pydevd_sys_monitoring_cython.pyx":1683 * # Check breaking on breakpoints in a 'call' * info = thread_info.additional_info * if func_code_info.plugin_call_breakpoint_found: # <<<<<<<<<<<<<< @@ -26421,7 +27038,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1650 + /* "_pydevd_sys_monitoring_cython.pyx":1696 * * # Check breaking on line stepping in a 'call' * step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<< @@ -26431,7 +27048,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_12 = __pyx_v_info->pydev_step_cmd; __pyx_v_step_cmd = __pyx_t_12; - /* "_pydevd_sys_monitoring_cython.pyx":1651 + /* "_pydevd_sys_monitoring_cython.pyx":1697 * # Check breaking on line stepping in a 'call' * step_cmd = info.pydev_step_cmd * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -26449,31 +27066,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_8 = __pyx_v_func_code_info->plugin_call_stepping; goto __pyx_L26_bool_binop_done; } - __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1651, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1697, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1651, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1697, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); - __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1651, __pyx_L1_error) + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_t_6, Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1697, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; - __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1651, __pyx_L1_error) + __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1697, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_8 = __pyx_t_10; __pyx_L26_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1652 + /* "_pydevd_sys_monitoring_cython.pyx":1698 * step_cmd = info.pydev_step_cmd * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: * _plugin_stepping(py_db, step_cmd, "call", frame, thread_info) # <<<<<<<<<<<<<< * return * */ - __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_n_s_call_2, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1652, __pyx_L1_error) + __pyx_t_4 = __pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(__pyx_v_py_db, __pyx_v_step_cmd, __pyx_n_s_call_2, __pyx_v_frame, __pyx_v_thread_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1698, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1653 + /* "_pydevd_sys_monitoring_cython.pyx":1699 * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: * _plugin_stepping(py_db, step_cmd, "call", frame, thread_info) * return # <<<<<<<<<<<<<< @@ -26484,7 +27101,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1651 + /* "_pydevd_sys_monitoring_cython.pyx":1697 * # Check breaking on line stepping in a 'call' * step_cmd = info.pydev_step_cmd * if step_cmd != -1 and func_code_info.plugin_call_stepping and info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<< @@ -26493,7 +27110,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1632 + /* "_pydevd_sys_monitoring_cython.pyx":1678 * return * * if py_db.plugin: # <<<<<<<<<<<<<< @@ -26502,7 +27119,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1655 + /* "_pydevd_sys_monitoring_cython.pyx":1701 * return * * if keep_enabled or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -26514,12 +27131,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_t_8 = __pyx_v_keep_enabled; goto __pyx_L30_bool_binop_done; } - __pyx_t_10 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1655, __pyx_L1_error) + __pyx_t_10 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1701, __pyx_L1_error) __pyx_t_8 = __pyx_t_10; __pyx_L30_bool_binop_done:; if (__pyx_t_8) { - /* "_pydevd_sys_monitoring_cython.pyx":1656 + /* "_pydevd_sys_monitoring_cython.pyx":1702 * * if keep_enabled or any_thread_stepping(): * return None # <<<<<<<<<<<<<< @@ -26530,7 +27147,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1655 + /* "_pydevd_sys_monitoring_cython.pyx":1701 * return * * if keep_enabled or any_thread_stepping(): # <<<<<<<<<<<<<< @@ -26539,24 +27156,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO */ } - /* "_pydevd_sys_monitoring_cython.pyx":1658 + /* "_pydevd_sys_monitoring_cython.pyx":1704 * return None * * return monitor.DISABLE # <<<<<<<<<<<<<< * - * + * # fmt: off */ __Pyx_XDECREF(__pyx_r); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1658, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1704, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1658, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1704, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_6); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_r = __pyx_t_6; __pyx_t_6 = 0; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1584 + /* "_pydevd_sys_monitoring_cython.pyx":1629 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _start_method_event(code, instruction_offset): # <<<<<<<<<<<<<< @@ -26588,7 +27205,262 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1663 +/* "_pydevd_sys_monitoring_cython.pyx":1708 + * # fmt: off + * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) + * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< + * # ELSE + * # def _ensure_monitoring(): + */ + +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_9_ensure_monitoring(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/ +static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTHON_UNUSED int __pyx_skip_dispatch) { + PyObject *__pyx_v_DEBUGGER_ID = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + unsigned int __pyx_t_4; + int __pyx_t_5; + int __pyx_t_6; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("_ensure_monitoring", 1); + + /* "_pydevd_sys_monitoring_cython.pyx":1713 + * # ENDIF + * # fmt: on + * DEBUGGER_ID = monitor.DEBUGGER_ID # <<<<<<<<<<<<<< + * if not monitor.get_tool(DEBUGGER_ID): + * monitor.use_tool_id(DEBUGGER_ID, "pydevd") + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1713, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1713, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_v_DEBUGGER_ID = __pyx_t_2; + __pyx_t_2 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1714 + * # fmt: on + * DEBUGGER_ID = monitor.DEBUGGER_ID + * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< + * monitor.use_tool_id(DEBUGGER_ID, "pydevd") + * update_monitor_events() + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1714, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1714, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = NULL; + __pyx_t_4 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_1 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_1)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_1); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_4 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_DEBUGGER_ID}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 1+__pyx_t_4); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1714, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1714, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_6 = (!__pyx_t_5); + if (__pyx_t_6) { + + /* "_pydevd_sys_monitoring_cython.pyx":1715 + * DEBUGGER_ID = monitor.DEBUGGER_ID + * if not monitor.get_tool(DEBUGGER_ID): + * monitor.use_tool_id(DEBUGGER_ID, "pydevd") # <<<<<<<<<<<<<< + * update_monitor_events() + * restart_events() + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1715, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_use_tool_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1715, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = NULL; + __pyx_t_4 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_1); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_1, function); + __pyx_t_4 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_v_DEBUGGER_ID, __pyx_n_s_pydevd}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 2+__pyx_t_4); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1715, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1716 + * if not monitor.get_tool(DEBUGGER_ID): + * monitor.use_tool_id(DEBUGGER_ID, "pydevd") + * update_monitor_events() # <<<<<<<<<<<<<< + * restart_events() + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_update_monitor_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1716, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = NULL; + __pyx_t_4 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_1); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_1, function); + __pyx_t_4 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1716, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1717 + * monitor.use_tool_id(DEBUGGER_ID, "pydevd") + * update_monitor_events() + * restart_events() # <<<<<<<<<<<<<< + * + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1717, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = NULL; + __pyx_t_4 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_1); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_1, function); + __pyx_t_4 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1717, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1714 + * # fmt: on + * DEBUGGER_ID = monitor.DEBUGGER_ID + * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< + * monitor.use_tool_id(DEBUGGER_ID, "pydevd") + * update_monitor_events() + */ + } + + /* "_pydevd_sys_monitoring_cython.pyx":1708 + * # fmt: off + * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) + * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< + * # ELSE + * # def _ensure_monitoring(): + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._ensure_monitoring", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_DEBUGGER_ID); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_9_ensure_monitoring(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/ +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_9_ensure_monitoring = {"_ensure_monitoring", (PyCFunction)__pyx_pw_29_pydevd_sys_monitoring_cython_9_ensure_monitoring, METH_NOARGS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_9_ensure_monitoring(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("_ensure_monitoring (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_8_ensure_monitoring(__pyx_self); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8_ensure_monitoring(CYTHON_UNUSED PyObject *__pyx_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("_ensure_monitoring", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1708, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._ensure_monitoring", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "_pydevd_sys_monitoring_cython.pyx":1722 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< @@ -26596,7 +27468,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO * # ELSE */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_9start_monitoring(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_11start_monitoring(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -26629,7 +27501,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON } } - /* "_pydevd_sys_monitoring_cython.pyx":1669 + /* "_pydevd_sys_monitoring_cython.pyx":1728 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< @@ -26638,31 +27510,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON */ if (__pyx_v_all_threads) { - /* "_pydevd_sys_monitoring_cython.pyx":1671 + /* "_pydevd_sys_monitoring_cython.pyx":1730 * if all_threads: * # print('start monitoring, all_threads=', all_threads) * DEBUGGER_ID = monitor.DEBUGGER_ID # <<<<<<<<<<<<<< * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1671, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1671, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1730, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_DEBUGGER_ID = __pyx_t_2; __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1672 + /* "_pydevd_sys_monitoring_cython.pyx":1731 * # print('start monitoring, all_threads=', all_threads) * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1672, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1672, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -26683,25 +27555,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_DEBUGGER_ID}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 1+__pyx_t_4); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1672, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1731, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } - __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1672, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1731, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_6 = (!__pyx_t_5); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1673 + /* "_pydevd_sys_monitoring_cython.pyx":1732 * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") # <<<<<<<<<<<<<< * update_monitor_events() * restart_events() */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1673, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1732, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_use_tool_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1673, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_use_tool_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1732, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -26722,20 +27594,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_v_DEBUGGER_ID, __pyx_n_s_pydevd}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 2+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1673, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1732, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1674 + /* "_pydevd_sys_monitoring_cython.pyx":1733 * if not monitor.get_tool(DEBUGGER_ID): * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() # <<<<<<<<<<<<<< * restart_events() * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_update_monitor_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1674, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_update_monitor_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1733, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; __pyx_t_4 = 0; @@ -26755,20 +27627,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1674, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1733, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1675 + /* "_pydevd_sys_monitoring_cython.pyx":1734 * monitor.use_tool_id(DEBUGGER_ID, "pydevd") * update_monitor_events() * restart_events() # <<<<<<<<<<<<<< * else: * try: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1675, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1734, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_3 = NULL; __pyx_t_4 = 0; @@ -26788,13 +27660,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL}; __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1675, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1734, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1672 + /* "_pydevd_sys_monitoring_cython.pyx":1731 * # print('start monitoring, all_threads=', all_threads) * DEBUGGER_ID = monitor.DEBUGGER_ID * if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<< @@ -26803,7 +27675,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON */ } - /* "_pydevd_sys_monitoring_cython.pyx":1669 + /* "_pydevd_sys_monitoring_cython.pyx":1728 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< @@ -26813,7 +27685,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":1677 + /* "_pydevd_sys_monitoring_cython.pyx":1736 * restart_events() * else: * try: # <<<<<<<<<<<<<< @@ -26830,23 +27702,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __Pyx_XGOTREF(__pyx_t_9); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1678 + /* "_pydevd_sys_monitoring_cython.pyx":1737 * else: * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * # code=None means we can already get the threading.current_thread. */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1678, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1737, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1678, __pyx_L5_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1737, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1678, __pyx_L5_error) + if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1737, __pyx_L5_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1677 + /* "_pydevd_sys_monitoring_cython.pyx":1736 * restart_events() * else: * try: # <<<<<<<<<<<<<< @@ -26863,7 +27735,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1679 + /* "_pydevd_sys_monitoring_cython.pyx":1738 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -26872,25 +27744,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.start_monitoring", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3) < 0) __PYX_ERR(0, 1679, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3) < 0) __PYX_ERR(0, 1738, __pyx_L7_except_error) __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_3); - /* "_pydevd_sys_monitoring_cython.pyx":1681 + /* "_pydevd_sys_monitoring_cython.pyx":1740 * except: * # code=None means we can already get the threading.current_thread. * thread_info = _get_thread_info(True, 1) # <<<<<<<<<<<<<< * if thread_info is None: * # print('start monitoring, thread=', None) */ - __pyx_t_10 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1681, __pyx_L7_except_error) + __pyx_t_10 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(1, 1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1740, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_10); - if (!(likely(((__pyx_t_10) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_10, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1681, __pyx_L7_except_error) + if (!(likely(((__pyx_t_10) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_10, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1740, __pyx_L7_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_10)); __pyx_t_10 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1682 + /* "_pydevd_sys_monitoring_cython.pyx":1741 * # code=None means we can already get the threading.current_thread. * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -26900,7 +27772,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_t_6 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1684 + /* "_pydevd_sys_monitoring_cython.pyx":1743 * if thread_info is None: * # print('start monitoring, thread=', None) * return # <<<<<<<<<<<<<< @@ -26914,7 +27786,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; goto __pyx_L8_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1682 + /* "_pydevd_sys_monitoring_cython.pyx":1741 * # code=None means we can already get the threading.current_thread. * thread_info = _get_thread_info(True, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -26928,7 +27800,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON goto __pyx_L6_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1677 + /* "_pydevd_sys_monitoring_cython.pyx":1736 * restart_events() * else: * try: # <<<<<<<<<<<<<< @@ -26955,7 +27827,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON __pyx_L10_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1686 + /* "_pydevd_sys_monitoring_cython.pyx":1745 * return * # print('start monitoring, thread=', thread_info.thread) * thread_info.trace = True # <<<<<<<<<<<<<< @@ -26970,7 +27842,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":1663 + /* "_pydevd_sys_monitoring_cython.pyx":1722 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< @@ -26997,15 +27869,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON } /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_9start_monitoring(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_11start_monitoring(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_9start_monitoring = {"start_monitoring", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_9start_monitoring, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_9start_monitoring(PyObject *__pyx_self, +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_11start_monitoring = {"start_monitoring", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_11start_monitoring, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_11start_monitoring(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -27048,12 +27920,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds if (kw_args > 0) { PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_all_threads); if (value) { values[0] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1663, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1722, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "start_monitoring") < 0)) __PYX_ERR(0, 1663, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "start_monitoring") < 0)) __PYX_ERR(0, 1722, __pyx_L3_error) } } else { switch (__pyx_nargs) { @@ -27064,14 +27936,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } } if (values[0]) { - __pyx_v_all_threads = __Pyx_PyObject_IsTrue(values[0]); if (unlikely((__pyx_v_all_threads == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1663, __pyx_L3_error) + __pyx_v_all_threads = __Pyx_PyObject_IsTrue(values[0]); if (unlikely((__pyx_v_all_threads == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1722, __pyx_L3_error) } else { __pyx_v_all_threads = ((int)0); } } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("start_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1663, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("start_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1722, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -27085,7 +27957,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_8start_monitoring(__pyx_self, __pyx_v_all_threads); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_10start_monitoring(__pyx_self, __pyx_v_all_threads); /* function exit code */ { @@ -27098,7 +27970,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8start_monitoring(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_all_threads) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10start_monitoring(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_all_threads) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; @@ -27110,7 +27982,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8start_monitoring(CYTH __Pyx_XDECREF(__pyx_r); __pyx_t_2.__pyx_n = 1; __pyx_t_2.all_threads = __pyx_v_all_threads; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1663, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1722, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -27127,7 +27999,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8start_monitoring(CYTH return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1691 +/* "_pydevd_sys_monitoring_cython.pyx":1750 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< @@ -27135,7 +28007,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8start_monitoring(CYTH * # ELSE */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_11stop_monitoring(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13stop_monitoring(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -27167,31 +28039,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ } } - /* "_pydevd_sys_monitoring_cython.pyx":1697 + /* "_pydevd_sys_monitoring_cython.pyx":1756 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": */ - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_all_threads); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1697, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_all_threads); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1756, __pyx_L1_error) if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1699 + /* "_pydevd_sys_monitoring_cython.pyx":1758 * if all_threads: * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": # <<<<<<<<<<<<<< * monitor.set_events(monitor.DEBUGGER_ID, 0) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1699, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1758, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1699, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1758, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1699, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1758, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1699, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1758, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_3 = NULL; @@ -27213,29 +28085,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1699, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1758, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } - __pyx_t_1 = (__Pyx_PyString_Equals(__pyx_t_2, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1699, __pyx_L1_error) + __pyx_t_1 = (__Pyx_PyString_Equals(__pyx_t_2, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1758, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1700 + /* "_pydevd_sys_monitoring_cython.pyx":1759 * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": * monitor.set_events(monitor.DEBUGGER_ID, 0) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1700, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_set_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1700, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_set_events); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1700, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1700, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __pyx_t_4 = NULL; @@ -27257,32 +28129,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1700, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1759, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1701 + /* "_pydevd_sys_monitoring_cython.pyx":1760 * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": * monitor.set_events(monitor.DEBUGGER_ID, 0) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1701, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1701, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1701, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1701, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1701, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1701, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -27305,32 +28177,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1701, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1760, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1702 + /* "_pydevd_sys_monitoring_cython.pyx":1761 * monitor.set_events(monitor.DEBUGGER_ID, 0) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1702, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1702, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1702, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1702, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1702, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_PY_RESUME); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1702, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_PY_RESUME); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -27353,32 +28225,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1702, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1761, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1703 + /* "_pydevd_sys_monitoring_cython.pyx":1762 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1703, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1703, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1703, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1703, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1703, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_LINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1703, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_LINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -27401,32 +28273,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1703, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1762, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1704 + /* "_pydevd_sys_monitoring_cython.pyx":1763 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1704, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1704, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1704, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1704, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1704, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1704, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -27449,32 +28321,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1704, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1763, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1705 + /* "_pydevd_sys_monitoring_cython.pyx":1764 * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) * monitor.free_tool_id(monitor.DEBUGGER_ID) */ - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1705, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1705, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1705, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1705, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1705, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1705, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -27497,32 +28369,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1705, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1764, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1706 + /* "_pydevd_sys_monitoring_cython.pyx":1765 * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) # <<<<<<<<<<<<<< * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1706, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1706, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1706, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1706, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1706, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1706, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; __pyx_t_7 = NULL; @@ -27545,27 +28417,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1706, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1765, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1707 + /* "_pydevd_sys_monitoring_cython.pyx":1766 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) * monitor.free_tool_id(monitor.DEBUGGER_ID) # <<<<<<<<<<<<<< * else: * try: */ - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1707, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_free_tool_id); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1707, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_free_tool_id); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1707, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1707, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __pyx_t_5 = NULL; @@ -27587,13 +28459,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 1+__pyx_t_6); __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1707, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1766, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1699 + /* "_pydevd_sys_monitoring_cython.pyx":1758 * if all_threads: * # print('stop monitoring, all_threads=', all_threads) * if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": # <<<<<<<<<<<<<< @@ -27602,7 +28474,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1697 + /* "_pydevd_sys_monitoring_cython.pyx":1756 * # ENDIF * # fmt: on * if all_threads: # <<<<<<<<<<<<<< @@ -27612,7 +28484,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ goto __pyx_L3; } - /* "_pydevd_sys_monitoring_cython.pyx":1709 + /* "_pydevd_sys_monitoring_cython.pyx":1768 * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: * try: # <<<<<<<<<<<<<< @@ -27629,23 +28501,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XGOTREF(__pyx_t_10); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1710 + /* "_pydevd_sys_monitoring_cython.pyx":1769 * else: * try: * thread_info = _thread_local_info.thread_info # <<<<<<<<<<<<<< * except: * thread_info = _get_thread_info(False, 1) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1710, __pyx_L5_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1769, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1710, __pyx_L5_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_thread_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1769, __pyx_L5_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1710, __pyx_L5_error) + if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1769, __pyx_L5_error) __pyx_v_thread_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1709 + /* "_pydevd_sys_monitoring_cython.pyx":1768 * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: * try: # <<<<<<<<<<<<<< @@ -27664,7 +28536,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1711 + /* "_pydevd_sys_monitoring_cython.pyx":1770 * try: * thread_info = _thread_local_info.thread_info * except: # <<<<<<<<<<<<<< @@ -27673,25 +28545,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ */ /*except:*/ { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.stop_monitoring", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 1711, __pyx_L7_except_error) + if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 1770, __pyx_L7_except_error) __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_2); __Pyx_XGOTREF(__pyx_t_4); - /* "_pydevd_sys_monitoring_cython.pyx":1712 + /* "_pydevd_sys_monitoring_cython.pyx":1771 * thread_info = _thread_local_info.thread_info * except: * thread_info = _get_thread_info(False, 1) # <<<<<<<<<<<<<< * if thread_info is None: * return */ - __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1712, __pyx_L7_except_error) + __pyx_t_5 = __pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1771, __pyx_L7_except_error) __Pyx_GOTREF(__pyx_t_5); - if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1712, __pyx_L7_except_error) + if (!(likely(((__pyx_t_5) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_5, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo))))) __PYX_ERR(0, 1771, __pyx_L7_except_error) __Pyx_XDECREF_SET(__pyx_v_thread_info, ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_t_5)); __pyx_t_5 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1713 + /* "_pydevd_sys_monitoring_cython.pyx":1772 * except: * thread_info = _get_thread_info(False, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -27701,7 +28573,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_t_1 = (((PyObject *)__pyx_v_thread_info) == Py_None); if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1714 + /* "_pydevd_sys_monitoring_cython.pyx":1773 * thread_info = _get_thread_info(False, 1) * if thread_info is None: * return # <<<<<<<<<<<<<< @@ -27715,7 +28587,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; goto __pyx_L8_except_return; - /* "_pydevd_sys_monitoring_cython.pyx":1713 + /* "_pydevd_sys_monitoring_cython.pyx":1772 * except: * thread_info = _get_thread_info(False, 1) * if thread_info is None: # <<<<<<<<<<<<<< @@ -27729,7 +28601,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ goto __pyx_L6_exception_handled; } - /* "_pydevd_sys_monitoring_cython.pyx":1709 + /* "_pydevd_sys_monitoring_cython.pyx":1768 * monitor.free_tool_id(monitor.DEBUGGER_ID) * else: * try: # <<<<<<<<<<<<<< @@ -27756,7 +28628,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ __pyx_L10_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1716 + /* "_pydevd_sys_monitoring_cython.pyx":1775 * return * # print('stop monitoring, thread=', thread_info.thread) * thread_info.trace = False # <<<<<<<<<<<<<< @@ -27771,7 +28643,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ } __pyx_L3:; - /* "_pydevd_sys_monitoring_cython.pyx":1691 + /* "_pydevd_sys_monitoring_cython.pyx":1750 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< @@ -27798,15 +28670,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_ } /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_11stop_monitoring(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13stop_monitoring(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_11stop_monitoring = {"stop_monitoring", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_11stop_monitoring, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_11stop_monitoring(PyObject *__pyx_self, +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_13stop_monitoring = {"stop_monitoring", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13stop_monitoring, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13stop_monitoring(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -27850,12 +28722,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds if (kw_args > 0) { PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_all_threads); if (value) { values[0] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1691, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1750, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "stop_monitoring") < 0)) __PYX_ERR(0, 1691, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "stop_monitoring") < 0)) __PYX_ERR(0, 1750, __pyx_L3_error) } } else { switch (__pyx_nargs) { @@ -27869,7 +28741,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("stop_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1691, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("stop_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1750, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -27883,7 +28755,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_10stop_monitoring(__pyx_self, __pyx_v_all_threads); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_12stop_monitoring(__pyx_self, __pyx_v_all_threads); /* function exit code */ { @@ -27896,7 +28768,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10stop_monitoring(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_all_threads) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12stop_monitoring(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_all_threads) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; @@ -27908,7 +28780,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10stop_monitoring(CYTH __Pyx_XDECREF(__pyx_r); __pyx_t_2.__pyx_n = 1; __pyx_t_2.all_threads = __pyx_v_all_threads; - __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1691, __pyx_L1_error) + __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1750, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; @@ -27925,7 +28797,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10stop_monitoring(CYTH return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1719 +/* "_pydevd_sys_monitoring_cython.pyx":1778 * * * def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<< @@ -27934,16 +28806,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10stop_monitoring(CYTH */ /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13update_monitor_events(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15update_monitor_events(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -PyDoc_STRVAR(__pyx_doc_29_pydevd_sys_monitoring_cython_12update_monitor_events, "\n This should be called when breakpoints change.\n\n :param suspend: means the user requested threads to be suspended\n "); -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_13update_monitor_events = {"update_monitor_events", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13update_monitor_events, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_29_pydevd_sys_monitoring_cython_12update_monitor_events}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13update_monitor_events(PyObject *__pyx_self, +PyDoc_STRVAR(__pyx_doc_29_pydevd_sys_monitoring_cython_14update_monitor_events, "\n This should be called when breakpoints change.\n\n :param suspend: means the user requested threads to be suspended\n "); +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_15update_monitor_events = {"update_monitor_events", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_15update_monitor_events, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_29_pydevd_sys_monitoring_cython_14update_monitor_events}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15update_monitor_events(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -27987,12 +28859,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds if (kw_args > 0) { PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_suspend_requested); if (value) { values[0] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1719, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1778, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "update_monitor_events") < 0)) __PYX_ERR(0, 1719, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "update_monitor_events") < 0)) __PYX_ERR(0, 1778, __pyx_L3_error) } } else { switch (__pyx_nargs) { @@ -28006,7 +28878,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("update_monitor_events", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1719, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("update_monitor_events", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1778, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -28020,7 +28892,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_events(__pyx_self, __pyx_v_suspend_requested); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_events(__pyx_self, __pyx_v_suspend_requested); /* function exit code */ { @@ -28033,7 +28905,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_events(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_suspend_requested) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_events(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_suspend_requested) { PyObject *__pyx_v_py_db = NULL; PyObject *__pyx_v_t = NULL; PyObject *__pyx_v_additional_info = NULL; @@ -28068,21 +28940,21 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_RefNannySetupContext("update_monitor_events", 0); __Pyx_INCREF(__pyx_v_suspend_requested); - /* "_pydevd_sys_monitoring_cython.pyx":1725 + /* "_pydevd_sys_monitoring_cython.pyx":1784 * :param suspend: means the user requested threads to be suspended * """ * if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": # <<<<<<<<<<<<<< * # It is still not initialized. * return */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1725, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1725, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1725, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1725, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -28104,15 +28976,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1725, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } - __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_1, __pyx_n_s_pydevd, Py_NE)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1725, __pyx_L1_error) + __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_1, __pyx_n_s_pydevd, Py_NE)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1784, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1727 + /* "_pydevd_sys_monitoring_cython.pyx":1786 * if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": * # It is still not initialized. * return # <<<<<<<<<<<<<< @@ -28123,7 +28995,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1725 + /* "_pydevd_sys_monitoring_cython.pyx":1784 * :param suspend: means the user requested threads to be suspended * """ * if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": # <<<<<<<<<<<<<< @@ -28132,22 +29004,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1731 + /* "_pydevd_sys_monitoring_cython.pyx":1790 * # When breakpoints change we need to update what we want to track based * # on the breakpoints. * py_db = GlobalDebuggerHolder.global_dbg # <<<<<<<<<<<<<< * if py_db is None: * return */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1731, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1731, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_global_dbg); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1790, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_v_py_db = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1732 + /* "_pydevd_sys_monitoring_cython.pyx":1791 * # on the breakpoints. * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -28157,7 +29029,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_6 = (__pyx_v_py_db == Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1733 + /* "_pydevd_sys_monitoring_cython.pyx":1792 * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: * return # <<<<<<<<<<<<<< @@ -28168,7 +29040,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1732 + /* "_pydevd_sys_monitoring_cython.pyx":1791 * # on the breakpoints. * py_db = GlobalDebuggerHolder.global_dbg * if py_db is None: # <<<<<<<<<<<<<< @@ -28177,7 +29049,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1735 + /* "_pydevd_sys_monitoring_cython.pyx":1794 * return * * if suspend_requested is None: # <<<<<<<<<<<<<< @@ -28187,7 +29059,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_6 = (__pyx_v_suspend_requested == Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1736 + /* "_pydevd_sys_monitoring_cython.pyx":1795 * * if suspend_requested is None: * suspend_requested = False # <<<<<<<<<<<<<< @@ -28197,16 +29069,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_INCREF(Py_False); __Pyx_DECREF_SET(__pyx_v_suspend_requested, Py_False); - /* "_pydevd_sys_monitoring_cython.pyx":1738 + /* "_pydevd_sys_monitoring_cython.pyx":1797 * suspend_requested = False * * for t in threading.enumerate(): # <<<<<<<<<<<<<< * if getattr(t, "pydev_do_not_trace", False): * continue */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1738, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_enumerate); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_enumerate); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -28227,7 +29099,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL}; __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5); __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1738, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } @@ -28236,9 +29108,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_7 = 0; __pyx_t_8 = NULL; } else { - __pyx_t_7 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_7 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_8 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_8 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1797, __pyx_L1_error) } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; for (;;) { @@ -28247,28 +29119,28 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event { Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4); #if !CYTHON_ASSUME_SAFE_MACROS - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1738, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1797, __pyx_L1_error) #endif if (__pyx_t_7 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_3 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 1797, __pyx_L1_error) #else - __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif } else { { Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4); #if !CYTHON_ASSUME_SAFE_MACROS - if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1738, __pyx_L1_error) + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1797, __pyx_L1_error) #endif if (__pyx_t_7 >= __pyx_temp) break; } #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS - __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_7); __Pyx_INCREF(__pyx_t_3); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 1797, __pyx_L1_error) #else - __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1738, __pyx_L1_error) + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); #endif } @@ -28278,7 +29150,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event PyObject* exc_type = PyErr_Occurred(); if (exc_type) { if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); - else __PYX_ERR(0, 1738, __pyx_L1_error) + else __PYX_ERR(0, 1797, __pyx_L1_error) } break; } @@ -28287,20 +29159,20 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1739 + /* "_pydevd_sys_monitoring_cython.pyx":1798 * * for t in threading.enumerate(): * if getattr(t, "pydev_do_not_trace", False): # <<<<<<<<<<<<<< * continue * try: */ - __pyx_t_3 = __Pyx_GetAttr3(__pyx_v_t, __pyx_n_s_pydev_do_not_trace, Py_False); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1739, __pyx_L1_error) + __pyx_t_3 = __Pyx_GetAttr3(__pyx_v_t, __pyx_n_s_pydev_do_not_trace, Py_False); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1798, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1739, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1798, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1740 + /* "_pydevd_sys_monitoring_cython.pyx":1799 * for t in threading.enumerate(): * if getattr(t, "pydev_do_not_trace", False): * continue # <<<<<<<<<<<<<< @@ -28309,7 +29181,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ goto __pyx_L6_continue; - /* "_pydevd_sys_monitoring_cython.pyx":1739 + /* "_pydevd_sys_monitoring_cython.pyx":1798 * * for t in threading.enumerate(): * if getattr(t, "pydev_do_not_trace", False): # <<<<<<<<<<<<<< @@ -28318,7 +29190,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1741 + /* "_pydevd_sys_monitoring_cython.pyx":1800 * if getattr(t, "pydev_do_not_trace", False): * continue * try: # <<<<<<<<<<<<<< @@ -28334,19 +29206,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XGOTREF(__pyx_t_11); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":1742 + /* "_pydevd_sys_monitoring_cython.pyx":1801 * continue * try: * additional_info = t.additional_info # <<<<<<<<<<<<<< * if additional_info is None: * # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_n_s_additional_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1742, __pyx_L9_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_t, __pyx_n_s_additional_info); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1801, __pyx_L9_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1743 + /* "_pydevd_sys_monitoring_cython.pyx":1802 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -28356,7 +29228,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_6 = (__pyx_v_additional_info == Py_None); if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1745 + /* "_pydevd_sys_monitoring_cython.pyx":1804 * if additional_info is None: * # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping * continue # <<<<<<<<<<<<<< @@ -28365,7 +29237,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ goto __pyx_L15_try_continue; - /* "_pydevd_sys_monitoring_cython.pyx":1743 + /* "_pydevd_sys_monitoring_cython.pyx":1802 * try: * additional_info = t.additional_info * if additional_info is None: # <<<<<<<<<<<<<< @@ -28374,7 +29246,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1741 + /* "_pydevd_sys_monitoring_cython.pyx":1800 * if getattr(t, "pydev_do_not_trace", False): * continue * try: # <<<<<<<<<<<<<< @@ -28391,7 +29263,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1746 + /* "_pydevd_sys_monitoring_cython.pyx":1805 * # i.e.: if we don't have it then it makes no sense to check if it was suspended or is stepping * continue * except AttributeError: # <<<<<<<<<<<<<< @@ -28401,12 +29273,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_12 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_AttributeError); if (__pyx_t_12) { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.update_monitor_events", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 1746, __pyx_L11_except_error) + if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 1805, __pyx_L11_except_error) __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_1); __Pyx_XGOTREF(__pyx_t_2); - /* "_pydevd_sys_monitoring_cython.pyx":1747 + /* "_pydevd_sys_monitoring_cython.pyx":1806 * continue * except AttributeError: * continue # <<<<<<<<<<<<<< @@ -28422,7 +29294,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event } goto __pyx_L11_except_error; - /* "_pydevd_sys_monitoring_cython.pyx":1741 + /* "_pydevd_sys_monitoring_cython.pyx":1800 * if getattr(t, "pydev_do_not_trace", False): * continue * try: # <<<<<<<<<<<<<< @@ -28444,31 +29316,31 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_L16_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":1748 + /* "_pydevd_sys_monitoring_cython.pyx":1807 * except AttributeError: * continue * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: # <<<<<<<<<<<<<< * suspend_requested = True * break */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_n_s_pydev_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1748, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_n_s_pydev_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_13 = (__Pyx_PyInt_BoolNeObjC(__pyx_t_2, __pyx_int_neg_1, -1L, 0)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1748, __pyx_L1_error) + __pyx_t_13 = (__Pyx_PyInt_BoolNeObjC(__pyx_t_2, __pyx_int_neg_1, -1L, 0)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; if (!__pyx_t_13) { } else { __pyx_t_6 = __pyx_t_13; goto __pyx_L21_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_n_s_pydev_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1748, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_additional_info, __pyx_n_s_pydev_state); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_13 = (__Pyx_PyInt_BoolEqObjC(__pyx_t_2, __pyx_int_2, 2, 0)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1748, __pyx_L1_error) + __pyx_t_13 = (__Pyx_PyInt_BoolEqObjC(__pyx_t_2, __pyx_int_2, 2, 0)); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1807, __pyx_L1_error) __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_6 = __pyx_t_13; __pyx_L21_bool_binop_done:; if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1749 + /* "_pydevd_sys_monitoring_cython.pyx":1808 * continue * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: * suspend_requested = True # <<<<<<<<<<<<<< @@ -28478,7 +29350,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_INCREF(Py_True); __Pyx_DECREF_SET(__pyx_v_suspend_requested, Py_True); - /* "_pydevd_sys_monitoring_cython.pyx":1750 + /* "_pydevd_sys_monitoring_cython.pyx":1809 * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: * suspend_requested = True * break # <<<<<<<<<<<<<< @@ -28487,7 +29359,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ goto __pyx_L7_break; - /* "_pydevd_sys_monitoring_cython.pyx":1748 + /* "_pydevd_sys_monitoring_cython.pyx":1807 * except AttributeError: * continue * if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: # <<<<<<<<<<<<<< @@ -28496,7 +29368,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1738 + /* "_pydevd_sys_monitoring_cython.pyx":1797 * suspend_requested = False * * for t in threading.enumerate(): # <<<<<<<<<<<<<< @@ -28512,7 +29384,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event goto __pyx_L23_for_end; __pyx_L23_for_end:; - /* "_pydevd_sys_monitoring_cython.pyx":1735 + /* "_pydevd_sys_monitoring_cython.pyx":1794 * return * * if suspend_requested is None: # <<<<<<<<<<<<<< @@ -28521,7 +29393,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1752 + /* "_pydevd_sys_monitoring_cython.pyx":1811 * break * * required_events = 0 # <<<<<<<<<<<<<< @@ -28531,16 +29403,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_INCREF(__pyx_int_0); __pyx_v_required_events = __pyx_int_0; - /* "_pydevd_sys_monitoring_cython.pyx":1755 + /* "_pydevd_sys_monitoring_cython.pyx":1814 * * has_caught_exception_breakpoint_in_pydb = ( * py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks # <<<<<<<<<<<<<< * ) * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_caught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_caught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1814, __pyx_L1_error) if (!__pyx_t_6) { __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } else { @@ -28549,9 +29421,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L24_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1814, __pyx_L1_error) if (!__pyx_t_6) { __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } else { @@ -28560,7 +29432,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; goto __pyx_L24_bool_binop_done; } - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_exception_breaks); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1755, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_exception_breaks); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1814, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_INCREF(__pyx_t_2); __pyx_t_4 = __pyx_t_2; @@ -28569,84 +29441,84 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_v_has_caught_exception_breakpoint_in_pydb = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1758 + /* "_pydevd_sys_monitoring_cython.pyx":1817 * ) * * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions # <<<<<<<<<<<<<< * * if has_caught_exception_breakpoint_in_pydb: */ - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1758, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_break_on_uncaught_exceptions); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1817, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_v_break_on_uncaught_exceptions = __pyx_t_4; __pyx_t_4 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1760 + /* "_pydevd_sys_monitoring_cython.pyx":1819 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< * required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND * # print('track RAISE') */ - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1760, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1819, __pyx_L1_error) if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1761 + /* "_pydevd_sys_monitoring_cython.pyx":1820 * * if has_caught_exception_breakpoint_in_pydb: * required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND # <<<<<<<<<<<<<< * # print('track RAISE') * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1761, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1761, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1761, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1761, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1761, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1761, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyNumber_Or(__pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1761, __pyx_L1_error) + __pyx_t_1 = PyNumber_Or(__pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1761, __pyx_L1_error) + __pyx_t_2 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1820, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF_SET(__pyx_v_required_events, __pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1763 + /* "_pydevd_sys_monitoring_cython.pyx":1822 * required_events |= monitor.events.RAISE | monitor.events.PY_UNWIND * # print('track RAISE') * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1763, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1763, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1763, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1763, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1763, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1763, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_14 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__raise_event); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1763, __pyx_L1_error) + __pyx_t_14 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__raise_event); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -28669,35 +29541,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1763, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1822, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1764 + /* "_pydevd_sys_monitoring_cython.pyx":1823 * # print('track RAISE') * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, _raise_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) # <<<<<<<<<<<<<< * else: * if break_on_uncaught_exceptions: */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1764, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1764, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1764, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1764, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1764, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1764, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1764, __pyx_L1_error) + __pyx_t_1 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -28720,13 +29592,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1764, __pyx_L1_error) + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1823, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1760 + /* "_pydevd_sys_monitoring_cython.pyx":1819 * break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions * * if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<< @@ -28736,7 +29608,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event goto __pyx_L27; } - /* "_pydevd_sys_monitoring_cython.pyx":1766 + /* "_pydevd_sys_monitoring_cython.pyx":1825 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< @@ -28744,53 +29616,53 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) */ /*else*/ { - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1766, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1825, __pyx_L1_error) if (__pyx_t_6) { - /* "_pydevd_sys_monitoring_cython.pyx":1767 + /* "_pydevd_sys_monitoring_cython.pyx":1826 * else: * if break_on_uncaught_exceptions: * required_events |= monitor.events.PY_UNWIND # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1767, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1767, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1767, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_14 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1767, __pyx_L1_error) + __pyx_t_14 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1826, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF_SET(__pyx_v_required_events, __pyx_t_14); __pyx_t_14 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1768 + /* "_pydevd_sys_monitoring_cython.pyx":1827 * if break_on_uncaught_exceptions: * required_events |= monitor.events.PY_UNWIND * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) # <<<<<<<<<<<<<< * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1768, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1768, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1768, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1768, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1768, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1768, __pyx_L1_error) + __pyx_t_4 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -28813,13 +29685,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1768, __pyx_L1_error) + if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1827, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1766 + /* "_pydevd_sys_monitoring_cython.pyx":1825 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: * if break_on_uncaught_exceptions: # <<<<<<<<<<<<<< @@ -28829,7 +29701,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event goto __pyx_L28; } - /* "_pydevd_sys_monitoring_cython.pyx":1770 + /* "_pydevd_sys_monitoring_cython.pyx":1829 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event) * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) # <<<<<<<<<<<<<< @@ -28837,19 +29709,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event * */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1770, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1770, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1770, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1770, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1770, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1770, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -28872,32 +29744,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1770, __pyx_L1_error) + if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1829, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1771 + /* "_pydevd_sys_monitoring_cython.pyx":1830 * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, None) # <<<<<<<<<<<<<< * * has_breaks = py_db.has_plugin_line_breaks */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1771, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1771, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1771, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1771, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1771, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1771, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_PY_UNWIND); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -28920,7 +29792,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1771, __pyx_L1_error) + if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1830, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } @@ -28930,43 +29802,43 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event } __pyx_L27:; - /* "_pydevd_sys_monitoring_cython.pyx":1773 + /* "_pydevd_sys_monitoring_cython.pyx":1832 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, None) * * has_breaks = py_db.has_plugin_line_breaks # <<<<<<<<<<<<<< * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: */ - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_line_breaks); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1773, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_has_plugin_line_breaks); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1832, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __pyx_v_has_breaks = __pyx_t_14; __pyx_t_14 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1774 + /* "_pydevd_sys_monitoring_cython.pyx":1833 * * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: # <<<<<<<<<<<<<< * if py_db.function_breakpoint_name_to_breakpoint: * has_breaks = True */ - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1774, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1833, __pyx_L1_error) __pyx_t_13 = (!__pyx_t_6); if (__pyx_t_13) { - /* "_pydevd_sys_monitoring_cython.pyx":1775 + /* "_pydevd_sys_monitoring_cython.pyx":1834 * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: # <<<<<<<<<<<<<< * has_breaks = True * else: */ - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_function_breakpoint_name_to_brea); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1775, __pyx_L1_error) + __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1834, __pyx_L1_error) __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; if (__pyx_t_13) { - /* "_pydevd_sys_monitoring_cython.pyx":1776 + /* "_pydevd_sys_monitoring_cython.pyx":1835 * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: * has_breaks = True # <<<<<<<<<<<<<< @@ -28976,7 +29848,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_INCREF(Py_True); __Pyx_DECREF_SET(__pyx_v_has_breaks, Py_True); - /* "_pydevd_sys_monitoring_cython.pyx":1775 + /* "_pydevd_sys_monitoring_cython.pyx":1834 * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: * if py_db.function_breakpoint_name_to_breakpoint: # <<<<<<<<<<<<<< @@ -28986,7 +29858,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event goto __pyx_L30; } - /* "_pydevd_sys_monitoring_cython.pyx":1778 + /* "_pydevd_sys_monitoring_cython.pyx":1837 * has_breaks = True * else: * file_to_line_to_breakpoints = py_db.breakpoints # <<<<<<<<<<<<<< @@ -28994,12 +29866,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event * if line_to_breakpoints: */ /*else*/ { - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_breakpoints); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1778, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_breakpoints); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __pyx_v_file_to_line_to_breakpoints = __pyx_t_14; __pyx_t_14 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1779 + /* "_pydevd_sys_monitoring_cython.pyx":1838 * else: * file_to_line_to_breakpoints = py_db.breakpoints * for line_to_breakpoints in file_to_line_to_breakpoints.values(): # <<<<<<<<<<<<<< @@ -29009,9 +29881,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_7 = 0; if (unlikely(__pyx_v_file_to_line_to_breakpoints == Py_None)) { PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values"); - __PYX_ERR(0, 1779, __pyx_L1_error) + __PYX_ERR(0, 1838, __pyx_L1_error) } - __pyx_t_3 = __Pyx_dict_iterator(__pyx_v_file_to_line_to_breakpoints, 0, __pyx_n_s_values, (&__pyx_t_16), (&__pyx_t_12)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1779, __pyx_L1_error) + __pyx_t_3 = __Pyx_dict_iterator(__pyx_v_file_to_line_to_breakpoints, 0, __pyx_n_s_values, (&__pyx_t_16), (&__pyx_t_12)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = __pyx_t_3; @@ -29019,22 +29891,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event while (1) { __pyx_t_17 = __Pyx_dict_iter_next(__pyx_t_14, __pyx_t_16, &__pyx_t_7, NULL, &__pyx_t_3, NULL, __pyx_t_12); if (unlikely(__pyx_t_17 == 0)) break; - if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 1779, __pyx_L1_error) + if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 1838, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_XDECREF_SET(__pyx_v_line_to_breakpoints, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1780 + /* "_pydevd_sys_monitoring_cython.pyx":1839 * file_to_line_to_breakpoints = py_db.breakpoints * for line_to_breakpoints in file_to_line_to_breakpoints.values(): * if line_to_breakpoints: # <<<<<<<<<<<<<< * has_breaks = True * break */ - __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_breakpoints); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1780, __pyx_L1_error) + __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_breakpoints); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1839, __pyx_L1_error) if (__pyx_t_13) { - /* "_pydevd_sys_monitoring_cython.pyx":1781 + /* "_pydevd_sys_monitoring_cython.pyx":1840 * for line_to_breakpoints in file_to_line_to_breakpoints.values(): * if line_to_breakpoints: * has_breaks = True # <<<<<<<<<<<<<< @@ -29044,7 +29916,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_INCREF(Py_True); __Pyx_DECREF_SET(__pyx_v_has_breaks, Py_True); - /* "_pydevd_sys_monitoring_cython.pyx":1782 + /* "_pydevd_sys_monitoring_cython.pyx":1841 * if line_to_breakpoints: * has_breaks = True * break # <<<<<<<<<<<<<< @@ -29053,7 +29925,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ goto __pyx_L32_break; - /* "_pydevd_sys_monitoring_cython.pyx":1780 + /* "_pydevd_sys_monitoring_cython.pyx":1839 * file_to_line_to_breakpoints = py_db.breakpoints * for line_to_breakpoints in file_to_line_to_breakpoints.values(): * if line_to_breakpoints: # <<<<<<<<<<<<<< @@ -29067,7 +29939,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event } __pyx_L30:; - /* "_pydevd_sys_monitoring_cython.pyx":1774 + /* "_pydevd_sys_monitoring_cython.pyx":1833 * * has_breaks = py_db.has_plugin_line_breaks * if not has_breaks: # <<<<<<<<<<<<<< @@ -29076,80 +29948,80 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ } - /* "_pydevd_sys_monitoring_cython.pyx":1784 + /* "_pydevd_sys_monitoring_cython.pyx":1843 * break * * if has_breaks or suspend_requested: # <<<<<<<<<<<<<< * # print('track PY_START|PY_RESUME, suspend_requested=', suspend_requested) * required_events |= monitor.events.PY_START | monitor.events.PY_RESUME */ - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1784, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1843, __pyx_L1_error) if (!__pyx_t_6) { } else { __pyx_t_13 = __pyx_t_6; goto __pyx_L35_bool_binop_done; } - __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_suspend_requested); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1784, __pyx_L1_error) + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_suspend_requested); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1843, __pyx_L1_error) __pyx_t_13 = __pyx_t_6; __pyx_L35_bool_binop_done:; if (__pyx_t_13) { - /* "_pydevd_sys_monitoring_cython.pyx":1786 + /* "_pydevd_sys_monitoring_cython.pyx":1845 * if has_breaks or suspend_requested: * # print('track PY_START|PY_RESUME, suspend_requested=', suspend_requested) * required_events |= monitor.events.PY_START | monitor.events.PY_RESUME # <<<<<<<<<<<<<< * * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event) */ - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1786, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1786, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_RESUME); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_RESUME); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyNumber_Or(__pyx_t_14, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_1 = PyNumber_Or(__pyx_t_14, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1786, __pyx_L1_error) + __pyx_t_3 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1845, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF_SET(__pyx_v_required_events, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1788 + /* "_pydevd_sys_monitoring_cython.pyx":1847 * required_events |= monitor.events.PY_START | monitor.events.PY_RESUME * * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event) # <<<<<<<<<<<<<< * # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1788, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1788, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1788, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1788, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1788, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1788, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1788, __pyx_L1_error) + __pyx_t_2 = __Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -29172,35 +30044,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1788, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1847, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1790 + /* "_pydevd_sys_monitoring_cython.pyx":1849 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, _start_method_event) * # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event) */ - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1790, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1790, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1790, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1790, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1790, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_LINE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1790, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_LINE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_f_29_pydevd_sys_monitoring_cython__line_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1790, __pyx_L1_error) + __pyx_t_1 = __Pyx_CFunc_b0409f__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_4line(__pyx_f_29_pydevd_sys_monitoring_cython__line_event); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -29223,35 +30095,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1790, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1849, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1791 + /* "_pydevd_sys_monitoring_cython.pyx":1850 * # monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, _resume_method_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event) * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1791, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1791, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1791, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1791, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1791, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1791, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_14 = __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_f_29_pydevd_sys_monitoring_cython__jump_event); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1791, __pyx_L1_error) + __pyx_t_14 = __Pyx_CFunc_7f6725__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11from_offset_9to_offset(__pyx_f_29_pydevd_sys_monitoring_cython__jump_event); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -29274,35 +30146,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1791, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1850, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1792 + /* "_pydevd_sys_monitoring_cython.pyx":1851 * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, _line_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event) # <<<<<<<<<<<<<< * * else: */ - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1792, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1792, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1792, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1792, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1792, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_f_29_pydevd_sys_monitoring_cython__return_event); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1792, __pyx_L1_error) + __pyx_t_2 = __Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_6retval(__pyx_f_29_pydevd_sys_monitoring_cython__return_event); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_15 = NULL; __pyx_t_5 = 0; @@ -29325,13 +30197,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1792, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1851, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1784 + /* "_pydevd_sys_monitoring_cython.pyx":1843 * break * * if has_breaks or suspend_requested: # <<<<<<<<<<<<<< @@ -29341,7 +30213,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event goto __pyx_L34; } - /* "_pydevd_sys_monitoring_cython.pyx":1795 + /* "_pydevd_sys_monitoring_cython.pyx":1854 * * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) # <<<<<<<<<<<<<< @@ -29349,19 +30221,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) */ /*else*/ { - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1795, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1795, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1795, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1795, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1795, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1795, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_START); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -29384,32 +30256,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1795, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1854, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1796 + /* "_pydevd_sys_monitoring_cython.pyx":1855 * else: * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1796, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1796, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1796, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1796, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1796, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_RESUME); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1796, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_RESUME); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -29432,32 +30304,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1796, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1855, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1797 + /* "_pydevd_sys_monitoring_cython.pyx":1856 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1797, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1797, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1797, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1797, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1797, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_LINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1797, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_LINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -29480,32 +30352,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1856, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1798 + /* "_pydevd_sys_monitoring_cython.pyx":1857 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RESUME, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) # <<<<<<<<<<<<<< * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * */ - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1798, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1798, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1798, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1798, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -29528,32 +30400,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1798, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1857, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1799 + /* "_pydevd_sys_monitoring_cython.pyx":1858 * monitor.register_callback(DEBUGGER_ID, monitor.events.LINE, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, None) * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) # <<<<<<<<<<<<<< * * monitor.set_events(DEBUGGER_ID, required_events) */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1799, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_register_callback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1799, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); - __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1799, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1799, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_PY_RETURN); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __pyx_t_1 = NULL; @@ -29576,7 +30448,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1799, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1858, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; } @@ -29584,19 +30456,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event } __pyx_L34:; - /* "_pydevd_sys_monitoring_cython.pyx":1801 + /* "_pydevd_sys_monitoring_cython.pyx":1860 * monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, None) * * monitor.set_events(DEBUGGER_ID, required_events) # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1801, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); - __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_set_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1801, __pyx_L1_error) + __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_set_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_14); __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1801, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __pyx_t_2 = NULL; __pyx_t_5 = 0; @@ -29617,13 +30489,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_14, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1801, __pyx_L1_error) + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1860, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0; } __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1719 + /* "_pydevd_sys_monitoring_cython.pyx":1778 * * * def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<< @@ -29659,7 +30531,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1804 +/* "_pydevd_sys_monitoring_cython.pyx":1863 * * * def restart_events() -> None: # <<<<<<<<<<<<<< @@ -29668,22 +30540,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12update_monitor_event */ /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15restart_events(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_15restart_events = {"restart_events", (PyCFunction)__pyx_pw_29_pydevd_sys_monitoring_cython_15restart_events, METH_NOARGS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_15restart_events(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) { +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_17restart_events(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused); /*proto*/ +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_17restart_events = {"restart_events", (PyCFunction)__pyx_pw_29_pydevd_sys_monitoring_cython_17restart_events, METH_NOARGS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_17restart_events(PyObject *__pyx_self, CYTHON_UNUSED PyObject *unused) { CYTHON_UNUSED PyObject *const *__pyx_kwvalues; PyObject *__pyx_r = 0; __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("restart_events (wrapper)", 0); __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_14restart_events(__pyx_self); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_16restart_events(__pyx_self); /* function exit code */ __Pyx_RefNannyFinishContext(); return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14restart_events(CYTHON_UNUSED PyObject *__pyx_self) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16restart_events(CYTHON_UNUSED PyObject *__pyx_self) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; @@ -29695,16 +30567,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14restart_events(CYTHO int __pyx_clineno = 0; __Pyx_RefNannySetupContext("restart_events", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1808 + /* "_pydevd_sys_monitoring_cython.pyx":1867 * # called first, then the line event tracing must be set for existing frames * # and then this function must be called at the end. * monitor.restart_events() # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1808, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1867, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1808, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1867, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __pyx_t_2 = NULL; @@ -29725,13 +30597,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14restart_events(CYTHO PyObject *__pyx_callargs[2] = {__pyx_t_2, NULL}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_4, 0+__pyx_t_4); __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1808, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1867, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1804 + /* "_pydevd_sys_monitoring_cython.pyx":1863 * * * def restart_events() -> None: # <<<<<<<<<<<<<< @@ -29754,7 +30626,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14restart_events(CYTHO return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1813 +/* "_pydevd_sys_monitoring_cython.pyx":1872 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame): # <<<<<<<<<<<<<< @@ -29776,7 +30648,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_is_same_frame", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1818 + /* "_pydevd_sys_monitoring_cython.pyx":1877 * # ENDIF * # fmt: on * if target_frame is current_frame: # <<<<<<<<<<<<<< @@ -29786,7 +30658,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_t_1 = (__pyx_v_target_frame == __pyx_v_current_frame); if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1819 + /* "_pydevd_sys_monitoring_cython.pyx":1878 * # fmt: on * if target_frame is current_frame: * return True # <<<<<<<<<<<<<< @@ -29798,7 +30670,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_r = Py_True; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1818 + /* "_pydevd_sys_monitoring_cython.pyx":1877 * # ENDIF * # fmt: on * if target_frame is current_frame: # <<<<<<<<<<<<<< @@ -29807,7 +30679,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1821 + /* "_pydevd_sys_monitoring_cython.pyx":1880 * return True * * if info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -29816,7 +30688,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ if (__pyx_v_info->pydev_use_scoped_step_frame) { - /* "_pydevd_sys_monitoring_cython.pyx":1824 + /* "_pydevd_sys_monitoring_cython.pyx":1883 * # If using scoped step we don't check the target, we just need to check * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: # <<<<<<<<<<<<<< @@ -29834,43 +30706,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_L6_bool_binop_done:; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1825 + /* "_pydevd_sys_monitoring_cython.pyx":1884 * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: * if target_frame.f_code.co_filename == current_frame.f_code.co_filename: # <<<<<<<<<<<<<< * # The co_name may be different (it may include the line number), but * # the filename must still be the same. */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_target_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_target_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1825, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1884, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1828 + /* "_pydevd_sys_monitoring_cython.pyx":1887 * # The co_name may be different (it may include the line number), but * # the filename must still be the same. * f = current_frame.f_back # <<<<<<<<<<<<<< * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1828, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_current_frame, __pyx_n_s_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1887, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __pyx_v_f = __pyx_t_3; __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1829 + /* "_pydevd_sys_monitoring_cython.pyx":1888 * # the filename must still be the same. * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< @@ -29883,38 +30755,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_t_1 = __pyx_t_2; goto __pyx_L10_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_name); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_name); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_GetItemInt(__pyx_t_3, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_4 = __Pyx_GetItemInt(__pyx_t_3, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_RichCompare(__pyx_t_5, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_5, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1829, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1888, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_1 = __pyx_t_2; __pyx_L10_bool_binop_done:; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1830 + /* "_pydevd_sys_monitoring_cython.pyx":1889 * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back # <<<<<<<<<<<<<< * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * return True */ - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1830, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_back); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1889, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF_SET(__pyx_v_f, __pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1831 + /* "_pydevd_sys_monitoring_cython.pyx":1890 * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -29927,26 +30799,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_t_1 = __pyx_t_2; goto __pyx_L13_bool_binop_done; } - __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_f, __pyx_n_s_f_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_co_name); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_4); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1831, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); - __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_3, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_5 = __Pyx_GetItemInt(__pyx_t_3, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_5); __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_5, Py_EQ); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; - __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1831, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1890, __pyx_L1_error) __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __pyx_t_1 = __pyx_t_2; __pyx_L13_bool_binop_done:; if (__pyx_t_1) { - /* "_pydevd_sys_monitoring_cython.pyx":1832 + /* "_pydevd_sys_monitoring_cython.pyx":1891 * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: * return True # <<<<<<<<<<<<<< @@ -29958,7 +30830,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_r = Py_True; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1831 + /* "_pydevd_sys_monitoring_cython.pyx":1890 * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: * f = f.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]: # <<<<<<<<<<<<<< @@ -29967,7 +30839,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1829 + /* "_pydevd_sys_monitoring_cython.pyx":1888 * # the filename must still be the same. * f = current_frame.f_back * if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<< @@ -29976,7 +30848,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1825 + /* "_pydevd_sys_monitoring_cython.pyx":1884 * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: * if target_frame.f_code.co_filename == current_frame.f_code.co_filename: # <<<<<<<<<<<<<< @@ -29985,7 +30857,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1824 + /* "_pydevd_sys_monitoring_cython.pyx":1883 * # If using scoped step we don't check the target, we just need to check * # if the current matches the same heuristic where the target was defined. * if target_frame is not None and current_frame is not None: # <<<<<<<<<<<<<< @@ -29994,7 +30866,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1821 + /* "_pydevd_sys_monitoring_cython.pyx":1880 * return True * * if info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<< @@ -30003,7 +30875,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ } - /* "_pydevd_sys_monitoring_cython.pyx":1834 + /* "_pydevd_sys_monitoring_cython.pyx":1893 * return True * * return False # <<<<<<<<<<<<<< @@ -30015,7 +30887,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ __pyx_r = Py_False; goto __pyx_L0; - /* "_pydevd_sys_monitoring_cython.pyx":1813 + /* "_pydevd_sys_monitoring_cython.pyx":1872 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame): # <<<<<<<<<<<<<< @@ -30037,7 +30909,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ return __pyx_r; } -/* "_pydevd_sys_monitoring_cython.pyx":1839 +/* "_pydevd_sys_monitoring_cython.pyx":1898 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< @@ -30046,15 +30918,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _ */ /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_17_do_wait_suspend(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_19_do_wait_suspend(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_17_do_wait_suspend = {"_do_wait_suspend", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_17_do_wait_suspend, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_17_do_wait_suspend(PyObject *__pyx_self, +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_19_do_wait_suspend = {"_do_wait_suspend", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_19_do_wait_suspend, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_19_do_wait_suspend(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -30110,7 +30982,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1839, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error) else goto __pyx_L5_argtuple_error; CYTHON_FALLTHROUGH; case 1: @@ -30118,9 +30990,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1839, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 1); __PYX_ERR(0, 1839, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 1); __PYX_ERR(0, 1898, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 2: @@ -30128,9 +31000,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1839, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 2); __PYX_ERR(0, 1839, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 2); __PYX_ERR(0, 1898, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 3: @@ -30138,9 +31010,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[3]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1839, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 3); __PYX_ERR(0, 1839, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 3); __PYX_ERR(0, 1898, __pyx_L3_error) } CYTHON_FALLTHROUGH; case 4: @@ -30148,14 +31020,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds (void)__Pyx_Arg_NewRef_FASTCALL(values[4]); kw_args--; } - else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1839, __pyx_L3_error) + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error) else { - __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 4); __PYX_ERR(0, 1839, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 4); __PYX_ERR(0, 1898, __pyx_L3_error) } } if (unlikely(kw_args > 0)) { const Py_ssize_t kwd_pos_args = __pyx_nargs; - if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "_do_wait_suspend") < 0)) __PYX_ERR(0, 1839, __pyx_L3_error) + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "_do_wait_suspend") < 0)) __PYX_ERR(0, 1898, __pyx_L3_error) } } else if (unlikely(__pyx_nargs != 5)) { goto __pyx_L5_argtuple_error; @@ -30174,7 +31046,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds } goto __pyx_L6_skip; __pyx_L5_argtuple_error:; - __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, __pyx_nargs); __PYX_ERR(0, 1839, __pyx_L3_error) + __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, __pyx_nargs); __PYX_ERR(0, 1898, __pyx_L3_error) __pyx_L6_skip:; goto __pyx_L4_argument_unpacking_done; __pyx_L3_error:; @@ -30188,8 +31060,8 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thread_info), __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, 1, "thread_info", 0))) __PYX_ERR(0, 1839, __pyx_L1_error) - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(__pyx_self, __pyx_v_py_db, __pyx_v_thread_info, __pyx_v_frame, __pyx_v_event, __pyx_v_arg); + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thread_info), __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, 1, "thread_info", 0))) __PYX_ERR(0, 1898, __pyx_L1_error) + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_18_do_wait_suspend(__pyx_self, __pyx_v_py_db, __pyx_v_thread_info, __pyx_v_frame, __pyx_v_event, __pyx_v_arg); /* function exit code */ goto __pyx_L0; @@ -30206,7 +31078,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_thread_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_event, PyObject *__pyx_v_arg) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18_do_wait_suspend(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_py_db, struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_thread_info, PyObject *__pyx_v_frame, PyObject *__pyx_v_event, PyObject *__pyx_v_arg) { PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations PyObject *__pyx_t_1 = NULL; @@ -30218,7 +31090,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(CYT int __pyx_clineno = 0; __Pyx_RefNannySetupContext("_do_wait_suspend", 1); - /* "_pydevd_sys_monitoring_cython.pyx":1844 + /* "_pydevd_sys_monitoring_cython.pyx":1903 * # ENDIF * # fmt: on * thread_info.additional_info.trace_suspend_type = "sys_monitor" # <<<<<<<<<<<<<< @@ -30231,14 +31103,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(CYT __Pyx_DECREF(__pyx_v_thread_info->additional_info->trace_suspend_type); __pyx_v_thread_info->additional_info->trace_suspend_type = __pyx_n_s_sys_monitor; - /* "_pydevd_sys_monitoring_cython.pyx":1845 + /* "_pydevd_sys_monitoring_cython.pyx":1904 * # fmt: on * thread_info.additional_info.trace_suspend_type = "sys_monitor" * py_db.do_wait_suspend(thread_info.thread, frame, event, arg) # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_do_wait_suspend_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1845, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_do_wait_suspend_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1904, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); __pyx_t_3 = NULL; __pyx_t_4 = 0; @@ -30258,13 +31130,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(CYT PyObject *__pyx_callargs[5] = {__pyx_t_3, __pyx_v_thread_info->thread, __pyx_v_frame, __pyx_v_event, __pyx_v_arg}; __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_4, 4+__pyx_t_4); __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1845, __pyx_L1_error) + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1904, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; } __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1839 + /* "_pydevd_sys_monitoring_cython.pyx":1898 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< @@ -30294,15 +31166,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16_do_wait_suspend(CYT */ /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_19__pyx_unpickle_ThreadInfo(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_ThreadInfo(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_19__pyx_unpickle_ThreadInfo = {"__pyx_unpickle_ThreadInfo", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_19__pyx_unpickle_ThreadInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_19__pyx_unpickle_ThreadInfo(PyObject *__pyx_self, +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_ThreadInfo = {"__pyx_unpickle_ThreadInfo", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_ThreadInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_ThreadInfo(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -30406,7 +31278,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_18__pyx_unpickle_ThreadInfo(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_ThreadInfo(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); /* function exit code */ { @@ -30419,7 +31291,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18__pyx_unpickle_ThreadInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_ThreadInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; @@ -30443,7 +31315,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18__pyx_unpickle_Threa */ __pyx_t_1 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__18, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__19, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { @@ -30770,15 +31642,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn */ /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_FuncCodeInfo(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_FuncCodeInfo(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_FuncCodeInfo = {"__pyx_unpickle_FuncCodeInfo", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_FuncCodeInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_FuncCodeInfo(PyObject *__pyx_self, +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_FuncCodeInfo = {"__pyx_unpickle_FuncCodeInfo", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_FuncCodeInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_FuncCodeInfo(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -30882,7 +31754,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_FuncCodeInfo(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncCodeInfo(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); /* function exit code */ { @@ -30895,7 +31767,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_FuncCodeInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncCodeInfo(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; @@ -30919,7 +31791,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_FuncC */ __pyx_t_1 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__20, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__21, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { @@ -31395,15 +32267,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode */ /* Python wrapper */ -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else PyObject *__pyx_args, PyObject *__pyx_kwds #endif ); /*proto*/ -static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_23__pyx_unpickle__TryExceptContainerObj = {"__pyx_unpickle__TryExceptContainerObj", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle__TryExceptContainerObj, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; -static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_23__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, +static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__TryExceptContainerObj = {"__pyx_unpickle__TryExceptContainerObj", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__TryExceptContainerObj, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self, #if CYTHON_METH_FASTCALL PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds #else @@ -31507,7 +32379,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds __Pyx_RefNannyFinishContext(); return NULL; __pyx_L4_argument_unpacking_done:; - __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle__TryExceptContainerObj(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); + __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__TryExceptContainerObj(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); /* function exit code */ { @@ -31520,7 +32392,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds return __pyx_r; } -static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle__TryExceptContainerObj(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { +static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__TryExceptContainerObj(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { PyObject *__pyx_v___pyx_PickleError = 0; PyObject *__pyx_v___pyx_result = 0; PyObject *__pyx_r = NULL; @@ -31544,7 +32416,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle__TryE */ __pyx_t_1 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__21, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__22, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; if (__pyx_t_2) { @@ -33197,6 +34069,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_Optional, __pyx_k_Optional, sizeof(__pyx_k_Optional), 0, 0, 1, 1}, {&__pyx_kp_s_Optional_bool, __pyx_k_Optional_bool, sizeof(__pyx_k_Optional_bool), 0, 0, 1, 0}, {&__pyx_n_s_PYDEVD_IPYTHON_CONTEXT, __pyx_k_PYDEVD_IPYTHON_CONTEXT, sizeof(__pyx_k_PYDEVD_IPYTHON_CONTEXT), 0, 0, 1, 1}, + {&__pyx_n_s_PYDEV_FILE, __pyx_k_PYDEV_FILE, sizeof(__pyx_k_PYDEV_FILE), 0, 0, 1, 1}, {&__pyx_n_s_PYTHON_SUSPEND, __pyx_k_PYTHON_SUSPEND, sizeof(__pyx_k_PYTHON_SUSPEND), 0, 0, 1, 1}, {&__pyx_n_s_PY_RESUME, __pyx_k_PY_RESUME, sizeof(__pyx_k_PY_RESUME), 0, 0, 1, 1}, {&__pyx_n_s_PY_RETURN, __pyx_k_PY_RETURN, sizeof(__pyx_k_PY_RETURN), 0, 0, 1, 1}, @@ -33222,10 +34095,11 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_TryExceptContainerObj___reduce, __pyx_k_TryExceptContainerObj___reduce, sizeof(__pyx_k_TryExceptContainerObj___reduce), 0, 0, 1, 1}, {&__pyx_n_s_TryExceptContainerObj___setstat, __pyx_k_TryExceptContainerObj___setstat, sizeof(__pyx_k_TryExceptContainerObj___setstat), 0, 0, 1, 1}, {&__pyx_n_s_Tuple, __pyx_k_Tuple, sizeof(__pyx_k_Tuple), 0, 0, 1, 1}, - {&__pyx_kp_s__14, __pyx_k__14, sizeof(__pyx_k__14), 0, 0, 1, 0}, - {&__pyx_kp_s__17, __pyx_k__17, sizeof(__pyx_k__17), 0, 0, 1, 0}, - {&__pyx_kp_u__19, __pyx_k__19, sizeof(__pyx_k__19), 0, 1, 0, 0}, - {&__pyx_n_s__22, __pyx_k__22, sizeof(__pyx_k__22), 0, 0, 1, 1}, + {&__pyx_kp_s_Unhandled_frame_from_different_e, __pyx_k_Unhandled_frame_from_different_e, sizeof(__pyx_k_Unhandled_frame_from_different_e), 0, 0, 1, 0}, + {&__pyx_kp_s__15, __pyx_k__15, sizeof(__pyx_k__15), 0, 0, 1, 0}, + {&__pyx_kp_s__18, __pyx_k__18, sizeof(__pyx_k__18), 0, 0, 1, 0}, + {&__pyx_kp_u__20, __pyx_k__20, sizeof(__pyx_k__20), 0, 1, 0, 0}, + {&__pyx_n_s__23, __pyx_k__23, sizeof(__pyx_k__23), 0, 0, 1, 1}, {&__pyx_n_s_active, __pyx_k_active, sizeof(__pyx_k_active), 0, 0, 1, 1}, {&__pyx_n_s_active_limbo_lock, __pyx_k_active_limbo_lock, sizeof(__pyx_k_active_limbo_lock), 0, 0, 1, 1}, {&__pyx_n_s_add_command, __pyx_k_add_command, sizeof(__pyx_k_add_command), 0, 0, 1, 1}, @@ -33281,6 +34155,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_enable_code_tracing, __pyx_k_enable_code_tracing, sizeof(__pyx_k_enable_code_tracing), 0, 0, 1, 1}, {&__pyx_n_s_end, __pyx_k_end, sizeof(__pyx_k_end), 0, 0, 1, 1}, {&__pyx_n_s_endswith, __pyx_k_endswith, sizeof(__pyx_k_endswith), 0, 0, 1, 1}, + {&__pyx_n_s_ensure_monitoring, __pyx_k_ensure_monitoring, sizeof(__pyx_k_ensure_monitoring), 0, 0, 1, 1}, {&__pyx_n_s_enter, __pyx_k_enter, sizeof(__pyx_k_enter), 0, 0, 1, 1}, {&__pyx_n_s_enumerate, __pyx_k_enumerate, sizeof(__pyx_k_enumerate), 0, 0, 1, 1}, {&__pyx_n_s_event, __pyx_k_event, sizeof(__pyx_k_event), 0, 0, 1, 1}, @@ -33294,6 +34169,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_f_back, __pyx_k_f_back, sizeof(__pyx_k_f_back), 0, 0, 1, 1}, {&__pyx_n_s_f_bootstrap, __pyx_k_f_bootstrap, sizeof(__pyx_k_f_bootstrap), 0, 0, 1, 1}, {&__pyx_n_s_f_code, __pyx_k_f_code, sizeof(__pyx_k_f_code), 0, 0, 1, 1}, + {&__pyx_n_s_f_disable_next_line_if_match, __pyx_k_f_disable_next_line_if_match, sizeof(__pyx_k_f_disable_next_line_if_match), 0, 0, 1, 1}, {&__pyx_n_s_f_lasti, __pyx_k_f_lasti, sizeof(__pyx_k_f_lasti), 0, 0, 1, 1}, {&__pyx_n_s_f_lineno, __pyx_k_f_lineno, sizeof(__pyx_k_f_lineno), 0, 0, 1, 1}, {&__pyx_n_s_f_locals, __pyx_k_f_locals, sizeof(__pyx_k_f_locals), 0, 0, 1, 1}, @@ -33304,6 +34180,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_frame_or_depth, __pyx_k_frame_or_depth, sizeof(__pyx_k_frame_or_depth), 0, 0, 1, 1}, {&__pyx_n_s_free_tool_id, __pyx_k_free_tool_id, sizeof(__pyx_k_free_tool_id), 0, 0, 1, 1}, {&__pyx_n_s_from_offset, __pyx_k_from_offset, sizeof(__pyx_k_from_offset), 0, 0, 1, 1}, + {&__pyx_kp_s_frozen_runpy, __pyx_k_frozen_runpy, sizeof(__pyx_k_frozen_runpy), 0, 0, 1, 0}, {&__pyx_n_s_function_breakpoint_name_to_brea, __pyx_k_function_breakpoint_name_to_brea, sizeof(__pyx_k_function_breakpoint_name_to_brea), 0, 0, 1, 1}, {&__pyx_kp_u_gc, __pyx_k_gc, sizeof(__pyx_k_gc), 0, 1, 0, 0}, {&__pyx_n_s_get, __pyx_k_get, sizeof(__pyx_k_get), 0, 0, 1, 1}, @@ -33349,6 +34226,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_is_stopped, __pyx_k_is_stopped, sizeof(__pyx_k_is_stopped), 0, 0, 1, 1}, {&__pyx_n_s_is_tracked_frame, __pyx_k_is_tracked_frame, sizeof(__pyx_k_is_tracked_frame), 0, 0, 1, 1}, {&__pyx_n_s_is_unhandled_exception, __pyx_k_is_unhandled_exception, sizeof(__pyx_k_is_unhandled_exception), 0, 0, 1, 1}, + {&__pyx_n_s_is_unwind, __pyx_k_is_unwind, sizeof(__pyx_k_is_unwind), 0, 0, 1, 1}, {&__pyx_kp_u_isenabled, __pyx_k_isenabled, sizeof(__pyx_k_isenabled), 0, 1, 0, 0}, {&__pyx_n_s_items, __pyx_k_items, sizeof(__pyx_k_items), 0, 0, 1, 1}, {&__pyx_n_s_kwargs, __pyx_k_kwargs, sizeof(__pyx_k_kwargs), 0, 0, 1, 1}, @@ -33397,6 +34275,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_pydevd_bundle_pydevd_breakpoint, __pyx_k_pydevd_bundle_pydevd_breakpoint, sizeof(__pyx_k_pydevd_bundle_pydevd_breakpoint), 0, 0, 1, 1}, {&__pyx_n_s_pydevd_bundle_pydevd_bytecode_u, __pyx_k_pydevd_bundle_pydevd_bytecode_u, sizeof(__pyx_k_pydevd_bundle_pydevd_bytecode_u), 0, 0, 1, 1}, {&__pyx_n_s_pydevd_bundle_pydevd_constants, __pyx_k_pydevd_bundle_pydevd_constants, sizeof(__pyx_k_pydevd_bundle_pydevd_constants), 0, 0, 1, 1}, + {&__pyx_n_s_pydevd_bundle_pydevd_dont_trace, __pyx_k_pydevd_bundle_pydevd_dont_trace, sizeof(__pyx_k_pydevd_bundle_pydevd_dont_trace), 0, 0, 1, 1}, {&__pyx_n_s_pydevd_bundle_pydevd_trace_disp, __pyx_k_pydevd_bundle_pydevd_trace_disp, sizeof(__pyx_k_pydevd_bundle_pydevd_trace_disp), 0, 0, 1, 1}, {&__pyx_n_s_pydevd_bundle_pydevd_utils, __pyx_k_pydevd_bundle_pydevd_utils, sizeof(__pyx_k_pydevd_bundle_pydevd_utils), 0, 0, 1, 1}, {&__pyx_n_s_pydevd_dont_trace, __pyx_k_pydevd_dont_trace, sizeof(__pyx_k_pydevd_dont_trace), 0, 0, 1, 1}, @@ -33432,6 +34311,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_retval, __pyx_k_retval, sizeof(__pyx_k_retval), 0, 0, 1, 1}, {&__pyx_n_s_run, __pyx_k_run, sizeof(__pyx_k_run), 0, 0, 1, 1}, {&__pyx_n_s_run_2, __pyx_k_run_2, sizeof(__pyx_k_run_2), 0, 0, 1, 1}, + {&__pyx_n_s_runpy, __pyx_k_runpy, sizeof(__pyx_k_runpy), 0, 0, 1, 1}, {&__pyx_kp_s_s_s, __pyx_k_s_s, sizeof(__pyx_k_s_s), 0, 0, 1, 0}, {&__pyx_kp_s_s_s_2, __pyx_k_s_s_2, sizeof(__pyx_k_s_s_2), 0, 0, 1, 0}, {&__pyx_n_s_self, __pyx_k_self, sizeof(__pyx_k_self), 0, 0, 1, 1}, @@ -33482,6 +34362,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_update_monitor_events, __pyx_k_update_monitor_events, sizeof(__pyx_k_update_monitor_events), 0, 0, 1, 1}, {&__pyx_n_s_use_setstate, __pyx_k_use_setstate, sizeof(__pyx_k_use_setstate), 0, 0, 1, 1}, {&__pyx_n_s_use_tool_id, __pyx_k_use_tool_id, sizeof(__pyx_k_use_tool_id), 0, 0, 1, 1}, + {&__pyx_n_s_user_uncaught_exc_info, __pyx_k_user_uncaught_exc_info, sizeof(__pyx_k_user_uncaught_exc_info), 0, 0, 1, 1}, {&__pyx_n_s_values, __pyx_k_values, sizeof(__pyx_k_values), 0, 0, 1, 1}, {&__pyx_n_s_wrap, __pyx_k_wrap, sizeof(__pyx_k_wrap), 0, 0, 1, 1}, {&__pyx_n_s_writer, __pyx_k_writer, sizeof(__pyx_k_writer), 0, 0, 1, 1}, @@ -33491,11 +34372,11 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { } /* #### Code section: cached_builtins ### */ static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) { - __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(0, 53, __pyx_L1_error) - __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 325, __pyx_L1_error) - __pyx_builtin_min = __Pyx_GetBuiltinName(__pyx_n_s_min); if (!__pyx_builtin_min) __PYX_ERR(0, 454, __pyx_L1_error) - __pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_n_s_max); if (!__pyx_builtin_max) __PYX_ERR(0, 455, __pyx_L1_error) - __pyx_builtin_AssertionError = __Pyx_GetBuiltinName(__pyx_n_s_AssertionError); if (!__pyx_builtin_AssertionError) __PYX_ERR(0, 543, __pyx_L1_error) + __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(0, 55, __pyx_L1_error) + __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 197, __pyx_L1_error) + __pyx_builtin_min = __Pyx_GetBuiltinName(__pyx_n_s_min); if (!__pyx_builtin_min) __PYX_ERR(0, 472, __pyx_L1_error) + __pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_n_s_max); if (!__pyx_builtin_max) __PYX_ERR(0, 473, __pyx_L1_error) + __pyx_builtin_AssertionError = __Pyx_GetBuiltinName(__pyx_n_s_AssertionError); if (!__pyx_builtin_AssertionError) __PYX_ERR(0, 561, __pyx_L1_error) return 0; __pyx_L1_error:; return -1; @@ -33534,49 +34415,60 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GIVEREF(__pyx_tuple__9); __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_wrap, 67, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(1, 67, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":101 + /* "_pydevd_sys_monitoring_cython.pyx":103 * global _global_notify_skipped_step_in * * with _global_notify_skipped_step_in_lock: # <<<<<<<<<<<<<< * if _global_notify_skipped_step_in: * # Check with lock in place (callers should actually have checked */ - __pyx_tuple__11 = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(0, 101, __pyx_L1_error) + __pyx_tuple__11 = PyTuple_Pack(3, Py_None, Py_None, Py_None); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(0, 103, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__11); __Pyx_GIVEREF(__pyx_tuple__11); - /* "_pydevd_sys_monitoring_cython.pyx":144 + /* "_pydevd_sys_monitoring_cython.pyx":146 * if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): * # We need __bootstrap_inner, not __bootstrap. * return None, False # <<<<<<<<<<<<<< * * elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): */ - __pyx_tuple__12 = PyTuple_Pack(2, Py_None, Py_False); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(0, 144, __pyx_L1_error) + __pyx_tuple__12 = PyTuple_Pack(2, Py_None, Py_False); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(0, 146, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__12); __Pyx_GIVEREF(__pyx_tuple__12); - /* "_pydevd_sys_monitoring_cython.pyx":211 + /* "_pydevd_sys_monitoring_cython.pyx":197 + * return result + * del _thread_local_info.f_unhandled + * raise AttributeError("Unhandled frame from different exception") # <<<<<<<<<<<<<< + * except: + * f_unhandled = _getframe(depth) + */ + __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_s_Unhandled_frame_from_different_e); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 197, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__13); + __Pyx_GIVEREF(__pyx_tuple__13); + + /* "_pydevd_sys_monitoring_cython.pyx":221 * * elif name == "pydevd_runpy": * if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<< * break * */ - __pyx_tuple__13 = PyTuple_Pack(2, __pyx_n_s_run, __pyx_n_s_run_2); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 211, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__13); - __Pyx_GIVEREF(__pyx_tuple__13); + __pyx_tuple__14 = PyTuple_Pack(2, __pyx_n_s_run, __pyx_n_s_run_2); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(0, 221, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__14); + __Pyx_GIVEREF(__pyx_tuple__14); - /* "_pydevd_sys_monitoring_cython.pyx":1476 + /* "_pydevd_sys_monitoring_cython.pyx":1521 * filename = frame.f_code.co_filename * if filename.endswith(".pyc"): * filename = filename[:-1] # <<<<<<<<<<<<<< * * if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): */ - __pyx_slice__16 = PySlice_New(Py_None, __pyx_int_neg_1, Py_None); if (unlikely(!__pyx_slice__16)) __PYX_ERR(0, 1476, __pyx_L1_error) - __Pyx_GOTREF(__pyx_slice__16); - __Pyx_GIVEREF(__pyx_slice__16); + __pyx_slice__17 = PySlice_New(Py_None, __pyx_int_neg_1, Py_None); if (unlikely(!__pyx_slice__17)) __PYX_ERR(0, 1521, __pyx_L1_error) + __Pyx_GOTREF(__pyx_slice__17); + __Pyx_GIVEREF(__pyx_slice__17); /* "(tree fragment)":4 * cdef object __pyx_PickleError @@ -33585,70 +34477,70 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * from pickle import PickleError as __pyx_PickleError * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0xd625bfa, 0xfdc1f18, 0x57c379d) = (additional_info, thread, thread_ident, trace))" % __pyx_checksum */ - __pyx_tuple__18 = PyTuple_Pack(3, __pyx_int_224549882, __pyx_int_266084120, __pyx_int_92026781); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(1, 4, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__18); - __Pyx_GIVEREF(__pyx_tuple__18); - __pyx_tuple__20 = PyTuple_Pack(3, __pyx_int_66323410, __pyx_int_99967855, __pyx_int_189049472); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(1, 4, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__20); - __Pyx_GIVEREF(__pyx_tuple__20); - __pyx_tuple__21 = PyTuple_Pack(3, __pyx_int_230645316, __pyx_int_232881363, __pyx_int_210464433); if (unlikely(!__pyx_tuple__21)) __PYX_ERR(1, 4, __pyx_L1_error) + __pyx_tuple__19 = PyTuple_Pack(3, __pyx_int_224549882, __pyx_int_266084120, __pyx_int_92026781); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(1, 4, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__19); + __Pyx_GIVEREF(__pyx_tuple__19); + __pyx_tuple__21 = PyTuple_Pack(3, __pyx_int_66323410, __pyx_int_99967855, __pyx_int_189049472); if (unlikely(!__pyx_tuple__21)) __PYX_ERR(1, 4, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__21); __Pyx_GIVEREF(__pyx_tuple__21); + __pyx_tuple__22 = PyTuple_Pack(3, __pyx_int_230645316, __pyx_int_232881363, __pyx_int_210464433); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(1, 4, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__22); + __Pyx_GIVEREF(__pyx_tuple__22); - /* "_pydevd_sys_monitoring_cython.pyx":55 + /* "_pydevd_sys_monitoring_cython.pyx":57 * except ImportError: * * def get_smart_step_into_variant_from_frame_offset(*args, **kwargs): # <<<<<<<<<<<<<< * return None * */ - __pyx_tuple__23 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(0, 55, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__23); - __Pyx_GIVEREF(__pyx_tuple__23); - __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_smart_step_into_variant_from, 55, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__24)) __PYX_ERR(0, 55, __pyx_L1_error) + __pyx_tuple__24 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__24)) __PYX_ERR(0, 57, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__24); + __Pyx_GIVEREF(__pyx_tuple__24); + __pyx_codeobj__25 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__24, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_smart_step_into_variant_from, 57, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__25)) __PYX_ERR(0, 57, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":83 + /* "_pydevd_sys_monitoring_cython.pyx":85 * STATE_SUSPEND: int = 2 * * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") # <<<<<<<<<<<<<< * DEBUG_START = ("pydevd.py", "run") * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") */ - __pyx_tuple__25 = PyTuple_Pack(1, __pyx_kp_s_IgnoreException); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(0, 83, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__25); - __Pyx_GIVEREF(__pyx_tuple__25); + __pyx_tuple__26 = PyTuple_Pack(1, __pyx_kp_s_IgnoreException); if (unlikely(!__pyx_tuple__26)) __PYX_ERR(0, 85, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__26); + __Pyx_GIVEREF(__pyx_tuple__26); - /* "_pydevd_sys_monitoring_cython.pyx":84 + /* "_pydevd_sys_monitoring_cython.pyx":86 * * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") * DEBUG_START = ("pydevd.py", "run") # <<<<<<<<<<<<<< * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" */ - __pyx_tuple__26 = PyTuple_Pack(2, __pyx_kp_s_pydevd_py, __pyx_n_s_run); if (unlikely(!__pyx_tuple__26)) __PYX_ERR(0, 84, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__26); - __Pyx_GIVEREF(__pyx_tuple__26); + __pyx_tuple__27 = PyTuple_Pack(2, __pyx_kp_s_pydevd_py, __pyx_n_s_run); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(0, 86, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__27); + __Pyx_GIVEREF(__pyx_tuple__27); - /* "_pydevd_sys_monitoring_cython.pyx":85 + /* "_pydevd_sys_monitoring_cython.pyx":87 * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") * DEBUG_START = ("pydevd.py", "run") * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") # <<<<<<<<<<<<<< * TRACE_PROPERTY = "pydevd_traceproperty.py" * */ - __pyx_tuple__27 = PyTuple_Pack(2, __pyx_kp_s_pydev_execfile_py, __pyx_n_s_execfile); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(0, 85, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__27); - __Pyx_GIVEREF(__pyx_tuple__27); + __pyx_tuple__28 = PyTuple_Pack(2, __pyx_kp_s_pydev_execfile_py, __pyx_n_s_execfile); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__28); + __Pyx_GIVEREF(__pyx_tuple__28); /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_tuple__28 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_state, __pyx_n_s_dict_2, __pyx_n_s_use_setstate); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__28); - __Pyx_GIVEREF(__pyx_tuple__28); - __pyx_codeobj__29 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__29)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_tuple__29 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_state, __pyx_n_s_dict_2, __pyx_n_s_use_setstate); if (unlikely(!__pyx_tuple__29)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__29); + __Pyx_GIVEREF(__pyx_tuple__29); + __pyx_codeobj__30 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__30)) __PYX_ERR(1, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -33656,53 +34548,53 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state) */ - __pyx_tuple__30 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_pyx_state); if (unlikely(!__pyx_tuple__30)) __PYX_ERR(1, 16, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__30); - __Pyx_GIVEREF(__pyx_tuple__30); - __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__31)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_tuple__31 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_pyx_state); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__31); + __Pyx_GIVEREF(__pyx_tuple__31); + __pyx_codeobj__32 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__32)) __PYX_ERR(1, 16, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":257 + /* "_pydevd_sys_monitoring_cython.pyx":275 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< * self._dummy_thread = dummy_thread * self._tident = dummy_thread.ident */ - __pyx_tuple__32 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_dummy_thread); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(0, 257, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__32); - __Pyx_GIVEREF(__pyx_tuple__32); - __pyx_codeobj__33 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__32, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_init, 257, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__33)) __PYX_ERR(0, 257, __pyx_L1_error) + __pyx_tuple__33 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_dummy_thread); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 275, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__33); + __Pyx_GIVEREF(__pyx_tuple__33); + __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__33, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_init, 275, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(0, 275, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":268 + /* "_pydevd_sys_monitoring_cython.pyx":286 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: */ - __pyx_tuple__34 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(0, 268, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__34); - __Pyx_GIVEREF(__pyx_tuple__34); - __pyx_codeobj__35 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__34, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_del, 268, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__35)) __PYX_ERR(0, 268, __pyx_L1_error) + __pyx_tuple__35 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(0, 286, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__35); + __Pyx_GIVEREF(__pyx_tuple__35); + __pyx_codeobj__36 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__35, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_del, 286, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) __PYX_ERR(0, 286, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":398 + /* "_pydevd_sys_monitoring_cython.pyx":416 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< * for start, end, line in self.code_obj.co_lines(): * if offset >= start and offset <= end: */ - __pyx_tuple__36 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_offset, __pyx_n_s_start, __pyx_n_s_end, __pyx_n_s_line); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(0, 398, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__36); - __Pyx_GIVEREF(__pyx_tuple__36); - __pyx_codeobj__37 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__36, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_line_of_offset, 398, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__37)) __PYX_ERR(0, 398, __pyx_L1_error) + __pyx_tuple__37 = PyTuple_Pack(5, __pyx_n_s_self, __pyx_n_s_offset, __pyx_n_s_start, __pyx_n_s_end, __pyx_n_s_line); if (unlikely(!__pyx_tuple__37)) __PYX_ERR(0, 416, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__37); + __Pyx_GIVEREF(__pyx_tuple__37); + __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__37, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_line_of_offset, 416, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(0, 416, __pyx_L1_error) /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_codeobj__38 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(1, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -33710,61 +34602,61 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_FuncCodeInfo__set_state(self, __pyx_state) */ - __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_codeobj__40 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__40)) __PYX_ERR(1, 16, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":432 + /* "_pydevd_sys_monitoring_cython.pyx":450 * * * _CodeLineInfo = namedtuple("_CodeLineInfo", "line_to_offset, first_line, last_line") # <<<<<<<<<<<<<< * * */ - __pyx_tuple__40 = PyTuple_Pack(2, __pyx_n_s_CodeLineInfo, __pyx_kp_s_line_to_offset_first_line_last_l); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(0, 432, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__40); - __Pyx_GIVEREF(__pyx_tuple__40); + __pyx_tuple__41 = PyTuple_Pack(2, __pyx_n_s_CodeLineInfo, __pyx_kp_s_line_to_offset_first_line_last_l); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(0, 450, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__41); + __Pyx_GIVEREF(__pyx_tuple__41); - /* "_pydevd_sys_monitoring_cython.pyx":466 + /* "_pydevd_sys_monitoring_cython.pyx":484 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< * cdef FuncCodeInfo func_code_info * # ELSE */ - __pyx_tuple__41 = PyTuple_Pack(2, __pyx_n_s_code_obj, __pyx_n_s_frame_or_depth); if (unlikely(!__pyx_tuple__41)) __PYX_ERR(0, 466, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__41); - __Pyx_GIVEREF(__pyx_tuple__41); - __pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__41, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_func_code_info, 466, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__42)) __PYX_ERR(0, 466, __pyx_L1_error) + __pyx_tuple__42 = PyTuple_Pack(2, __pyx_n_s_code_obj, __pyx_n_s_frame_or_depth); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(0, 484, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__42); + __Pyx_GIVEREF(__pyx_tuple__42); + __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__42, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_func_code_info, 484, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(0, 484, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":658 + /* "_pydevd_sys_monitoring_cython.pyx":678 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< * # ELSE * # def disable_code_tracing(code): */ - __pyx_tuple__43 = PyTuple_Pack(1, __pyx_n_s_code); if (unlikely(!__pyx_tuple__43)) __PYX_ERR(0, 658, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__43); - __Pyx_GIVEREF(__pyx_tuple__43); - __pyx_codeobj__44 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__43, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_disable_code_tracing, 658, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__44)) __PYX_ERR(0, 658, __pyx_L1_error) + __pyx_tuple__44 = PyTuple_Pack(1, __pyx_n_s_code); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(0, 678, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__44); + __Pyx_GIVEREF(__pyx_tuple__44); + __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__44, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_disable_code_tracing, 678, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 678, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":668 + /* "_pydevd_sys_monitoring_cython.pyx":689 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< * # ELSE * # def enable_code_tracing(thread_ident: Optional[int], code, frame) -> bool: */ - __pyx_tuple__45 = PyTuple_Pack(3, __pyx_n_s_thread_ident, __pyx_n_s_code, __pyx_n_s_frame); if (unlikely(!__pyx_tuple__45)) __PYX_ERR(0, 668, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__45); - __Pyx_GIVEREF(__pyx_tuple__45); - __pyx_codeobj__46 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__45, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_enable_code_tracing, 668, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__46)) __PYX_ERR(0, 668, __pyx_L1_error) + __pyx_tuple__46 = PyTuple_Pack(3, __pyx_n_s_thread_ident, __pyx_n_s_code, __pyx_n_s_frame); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(0, 689, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__46); + __Pyx_GIVEREF(__pyx_tuple__46); + __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__46, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_enable_code_tracing, 689, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 689, __pyx_L1_error) /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__28, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_codeobj__48 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__48)) __PYX_ERR(1, 1, __pyx_L1_error) /* "(tree fragment)":16 * else: @@ -33772,82 +34664,91 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) */ - __pyx_codeobj__48 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__30, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__48)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(1, 16, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":1663 + /* "_pydevd_sys_monitoring_cython.pyx":1708 + * # fmt: off + * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) + * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< + * # ELSE + * # def _ensure_monitoring(): + */ + __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_ensure_monitoring, 1708, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) __PYX_ERR(0, 1708, __pyx_L1_error) + + /* "_pydevd_sys_monitoring_cython.pyx":1722 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_tuple__49 = PyTuple_Pack(1, __pyx_n_s_all_threads); if (unlikely(!__pyx_tuple__49)) __PYX_ERR(0, 1663, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__49); - __Pyx_GIVEREF(__pyx_tuple__49); - __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__49, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_start_monitoring, 1663, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) __PYX_ERR(0, 1663, __pyx_L1_error) - __pyx_tuple__51 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(0, 1663, __pyx_L1_error) + __pyx_tuple__51 = PyTuple_Pack(1, __pyx_n_s_all_threads); if (unlikely(!__pyx_tuple__51)) __PYX_ERR(0, 1722, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__51); __Pyx_GIVEREF(__pyx_tuple__51); + __pyx_codeobj__52 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__51, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_start_monitoring, 1722, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__52)) __PYX_ERR(0, 1722, __pyx_L1_error) + __pyx_tuple__53 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(0, 1722, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__53); + __Pyx_GIVEREF(__pyx_tuple__53); - /* "_pydevd_sys_monitoring_cython.pyx":1691 + /* "_pydevd_sys_monitoring_cython.pyx":1750 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_codeobj__52 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__49, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_stop_monitoring, 1691, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__52)) __PYX_ERR(0, 1691, __pyx_L1_error) - __pyx_tuple__53 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(0, 1691, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__53); - __Pyx_GIVEREF(__pyx_tuple__53); + __pyx_codeobj__54 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__51, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_stop_monitoring, 1750, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__54)) __PYX_ERR(0, 1750, __pyx_L1_error) + __pyx_tuple__55 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(0, 1750, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__55); + __Pyx_GIVEREF(__pyx_tuple__55); - /* "_pydevd_sys_monitoring_cython.pyx":1719 + /* "_pydevd_sys_monitoring_cython.pyx":1778 * * * def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<< * """ * This should be called when breakpoints change. */ - __pyx_tuple__54 = PyTuple_Pack(10, __pyx_n_s_suspend_requested, __pyx_n_s_py_db, __pyx_n_s_t, __pyx_n_s_additional_info, __pyx_n_s_required_events, __pyx_n_s_has_caught_exception_breakpoint, __pyx_n_s_break_on_uncaught_exceptions, __pyx_n_s_has_breaks, __pyx_n_s_file_to_line_to_breakpoints, __pyx_n_s_line_to_breakpoints); if (unlikely(!__pyx_tuple__54)) __PYX_ERR(0, 1719, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__54); - __Pyx_GIVEREF(__pyx_tuple__54); - __pyx_codeobj__55 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__54, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_update_monitor_events, 1719, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__55)) __PYX_ERR(0, 1719, __pyx_L1_error) - __pyx_tuple__56 = PyTuple_Pack(1, Py_None); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(0, 1719, __pyx_L1_error) + __pyx_tuple__56 = PyTuple_Pack(10, __pyx_n_s_suspend_requested, __pyx_n_s_py_db, __pyx_n_s_t, __pyx_n_s_additional_info, __pyx_n_s_required_events, __pyx_n_s_has_caught_exception_breakpoint, __pyx_n_s_break_on_uncaught_exceptions, __pyx_n_s_has_breaks, __pyx_n_s_file_to_line_to_breakpoints, __pyx_n_s_line_to_breakpoints); if (unlikely(!__pyx_tuple__56)) __PYX_ERR(0, 1778, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__56); __Pyx_GIVEREF(__pyx_tuple__56); + __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 10, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__56, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_update_monitor_events, 1778, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(0, 1778, __pyx_L1_error) + __pyx_tuple__58 = PyTuple_Pack(1, Py_None); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 1778, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__58); + __Pyx_GIVEREF(__pyx_tuple__58); - /* "_pydevd_sys_monitoring_cython.pyx":1804 + /* "_pydevd_sys_monitoring_cython.pyx":1863 * * * def restart_events() -> None: # <<<<<<<<<<<<<< * # Note: if breakpoints change, update_monitor_events usually needs to be * # called first, then the line event tracing must be set for existing frames */ - __pyx_codeobj__57 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_restart_events, 1804, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__57)) __PYX_ERR(0, 1804, __pyx_L1_error) + __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 0, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_restart_events, 1863, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 1863, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":1839 + /* "_pydevd_sys_monitoring_cython.pyx":1898 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< * # ELSE * # def _do_wait_suspend(py_db, thread_info, frame, event, arg): */ - __pyx_tuple__58 = PyTuple_Pack(5, __pyx_n_s_py_db, __pyx_n_s_thread_info, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg); if (unlikely(!__pyx_tuple__58)) __PYX_ERR(0, 1839, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__58); - __Pyx_GIVEREF(__pyx_tuple__58); - __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(5, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__58, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_do_wait_suspend, 1839, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 1839, __pyx_L1_error) + __pyx_tuple__60 = PyTuple_Pack(5, __pyx_n_s_py_db, __pyx_n_s_thread_info, __pyx_n_s_frame, __pyx_n_s_event, __pyx_n_s_arg); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 1898, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__60); + __Pyx_GIVEREF(__pyx_tuple__60); + __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(5, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_do_wait_suspend, 1898, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 1898, __pyx_L1_error) /* "(tree fragment)":1 * def __pyx_unpickle_ThreadInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_tuple__60 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_tuple__60); - __Pyx_GIVEREF(__pyx_tuple__60); - __pyx_codeobj__61 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(1, 1, __pyx_L1_error) - __pyx_codeobj__62 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FuncCodeInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__62)) __PYX_ERR(1, 1, __pyx_L1_error) - __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__60, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle__TryExceptContain, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_tuple__62 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__62)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__62); + __Pyx_GIVEREF(__pyx_tuple__62); + __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_codeobj__64 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FuncCodeInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__64)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_codeobj__65 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__62, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle__TryExceptContain, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_RefNannyFinishContext(); return 0; __pyx_L1_error:; @@ -33941,15 +34842,15 @@ static int __Pyx_modinit_type_init_code(void) { __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); /*--- Type init code ---*/ #if CYTHON_USE_TYPE_SPECS - __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo)) __PYX_ERR(0, 225, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 225, __pyx_L1_error) + __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo)) __PYX_ERR(0, 243, __pyx_L1_error) + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 243, __pyx_L1_error) #else __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo = &__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 225, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 243, __pyx_L1_error) #endif #if PY_MAJOR_VERSION < 3 __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo->tp_print = 0; @@ -33959,20 +34860,20 @@ static int __Pyx_modinit_type_init_code(void) { __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo->tp_getattro = __Pyx_PyObject_GenericGetAttr; } #endif - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ThreadInfo, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 225, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ThreadInfo, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 243, __pyx_L1_error) #if !CYTHON_COMPILING_IN_LIMITED_API - if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 225, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 243, __pyx_L1_error) #endif #if CYTHON_USE_TYPE_SPECS - __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo)) __PYX_ERR(0, 333, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 333, __pyx_L1_error) + __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo)) __PYX_ERR(0, 351, __pyx_L1_error) + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 351, __pyx_L1_error) #else __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo = &__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 333, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 351, __pyx_L1_error) #endif #if PY_MAJOR_VERSION < 3 __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo->tp_print = 0; @@ -33982,20 +34883,20 @@ static int __Pyx_modinit_type_init_code(void) { __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo->tp_getattro = __Pyx_PyObject_GenericGetAttr; } #endif - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_FuncCodeInfo, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 333, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_FuncCodeInfo, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 351, __pyx_L1_error) #if !CYTHON_COMPILING_IN_LIMITED_API - if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 333, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 351, __pyx_L1_error) #endif #if CYTHON_USE_TYPE_SPECS - __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj)) __PYX_ERR(0, 780, __pyx_L1_error) - if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 780, __pyx_L1_error) + __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj)) __PYX_ERR(0, 801, __pyx_L1_error) + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 801, __pyx_L1_error) #else __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj = &__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj; #endif #if !CYTHON_COMPILING_IN_LIMITED_API #endif #if !CYTHON_USE_TYPE_SPECS - if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 780, __pyx_L1_error) + if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 801, __pyx_L1_error) #endif #if PY_MAJOR_VERSION < 3 __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj->tp_print = 0; @@ -34005,9 +34906,9 @@ static int __Pyx_modinit_type_init_code(void) { __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj->tp_getattro = __Pyx_PyObject_GenericGetAttr; } #endif - if (PyObject_SetAttr(__pyx_m, __pyx_n_s_TryExceptContainerObj, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 780, __pyx_L1_error) + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_TryExceptContainerObj, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 801, __pyx_L1_error) #if !CYTHON_COMPILING_IN_LIMITED_API - if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 780, __pyx_L1_error) + if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 801, __pyx_L1_error) #endif #if CYTHON_USE_TYPE_SPECS __pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_spec, NULL); if (unlikely(!__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc)) __PYX_ERR(1, 66, __pyx_L1_error) @@ -34858,7 +35759,7 @@ if (!__Pyx_RefNanny) { * from _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception * from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception # <<<<<<<<<<<<<< * from _pydevd_bundle.pydevd_utils import get_clsname_for_code - * + * from _pydevd_bundle.pydevd_dont_trace_files import PYDEV_FILE */ __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 39, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_2); @@ -34878,8 +35779,8 @@ if (!__Pyx_RefNanny) { * from _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception * from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception * from _pydevd_bundle.pydevd_utils import get_clsname_for_code # <<<<<<<<<<<<<< + * from _pydevd_bundle.pydevd_dont_trace_files import PYDEV_FILE * - * # fmt: off */ __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 40, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_3); @@ -34895,7 +35796,28 @@ if (!__Pyx_RefNanny) { __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":51 + /* "_pydevd_sys_monitoring_cython.pyx":41 + * from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception + * from _pydevd_bundle.pydevd_utils import get_clsname_for_code + * from _pydevd_bundle.pydevd_dont_trace_files import PYDEV_FILE # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 41, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_INCREF(__pyx_n_s_PYDEV_FILE); + __Pyx_GIVEREF(__pyx_n_s_PYDEV_FILE); + if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_PYDEV_FILE)) __PYX_ERR(0, 41, __pyx_L1_error); + __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_dont_trace, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 41, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PYDEV_FILE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 41, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_PYDEV_FILE, __pyx_t_2) < 0) __PYX_ERR(0, 41, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":53 * # fmt: on * * try: # <<<<<<<<<<<<<< @@ -34911,28 +35833,28 @@ if (!__Pyx_RefNanny) { __Pyx_XGOTREF(__pyx_t_5); /*try:*/ { - /* "_pydevd_sys_monitoring_cython.pyx":52 + /* "_pydevd_sys_monitoring_cython.pyx":54 * * try: * from _pydevd_bundle.pydevd_bytecode_utils import get_smart_step_into_variant_from_frame_offset # <<<<<<<<<<<<<< * except ImportError: * */ - __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 52, __pyx_L2_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 54, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_INCREF(__pyx_n_s_get_smart_step_into_variant_from); __Pyx_GIVEREF(__pyx_n_s_get_smart_step_into_variant_from); - if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_get_smart_step_into_variant_from)) __PYX_ERR(0, 52, __pyx_L2_error); - __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_bytecode_u, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 52, __pyx_L2_error) - __Pyx_GOTREF(__pyx_t_3); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 52, __pyx_L2_error) + if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_get_smart_step_into_variant_from)) __PYX_ERR(0, 54, __pyx_L2_error); + __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_bytecode_u, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 54, __pyx_L2_error) __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_smart_step_into_variant_from, __pyx_t_2) < 0) __PYX_ERR(0, 52, __pyx_L2_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_get_smart_step_into_variant_from); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 54, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_smart_step_into_variant_from, __pyx_t_3) < 0) __PYX_ERR(0, 54, __pyx_L2_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":51 + /* "_pydevd_sys_monitoring_cython.pyx":53 * # fmt: on * * try: # <<<<<<<<<<<<<< @@ -34948,7 +35870,7 @@ if (!__Pyx_RefNanny) { __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":53 + /* "_pydevd_sys_monitoring_cython.pyx":55 * try: * from _pydevd_bundle.pydevd_bytecode_utils import get_smart_step_into_variant_from_frame_offset * except ImportError: # <<<<<<<<<<<<<< @@ -34958,30 +35880,30 @@ if (!__Pyx_RefNanny) { __pyx_t_6 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_ImportError); if (__pyx_t_6) { __Pyx_AddTraceback("_pydevd_sys_monitoring_cython", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_7) < 0) __PYX_ERR(0, 53, __pyx_L4_except_error) - __Pyx_XGOTREF(__pyx_t_3); + if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_7) < 0) __PYX_ERR(0, 55, __pyx_L4_except_error) __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); __Pyx_XGOTREF(__pyx_t_7); - /* "_pydevd_sys_monitoring_cython.pyx":55 + /* "_pydevd_sys_monitoring_cython.pyx":57 * except ImportError: * * def get_smart_step_into_variant_from_frame_offset(*args, **kwargs): # <<<<<<<<<<<<<< * return None * */ - __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_1get_smart_step_into_variant_from_frame_offset, 0, __pyx_n_s_get_smart_step_into_variant_from, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__24)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 55, __pyx_L4_except_error) + __pyx_t_8 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_1get_smart_step_into_variant_from_frame_offset, 0, __pyx_n_s_get_smart_step_into_variant_from, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__25)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 57, __pyx_L4_except_error) __Pyx_GOTREF(__pyx_t_8); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_smart_step_into_variant_from, __pyx_t_8) < 0) __PYX_ERR(0, 55, __pyx_L4_except_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_smart_step_into_variant_from, __pyx_t_8) < 0) __PYX_ERR(0, 57, __pyx_L4_except_error) __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; - __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; goto __pyx_L3_exception_handled; } goto __pyx_L4_except_error; - /* "_pydevd_sys_monitoring_cython.pyx":51 + /* "_pydevd_sys_monitoring_cython.pyx":53 * # fmt: on * * try: # <<<<<<<<<<<<<< @@ -35002,53 +35924,53 @@ if (!__Pyx_RefNanny) { __pyx_L7_try_end:; } - /* "_pydevd_sys_monitoring_cython.pyx":59 + /* "_pydevd_sys_monitoring_cython.pyx":61 * * * if hasattr(sys, "monitoring"): # <<<<<<<<<<<<<< * DEBUGGER_ID = sys.monitoring.DEBUGGER_ID * monitor = sys.monitoring */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_sys); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 59, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_sys); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 61, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_9 = __Pyx_HasAttr(__pyx_t_7, __pyx_n_s_monitoring); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 59, __pyx_L1_error) + __pyx_t_9 = __Pyx_HasAttr(__pyx_t_7, __pyx_n_s_monitoring); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 61, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; if (__pyx_t_9) { - /* "_pydevd_sys_monitoring_cython.pyx":60 + /* "_pydevd_sys_monitoring_cython.pyx":62 * * if hasattr(sys, "monitoring"): * DEBUGGER_ID = sys.monitoring.DEBUGGER_ID # <<<<<<<<<<<<<< * monitor = sys.monitoring * */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_sys); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 60, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_sys); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 62, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_monitoring); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 60, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_monitoring); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 60, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 62, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUGGER_ID, __pyx_t_7) < 0) __PYX_ERR(0, 60, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUGGER_ID, __pyx_t_7) < 0) __PYX_ERR(0, 62, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":61 + /* "_pydevd_sys_monitoring_cython.pyx":63 * if hasattr(sys, "monitoring"): * DEBUGGER_ID = sys.monitoring.DEBUGGER_ID * monitor = sys.monitoring # <<<<<<<<<<<<<< * * _thread_local_info = threading.local() */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_sys); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 61, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_sys); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 63, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_monitoring); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 61, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_monitoring); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 63, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_monitor, __pyx_t_2) < 0) __PYX_ERR(0, 61, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_monitor, __pyx_t_3) < 0) __PYX_ERR(0, 63, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":59 + /* "_pydevd_sys_monitoring_cython.pyx":61 * * * if hasattr(sys, "monitoring"): # <<<<<<<<<<<<<< @@ -35057,256 +35979,256 @@ if (!__Pyx_RefNanny) { */ } - /* "_pydevd_sys_monitoring_cython.pyx":63 + /* "_pydevd_sys_monitoring_cython.pyx":65 * monitor = sys.monitoring * * _thread_local_info = threading.local() # <<<<<<<<<<<<<< * _get_ident = threading.get_ident * _thread_active = threading._active # noqa */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 63, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_local); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 63, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_local); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 65, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_t_7); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 63, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyObject_CallNoArg(__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 65, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_thread_local_info, __pyx_t_2) < 0) __PYX_ERR(0, 63, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_thread_local_info, __pyx_t_3) < 0) __PYX_ERR(0, 65, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":64 + /* "_pydevd_sys_monitoring_cython.pyx":66 * * _thread_local_info = threading.local() * _get_ident = threading.get_ident # <<<<<<<<<<<<<< * _thread_active = threading._active # noqa * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 64, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get_ident_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 64, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 66, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_get_ident_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 66, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_ident, __pyx_t_7) < 0) __PYX_ERR(0, 64, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_ident, __pyx_t_7) < 0) __PYX_ERR(0, 66, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":65 + /* "_pydevd_sys_monitoring_cython.pyx":67 * _thread_local_info = threading.local() * _get_ident = threading.get_ident * _thread_active = threading._active # noqa # <<<<<<<<<<<<<< * * STATE_SUSPEND: int = 2 */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_threading); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 65, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_threading); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 67, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 65, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_active); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 67, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_thread_active, __pyx_t_2) < 0) __PYX_ERR(0, 65, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_thread_active, __pyx_t_3) < 0) __PYX_ERR(0, 67, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":67 + /* "_pydevd_sys_monitoring_cython.pyx":69 * _thread_active = threading._active # noqa * * STATE_SUSPEND: int = 2 # <<<<<<<<<<<<<< * CMD_STEP_INTO: int = 107 * CMD_STEP_OVER: int = 108 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_SUSPEND, __pyx_int_2) < 0) __PYX_ERR(0, 67, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_SUSPEND, __pyx_int_2) < 0) __PYX_ERR(0, 69, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":68 + /* "_pydevd_sys_monitoring_cython.pyx":70 * * STATE_SUSPEND: int = 2 * CMD_STEP_INTO: int = 107 # <<<<<<<<<<<<<< * CMD_STEP_OVER: int = 108 * CMD_STEP_OVER_MY_CODE: int = 159 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO, __pyx_int_107) < 0) __PYX_ERR(0, 68, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO, __pyx_int_107) < 0) __PYX_ERR(0, 70, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":69 + /* "_pydevd_sys_monitoring_cython.pyx":71 * STATE_SUSPEND: int = 2 * CMD_STEP_INTO: int = 107 * CMD_STEP_OVER: int = 108 # <<<<<<<<<<<<<< * CMD_STEP_OVER_MY_CODE: int = 159 * CMD_STEP_INTO_MY_CODE: int = 144 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER, __pyx_int_108) < 0) __PYX_ERR(0, 69, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER, __pyx_int_108) < 0) __PYX_ERR(0, 71, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":70 + /* "_pydevd_sys_monitoring_cython.pyx":72 * CMD_STEP_INTO: int = 107 * CMD_STEP_OVER: int = 108 * CMD_STEP_OVER_MY_CODE: int = 159 # <<<<<<<<<<<<<< * CMD_STEP_INTO_MY_CODE: int = 144 * CMD_STEP_INTO_COROUTINE: int = 206 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER_MY_CODE, __pyx_int_159) < 0) __PYX_ERR(0, 70, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER_MY_CODE, __pyx_int_159) < 0) __PYX_ERR(0, 72, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":71 + /* "_pydevd_sys_monitoring_cython.pyx":73 * CMD_STEP_OVER: int = 108 * CMD_STEP_OVER_MY_CODE: int = 159 * CMD_STEP_INTO_MY_CODE: int = 144 # <<<<<<<<<<<<<< * CMD_STEP_INTO_COROUTINE: int = 206 * CMD_SMART_STEP_INTO: int = 128 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO_MY_CODE, __pyx_int_144) < 0) __PYX_ERR(0, 71, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO_MY_CODE, __pyx_int_144) < 0) __PYX_ERR(0, 73, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":72 + /* "_pydevd_sys_monitoring_cython.pyx":74 * CMD_STEP_OVER_MY_CODE: int = 159 * CMD_STEP_INTO_MY_CODE: int = 144 * CMD_STEP_INTO_COROUTINE: int = 206 # <<<<<<<<<<<<<< * CMD_SMART_STEP_INTO: int = 128 * can_skip: bool = True */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO_COROUTINE, __pyx_int_206) < 0) __PYX_ERR(0, 72, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO_COROUTINE, __pyx_int_206) < 0) __PYX_ERR(0, 74, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":73 + /* "_pydevd_sys_monitoring_cython.pyx":75 * CMD_STEP_INTO_MY_CODE: int = 144 * CMD_STEP_INTO_COROUTINE: int = 206 * CMD_SMART_STEP_INTO: int = 128 # <<<<<<<<<<<<<< * can_skip: bool = True * CMD_STEP_RETURN: int = 109 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SMART_STEP_INTO, __pyx_int_128) < 0) __PYX_ERR(0, 73, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SMART_STEP_INTO, __pyx_int_128) < 0) __PYX_ERR(0, 75, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":74 + /* "_pydevd_sys_monitoring_cython.pyx":76 * CMD_STEP_INTO_COROUTINE: int = 206 * CMD_SMART_STEP_INTO: int = 128 * can_skip: bool = True # <<<<<<<<<<<<<< * CMD_STEP_RETURN: int = 109 * CMD_STEP_OVER_MY_CODE: int = 159 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_can_skip, Py_True) < 0) __PYX_ERR(0, 74, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_can_skip, Py_True) < 0) __PYX_ERR(0, 76, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":75 + /* "_pydevd_sys_monitoring_cython.pyx":77 * CMD_SMART_STEP_INTO: int = 128 * can_skip: bool = True * CMD_STEP_RETURN: int = 109 # <<<<<<<<<<<<<< * CMD_STEP_OVER_MY_CODE: int = 159 * CMD_STEP_RETURN_MY_CODE: int = 160 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_RETURN, __pyx_int_109) < 0) __PYX_ERR(0, 75, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_RETURN, __pyx_int_109) < 0) __PYX_ERR(0, 77, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":76 + /* "_pydevd_sys_monitoring_cython.pyx":78 * can_skip: bool = True * CMD_STEP_RETURN: int = 109 * CMD_STEP_OVER_MY_CODE: int = 159 # <<<<<<<<<<<<<< * CMD_STEP_RETURN_MY_CODE: int = 160 * CMD_SET_BREAK: int = 111 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER_MY_CODE, __pyx_int_159) < 0) __PYX_ERR(0, 76, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER_MY_CODE, __pyx_int_159) < 0) __PYX_ERR(0, 78, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":77 + /* "_pydevd_sys_monitoring_cython.pyx":79 * CMD_STEP_RETURN: int = 109 * CMD_STEP_OVER_MY_CODE: int = 159 * CMD_STEP_RETURN_MY_CODE: int = 160 # <<<<<<<<<<<<<< * CMD_SET_BREAK: int = 111 * CMD_SET_FUNCTION_BREAK: int = 208 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_RETURN_MY_CODE, __pyx_int_160) < 0) __PYX_ERR(0, 77, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_RETURN_MY_CODE, __pyx_int_160) < 0) __PYX_ERR(0, 79, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":78 + /* "_pydevd_sys_monitoring_cython.pyx":80 * CMD_STEP_OVER_MY_CODE: int = 159 * CMD_STEP_RETURN_MY_CODE: int = 160 * CMD_SET_BREAK: int = 111 # <<<<<<<<<<<<<< * CMD_SET_FUNCTION_BREAK: int = 208 * STATE_RUN: int = 1 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SET_BREAK, __pyx_int_111) < 0) __PYX_ERR(0, 78, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SET_BREAK, __pyx_int_111) < 0) __PYX_ERR(0, 80, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":79 + /* "_pydevd_sys_monitoring_cython.pyx":81 * CMD_STEP_RETURN_MY_CODE: int = 160 * CMD_SET_BREAK: int = 111 * CMD_SET_FUNCTION_BREAK: int = 208 # <<<<<<<<<<<<<< * STATE_RUN: int = 1 * STATE_SUSPEND: int = 2 */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SET_FUNCTION_BREAK, __pyx_int_208) < 0) __PYX_ERR(0, 79, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SET_FUNCTION_BREAK, __pyx_int_208) < 0) __PYX_ERR(0, 81, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":80 + /* "_pydevd_sys_monitoring_cython.pyx":82 * CMD_SET_BREAK: int = 111 * CMD_SET_FUNCTION_BREAK: int = 208 * STATE_RUN: int = 1 # <<<<<<<<<<<<<< * STATE_SUSPEND: int = 2 * */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_RUN, __pyx_int_1) < 0) __PYX_ERR(0, 80, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_RUN, __pyx_int_1) < 0) __PYX_ERR(0, 82, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":81 + /* "_pydevd_sys_monitoring_cython.pyx":83 * CMD_SET_FUNCTION_BREAK: int = 208 * STATE_RUN: int = 1 * STATE_SUSPEND: int = 2 # <<<<<<<<<<<<<< * * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_SUSPEND, __pyx_int_2) < 0) __PYX_ERR(0, 81, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_SUSPEND, __pyx_int_2) < 0) __PYX_ERR(0, 83, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":83 + /* "_pydevd_sys_monitoring_cython.pyx":85 * STATE_SUSPEND: int = 2 * * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") # <<<<<<<<<<<<<< * DEBUG_START = ("pydevd.py", "run") * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_re); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 83, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_compile); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 83, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_re); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 85, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_compile); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 85, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__25, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 83, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__26, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 85, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_IGNORE_EXCEPTION_TAG, __pyx_t_2) < 0) __PYX_ERR(0, 83, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_IGNORE_EXCEPTION_TAG, __pyx_t_3) < 0) __PYX_ERR(0, 85, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":84 + /* "_pydevd_sys_monitoring_cython.pyx":86 * * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") * DEBUG_START = ("pydevd.py", "run") # <<<<<<<<<<<<<< * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUG_START, __pyx_tuple__26) < 0) __PYX_ERR(0, 84, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUG_START, __pyx_tuple__27) < 0) __PYX_ERR(0, 86, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":85 + /* "_pydevd_sys_monitoring_cython.pyx":87 * IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") * DEBUG_START = ("pydevd.py", "run") * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") # <<<<<<<<<<<<<< * TRACE_PROPERTY = "pydevd_traceproperty.py" * */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUG_START_PY3K, __pyx_tuple__27) < 0) __PYX_ERR(0, 85, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUG_START_PY3K, __pyx_tuple__28) < 0) __PYX_ERR(0, 87, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":86 + /* "_pydevd_sys_monitoring_cython.pyx":88 * DEBUG_START = ("pydevd.py", "run") * DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile") * TRACE_PROPERTY = "pydevd_traceproperty.py" # <<<<<<<<<<<<<< * * _global_notify_skipped_step_in = False */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_TRACE_PROPERTY, __pyx_kp_s_pydevd_traceproperty_py) < 0) __PYX_ERR(0, 86, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_TRACE_PROPERTY, __pyx_kp_s_pydevd_traceproperty_py) < 0) __PYX_ERR(0, 88, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":88 + /* "_pydevd_sys_monitoring_cython.pyx":90 * TRACE_PROPERTY = "pydevd_traceproperty.py" * * _global_notify_skipped_step_in = False # <<<<<<<<<<<<<< * _global_notify_skipped_step_in_lock = ForkSafeLock() * */ - if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in, Py_False) < 0) __PYX_ERR(0, 88, __pyx_L1_error) + if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in, Py_False) < 0) __PYX_ERR(0, 90, __pyx_L1_error) - /* "_pydevd_sys_monitoring_cython.pyx":89 + /* "_pydevd_sys_monitoring_cython.pyx":91 * * _global_notify_skipped_step_in = False * _global_notify_skipped_step_in_lock = ForkSafeLock() # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_ForkSafeLock); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 89, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 89, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_ForkSafeLock); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 91, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 91, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in_l, __pyx_t_7) < 0) __PYX_ERR(0, 89, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in_l, __pyx_t_7) < 0) __PYX_ERR(0, 91, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; /* "(tree fragment)":1 @@ -35314,7 +36236,7 @@ if (!__Pyx_RefNanny) { * cdef tuple state * cdef object _dict */ - __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadInfo___reduce_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__29)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadInfo___reduce_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__30)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_n_s_reduce_cython, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -35326,69 +36248,69 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state) */ - __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadInfo___setstate_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__31)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_10ThreadInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ThreadInfo___setstate_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__32)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_n_s_setstate_cython, __pyx_t_7) < 0) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo); - /* "_pydevd_sys_monitoring_cython.pyx":252 + /* "_pydevd_sys_monitoring_cython.pyx":270 * * * class _DeleteDummyThreadOnDel: # <<<<<<<<<<<<<< * """ * Helper class to remove a dummy thread from threading._active on __del__. */ - __pyx_t_7 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_DeleteDummyThreadOnDel, __pyx_n_s_DeleteDummyThreadOnDel, (PyObject *) NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_kp_s_Helper_class_to_remove_a_dummy); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 252, __pyx_L1_error) + __pyx_t_7 = __Pyx_Py3MetaclassPrepare((PyObject *) NULL, __pyx_empty_tuple, __pyx_n_s_DeleteDummyThreadOnDel, __pyx_n_s_DeleteDummyThreadOnDel, (PyObject *) NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_kp_s_Helper_class_to_remove_a_dummy); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 270, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - /* "_pydevd_sys_monitoring_cython.pyx":257 + /* "_pydevd_sys_monitoring_cython.pyx":275 * """ * * def __init__(self, dummy_thread): # <<<<<<<<<<<<<< * self._dummy_thread = dummy_thread * self._tident = dummy_thread.ident */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__, 0, __pyx_n_s_DeleteDummyThreadOnDel___init, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__33)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 257, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_init, __pyx_t_2) < 0) __PYX_ERR(0, 257, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_1__init__, 0, __pyx_n_s_DeleteDummyThreadOnDel___init, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__34)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 275, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_init, __pyx_t_3) < 0) __PYX_ERR(0, 275, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":268 + /* "_pydevd_sys_monitoring_cython.pyx":286 * _thread_local_info._track_dummy_thread_ref = self * * def __del__(self): # <<<<<<<<<<<<<< * with threading._active_limbo_lock: * if _thread_active.get(self._tident) is self._dummy_thread: */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__, 0, __pyx_n_s_DeleteDummyThreadOnDel___del, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__35)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 268, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_del, __pyx_t_2) < 0) __PYX_ERR(0, 268, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOnDel_3__del__, 0, __pyx_n_s_DeleteDummyThreadOnDel___del, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__36)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 286, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_del, __pyx_t_3) < 0) __PYX_ERR(0, 286, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":252 + /* "_pydevd_sys_monitoring_cython.pyx":270 * * * class _DeleteDummyThreadOnDel: # <<<<<<<<<<<<<< * """ * Helper class to remove a dummy thread from threading._active on __del__. */ - __pyx_t_2 = __Pyx_Py3ClassCreate(((PyObject*)&PyType_Type), __pyx_n_s_DeleteDummyThreadOnDel, __pyx_empty_tuple, __pyx_t_7, NULL, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeleteDummyThreadOnDel, __pyx_t_2) < 0) __PYX_ERR(0, 252, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_Py3ClassCreate(((PyObject*)&PyType_Type), __pyx_n_s_DeleteDummyThreadOnDel, __pyx_empty_tuple, __pyx_t_7, NULL, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeleteDummyThreadOnDel, __pyx_t_3) < 0) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":398 + /* "_pydevd_sys_monitoring_cython.pyx":416 * self.co_name: str = "" * * def get_line_of_offset(self, offset): # <<<<<<<<<<<<<< * for start, end, line in self.code_obj.co_lines(): * if offset >= start and offset <= end: */ - __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_FuncCodeInfo_get_line_of_offset, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__37)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 398, __pyx_L1_error) + __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_FuncCodeInfo_get_line_of_offset, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 416, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_n_s_get_line_of_offset, __pyx_t_7) < 0) __PYX_ERR(0, 398, __pyx_L1_error) + if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_n_s_get_line_of_offset, __pyx_t_7) < 0) __PYX_ERR(0, 416, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo); @@ -35397,7 +36319,7 @@ if (!__Pyx_RefNanny) { * cdef tuple state * cdef object _dict */ - __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_FuncCodeInfo___reduce_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__38)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error) + __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_FuncCodeInfo___reduce_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__39)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_n_s_reduce_cython, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; @@ -35409,97 +36331,97 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle_FuncCodeInfo__set_state(self, __pyx_state) */ - __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_FuncCodeInfo___setstate_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__39)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 16, __pyx_L1_error) + __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_FuncCodeInfo___setstate_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__40)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo, __pyx_n_s_setstate_cython, __pyx_t_7) < 0) __PYX_ERR(1, 16, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo); - /* "_pydevd_sys_monitoring_cython.pyx":432 + /* "_pydevd_sys_monitoring_cython.pyx":450 * * * _CodeLineInfo = namedtuple("_CodeLineInfo", "line_to_offset, first_line, last_line") # <<<<<<<<<<<<<< * * */ - __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_namedtuple); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 432, __pyx_L1_error) + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_namedtuple); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 450, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__40, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 432, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__41, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 450, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_CodeLineInfo, __pyx_t_2) < 0) __PYX_ERR(0, 432, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_CodeLineInfo, __pyx_t_3) < 0) __PYX_ERR(0, 450, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":438 + /* "_pydevd_sys_monitoring_cython.pyx":456 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<< * # ELSE * # def _get_code_line_info(code_obj, _cache={}): */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 438, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __pyx_k__15 = __pyx_t_2; - __Pyx_GIVEREF(__pyx_t_2); - __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 456, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_k__16 = __pyx_t_3; + __Pyx_GIVEREF(__pyx_t_3); + __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":461 + /* "_pydevd_sys_monitoring_cython.pyx":479 * * * _code_to_func_code_info_cache: Dict[CodeType, "FuncCodeInfo"] = {} # <<<<<<<<<<<<<< * * */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 461, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_code_to_func_code_info_cache, __pyx_t_2) < 0) __PYX_ERR(0, 461, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 479, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_code_to_func_code_info_cache, __pyx_t_3) < 0) __PYX_ERR(0, 479, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":466 + /* "_pydevd_sys_monitoring_cython.pyx":484 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<< * cdef FuncCodeInfo func_code_info * # ELSE */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_3_get_func_code_info, 0, __pyx_n_s_get_func_code_info, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__42)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 466, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_func_code_info, __pyx_t_2) < 0) __PYX_ERR(0, 466, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_3_get_func_code_info, 0, __pyx_n_s_get_func_code_info, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__43)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 484, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_func_code_info, __pyx_t_3) < 0) __PYX_ERR(0, 484, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":658 + /* "_pydevd_sys_monitoring_cython.pyx":678 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef disable_code_tracing(code): # <<<<<<<<<<<<<< * # ELSE * # def disable_code_tracing(code): */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_5disable_code_tracing, 0, __pyx_n_s_disable_code_tracing, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__44)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 658, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_disable_code_tracing, __pyx_t_2) < 0) __PYX_ERR(0, 658, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_5disable_code_tracing, 0, __pyx_n_s_disable_code_tracing, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__45)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 678, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_disable_code_tracing, __pyx_t_3) < 0) __PYX_ERR(0, 678, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":668 + /* "_pydevd_sys_monitoring_cython.pyx":689 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<< * # ELSE * # def enable_code_tracing(thread_ident: Optional[int], code, frame) -> bool: */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_7enable_code_tracing, 0, __pyx_n_s_enable_code_tracing, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__46)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 668, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_enable_code_tracing, __pyx_t_2) < 0) __PYX_ERR(0, 668, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_7enable_code_tracing, 0, __pyx_n_s_enable_code_tracing, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 689, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_enable_code_tracing, __pyx_t_3) < 0) __PYX_ERR(0, 689, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "(tree fragment)":1 * def __reduce_cython__(self): # <<<<<<<<<<<<<< * cdef tuple state * cdef object _dict */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TryExceptContainerObj___reduce, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_n_s_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TryExceptContainerObj___reduce, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__48)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_n_s_reduce_cython, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj); /* "(tree fragment)":16 @@ -35508,95 +36430,107 @@ if (!__Pyx_RefNanny) { * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< * __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state) */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TryExceptContainerObj___setstat, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__48)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 16, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_n_s_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(1, 16, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_TryExceptContainerObj___setstat, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__49)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj, __pyx_n_s_setstate_cython, __pyx_t_3) < 0) __PYX_ERR(1, 16, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj); - /* "_pydevd_sys_monitoring_cython.pyx":1663 + /* "_pydevd_sys_monitoring_cython.pyx":1708 + * # fmt: off + * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) + * cpdef _ensure_monitoring(): # <<<<<<<<<<<<<< + * # ELSE + * # def _ensure_monitoring(): + */ + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_9_ensure_monitoring, 0, __pyx_n_s_ensure_monitoring, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__50)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1708, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_ensure_monitoring, __pyx_t_3) < 0) __PYX_ERR(0, 1708, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + + /* "_pydevd_sys_monitoring_cython.pyx":1722 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_9start_monitoring, 0, __pyx_n_s_start_monitoring, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__50)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1663, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_tuple__51); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_start_monitoring, __pyx_t_2) < 0) __PYX_ERR(0, 1663, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_11start_monitoring, 0, __pyx_n_s_start_monitoring, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__52)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1722, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_3, __pyx_tuple__53); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_start_monitoring, __pyx_t_3) < 0) __PYX_ERR(0, 1722, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1691 + /* "_pydevd_sys_monitoring_cython.pyx":1750 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<< * cdef ThreadInfo thread_info * # ELSE */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_11stop_monitoring, 0, __pyx_n_s_stop_monitoring, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__52)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1691, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_tuple__53); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_stop_monitoring, __pyx_t_2) < 0) __PYX_ERR(0, 1691, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13stop_monitoring, 0, __pyx_n_s_stop_monitoring, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__54)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1750, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_3, __pyx_tuple__55); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_stop_monitoring, __pyx_t_3) < 0) __PYX_ERR(0, 1750, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1719 + /* "_pydevd_sys_monitoring_cython.pyx":1778 * * * def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<< * """ * This should be called when breakpoints change. */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1719, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_suspend_requested, __pyx_kp_s_Optional_bool) < 0) __PYX_ERR(0, 1719, __pyx_L1_error) - if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 1719, __pyx_L1_error) - __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13update_monitor_events, 0, __pyx_n_s_update_monitor_events, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__55)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1719, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1778, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_suspend_requested, __pyx_kp_s_Optional_bool) < 0) __PYX_ERR(0, 1778, __pyx_L1_error) + if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 1778, __pyx_L1_error) + __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_15update_monitor_events, 0, __pyx_n_s_update_monitor_events, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__57)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1778, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_7, __pyx_tuple__56); - __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_7, __pyx_t_2); - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_update_monitor_events, __pyx_t_7) < 0) __PYX_ERR(0, 1719, __pyx_L1_error) + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_7, __pyx_tuple__58); + __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_7, __pyx_t_3); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_update_monitor_events, __pyx_t_7) < 0) __PYX_ERR(0, 1778, __pyx_L1_error) __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1804 + /* "_pydevd_sys_monitoring_cython.pyx":1863 * * * def restart_events() -> None: # <<<<<<<<<<<<<< * # Note: if breakpoints change, update_monitor_events usually needs to be * # called first, then the line event tracing must be set for existing frames */ - __pyx_t_7 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1804, __pyx_L1_error) + __pyx_t_7 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1863, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_7); - if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 1804, __pyx_L1_error) - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_15restart_events, 0, __pyx_n_s_restart_events, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__57)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1804, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_2, __pyx_t_7); + if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 1863, __pyx_L1_error) + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_17restart_events, 0, __pyx_n_s_restart_events, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__59)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1863, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_3, __pyx_t_7); __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; - if (PyDict_SetItem(__pyx_d, __pyx_n_s_restart_events, __pyx_t_2) < 0) __PYX_ERR(0, 1804, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (PyDict_SetItem(__pyx_d, __pyx_n_s_restart_events, __pyx_t_3) < 0) __PYX_ERR(0, 1863, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; - /* "_pydevd_sys_monitoring_cython.pyx":1839 + /* "_pydevd_sys_monitoring_cython.pyx":1898 * # fmt: off * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) * def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<< * # ELSE * # def _do_wait_suspend(py_db, thread_info, frame, event, arg): */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_17_do_wait_suspend, 0, __pyx_n_s_do_wait_suspend, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__59)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1839, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_do_wait_suspend, __pyx_t_2) < 0) __PYX_ERR(0, 1839, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_19_do_wait_suspend, 0, __pyx_n_s_do_wait_suspend, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__61)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1898, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_do_wait_suspend, __pyx_t_3) < 0) __PYX_ERR(0, 1898, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "(tree fragment)":1 * def __pyx_unpickle_ThreadInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_19__pyx_unpickle_ThreadInfo, 0, __pyx_n_s_pyx_unpickle_ThreadInfo, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__61)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ThreadInfo, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_ThreadInfo, 0, __pyx_n_s_pyx_unpickle_ThreadInfo, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ThreadInfo, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "(tree fragment)":11 * __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state) @@ -35605,30 +36539,30 @@ if (!__Pyx_RefNanny) { * __pyx_result.additional_info = __pyx_state[0]; __pyx_result.thread = __pyx_state[1]; __pyx_result.thread_ident = __pyx_state[2]; __pyx_result.trace = __pyx_state[3] * if len(__pyx_state) > 4 and hasattr(__pyx_result, '__dict__'): */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_21__pyx_unpickle_FuncCodeInfo, 0, __pyx_n_s_pyx_unpickle_FuncCodeInfo, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__62)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_FuncCodeInfo, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23__pyx_unpickle_FuncCodeInfo, 0, __pyx_n_s_pyx_unpickle_FuncCodeInfo, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__64)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_FuncCodeInfo, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "(tree fragment)":1 * def __pyx_unpickle__TryExceptContainerObj(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< * cdef object __pyx_PickleError * cdef object __pyx_result */ - __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_23__pyx_unpickle__TryExceptContainerObj, 0, __pyx_n_s_pyx_unpickle__TryExceptContain, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__63)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle__TryExceptContain, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__TryExceptContainerObj, 0, __pyx_n_s_pyx_unpickle__TryExceptContain, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__65)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle__TryExceptContain, __pyx_t_3) < 0) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /* "_pydevd_sys_monitoring_cython.pyx":1 * from __future__ import print_function # <<<<<<<<<<<<<< * * # Important: Autogenerated file. */ - __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1, __pyx_L1_error) - __Pyx_GOTREF(__pyx_t_2); - if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_2) < 0) __PYX_ERR(0, 1, __pyx_L1_error) - __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_3) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; /*--- Wrapped vars code ---*/ @@ -38238,253 +39172,6 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr } #endif -/* ArgTypeTest */ -static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact) -{ - __Pyx_TypeName type_name; - __Pyx_TypeName obj_type_name; - if (unlikely(!type)) { - PyErr_SetString(PyExc_SystemError, "Missing type object"); - return 0; - } - else if (exact) { - #if PY_MAJOR_VERSION == 2 - if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1; - #endif - } - else { - if (likely(__Pyx_TypeCheck(obj, type))) return 1; - } - type_name = __Pyx_PyType_GetName(type); - obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, - "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME - ", got " __Pyx_FMT_TYPENAME ")", name, type_name, obj_type_name); - __Pyx_DECREF_TypeName(type_name); - __Pyx_DECREF_TypeName(obj_type_name); - return 0; -} - -/* GetAttr3 */ -#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1 -static PyObject *__Pyx_GetAttr3Default(PyObject *d) { - __Pyx_PyThreadState_declare - __Pyx_PyThreadState_assign - if (unlikely(!__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError))) - return NULL; - __Pyx_PyErr_Clear(); - Py_INCREF(d); - return d; -} -#endif -static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) { - PyObject *r; -#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1 - int res = PyObject_GetOptionalAttr(o, n, &r); - return (res != 0) ? r : __Pyx_NewRef(d); -#else - #if CYTHON_USE_TYPE_SLOTS - if (likely(PyString_Check(n))) { - r = __Pyx_PyObject_GetAttrStrNoError(o, n); - if (unlikely(!r) && likely(!PyErr_Occurred())) { - r = __Pyx_NewRef(d); - } - return r; - } - #endif - r = PyObject_GetAttr(o, n); - return (likely(r)) ? r : __Pyx_GetAttr3Default(d); -#endif -} - -/* RaiseUnexpectedTypeError */ -static int -__Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) -{ - __Pyx_TypeName obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); - PyErr_Format(PyExc_TypeError, "Expected %s, got " __Pyx_FMT_TYPENAME, - expected, obj_type_name); - __Pyx_DECREF_TypeName(obj_type_name); - return 0; -} - -/* PyIntBinop */ -#if !CYTHON_COMPILING_IN_PYPY -static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check) { - CYTHON_MAYBE_UNUSED_VAR(intval); - CYTHON_MAYBE_UNUSED_VAR(inplace); - CYTHON_UNUSED_VAR(zerodivision_check); - #if PY_MAJOR_VERSION < 3 - if (likely(PyInt_CheckExact(op1))) { - const long b = intval; - long x; - long a = PyInt_AS_LONG(op1); - - x = (long)((unsigned long)a + (unsigned long)b); - if (likely((x^a) >= 0 || (x^b) >= 0)) - return PyInt_FromLong(x); - return PyLong_Type.tp_as_number->nb_add(op1, op2); - } - #endif - #if CYTHON_USE_PYLONG_INTERNALS - if (likely(PyLong_CheckExact(op1))) { - const long b = intval; - long a, x; -#ifdef HAVE_LONG_LONG - const PY_LONG_LONG llb = intval; - PY_LONG_LONG lla, llx; -#endif - if (unlikely(__Pyx_PyLong_IsZero(op1))) { - return __Pyx_NewRef(op2); - } - if (likely(__Pyx_PyLong_IsCompact(op1))) { - a = __Pyx_PyLong_CompactValue(op1); - } else { - const digit* digits = __Pyx_PyLong_Digits(op1); - const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op1); - switch (size) { - case -2: - if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { - a = -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - break; - #ifdef HAVE_LONG_LONG - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { - lla = -(PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - goto long_long; - #endif - } - CYTHON_FALLTHROUGH; - case 2: - if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { - a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - break; - #ifdef HAVE_LONG_LONG - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - goto long_long; - #endif - } - CYTHON_FALLTHROUGH; - case -3: - if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { - a = -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - break; - #ifdef HAVE_LONG_LONG - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { - lla = -(PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - goto long_long; - #endif - } - CYTHON_FALLTHROUGH; - case 3: - if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { - a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - break; - #ifdef HAVE_LONG_LONG - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - goto long_long; - #endif - } - CYTHON_FALLTHROUGH; - case -4: - if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { - a = -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - break; - #ifdef HAVE_LONG_LONG - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { - lla = -(PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - goto long_long; - #endif - } - CYTHON_FALLTHROUGH; - case 4: - if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { - a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); - break; - #ifdef HAVE_LONG_LONG - } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { - lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); - goto long_long; - #endif - } - CYTHON_FALLTHROUGH; - default: return PyLong_Type.tp_as_number->nb_add(op1, op2); - } - } - x = a + b; - return PyLong_FromLong(x); -#ifdef HAVE_LONG_LONG - long_long: - llx = lla + llb; - return PyLong_FromLongLong(llx); -#endif - - - } - #endif - if (PyFloat_CheckExact(op1)) { - const long b = intval; -#if CYTHON_COMPILING_IN_LIMITED_API - double a = __pyx_PyFloat_AsDouble(op1); -#else - double a = PyFloat_AS_DOUBLE(op1); -#endif - double result; - - PyFPE_START_PROTECT("add", return NULL) - result = ((double)a) + (double)b; - PyFPE_END_PROTECT(result) - return PyFloat_FromDouble(result); - } - return (inplace ? PyNumber_InPlaceAdd : PyNumber_Add)(op1, op2); -} -#endif - -/* RaiseTooManyValuesToUnpack */ -static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) { - PyErr_Format(PyExc_ValueError, - "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected); -} - -/* RaiseNeedMoreValuesToUnpack */ -static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) { - PyErr_Format(PyExc_ValueError, - "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack", - index, (index == 1) ? "" : "s"); -} - -/* IterFinish */ -static CYTHON_INLINE int __Pyx_IterFinish(void) { - PyObject* exc_type; - __Pyx_PyThreadState_declare - __Pyx_PyThreadState_assign - exc_type = __Pyx_PyErr_CurrentExceptionType(); - if (unlikely(exc_type)) { - if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) - return -1; - __Pyx_PyErr_Clear(); - return 0; - } - return 0; -} - -/* UnpackItemEndCheck */ -static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { - if (unlikely(retval)) { - Py_DECREF(retval); - __Pyx_RaiseTooManyValuesError(expected); - return -1; - } - return __Pyx_IterFinish(); -} - -/* PyObjectCallNoArg */ -static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) { - PyObject *arg[2] = {NULL, NULL}; - return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); -} - /* RaiseException */ #if PY_MAJOR_VERSION < 3 static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) { @@ -38646,6 +39333,253 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject } #endif +/* ArgTypeTest */ +static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact) +{ + __Pyx_TypeName type_name; + __Pyx_TypeName obj_type_name; + if (unlikely(!type)) { + PyErr_SetString(PyExc_SystemError, "Missing type object"); + return 0; + } + else if (exact) { + #if PY_MAJOR_VERSION == 2 + if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1; + #endif + } + else { + if (likely(__Pyx_TypeCheck(obj, type))) return 1; + } + type_name = __Pyx_PyType_GetName(type); + obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, + "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME + ", got " __Pyx_FMT_TYPENAME ")", name, type_name, obj_type_name); + __Pyx_DECREF_TypeName(type_name); + __Pyx_DECREF_TypeName(obj_type_name); + return 0; +} + +/* GetAttr3 */ +#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1 +static PyObject *__Pyx_GetAttr3Default(PyObject *d) { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + if (unlikely(!__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError))) + return NULL; + __Pyx_PyErr_Clear(); + Py_INCREF(d); + return d; +} +#endif +static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) { + PyObject *r; +#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1 + int res = PyObject_GetOptionalAttr(o, n, &r); + return (res != 0) ? r : __Pyx_NewRef(d); +#else + #if CYTHON_USE_TYPE_SLOTS + if (likely(PyString_Check(n))) { + r = __Pyx_PyObject_GetAttrStrNoError(o, n); + if (unlikely(!r) && likely(!PyErr_Occurred())) { + r = __Pyx_NewRef(d); + } + return r; + } + #endif + r = PyObject_GetAttr(o, n); + return (likely(r)) ? r : __Pyx_GetAttr3Default(d); +#endif +} + +/* RaiseUnexpectedTypeError */ +static int +__Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) +{ + __Pyx_TypeName obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, "Expected %s, got " __Pyx_FMT_TYPENAME, + expected, obj_type_name); + __Pyx_DECREF_TypeName(obj_type_name); + return 0; +} + +/* PyIntBinop */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check) { + CYTHON_MAYBE_UNUSED_VAR(intval); + CYTHON_MAYBE_UNUSED_VAR(inplace); + CYTHON_UNUSED_VAR(zerodivision_check); + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + const long b = intval; + long x; + long a = PyInt_AS_LONG(op1); + + x = (long)((unsigned long)a + (unsigned long)b); + if (likely((x^a) >= 0 || (x^b) >= 0)) + return PyInt_FromLong(x); + return PyLong_Type.tp_as_number->nb_add(op1, op2); + } + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (likely(PyLong_CheckExact(op1))) { + const long b = intval; + long a, x; +#ifdef HAVE_LONG_LONG + const PY_LONG_LONG llb = intval; + PY_LONG_LONG lla, llx; +#endif + if (unlikely(__Pyx_PyLong_IsZero(op1))) { + return __Pyx_NewRef(op2); + } + if (likely(__Pyx_PyLong_IsCompact(op1))) { + a = __Pyx_PyLong_CompactValue(op1); + } else { + const digit* digits = __Pyx_PyLong_Digits(op1); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op1); + switch (size) { + case -2: + if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 2: + if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case -3: + if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 3: + if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case -4: + if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 4: + if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + default: return PyLong_Type.tp_as_number->nb_add(op1, op2); + } + } + x = a + b; + return PyLong_FromLong(x); +#ifdef HAVE_LONG_LONG + long_long: + llx = lla + llb; + return PyLong_FromLongLong(llx); +#endif + + + } + #endif + if (PyFloat_CheckExact(op1)) { + const long b = intval; +#if CYTHON_COMPILING_IN_LIMITED_API + double a = __pyx_PyFloat_AsDouble(op1); +#else + double a = PyFloat_AS_DOUBLE(op1); +#endif + double result; + + PyFPE_START_PROTECT("add", return NULL) + result = ((double)a) + (double)b; + PyFPE_END_PROTECT(result) + return PyFloat_FromDouble(result); + } + return (inplace ? PyNumber_InPlaceAdd : PyNumber_Add)(op1, op2); +} +#endif + +/* RaiseTooManyValuesToUnpack */ +static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) { + PyErr_Format(PyExc_ValueError, + "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected); +} + +/* RaiseNeedMoreValuesToUnpack */ +static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) { + PyErr_Format(PyExc_ValueError, + "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack", + index, (index == 1) ? "" : "s"); +} + +/* IterFinish */ +static CYTHON_INLINE int __Pyx_IterFinish(void) { + PyObject* exc_type; + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + exc_type = __Pyx_PyErr_CurrentExceptionType(); + if (unlikely(exc_type)) { + if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) + return -1; + __Pyx_PyErr_Clear(); + return 0; + } + return 0; +} + +/* UnpackItemEndCheck */ +static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { + if (unlikely(retval)) { + Py_DECREF(retval); + __Pyx_RaiseTooManyValuesError(expected); + return -1; + } + return __Pyx_IterFinish(); +} + +/* PyObjectCallNoArg */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) { + PyObject *arg[2] = {NULL, NULL}; + return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); +} + /* PyObjectCallOneArg */ static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) { PyObject *args[2] = {NULL, arg}; @@ -39047,6 +39981,37 @@ static CYTHON_INLINE int __Pyx_dict_iter_next( return 1; } +/* GetAttr */ +static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) { +#if CYTHON_USE_TYPE_SLOTS +#if PY_MAJOR_VERSION >= 3 + if (likely(PyUnicode_Check(n))) +#else + if (likely(PyString_Check(n))) +#endif + return __Pyx_PyObject_GetAttrStr(o, n); +#endif + return PyObject_GetAttr(o, n); +} + +/* HasAttr */ +static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { + PyObject *r; + if (unlikely(!__Pyx_PyBaseString_Check(n))) { + PyErr_SetString(PyExc_TypeError, + "hasattr(): attribute name must be string"); + return -1; + } + r = __Pyx_GetAttr(o, n); + if (!r) { + PyErr_Clear(); + return 0; + } else { + Py_DECREF(r); + return 1; + } +} + /* SwapException */ #if CYTHON_FAST_THREAD_STATE static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { @@ -39625,7 +40590,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) { if (unlikely(!module_name_str)) { goto modbad; } module_name = PyUnicode_FromString(module_name_str); if (unlikely(!module_name)) { goto modbad; } - module_dot = PyUnicode_Concat(module_name, __pyx_kp_u__19); + module_dot = PyUnicode_Concat(module_name, __pyx_kp_u__20); if (unlikely(!module_dot)) { goto modbad; } full_name = PyUnicode_Concat(module_dot, name); if (unlikely(!full_name)) { goto modbad; } @@ -39655,37 +40620,6 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) { return value; } -/* GetAttr */ -static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) { -#if CYTHON_USE_TYPE_SLOTS -#if PY_MAJOR_VERSION >= 3 - if (likely(PyUnicode_Check(n))) -#else - if (likely(PyString_Check(n))) -#endif - return __Pyx_PyObject_GetAttrStr(o, n); -#endif - return PyObject_GetAttr(o, n); -} - -/* HasAttr */ -static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { - PyObject *r; - if (unlikely(!__Pyx_PyBaseString_Check(n))) { - PyErr_SetString(PyExc_TypeError, - "hasattr(): attribute name must be string"); - return -1; - } - r = __Pyx_GetAttr(o, n); - if (!r) { - PyErr_Clear(); - return 0; - } else { - Py_DECREF(r); - return 1; - } -} - /* ValidateBasesTuple */ #if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases) { @@ -40194,7 +41128,7 @@ static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject * #endif static PyObject *__Pyx__ImportDottedModule(PyObject *name, PyObject *parts_tuple) { #if PY_MAJOR_VERSION < 3 - PyObject *module, *from_list, *star = __pyx_n_s__22; + PyObject *module, *from_list, *star = __pyx_n_s__23; CYTHON_UNUSED_VAR(parts_tuple); from_list = PyList_New(1); if (unlikely(!from_list)) @@ -41870,7 +42804,7 @@ __Pyx_PyType_GetName(PyTypeObject* tp) if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) { PyErr_Clear(); Py_XDECREF(name); - name = __Pyx_NewRef(__pyx_kp_s__17); + name = __Pyx_NewRef(__pyx_kp_s__18); } return name; } diff --git a/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx b/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx index 05aee8811c..72f34b64ac 100644 --- a/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx +++ b/plugins/org.python.pydev.core/pysrc/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx @@ -38,6 +38,8 @@ from _pydevd_bundle.pydevd_constants import EXCEPTION_TYPE_HANDLED from _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception from _pydevd_bundle.pydevd_utils import get_clsname_for_code +from _pydevd_bundle.pydevd_dont_trace_files import PYDEV_FILE + # fmt: off # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) @@ -174,7 +176,6 @@ cdef _get_bootstrap_frame(depth): return f_bootstrap, is_bootstrap_frame_internal - # fmt: off # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) cdef _get_unhandled_exception_frame(int depth): @@ -183,10 +184,19 @@ cdef _get_unhandled_exception_frame(int depth): # ENDIF # fmt: on try: - return _thread_local_info.f_unhandled + result = _thread_local_info.f_unhandled + + # Make sure the result is from the same exception. That means the result is in the stack somewhere. + if result is not None: + orig = frame = _getframe(depth) + while result != frame and frame is not None: + frame = frame.f_back + if frame is not None: + return result + del _thread_local_info.f_unhandled + raise AttributeError("Unhandled frame from different exception") except: - frame = _getframe(depth) - f_unhandled = frame + f_unhandled = _getframe(depth) while f_unhandled is not None and f_unhandled.f_back is not None: f_back = f_unhandled.f_back @@ -211,6 +221,14 @@ cdef _get_unhandled_exception_frame(int depth): if f_back.f_code.co_name.startswith(("run", "_run")): break + elif name == "": + if f_back.f_code.co_name.startswith(("run", "_run")): + break + + elif name == "runpy": + if f_back.f_code.co_name.startswith(("run", "_run")): + break + f_unhandled = f_back if f_unhandled is not None: @@ -637,6 +655,7 @@ cdef _enable_line_tracing(code): # ENDIF # fmt: on # print('enable line tracing', code) + _ensure_monitoring() events = monitor.get_local_events(DEBUGGER_ID, code) monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.LINE | monitor.events.JUMP) @@ -649,6 +668,7 @@ cdef _enable_return_tracing(code): # ENDIF # fmt: on # print('enable return tracing', code) + _ensure_monitoring() events = monitor.get_local_events(DEBUGGER_ID, code) monitor.set_local_events(DEBUGGER_ID, code, events | monitor.events.PY_RETURN) @@ -660,6 +680,7 @@ cpdef disable_code_tracing(code): # def disable_code_tracing(code): # ENDIF # fmt: on + _ensure_monitoring() monitor.set_local_events(DEBUGGER_ID, code, 0) @@ -816,6 +837,7 @@ cdef _unwind_event(code, instruction, exc): if thread_info is None: return + py_db: object = GlobalDebuggerHolder.global_dbg if py_db is None or py_db.pydb_disposed: return @@ -837,9 +859,10 @@ cdef _unwind_event(code, instruction, exc): py_db.break_on_caught_exceptions or py_db.break_on_user_uncaught_exceptions or py_db.has_plugin_exception_breaks ) + if has_caught_exception_breakpoint_in_pydb: _should_stop, frame, user_uncaught_exc_info = should_stop_on_exception( - py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True ) if user_uncaught_exc_info: # TODO: Check: this may no longer be needed as in the unwind we know it's @@ -848,16 +871,17 @@ cdef _unwind_event(code, instruction, exc): container_obj = _TryExceptContainerObj(py_db.collect_try_except_info(frame.f_code)) func_code_info.try_except_container_obj = container_obj - if is_unhandled_exception( + is_unhandled = is_unhandled_exception( func_code_info.try_except_container_obj, py_db, frame, user_uncaught_exc_info[1], user_uncaught_exc_info[2] - ): - # print('stop in user uncaught') + ) + + if is_unhandled: handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) return break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions if break_on_uncaught_exceptions: - if frame is _get_unhandled_exception_frame(depth=1): + if frame is _get_unhandled_exception_frame(1): stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) return @@ -887,7 +911,7 @@ cdef _raise_event(code, instruction, exc): thread_info = _get_thread_info(True, 1) if thread_info is None: return - + py_db: object = GlobalDebuggerHolder.global_dbg if py_db is None or py_db.pydb_disposed: return @@ -901,17 +925,22 @@ cdef _raise_event(code, instruction, exc): if func_code_info.always_skip_code: return - # print('_raise_event --- ', code, exc) - frame = _getframe(1) arg = (type(exc), exc, exc.__traceback__) + + # Compute the previous exception info (if any). We use it to check if the exception + # should be stopped + prev_exc_info = _thread_local_info._user_uncaught_exc_info if hasattr(_thread_local_info, "_user_uncaught_exc_info") else None should_stop, frame, _user_uncaught_exc_info = should_stop_on_exception( - py_db, thread_info.additional_info, frame, thread_info.thread, arg, None + py_db, thread_info.additional_info, frame, thread_info.thread, arg, prev_exc_info ) + + # Save the current exception info for the next raise event. + _thread_local_info._user_uncaught_exc_info = _user_uncaught_exc_info + # print('!!!! should_stop (in raise)', should_stop) if should_stop: handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) - return # fmt: off @@ -1313,6 +1342,10 @@ cdef _jump_event(code, int from_offset, int to_offset): if py_db is None or py_db.pydb_disposed: return monitor.DISABLE + # If we get another jump event, remove the extra check for the line event + if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + del _thread_local_info.f_disable_next_line_if_match + if not thread_info.trace or thread_info.thread._is_stopped: # For thread-related stuff we can't disable the code tracing because other # threads may still want it... @@ -1331,7 +1364,6 @@ cdef _jump_event(code, int from_offset, int to_offset): from_line = func_code_info.get_line_of_offset(from_offset) to_line = func_code_info.get_line_of_offset(to_offset) - # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line) if from_line != to_line: # I.e.: use case: "yield from [j for j in a if j % 2 == 0]" @@ -1339,6 +1371,10 @@ cdef _jump_event(code, int from_offset, int to_offset): # We know the frame depth. frame = _getframe(1) + + # Disable the next line event as we're jumping to a line. The line event will be redundant. + _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno) + return _internal_line_event(func_code_info, frame, frame.f_lineno) @@ -1366,6 +1402,15 @@ cdef _line_event(code, int line): if py_db is None or py_db.pydb_disposed: return monitor.DISABLE + # If we get another line event, remove the extra check for the line event + if hasattr(_thread_local_info, "f_disable_next_line_if_match"): + (co_filename, line_to_skip) = _thread_local_info.f_disable_next_line_if_match + del _thread_local_info.f_disable_next_line_if_match + if line_to_skip is line and co_filename == code.co_filename: + # The last jump already jumped to this line and we haven't had any + # line events or jumps since then. We don't want to consider this line twice + return + if not thread_info.trace or thread_info.thread._is_stopped: # For thread-related stuff we can't disable the code tracing because other # threads may still want it... @@ -1610,6 +1655,7 @@ cdef _start_method_event(code, instruction_offset): # threads may still want it... return + frame = _getframe(1) func_code_info = _get_func_code_info(code, frame) if func_code_info.always_skip_code: @@ -1657,6 +1703,19 @@ cdef _start_method_event(code, instruction_offset): return monitor.DISABLE +# fmt: off +# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) +cpdef _ensure_monitoring(): +# ELSE +# def _ensure_monitoring(): +# ENDIF +# fmt: on + DEBUGGER_ID = monitor.DEBUGGER_ID + if not monitor.get_tool(DEBUGGER_ID): + monitor.use_tool_id(DEBUGGER_ID, "pydevd") + update_monitor_events() + restart_events() + # fmt: off # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated) diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhook.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhook.py index 47b9354778..db606e3373 100644 --- a/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhook.py +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhook.py @@ -26,6 +26,7 @@ GUI_QT = "qt" GUI_QT4 = "qt4" GUI_QT5 = "qt5" +GUI_QT6 = "qt6" GUI_GTK = "gtk" GUI_TK = "tk" GUI_OSX = "osx" @@ -176,9 +177,11 @@ def disable_wx(self): self.clear_inputhook() def enable_qt(self, app=None): - from pydev_ipython.qt_for_kernel import QT_API, QT_API_PYQT5 + from pydev_ipython.qt_for_kernel import QT_API, QT_API_PYQT5, QT_API_PYQT6 - if QT_API == QT_API_PYQT5: + if QT_API == QT_API_PYQT6: + self.enable_qt6(app) + elif QT_API == QT_API_PYQT5: self.enable_qt5(app) else: self.enable_qt4(app) @@ -240,6 +243,22 @@ def disable_qt5(self): self._apps[GUI_QT5]._in_event_loop = False self.clear_inputhook() + def enable_qt6(self, app=None): + from pydev_ipython.inputhookqt6 import create_inputhook_qt6 + + app, inputhook_qt6 = create_inputhook_qt6(self, app) + self.set_inputhook(inputhook_qt6) + + self._current_gui = GUI_QT6 + app._in_event_loop = True + self._apps[GUI_QT6] = app + return app + + def disable_qt6(self): + if GUI_QT6 in self._apps: + self._apps[GUI_QT6]._in_event_loop = False + self.clear_inputhook() + def enable_gtk(self, app=None): """Enable event loop integration with PyGTK. diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt4.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt4.py index 137e33e816..dd819fb10d 100644 --- a/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt4.py +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt4.py @@ -46,7 +46,6 @@ def set_hook(self, *args, **kwargs): # Module Globals # ----------------------------------------------------------------------------- - got_kbdint = False sigint_timer = None diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt6.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt6.py new file mode 100644 index 0000000000..05ebb7579b --- /dev/null +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/inputhookqt6.py @@ -0,0 +1,201 @@ +# -*- coding: utf-8 -*- +""" +Qt6's inputhook support function + +Author: Christian Boos, Marijn van Vliet +""" + +# ----------------------------------------------------------------------------- +# Copyright (C) 2011 The IPython Development Team +# +# Distributed under the terms of the BSD License. The full license is in +# the file COPYING, distributed as part of this software. +# ----------------------------------------------------------------------------- + +# ----------------------------------------------------------------------------- +# Imports +# ----------------------------------------------------------------------------- + +import os +import signal + +from _pydev_bundle._pydev_saved_modules import threading + +from pydev_ipython.qt_for_kernel import QtCore, QtGui +from pydev_ipython.inputhook import allow_CTRL_C, ignore_CTRL_C, stdin_ready + + +# To minimise future merging complexity, rather than edit the entire code base below +# we fake InteractiveShell here +class InteractiveShell: + _instance = None + + @classmethod + def instance(cls): + if cls._instance is None: + cls._instance = cls() + return cls._instance + + def set_hook(self, *args, **kwargs): + # We don't consider the pre_prompt_hook because we don't have + # KeyboardInterrupts to consider since we are running under PyDev + pass + + +# ----------------------------------------------------------------------------- +# Module Globals +# ----------------------------------------------------------------------------- + + +got_kbdint = False +sigint_timer = None + +# ----------------------------------------------------------------------------- +# Code +# ----------------------------------------------------------------------------- + + +def create_inputhook_qt6(mgr, app=None): + """Create an input hook for running the Qt6 application event loop. + + Parameters + ---------- + mgr : an InputHookManager + + app : Qt Application, optional. + Running application to use. If not given, we probe Qt for an + existing application object, and create a new one if none is found. + + Returns + ------- + A pair consisting of a Qt Application (either the one given or the + one found or created) and a inputhook. + + Notes + ----- + We use a custom input hook instead of PyQt6's default one, as it + interacts better with the readline packages (issue #481). + + The inputhook function works in tandem with a 'pre_prompt_hook' + which automatically restores the hook as an inputhook in case the + latter has been temporarily disabled after having intercepted a + KeyboardInterrupt. + """ + + if app is None: + app = QtCore.QCoreApplication.instance() + if app is None: + from PyQt6 import QtWidgets + + app = QtWidgets.QApplication([" "]) + + # Re-use previously created inputhook if any + ip = InteractiveShell.instance() + if hasattr(ip, "_inputhook_qt6"): + return app, ip._inputhook_qt6 + + # Otherwise create the inputhook_qt6/preprompthook_qt6 pair of + # hooks (they both share the got_kbdint flag) + + def inputhook_qt6(): + """PyOS_InputHook python hook for Qt6. + + Process pending Qt events and if there's no pending keyboard + input, spend a short slice of time (50ms) running the Qt event + loop. + + As a Python ctypes callback can't raise an exception, we catch + the KeyboardInterrupt and temporarily deactivate the hook, + which will let a *second* CTRL+C be processed normally and go + back to a clean prompt line. + """ + try: + allow_CTRL_C() + app = QtCore.QCoreApplication.instance() + if not app: # shouldn't happen, but safer if it happens anyway... + return 0 + app.processEvents(QtCore.QEventLoop.ProcessEventsFlag.AllEvents, 300) + if not stdin_ready(): + # Generally a program would run QCoreApplication::exec() + # from main() to enter and process the Qt event loop until + # quit() or exit() is called and the program terminates. + # + # For our input hook integration, we need to repeatedly + # enter and process the Qt event loop for only a short + # amount of time (say 50ms) to ensure that Python stays + # responsive to other user inputs. + # + # A naive approach would be to repeatedly call + # QCoreApplication::exec(), using a timer to quit after a + # short amount of time. Unfortunately, QCoreApplication + # emits an aboutToQuit signal before stopping, which has + # the undesirable effect of closing all modal windows. + # + # To work around this problem, we instead create a + # QEventLoop and call QEventLoop::exec(). Other than + # setting some state variables which do not seem to be + # used anywhere, the only thing QCoreApplication adds is + # the aboutToQuit signal which is precisely what we are + # trying to avoid. + timer = QtCore.QTimer() + event_loop = QtCore.QEventLoop() + timer.timeout.connect(event_loop.quit) + while not stdin_ready(): + timer.start(50) + event_loop.exec() + timer.stop() + except KeyboardInterrupt: + global got_kbdint, sigint_timer + + ignore_CTRL_C() + got_kbdint = True + mgr.clear_inputhook() + + # This generates a second SIGINT so the user doesn't have to + # press CTRL+C twice to get a clean prompt. + # + # Since we can't catch the resulting KeyboardInterrupt here + # (because this is a ctypes callback), we use a timer to + # generate the SIGINT after we leave this callback. + # + # Unfortunately this doesn't work on Windows (SIGINT kills + # Python and CTRL_C_EVENT doesn't work). + if os.name == "posix": + pid = os.getpid() + if not sigint_timer: + sigint_timer = threading.Timer(0.01, os.kill, args=[pid, signal.SIGINT]) + sigint_timer.start() + else: + print("\nKeyboardInterrupt - Ctrl-C again for new prompt") + + except: # NO exceptions are allowed to escape from a ctypes callback + ignore_CTRL_C() + from traceback import print_exc + + print_exc() + print("Got exception from inputhook_qt6, unregistering.") + mgr.clear_inputhook() + finally: + allow_CTRL_C() + return 0 + + def preprompthook_qt6(ishell): + """'pre_prompt_hook' used to restore the Qt6 input hook + + (in case the latter was temporarily deactivated after a + CTRL+C) + """ + global got_kbdint, sigint_timer + + if sigint_timer: + sigint_timer.cancel() + sigint_timer = None + + if got_kbdint: + mgr.set_inputhook(inputhook_qt6) + got_kbdint = False + + ip._inputhook_qt6 = inputhook_qt6 + ip.set_hook("pre_prompt_hook", preprompthook_qt6) + + return app, inputhook_qt6 diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/matplotlibtools.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/matplotlibtools.py index 2fbfb99223..ef185b798b 100644 --- a/plugins/org.python.pydev.core/pysrc/pydev_ipython/matplotlibtools.py +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/matplotlibtools.py @@ -8,6 +8,7 @@ "qt": "QtAgg", # Auto-choose qt4/5 "qt4": "Qt4Agg", "qt5": "Qt5Agg", + "qt6": "Qt6Agg", "osx": "MacOSX", } diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt.py index 66cd2483fc..2b2a467067 100644 --- a/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt.py +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt.py @@ -1,4 +1,4 @@ -""" A Qt API selector that can be used to switch between PyQt and PySide. +"""A Qt API selector that can be used to switch between PyQt and PySide. This uses the ETS 4.0 selection pattern of: PySide first, PyQt with API v2. second. @@ -8,13 +8,16 @@ import os -from pydev_ipython.qt_loaders import load_qt, QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5 +from pydev_ipython.qt_loaders import load_qt, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6 QT_API = os.environ.get("QT_API", None) -if QT_API not in [QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5, None]: - raise RuntimeError("Invalid Qt API %r, valid values are: %r, %r" % (QT_API, QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5)) +if QT_API not in [QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6, None]: + raise RuntimeError( + "Invalid Qt API %r, valid values are: %r, %r, %r, %r, %r" + % (QT_API, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6) + ) if QT_API is None: - api_opts = [QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQT5] + api_opts = [QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT5, QT_API_PYQT6] else: api_opts = [QT_API] diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_for_kernel.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_for_kernel.py index de26bd3c00..efb29bc2bb 100644 --- a/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_for_kernel.py +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_for_kernel.py @@ -1,4 +1,4 @@ -""" Import Qt in a manner suitable for an IPython kernel. +"""Import Qt in a manner suitable for an IPython kernel. This is the import used for the `gui=qt` or `matplotlib=qt` initialization. @@ -35,7 +35,16 @@ import sys from pydev_ipython.version import check_version -from pydev_ipython.qt_loaders import load_qt, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQT_DEFAULT, loaded_api, QT_API_PYQT5 +from pydev_ipython.qt_loaders import ( + load_qt, + QT_API_PYSIDE, + QT_API_PYSIDE2, + QT_API_PYQT, + QT_API_PYQT_DEFAULT, + loaded_api, + QT_API_PYQT5, + QT_API_PYQT6, +) # Constraints placed on an imported matplotlib @@ -67,10 +76,20 @@ def matplotlib_options(mpl): return [QT_API_PYQT5] raise ImportError("unhandled value for backend.qt5 from matplotlib: %r" % mpqt) + elif backend == "Qt6Agg": + mpqt = mpl.rcParams.get("backend.qt6", None) + if mpqt is None: + return None + if mpqt.lower() == "pyqt6": + return [QT_API_PYQT6] + raise ImportError("unhandled value for backend.qt6 from matplotlib: %r" % mpqt) + # Fallback without checking backend (previous code) mpqt = mpl.rcParams.get("backend.qt4", None) if mpqt is None: mpqt = mpl.rcParams.get("backend.qt5", None) + if mpqt is None: + mpqt = mpl.rcParams.get("backend.qt6", None) if mpqt is None: return None @@ -80,6 +99,8 @@ def matplotlib_options(mpl): return [QT_API_PYQT_DEFAULT] elif mpqt.lower() == "pyqt5": return [QT_API_PYQT5] + elif mpqt.lower() == "pyqt6": + return [QT_API_PYQT6] raise ImportError("unhandled value for qt backend from matplotlib: %r" % mpqt) @@ -100,7 +121,7 @@ def get_options(): if os.environ.get("QT_API", None) is None: # no ETS variable. Ask mpl, then use either - return matplotlib_options(mpl) or [QT_API_PYQT_DEFAULT, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT5] + return matplotlib_options(mpl) or [QT_API_PYQT_DEFAULT, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT5, QT_API_PYQT6] # ETS variable present. Will fallback to external.qt return None diff --git a/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_loaders.py b/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_loaders.py index a0b46f7b55..b69c713426 100644 --- a/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_loaders.py +++ b/plugins/org.python.pydev.core/pysrc/pydev_ipython/qt_loaders.py @@ -8,6 +8,7 @@ This is used primarily by qt and qt_for_kernel, and shouldn't be accessed directly from the outside """ + import sys from functools import partial @@ -19,7 +20,9 @@ QT_API_PYQT_DEFAULT = "pyqtdefault" # don't set SIP explicitly QT_API_PYSIDE = "pyside" QT_API_PYSIDE2 = "pyside2" +QT_API_PYSIDE6 = "pyside6" QT_API_PYQT5 = "pyqt5" +QT_API_PYQT6 = "pyqt6" class ImportDenier(object): @@ -61,9 +64,11 @@ def commit_api(api): if api == QT_API_PYSIDE: ID.forbid("PyQt4") ID.forbid("PyQt5") + ID.forbid("PyQt6") else: ID.forbid("PySide") ID.forbid("PySide2") + ID.forbid("PySide6") def loaded_api(): @@ -74,7 +79,7 @@ def loaded_api(): Returns ------- - None, 'pyside', 'pyside2', 'pyqt', or 'pyqtv1' + None, 'pyside', 'pyside2', 'pyside6', 'pyqt5', 'pyqt6', or 'pyqtv1' """ if "PyQt4.QtCore" in sys.modules: if qtapi_version() == 2: @@ -85,13 +90,17 @@ def loaded_api(): return QT_API_PYSIDE elif "PySide2.QtCore" in sys.modules: return QT_API_PYSIDE2 + elif "PySide6.QtCore" in sys.modules: + return QT_API_PYSIDE6 elif "PyQt5.QtCore" in sys.modules: return QT_API_PYQT5 + elif "PyQt6.QtCore" in sys.modules: + return QT_API_PYQT6 return None def has_binding(api): - """Safely check for PyQt4 or PySide, without importing + """Safely check for PyQt or PySide, without importing submodules Parameters @@ -109,10 +118,12 @@ def has_binding(api): module_name = { QT_API_PYSIDE: "PySide", QT_API_PYSIDE2: "PySide2", + QT_API_PYSIDE6: "PySide6", QT_API_PYQT: "PyQt4", QT_API_PYQTv1: "PyQt4", QT_API_PYQT_DEFAULT: "PyQt4", QT_API_PYQT5: "PyQt5", + QT_API_PYQT6: "PyQt6", } module_name = module_name[api] @@ -160,7 +171,7 @@ def can_import(api): current = loaded_api() if api == QT_API_PYQT_DEFAULT: - return current in [QT_API_PYQT, QT_API_PYQTv1, QT_API_PYQT5, None] + return current in [QT_API_PYQT, QT_API_PYQTv1, QT_API_PYQT5, QT_API_PYQT6, None] else: return current in [api, None] @@ -216,6 +227,21 @@ def import_pyqt5(): return QtCore, QtGui, QtSvg, QT_API_PYQT5 +def import_pyqt6(): + """ + Import PyQt6 + + ImportErrors raised within this function are non-recoverable + """ + from PyQt6 import QtGui, QtCore, QtSvg + + # Alias PyQt-specific functions for PySide compatibility. + QtCore.Signal = QtCore.pyqtSignal + QtCore.Slot = QtCore.pyqtSlot + + return QtCore, QtGui, QtSvg, QT_API_PYQT6 + + def import_pyside(): """ Import PySide @@ -235,7 +261,18 @@ def import_pyside2(): """ from PySide2 import QtGui, QtCore, QtSvg # @UnresolvedImport - return QtCore, QtGui, QtSvg, QT_API_PYSIDE + return QtCore, QtGui, QtSvg, QT_API_PYSIDE2 + + +def import_pyside6(): + """ + Import PySide6 + + ImportErrors raised within this function are non-recoverable + """ + from PySide6 import QtGui, QtCore, QtSvg # @UnresolvedImport + + return QtCore, QtGui, QtSvg, QT_API_PYSIDE6 def load_qt(api_options): @@ -267,17 +304,19 @@ def load_qt(api_options): loaders = { QT_API_PYSIDE: import_pyside, QT_API_PYSIDE2: import_pyside2, + QT_API_PYSIDE6: import_pyside6, QT_API_PYQT: import_pyqt4, QT_API_PYQTv1: partial(import_pyqt4, version=1), QT_API_PYQT_DEFAULT: partial(import_pyqt4, version=None), QT_API_PYQT5: import_pyqt5, + QT_API_PYQT6: import_pyqt6, } for api in api_options: if api not in loaders: raise RuntimeError( - "Invalid Qt API %r, valid values are: %r, %r, %r, %r, %r, %r" - % (api, QT_API_PYSIDE, QT_API_PYSIDE, QT_API_PYQT, QT_API_PYQTv1, QT_API_PYQT_DEFAULT, QT_API_PYQT5) + "Invalid Qt API %r, valid values are: %r, %r, %r, %r, %r, %r, %r" + % (api, QT_API_PYSIDE, QT_API_PYSIDE2, QT_API_PYQT, QT_API_PYQTv1, QT_API_PYQT_DEFAULT, QT_API_PYQT5, QT_API_PYQT6) ) if not can_import(api): @@ -298,16 +337,20 @@ def load_qt(api_options): Currently-imported Qt library: %r PyQt4 installed: %s PyQt5 installed: %s + PyQt6 installed: %s PySide >= 1.0.3 installed: %s PySide2 installed: %s + PySide6 installed: %s Tried to load: %r """ % ( loaded_api(), has_binding(QT_API_PYQT), has_binding(QT_API_PYQT5), + has_binding(QT_API_PYQT6), has_binding(QT_API_PYSIDE), has_binding(QT_API_PYSIDE2), + has_binding(QT_API_PYSIDE6), api_options, ) ) diff --git a/plugins/org.python.pydev.core/pysrc/pydevd.py b/plugins/org.python.pydev.core/pysrc/pydevd.py index 3d67fe59dc..e561670467 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd.py +++ b/plugins/org.python.pydev.core/pysrc/pydevd.py @@ -100,7 +100,7 @@ from _pydevd_bundle.pydevd_custom_frames import CustomFramesContainer, custom_frames_container_init from _pydevd_bundle.pydevd_dont_trace_files import DONT_TRACE, PYDEV_FILE, LIB_FILE, DONT_TRACE_DIRS from _pydevd_bundle.pydevd_extension_api import DebuggerEventHandler -from _pydevd_bundle.pydevd_frame_utils import add_exception_to_frame, remove_exception_from_frame +from _pydevd_bundle.pydevd_frame_utils import add_exception_to_frame, remove_exception_from_frame, short_stack from _pydevd_bundle.pydevd_net_command_factory_xml import NetCommandFactory from _pydevd_bundle.pydevd_trace_dispatch import ( trace_dispatch as _trace_dispatch, @@ -1077,6 +1077,10 @@ def get_file_type(self, frame, abs_real_path_and_basename=None, _cache_file_type if abs_real_path_and_basename[0] == "": # Consider it an untraceable file unless there's no back frame (ignoring # internal files and runpy.py). + if frame.f_back is not None and self.get_file_type(frame.f_back) == self.PYDEV_FILE: + # Special case, this is a string coming from pydevd itself (or another internal file) + return self.PYDEV_FILE + f = frame.f_back while f is not None: if self.get_file_type(f) != self.PYDEV_FILE and pydevd_file_utils.basename(f.f_code.co_filename) not in ( @@ -1094,6 +1098,7 @@ def get_file_type(self, frame, abs_real_path_and_basename=None, _cache_file_type # to show it in the stack. _cache_file_type[cache_key] = LIB_FILE return LIB_FILE + f = f.f_back else: # This is a top-level file (used in python -c), so, trace it as usual... we diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_amd64.dll b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_amd64.dll index ac322ad2d1..8ea7387fd9 100644 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_amd64.dll and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_amd64.dll differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_amd64.so b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_amd64.so index 30464f2325..4203c0ae41 100755 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_amd64.so and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_amd64.so differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_x86.so b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_x86.so index e7eeed2d67..862b81e1c8 100755 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_x86.so and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_linux_x86.so differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86.dll b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86.dll index 0c635546a8..59225f710a 100644 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86.dll and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86.dll differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86_64.dylib b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86_64.dylib index d929b254b3..beef83e8e6 100755 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86_64.dylib and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/attach_x86_64.dylib differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_settrace.hpp b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_settrace.hpp index eed23f25a7..4f033f88a1 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_settrace.hpp +++ b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_settrace.hpp @@ -127,20 +127,20 @@ int InternalSetSysTraceFunc( pyUnicode_InternFromString = stringFromString; } - DEFINE_PROC_NO_CHECK(pyObject_FastCallDict, _PyObject_FastCallDict*, "_PyObject_FastCallDict", 530); - DEFINE_PROC(pyTuple_New, PyTuple_New*, "PyTuple_New", 531); - DEFINE_PROC(pyEval_CallObjectWithKeywords, PyEval_CallObjectWithKeywords*, "PyEval_CallObjectWithKeywords", 532); - - if(pyObject_FastCallDict == nullptr) { - DEFINE_PROC_NO_CHECK(pyObject_VectorcallDict, _PyObject_FastCallDict*, "PyObject_VectorcallDict", 533); - pyObject_FastCallDict = pyObject_VectorcallDict; - } - - if(pyObject_FastCallDict == nullptr) { - // we have to use PyObject_FastCallDictCustom for older versions of CPython (pre 3.7). + _PyObject_FastCallDict* pyObject_FastCallDict; + if (version < PythonVersion_37) { pyObject_FastCallDict = reinterpret_cast<_PyObject_FastCallDict*>(&PyObject_FastCallDictCustom); + } else if (version < PythonVersion_39) { + DEFINE_PROC(fastCallDict, _PyObject_FastCallDict*, "_PyObject_FastCallDict", 530); + pyObject_FastCallDict = fastCallDict; + } else { + DEFINE_PROC(vectorcallDict, _PyObject_FastCallDict*, "PyObject_VectorcallDict", 530); + pyObject_FastCallDict = vectorcallDict; } + DEFINE_PROC(pyTuple_New, PyTuple_New*, "PyTuple_New", 531); + DEFINE_PROC(pyEval_CallObjectWithKeywords, PyEval_CallObjectWithKeywords*, "PyEval_CallObjectWithKeywords", 532); + DEFINE_PROC(pyTraceBack_Here, PyTraceBack_Here*, "PyTraceBack_Here", 540); DEFINE_PROC(pyEval_SetTrace, PyEval_SetTrace*, "PyEval_SetTrace", 550); diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_version.hpp b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_version.hpp index be736929f2..712684cf3f 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_version.hpp +++ b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/common/py_version.hpp @@ -21,7 +21,9 @@ enum PythonVersion { PythonVersion_38 = 0x0308, PythonVersion_39 = 0x0309, PythonVersion_310 = 0x030A, - PythonVersion_311 = 0x030B + PythonVersion_311 = 0x030B, + PythonVersion_312 = 0x030C, + PythonVersion_313 = 0x030D, }; @@ -70,6 +72,12 @@ static PythonVersion GetPythonVersion(void *module) { if(version[3] == '1'){ return PythonVersion_311; } + if(version[3] == '2'){ + return PythonVersion_312; + } + if(version[3] == '3'){ + return PythonVersion_313; + } } return PythonVersion_Unknown; // we don't care about 3.1 anymore... diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_amd64.exe b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_amd64.exe index 32dca74ae6..c8cb660b1e 100644 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_amd64.exe and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_amd64.exe differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_x86.exe b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_x86.exe index bb05c7209b..2d190ef4ef 100644 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_x86.exe and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/inject_dll_x86.exe differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll index b4c106cfbc..f1ecf7b4a3 100644 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_x86.dll b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_x86.dll index 10d926c40e..de480fc887 100644 Binary files a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_x86.dll and b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/run_code_on_dllmain_x86.dll differ diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/attach.cpp b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/attach.cpp index e44c6e1478..2f7b9cd1e0 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/attach.cpp +++ b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/attach.cpp @@ -41,7 +41,6 @@ // Access to std::cout and std::endl #include -#include // DECLDIR will perform an export for us #define DLL_EXPORT @@ -108,7 +107,7 @@ struct InitializeThreadingInfo { PyImport_ImportModule* pyImportMod; PyEval_Lock* initThreads; - std::mutex mutex; + CRITICAL_SECTION cs; HANDLE initedEvent; // Note: only access with mutex locked (and check if not already nullptr). bool completed; // Note: only access with mutex locked }; @@ -122,12 +121,12 @@ int AttachCallback(void *voidInitializeThreadingInfo) { initializeThreadingInfo->initThreads(); // Note: calling multiple times is ok. initializeThreadingInfo->pyImportMod("threading"); - initializeThreadingInfo->mutex.lock(); + EnterCriticalSection(&initializeThreadingInfo->cs); + initializeThreadingInfo->completed = true; if(initializeThreadingInfo->initedEvent != nullptr) { SetEvent(initializeThreadingInfo->initedEvent); } - initializeThreadingInfo->completed = true; - initializeThreadingInfo->mutex.unlock(); + LeaveCriticalSection(&initializeThreadingInfo->cs); return 0; } @@ -368,6 +367,7 @@ extern "C" initializeThreadingInfo->pyImportMod = pyImportMod; initializeThreadingInfo->initThreads = initThreads; initializeThreadingInfo->initedEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr); + InitializeCriticalSection(&initializeThreadingInfo->cs); // Add the call to initialize threading. addPendingCall(&AttachCallback, initializeThreadingInfo); @@ -375,15 +375,16 @@ extern "C" ::WaitForSingleObject(initializeThreadingInfo->initedEvent, 5000); // Whether this completed or not, release the event handle as we won't use it anymore. - initializeThreadingInfo->mutex.lock(); + EnterCriticalSection(&initializeThreadingInfo->cs); CloseHandle(initializeThreadingInfo->initedEvent); bool completed = initializeThreadingInfo->completed; initializeThreadingInfo->initedEvent = nullptr; - initializeThreadingInfo->mutex.unlock(); + LeaveCriticalSection(&initializeThreadingInfo->cs); if(completed) { // Note that this structure will leak if addPendingCall did not complete in the timeout // (we can't release now because it's possible that it'll still be called). + DeleteCriticalSection(&initializeThreadingInfo->cs); delete initializeThreadingInfo; if (showDebugInfo) { std::cout << "addPendingCall to initialize threads/import threading completed. " << std::endl << std::flush; diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/compile_windows.bat b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/compile_windows.bat index 1fb8a22746..b3be6ae54e 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/compile_windows.bat +++ b/plugins/org.python.pydev.core/pysrc/pydevd_attach_to_process/windows/compile_windows.bat @@ -1,36 +1,38 @@ +:: This script compiles the attach and inject DLLs for x86 and x64 architectures. + setlocal @cd /d %~dp0 @set VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe @echo Using vswhere at %VSWHERE% -@for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do set VSDIR=%%i +@for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -prerelease -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath`) do set VSDIR=%%i @echo Using Visual C++ at %VSDIR% call "%VSDIR%\VC\Auxiliary\Build\vcvarsall.bat" x86 -vcvars_spectre_libs=spectre -cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /Qspectre attach.cpp /link /DEBUG /OPT:REF /OPT:ICF /GUARD:CF /out:attach_x86.dll +cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /Qspectre attach.cpp /link /PROFILE /GUARD:CF /out:attach_x86.dll copy attach_x86.dll ..\attach_x86.dll /Y copy attach_x86.pdb ..\attach_x86.pdb /Y -cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /D BITS_32 /Qspectre run_code_on_dllmain.cpp /link /DEBUG /OPT:REF /OPT:ICF /GUARD:CF /out:run_code_on_dllmain_x86.dll +cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /D BITS_32 /Qspectre run_code_on_dllmain.cpp /link /PROFILE /GUARD:CF /out:run_code_on_dllmain_x86.dll copy run_code_on_dllmain_x86.dll ..\run_code_on_dllmain_x86.dll /Y copy run_code_on_dllmain_x86.pdb ..\run_code_on_dllmain_x86.pdb /Y -cl /EHsc /Zi /O1 /W3 /Qspectre inject_dll.cpp /link /DEBUG /OPT:REF /OPT:ICF /GUARD:CF /out:inject_dll_x86.exe +cl /EHsc /Zi /O1 /W3 /Qspectre inject_dll.cpp /link /PROFILE /GUARD:CF /out:inject_dll_x86.exe copy inject_dll_x86.exe ..\inject_dll_x86.exe /Y copy inject_dll_x86.pdb ..\inject_dll_x86.pdb /Y call "%VSDIR%\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 -vcvars_spectre_libs=spectre -cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /Qspectre attach.cpp /link /DEBUG /OPT:REF /OPT:ICF /GUARD:CF /out:attach_amd64.dll +cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /Qspectre attach.cpp /link /PROFILE /GUARD:CF /out:attach_amd64.dll copy attach_amd64.dll ..\attach_amd64.dll /Y copy attach_amd64.pdb ..\attach_amd64.pdb /Y -cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /D BITS_64 /Qspectre run_code_on_dllmain.cpp /link /DEBUG /OPT:REF /OPT:ICF /GUARD:CF /out:run_code_on_dllmain_amd64.dll +cl -DUNICODE -D_UNICODE /EHsc /Zi /O1 /W3 /LD /MD /D BITS_64 /Qspectre run_code_on_dllmain.cpp /link /PROFILE /GUARD:CF /out:run_code_on_dllmain_amd64.dll copy run_code_on_dllmain_amd64.dll ..\run_code_on_dllmain_amd64.dll /Y copy run_code_on_dllmain_amd64.pdb ..\run_code_on_dllmain_amd64.pdb /Y -cl /EHsc /Zi /O1 /W3 /Qspectre inject_dll.cpp /link /DEBUG /OPT:REF /OPT:ICF /GUARD:CF /out:inject_dll_amd64.exe +cl /EHsc /Zi /O1 /W3 /Qspectre inject_dll.cpp /link /PROFILE /GUARD:CF /out:inject_dll_amd64.exe copy inject_dll_amd64.exe ..\inject_dll_amd64.exe /Y copy inject_dll_amd64.pdb ..\inject_dll_amd64.pdb /Y diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_plugins/django_debug.py b/plugins/org.python.pydev.core/pysrc/pydevd_plugins/django_debug.py index b7baa372b4..39fcb111d2 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_plugins/django_debug.py +++ b/plugins/org.python.pydev.core/pysrc/pydevd_plugins/django_debug.py @@ -586,12 +586,13 @@ def _get_original_filename_from_origin_in_parent_frame_locals(frame, parent_fram return filename -def exception_break(py_db, frame, thread, arg): +def exception_break(py_db, frame, thread, arg, is_unwind): exception, value, trace = arg if py_db.django_exception_break and exception is not None: if ( exception.__name__ in ["VariableDoesNotExist", "TemplateDoesNotExist", "TemplateSyntaxError"] + and not is_unwind and just_raised(trace) and not ignore_exception_trace(trace) ): diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_plugins/extensions/README.md b/plugins/org.python.pydev.core/pysrc/pydevd_plugins/extensions/README.md index 35a1bec4fe..030e303ee8 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_plugins/extensions/README.md +++ b/plugins/org.python.pydev.core/pysrc/pydevd_plugins/extensions/README.md @@ -9,8 +9,11 @@ To implement your own extension: and nothing else. Preamble: ```python -import pkgutil -__path__ = pkgutil.extend_path(__path__, __name__) +try: + __import__('pkg_resources').declare_namespace(__name__) +except ImportError: + import pkgutil + __path__ = pkgutil.extend_path(__path__, __name__) ``` 4. Your plugin name inside the extensions folder must start with `"pydevd_plugin"` 5. Implement one or more of the abstract base classes defined in `_pydevd_bundle.pydevd_extension_api`. This can be done diff --git a/plugins/org.python.pydev.core/pysrc/pydevd_plugins/jinja2_debug.py b/plugins/org.python.pydev.core/pysrc/pydevd_plugins/jinja2_debug.py index a8b3e310d0..5d4bb589e1 100644 --- a/plugins/org.python.pydev.core/pysrc/pydevd_plugins/jinja2_debug.py +++ b/plugins/org.python.pydev.core/pysrc/pydevd_plugins/jinja2_debug.py @@ -494,7 +494,7 @@ def suspend(pydb, thread, frame, bp_type): return None -def exception_break(pydb, frame, thread, arg): +def exception_break(pydb, frame, thread, arg, is_unwind): exception, value, trace = arg if pydb.jinja2_exception_break and exception is not None: exception_type = list(pydb.jinja2_exception_break.keys())[0] diff --git a/plugins/org.python.pydev.core/pysrc/setup_pydevd_cython.py b/plugins/org.python.pydev.core/pysrc/setup_pydevd_cython.py index 14b97853e9..01b2e6cce0 100644 --- a/plugins/org.python.pydev.core/pysrc/setup_pydevd_cython.py +++ b/plugins/org.python.pydev.core/pysrc/setup_pydevd_cython.py @@ -207,6 +207,9 @@ def build_extension(dir_name, extension_name, target_pydevd_name, force_cython, # uncomment to generate pdbs for visual studio. # extra_compile_args=["-Zi", "/Od"] # extra_link_args=["-debug"] + if IS_PY311_ONWARDS: + # On py311 we need to add the CPython include folder to the include path. + extra_compile_args.append("-I%s\\include\\CPython" % sys.exec_prefix) kwargs = {} if extra_link_args: diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/debug_constants.py b/plugins/org.python.pydev.core/pysrc/tests_python/debug_constants.py index 18f75692ba..6e9373c0a5 100644 --- a/plugins/org.python.pydev.core/pysrc/tests_python/debug_constants.py +++ b/plugins/org.python.pydev.core/pysrc/tests_python/debug_constants.py @@ -12,7 +12,6 @@ IS_CPYTHON = platform.python_implementation() == "CPython" IS_PYPY = platform.python_implementation() == "PyPy" -TODO_PY312 = IS_PY312 # Code which needs to be fixed in 3.12 should use this constant. TODO_PYPY = IS_PYPY # Code which needs to be fixed in pypy. IS_PY36 = False diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/debugger_unittest.py b/plugins/org.python.pydev.core/pysrc/tests_python/debugger_unittest.py index 6fa2ae79bf..5500d22608 100644 --- a/plugins/org.python.pydev.core/pysrc/tests_python/debugger_unittest.py +++ b/plugins/org.python.pydev.core/pysrc/tests_python/debugger_unittest.py @@ -647,8 +647,9 @@ def run_process(self, args, writer): except: traceback.print_exc() finish[0] = True + # print("Log on success: " + self.get_log_contents()) - def fail_with_message(self, msg, stdout, stderr, writerThread): + def get_log_contents(self): log_contents = "" if self.pydevd_debug_file: for f in pydev_log.list_log_files(self.pydevd_debug_file): @@ -656,6 +657,10 @@ def fail_with_message(self, msg, stdout, stderr, writerThread): with open(f, "r") as stream: log_contents += "\n-------------------- %s ------------------\n\n" % (f,) log_contents += stream.read() + return log_contents + + def fail_with_message(self, msg, stdout, stderr, writerThread): + log_contents = self.get_log_contents() msg += ( "\n\n===========================\nStdout: \n" + "".join(stdout) diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_hit_count_conditional.py b/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_hit_count_conditional.py new file mode 100644 index 0000000000..1a7ddeb7e4 --- /dev/null +++ b/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_hit_count_conditional.py @@ -0,0 +1,7 @@ +if __name__ == '__main__': + x = 0 # before loop line + for i in range(10): # for line + pass + + print("after loop") # after loop line + print('TEST SUCEEDED!') diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_sysexit_unhandled_attach.py b/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_sysexit_unhandled_attach.py new file mode 100644 index 0000000000..95697aa1d0 --- /dev/null +++ b/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_sysexit_unhandled_attach.py @@ -0,0 +1,13 @@ +import sys +import time + +exit_code = eval(sys.argv[1]) +print("sys.exit(%r)" % (exit_code,)) +print('TEST SUCEEDED!') +try: + sys.exit(exit_code) # @handled +except SystemExit: + pass +sys.exit(exit_code) # @unhandled + + diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py b/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py new file mode 100644 index 0000000000..6add75fd4c --- /dev/null +++ b/plugins/org.python.pydev.core/pysrc/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py @@ -0,0 +1,41 @@ +import time +import os + +wait = True +while wait: + time.sleep(1) # break here + +print('attached') + +# Raise an exception in a system module. +def raise_exception(): + # This code runs in debugpy when attaching. This mimics the behavior of debugpy + # so we can test that exceptions are ignored properly. + importlib_metadata = None + try: + import importlib_metadata + except ImportError: # pragma: no cover + try: + from importlib import metadata as importlib_metadata + except ImportError: + pass + if importlib_metadata is None: # pragma: no cover + print("Cannot enumerate installed packages - missing importlib_metadata.") + else: + print("Installed packages:\n") + try: + for pkg in importlib_metadata.distributions(): + print(" {0}=={1}\n", pkg.name, pkg.version) + except Exception: # pragma: no cover + print( + "Error while enumerating installed packages." + ) +raise_exception() + +current_path = os.path.dirname(os.path.abspath(__file__)) +runner_path = os.path.join(current_path, '_debugger_case_sysexit_unhandled_attach.py') + +# Use pydevd to run the other module. This is how debugpy runs pydevd +import _pydevd_bundle.pydevd_runpy +_pydevd_bundle.pydevd_runpy.run_path(runner_path) # final break + diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/resources/not_my_code/main_on_entry3.py b/plugins/org.python.pydev.core/pysrc/tests_python/resources/not_my_code/main_on_entry3.py new file mode 100644 index 0000000000..2719e05dfb --- /dev/null +++ b/plugins/org.python.pydev.core/pysrc/tests_python/resources/not_my_code/main_on_entry3.py @@ -0,0 +1,11 @@ +if __name__ == '__main__': + import sys + import os + sys.path.append(os.path.dirname(os.path.dirname(__file__))) + + # Create a breakpoint in a frame + exec("breakpoint()") + + # Now run the actual entry point + import empty_file + print('TEST SUCEEDED') diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger.py b/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger.py index 59ae0fab5c..b99ab4e0e5 100644 --- a/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger.py +++ b/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger.py @@ -3044,7 +3044,7 @@ def test_attach_to_pid_no_threads(case_setup_remote, reattach): writer.finished_ok = True -@pytest.mark.skipif(not IS_CPYTHON or IS_MAC or not SUPPORT_ATTACH_TO_PID, reason="CPython only test (brittle on Mac).") +@pytest.mark.skipif(not IS_CPYTHON or IS_MAC or not SUPPORT_ATTACH_TO_PID or IS_PY312_OR_GREATER, reason="CPython only test (brittle on Mac).") def test_attach_to_pid_halted(case_setup_remote): with case_setup_remote.test_file("_debugger_case_attach_to_pid_multiple_threads.py", wait_for_port=False) as writer: time.sleep(1) # Give it some time to initialize and get to the proper halting condition @@ -3109,16 +3109,6 @@ def test_remote_debugger_threads(case_setup_remote): writer.write_run_thread(hit_in_main.thread_id) writer.write_run_thread(hit_in_thread1.thread_id) writer.write_run_thread(hit_in_thread2.thread_id) - - if TODO_PY312: - # Python 3.12: this seems related to the handling of jump/line. - # Additional handling is needed. - hit_in_thread1 = writer.wait_for_breakpoint_hit(line=bp_line) - hit_in_thread2 = writer.wait_for_breakpoint_hit(line=bp_line) - - writer.write_run_thread(hit_in_thread1.thread_id) - writer.write_run_thread(hit_in_thread2.thread_id) - writer.finished_ok = True @@ -4510,10 +4500,6 @@ def test_frame_eval_mode_corner_case_03(case_setup): writer.write_step_over(hit.thread_id) hit = writer.wait_for_breakpoint_hit(line=line + 1, reason=REASON_STEP_OVER) - if TODO_PY312: - writer.write_step_over(hit.thread_id) - hit = writer.wait_for_breakpoint_hit(line=line + 1, reason=REASON_STEP_OVER) - writer.write_step_over(hit.thread_id) hit = writer.wait_for_breakpoint_hit(line=line, reason=REASON_STOP_ON_BREAKPOINT) diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger_json.py b/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger_json.py index 321cf4cd03..b5a1aa8513 100644 --- a/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger_json.py +++ b/plugins/org.python.pydev.core/pysrc/tests_python/test_debugger_json.py @@ -80,7 +80,8 @@ def __init__(self, msg): class JsonFacade(object): def __init__(self, writer): self.writer = writer - writer.reader_thread.accept_xml_messages = False + if hasattr(writer, "reader_thread"): + writer.reader_thread.accept_xml_messages = False self._all_json_messages_found = [] self._sent_launch_or_attach = False @@ -730,6 +731,31 @@ def accept_message(msg): writer.finished_ok = True +def test_case_json_hit_condition_error_count(case_setup_dap): + with case_setup_dap.test_file("_debugger_case_hit_count_conditional.py") as writer: + json_facade = JsonFacade(writer) + + json_facade.write_launch() + bp = writer.get_line_index_with_content("for line") + bp2 = writer.get_line_index_with_content("after loop line") + json_facade.write_set_breakpoints([bp, bp2], line_to_info={bp: {"condition": "1 / 0"}, bp2: {}}) + json_facade.write_make_initial_run() + + def accept_message(msg): + if msg.body.category == "important": + if "Error while evaluating expression in conditional breakpoint" in msg.body.output: + return True + return False + + json_facade.wait_for_thread_stopped() + messages = json_facade.mark_messages(OutputEvent, accept_message=accept_message) + assert len(messages) == 11 + + json_facade.write_continue() + + writer.finished_ok = True + + def test_case_process_event(case_setup_dap): with case_setup_dap.test_file("_debugger_case_change_breaks.py") as writer: json_facade = JsonFacade(writer) @@ -1342,6 +1368,111 @@ def test_case_sys_exit_0_handled_exception(case_setup_dap, break_on_system_exit_ writer.finished_ok = True +@pytest.mark.skipif( + sys.platform == "darwin" or not SUPPORT_ATTACH_TO_PID or IS_PYPY, + reason="https://github.com/microsoft/ptvsd/issues/1988", +) +@pytest.mark.flaky(retries=2, delay=1) +@pytest.mark.parametrize("raised", ["raised", ""]) +@pytest.mark.parametrize("uncaught", ["uncaught", ""]) +@pytest.mark.parametrize("zero", ["zero", ""]) +@pytest.mark.parametrize("exit_code", [0, 1, "nan"]) +def test_case_sys_exit_multiple_exception_attach(case_setup_remote, raised, uncaught, zero, exit_code): + filters = [] + if raised: + filters += ["raised"] + if uncaught: + filters += ["uncaught"] + + def update_command_line_args(writer, args): + # Add exit code to command line args + ret = debugger_unittest.AbstractWriterThread.update_command_line_args(writer, args) + ret.append(repr(exit_code)) + return ret + + evaled_exit_code = exit_code if exit_code != "nan" else 1 + + with case_setup_remote.test_file( + "_debugger_case_sysexit_unhandled_launcher.py", + update_command_line_args=update_command_line_args, + EXPECTED_RETURNCODE=evaled_exit_code, + wait_for_port=False, + ) as writer: + _attach_to_writer_pid(writer) + wait_for_condition(lambda: hasattr(writer, "reader_thread")) + + json_facade = JsonFacade(writer) + + target_file = debugger_unittest._get_debugger_test_file("_debugger_case_sysexit_unhandled_attach.py") + + bp_line = writer.get_line_index_with_content("break here") + final_line = writer.get_line_index_with_content("final break") + handled_line = writer.get_line_index_with_content("@handled", filename=target_file) + unhandled_line = writer.get_line_index_with_content("@unhandled", filename=target_file) + original_ignore_stderr_line = writer._ignore_stderr_line + + @overrides(writer._ignore_stderr_line) + def _ignore_stderr_line(line): + if exit_code == "nan": + return True + return original_ignore_stderr_line(line) + + writer._ignore_stderr_line = _ignore_stderr_line + + # Not really a launch, but we want to send these before the make_initial_run. + json_facade.write_launch( + breakpointOnSystemExit=True if zero else False, + debugOptions=["BreakOnSystemExitZero", "ShowReturnValue"] if zero else ["ShowReturnValue"], + ) + + json_facade.write_set_exception_breakpoints(filters) + json_facade.write_set_breakpoints([bp_line]) + json_facade.write_make_initial_run() + hit = json_facade.wait_for_thread_stopped(line=bp_line) + + # Stop looping + json_facade.get_global_var(hit.frame_id, "wait") + json_facade.write_set_variable(hit.frame_id, "wait", "False") + json_facade.write_set_breakpoints([]) + json_facade.write_continue() + + # When breaking on raised exceptions, we'll stop on both lines, + # unless it's SystemExit(0) and we asked to ignore that. + if raised and (zero or exit_code != 0): + json_facade.wait_for_thread_stopped( + "exception", + line=handled_line, + ) + json_facade.write_continue() + + json_facade.wait_for_thread_stopped( + "exception", + line=unhandled_line, + ) + json_facade.write_continue() + + json_facade.wait_for_thread_stopped( + "exception", + line=final_line, + ) + json_facade.write_continue() + + # When breaking on uncaught exceptions, we'll stop on the second line, + # unless it's SystemExit(0) and we asked to ignore that. + # Note that if both raised and uncaught filters are set, there will be + # two stop for the second line - one for exception being raised, and one + # for it unwinding the stack without finding a handler. The block above + # takes care of the first stop, so here we just take care of the second. + if uncaught and (zero or exit_code != 0): + json_facade.wait_for_thread_stopped( + "exception", + line=unhandled_line, + ) + json_facade.write_continue() + + writer.finished_ok = True + + def test_case_handled_exception_breaks_by_type(case_setup_dap): with case_setup_dap.test_file("_debugger_case_exceptions.py") as writer: json_facade = JsonFacade(writer) @@ -1872,11 +2003,11 @@ def test_stack_and_variables_dict(case_setup_dap): # : :type variables_response: VariablesResponse expected_unicode = { - "name": "\u16A0", + "name": "\u16a0", "value": "'\u16a1'", "type": "str", "presentationHint": {"attributes": ["rawString"]}, - "evaluateName": "\u16A0", + "evaluateName": "\u16a0", } assert variables_response.body.variables == [ {"name": "variable_for_test_1", "value": "10", "type": "int", "evaluateName": "variable_for_test_1"}, @@ -2132,6 +2263,22 @@ def numpy_small_array_file(): check = [dict([(variable["name"], variable["value"])]) for variable in variables_response.body.variables] assert check in ( + [ + {"special variables": ""}, + {"dtype": "dtype('int64')"}, + {"max": "np.int64(2)"}, + {"min": "np.int64(2)"}, + {"shape": "()"}, + {"size": "1"}, + ], + [ + {"special variables": ""}, + {"dtype": "dtype('int32')"}, + {"max": "np.int32(2)"}, + {"min": "np.int32(2)"}, + {"shape": "()"}, + {"size": "1"}, + ], [{"special variables": ""}, {"dtype": "dtype('int32')"}, {"max": "2"}, {"min": "2"}, {"shape": "()"}, {"size": "1"}], [{"special variables": ""}, {"dtype": "dtype('int64')"}, {"max": "2"}, {"min": "2"}, {"shape": "()"}, {"size": "1"}], [ @@ -2469,7 +2616,7 @@ def test_evaluate_unicode(case_setup_dap): json_hit = json_facade.wait_for_thread_stopped() json_hit = json_facade.get_stack_as_json_hit(json_hit.thread_id) - evaluate_response = json_facade.evaluate("\u16A0", json_hit.frame_id) + evaluate_response = json_facade.evaluate("\u16a0", json_hit.frame_id) evaluate_response_body = evaluate_response.body.to_dict() @@ -4640,7 +4787,7 @@ def test_case_django_no_attribute_exception_breakpoint(case_setup_django_dap, jm "protected": "inline", }, ) - json_facade.write_set_exception_breakpoints(["raised"]) + json_facade.write_set_exception_breakpoints(["raised", "uncaught"]) else: json_facade.write_launch( debugOptions=["DebugStdLib", "Django"], @@ -4706,6 +4853,12 @@ def test_case_django_no_attribute_exception_breakpoint(case_setup_django_dap, jm ] json_facade.write_continue() + + if jmc: + # If one jmc, uncaught should come through as well + json_hit = json_facade.wait_for_thread_stopped("exception", line=7, file="template_error.html") + json_facade.write_continue() + writer.finished_ok = True @@ -4906,7 +5059,7 @@ def _ignore_stderr_line(line): if original_ignore_stderr_line(line): return True - binary_junk = b"\xe8\xF0\x80\x80\x80" + binary_junk = b"\xe8\xf0\x80\x80\x80" if sys.version_info[0] >= 3: binary_junk = binary_junk.decode("utf-8", "replace") @@ -5589,6 +5742,23 @@ def test_stop_on_entry2(case_setup_dap): json_facade.write_continue() writer.finished_ok = True +def test_stop_on_entry_verify_strings(case_setup_dap): + with case_setup_dap.test_file("not_my_code/main_on_entry3.py") as writer: + json_facade = JsonFacade(writer) + json_facade.write_set_debugger_property([], ["main_on_entry3.py"]) + json_facade.write_launch( + justMyCode=True, + stopOnEntry=True, + showReturnValue=True, + rules=[ + {"path": "**/main_on_entry3.py", "include": False}, + ], + ) + + json_facade.write_make_initial_run() + json_facade.wait_for_thread_stopped("breakpoint", file="empty_file.py") + json_facade.write_continue() + writer.finished_ok = True @pytest.mark.parametrize("val", [True, False]) def test_debug_options(case_setup_dap, val): diff --git a/plugins/org.python.pydev.core/pysrc/tests_python/test_safe_repr.py b/plugins/org.python.pydev.core/pysrc/tests_python/test_safe_repr.py index ea04c75f11..cc5de09eaa 100644 --- a/plugins/org.python.pydev.core/pysrc/tests_python/test_safe_repr.py +++ b/plugins/org.python.pydev.core/pysrc/tests_python/test_safe_repr.py @@ -80,8 +80,7 @@ def test_collection_types(self): ] def test_largest_repr(self): - # Find the largest possible repr and ensure it is below our arbitrary - # limit (8KB). + # Find the largest possible repr and make sure it works coll = "-" * (SafeRepr.maxstring_outer * 2) for limit in reversed(SafeRepr.maxcollection[1:]): coll = [coll] * (limit * 2) @@ -97,7 +96,7 @@ def test_largest_repr(self): # print('len(SafeRepr()(dcoll)) = ' + str(len(text)) + # ', len(repr(coll)) = ' + str(len(text_repr))) - assert len(text) < 8192 + assert len(text) <= 158538 class TestStrings(SafeReprTestBase): @@ -111,7 +110,7 @@ def test_str_large(self): value = "A" * (SafeRepr.maxstring_outer + 10) self.assert_shortened(value, "'" + "A" * 43690 + "..." + "A" * 21845 + "'") - self.assert_shortened([value], "['AAAAAAAAAAAAAAAAAAAA...AAAAAAAAAA']") + self.assert_shortened([value], "['AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA']") def test_str_largest_unchanged(self): value = "A" * (SafeRepr.maxstring_outer) @@ -126,12 +125,12 @@ def test_str_smallest_changed(self): def test_str_list_largest_unchanged(self): value = "A" * (SafeRepr.maxstring_inner) - self.assert_unchanged([value], "['AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA']") + self.assert_unchanged([value], "['AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA']") def test_str_list_smallest_changed(self): value = "A" * (SafeRepr.maxstring_inner + 1) - self.assert_shortened([value], "['AAAAAAAAAAAAAAAAAAAA...AAAAAAAAAA']") + self.assert_shortened([value], "['AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA']") @pytest.mark.skipif(sys.version_info > (3, 0), reason="Py2 specific test") def test_unicode_small(self): @@ -159,7 +158,7 @@ def test_bytes_large(self): value = b"A" * (SafeRepr.maxstring_outer + 10) self.assert_shortened(value, "b'" + "A" * 43690 + "..." + "A" * 21845 + "'") - self.assert_shortened([value], "[b'AAAAAAAAAAAAAAAAAAAA...AAAAAAAAAA']") + self.assert_shortened([value], "[b'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA...AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA']") # @pytest.mark.skip(reason='not written') # TODO: finish! # def test_bytearray_small(self): @@ -539,9 +538,7 @@ def __repr__(self): value4 = TestClass([TestClass(range(0, 11))]) self.assert_unchanged(value1, "MyRepr") - self.assert_shortened(value2, "") self.assert_unchanged(value3, "MyRepr") - self.assert_shortened(value4, "") def test_custom_repr_large_item(self): class TestClass(list):