diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4c756f31b..04f972e00 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -103,13 +103,14 @@ Using `pydevd_log.debug` you can add logging just about anywhere in the pydevd c
## Updating pydevd
-Pydevd (at src/debugpy/_vendored/pydevd) is a copy of https://github.com/fabioz/PyDev.Debugger. We do not use a git submodule but instead just copy the source.
+Pydevd (at src/debugpy/_vendored/pydevd) is a subrepo of https://github.com/fabioz/PyDev.Debugger. We use the [subrepo](https://github.com/ingydotnet/git-subrepo) to have a copy of pydevd inside of debugpy
In order to update the source, you would:
-- Sync to the appropriate commit in a pydevd repo
-- Diff this against the src/debugpy/_vendored/pydevd folder, being careful to not remove the edits made in the debugpy version
-- Run our tests
-- Make any fixes to get the tests to pass (see logging on how to debug)
+- git checkout -b "branch name"
+- python subrepo.py pull
+- git push
+- Fix any debugpy tests that are failing as a result of the pull
+- Create a PR from your branch
You might need to regenerate the Cython modules after any changes. This can be done by:
@@ -123,13 +124,17 @@ You might need to regenerate the Cython modules after any changes. This can be d
If you've made changes to pydevd (at src/debugpy/_vendored/pydevd), you'll want to push back changes to pydevd so as Fabio makes changes to pydevd we can continue to share updates.
+To do this, you would:
+
+- python subrepo.py branch -m "pydevd branch you want to create"
+- git push -f https://github.com/fabioz/PyDev.Debugger subrepo/src/debugpy/_vendored/pydevd:$(pydevd branch you want to create)
+- Create a PR from that branch
+- Get Fabio's buyoff on the changes
+
### Setting up pydevd to be testable
Follow these steps to get pydevd testable:
-- git clone https://github.com/fabioz/PyDev.Debugger (or using your own fork)
-- copy all of your changes from src/debugpy/_vendored/pydevd to the root of your PyDev.Debugger clone
-- remove the pdb files (pydevd doesn't ship those) if you rebuilt the attach dlls
- create an environment to test. The list of stuff in your environment is outlined [here](https://github.com/fabioz/PyDev.Debugger/blob/6cd4d431e6a794448f33a73857d479149041500a/.github/workflows/pydevd-tests-python.yml#L83).
- set PYTHONPATH=. (make sure you don't forget this part, otherwise a lot of tests will fail)
diff --git a/src/debugpy/_vendored/pydevd/.github/FUNDING.yml b/src/debugpy/_vendored/pydevd/.github/FUNDING.yml
new file mode 100644
index 000000000..1f8e124a0
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.github/FUNDING.yml
@@ -0,0 +1,13 @@
+# These are supported funding model platforms
+
+github: [fabioz]
+patreon: fabioz
+#open_collective: # Replace with a single Open Collective username
+#ko_fi: # Replace with a single Ko-fi username
+#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
+#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
+#liberapay: # Replace with a single Liberapay username
+#issuehunt: # Replace with a single IssueHunt username
+#otechie: # Replace with a single Otechie username
+#lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
+custom: [https://www.pydev.org/about.html] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
diff --git a/src/debugpy/_vendored/pydevd/.github/install_and_run_debug_py.sh b/src/debugpy/_vendored/pydevd/.github/install_and_run_debug_py.sh
new file mode 100644
index 000000000..8a38cf451
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.github/install_and_run_debug_py.sh
@@ -0,0 +1,35 @@
+# Build the cython extensions (to check that we don't crash when they're there in debug mode).
+python setup_pydevd_cython.py build_ext --inplace
+
+curl -L https://www.python.org/ftp/python/3.8.3/Python-3.8.3.tgz -o Python-3.8.3.tgz
+tar -xzf Python-3.8.3.tgz
+cd Python-3.8.3
+mkdir debug
+cd debug
+../configure --with-pydebug
+make
+
+curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
+./python get-pip.py
+
+./python -m pip install "pytest"
+./python -m pip install "psutil"
+./python -m pip install "untangle"
+
+# Check that it worked.
+./python -c "import pytest"
+./python -c "import psutil"
+./python -c "import untangle"
+
+cd ..
+cd ..
+ls -la
+
+./Python-3.8.3/debug/python -c "import sys;assert hasattr(sys,'gettotalrefcount')"
+
+cd tests_python
+
+# Although we compiled cython, all we're checking is that we don't crash (since it was built for the release env).
+../Python-3.8.3/debug/python -m pytest test_debugger_json.py -k "test_case_json_change_breaks or test_remote_debugger_basic"
+export PYTHONPATH=..
+../Python-3.8.3/debug/python -c "import check_debug_python;check_debug_python.check() "
diff --git a/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-release-manylinux.yml b/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-release-manylinux.yml
new file mode 100644
index 000000000..561057652
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-release-manylinux.yml
@@ -0,0 +1,48 @@
+# Nice reference: https://github.com/tornadoweb/tornado/blob/master/.github/workflows/build.yml
+# Docs: https://cibuildwheel.readthedocs.io/en/stable/options/
+# Configurations are here and in pyproject.toml.
+name: PyDev.Debugger [MANYLINUX] Release
+
+on:
+ push:
+ branches:
+ - "release-pydev-debugger-test"
+ tags:
+ - "pydev_debugger_*"
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-20.04]
+ steps:
+ - uses: actions/checkout@v4
+
+ # Used to host cibuildwheel
+ - uses: actions/setup-python@v3
+
+ - name: Install cibuildwheel
+ run: python -m pip install cibuildwheel==2.21.2
+
+ - name: Remove .so files (will be rebuilt)
+ run: rm pydevd_attach_to_process/*.so
+
+ - name: Build wheels
+ run: python -m cibuildwheel --output-dir wheelhouse
+ env:
+ CIBW_SKIP: pp* cp36-* cp37-*
+ CIBW_BUILD_VERBOSITY: 1
+
+ - uses: actions/upload-artifact@v3
+ with:
+ path: ./wheelhouse/*.whl
+
+ - name: Upload to PyPI .whl
+ run: |
+ pip install twine
+ twine upload wheelhouse/*.whl
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.TWINE_KEY }}
\ No newline at end of file
diff --git a/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-release.yml b/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-release.yml
new file mode 100644
index 000000000..6485c0f01
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-release.yml
@@ -0,0 +1,67 @@
+name: PyDev.Debugger [Windows, MacOS] Release
+
+on:
+ push:
+ branches:
+ - "release-pydev-debugger-test"
+ tags:
+ - "pydev_debugger_*"
+env:
+ DISPLAY: ":99"
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [macos-latest, windows-latest]
+ python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
+ steps:
+ - uses: actions/checkout@v3
+ - name: Set up Python
+ uses: actions/setup-python@v4
+ with:
+ python-version: ${{ matrix.python-version }}
+
+ - name: Display Python version
+ run: python --version
+
+ - name: Install common Python deps
+ run: |
+ pip install --upgrade pip
+ pip install wheel "cython>3" setuptools psutil twine --no-warn-script-location
+
+ - name: Build cython
+ env:
+ PYTHONPATH: .
+ PYDEVD_USE_CYTHON: yes
+ run: python build_tools/build.py
+
+ - name: Check cython unchanged
+ env:
+ PYTHONPATH: .
+ PYDEVD_USE_CYTHON: yes
+ run: python build_tools/check_no_git_modifications.py
+
+ - name: Create sdist
+ run: python setup.py sdist bdist_wheel
+
+ - uses: actions/upload-artifact@v3
+ with:
+ name: dist-${{ matrix.os }}-${{ matrix.python-version }}
+ path: dist/*
+
+ - name: Upload to PyPI .whl
+ run: twine upload dist/*.whl
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.TWINE_KEY }}
+
+ - name: Upload to PyPI .tar.gz
+ if: ${{ (matrix.os == 'windows-latest') && (matrix.python-version == '3.9') }}
+ run: twine upload dist/*.tar.gz
+ env:
+ TWINE_USERNAME: __token__
+ TWINE_PASSWORD: ${{ secrets.TWINE_KEY }}
+
diff --git a/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-tests-python.yml b/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-tests-python.yml
new file mode 100644
index 000000000..04ac3fd23
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.github/workflows/pydevd-tests-python.yml
@@ -0,0 +1,168 @@
+name: PyDev.Debugger TESTS
+
+on:
+ - push
+ - pull_request
+
+env:
+ DISPLAY: ":99"
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+
+ strategy:
+ fail-fast: false
+ matrix:
+ name: [
+ "ubuntu-pypy3",
+# "macos-py37-cython", -- misbehaving on github actions
+ "ubuntu-py38-cython-checkbin",
+ "windows-py39-cython",
+ "windows-py310-cython-checkbin",
+ "windows-py311-cython",
+ "ubuntu-py311-cython",
+ "ubuntu-py312-cython-checkbin",
+ "windows-py312-cython-checkbin",
+ "ubuntu-py313-cython",
+ "windows-py313-cython",
+ ]
+
+ include:
+ - name: "ubuntu-pypy3"
+ python: "pypy3.10"
+ os: ubuntu-20.04
+ PYDEVD_USE_CYTHON: NO
+# - name: "macos-py37-cython"
+# python: "3.7"
+# os: macos-latest
+# PYDEVD_USE_CYTHON: YES
+ - name: "ubuntu-py38-cython-checkbin"
+ python: "3.8"
+ os: ubuntu-20.04
+ PYDEVD_USE_CYTHON: YES
+ - name: "windows-py39-cython"
+ python: "3.9"
+ os: windows-latest
+ PYDEVD_USE_CYTHON: YES
+ - name: "windows-py310-cython-checkbin"
+ python: "3.10"
+ os: windows-latest
+ PYDEVD_USE_CYTHON: YES
+ # See: https://github.com/actions/python-versions/releases
+ - name: "windows-py311-cython"
+ python: "3.11.0"
+ os: windows-latest
+ PYDEVD_USE_CYTHON: YES
+ - name: "ubuntu-py311-cython"
+ python: "3.11.0"
+ os: ubuntu-20.04
+ PYDEVD_USE_CYTHON: YES
+ - name: "ubuntu-py312-cython-checkbin"
+ python: "3.12.0"
+ os: ubuntu-20.04
+ PYDEVD_USE_CYTHON: YES
+ - name: "windows-py312-cython-checkbin"
+ python: "3.12"
+ os: windows-latest
+ PYDEVD_USE_CYTHON: YES
+ - name: "ubuntu-py313-cython"
+ python: "3.13"
+ os: ubuntu-20.04
+ PYDEVD_USE_CYTHON: YES
+ - name: "windows-py313-cython"
+ python: "3.13"
+ os: windows-latest
+ PYDEVD_USE_CYTHON: YES
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python ${{ matrix.python }}
+ uses: actions/setup-python@v4
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Install gdb/xvfb/ptrace_scope
+ run: |
+ sudo apt-get update
+ sudo apt-get install gdb
+ sudo sysctl kernel.yama.ptrace_scope=0
+ sudo apt-get install xvfb
+ sudo apt-get install libqt5x11extras5
+ Xvfb -ac :99 -screen 0 1280x1024x16 > /dev/null 2>&1 &
+ if: contains(matrix.name, 'ubuntu')
+ - name: Install common Python deps
+ run: |
+ pip install --upgrade pip
+ pip install setuptools --no-warn-script-location
+ pip install wheel --no-warn-script-location
+ pip install "cython>3" --no-warn-script-location
+ pip install psutil --no-warn-script-location
+ pip install numpy --no-warn-script-location
+ pip install pytest --no-warn-script-location
+ pip install pytest-xdist --no-warn-script-location
+ 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') && !contains(matrix.name, 'py313')
+ run: |
+ pip install PySide2 --no-warn-script-location
+ pip install "numpy<2" --force --no-warn-script-location
+ pip install cherrypy --no-warn-script-location
+ pip install gevent==23.9.1 greenlet
+
+ - name: Install django
+ if: "!contains(matrix.name, 'py38')"
+ run: pip install "django<=4.2" --no-warn-script-location
+
+ - name: Install Pandas
+ if: contains(matrix.name, 'py310') && !contains(matrix.name, 'pypy')
+ # The pandas Styler also requires jinja2.
+ run: pip install pandas pyarrow jinja2 --no-warn-script-location
+ - name: Install Pypy 3 deps
+ if: contains(matrix.name, 'py3')
+ run: |
+ pip install trio
+
+ - name: Check that wheels can be built
+ if: contains(matrix.name, 'checkbin') && contains(matrix.name, 'ubuntu')
+ run: |
+ python -m pip install setuptools --no-warn-script-location
+ python -m pip install cibuildwheel==2.21.3
+ # Remove these .so files (will be rebuilt)
+ rm pydevd_attach_to_process/*.so
+ python -m cibuildwheel --output-dir wheelhouse
+ env:
+ CIBW_BUILD: cp310-*manylinux*x86_64 cp311-*manylinux*x86_64 cp312-*manylinux*x86_64 cp313-*manylinux*x86_64
+ CIBW_BUILD_VERBOSITY: 3
+
+ - name: Rebuild .so
+ if: contains(matrix.name, 'checkbin') && contains(matrix.name, 'ubuntu')
+ run: |
+ pydevd_attach_to_process/linux_and_mac/compile_linux.sh
+
+ - name: Check cython unchanged
+ if: contains(matrix.name, 'checkbin')
+ env:
+ PYTHONPATH: .
+ run: |
+ python build_tools/build.py
+ python build_tools/check_no_git_modifications.py
+
+ - name: Create cython binaries
+ if: contains(matrix.name, 'cython')
+ run: |
+ python setup_pydevd_cython.py build_ext --inplace
+ - name: Check debug
+ if: contains(matrix.name, 'checkdebug')
+ run: |
+ ./.github/install_and_run_debug_py.sh
+ - name: Run Python 3.x tests
+ env:
+ # QT_DEBUG_PLUGINS: 1
+ PYTHONPATH: .
+ PYDEVD_USE_CYTHON: ${{matrix.PYDEVD_USE_CYTHON }}
+ run: |
+ python -m pytest -n auto -rfE
+
diff --git a/src/debugpy/_vendored/pydevd/.gitrepo b/src/debugpy/_vendored/pydevd/.gitrepo
new file mode 100644
index 000000000..5aec21927
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.gitrepo
@@ -0,0 +1,12 @@
+; DO NOT EDIT (unless you know what you are doing)
+;
+; This subdirectory is a git "subrepo", and this file is maintained by the
+; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme
+;
+[subrepo]
+ remote = https://github.com/fabioz/PyDev.Debugger.git
+ branch = main
+ commit = cf2e47cbb81a7b4e159f10d56208f4d22ff5423d
+ parent = 942a2276127598ef84d06b7f7b889281c1047712
+ method = merge
+ cmdver = 0.4.9
diff --git a/src/debugpy/_vendored/pydevd/.project b/src/debugpy/_vendored/pydevd/.project
new file mode 100644
index 000000000..a6cc6d69a
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.project
@@ -0,0 +1,17 @@
+
+
+ PyDev.Debugger
+
+
+
+
+
+ org.python.pydev.PyDevBuilder
+
+
+
+
+
+ org.python.pydev.pythonNature
+
+
diff --git a/src/debugpy/_vendored/pydevd/.pydevproject b/src/debugpy/_vendored/pydevd/.pydevproject
new file mode 100644
index 000000000..84c06fb35
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.pydevproject
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+
+ /${PROJECT_DIR_NAME}
+
+
+ /${PROJECT_DIR_NAME}/build_tools
+
+
+ /${PROJECT_DIR_NAME}/jython_test_deps/ant.jar
+
+
+ /${PROJECT_DIR_NAME}/jython_test_deps/junit.jar
+
+
+ /${PROJECT_DIR_NAME}/pydevd_attach_to_process
+
+
+
+
+
+ python interpreter
+
+
+ Default
+
+
+ 3.6
+
+
diff --git a/src/debugpy/_vendored/pydevd/.settings/org.eclipse.core.resources.prefs b/src/debugpy/_vendored/pydevd/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000..f14f0546b
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,46 @@
+eclipse.preferences.version=1
+encoding//.settings/org.python.pydev.yaml=UTF-8
+encoding//_pydevd_bundle/_debug_adapter/pydevd_schema.py=utf-8
+encoding//pydev_ipython/inputhook.py=utf-8
+encoding//pydev_ipython/inputhookglut.py=utf-8
+encoding//pydev_ipython/inputhookgtk.py=utf-8
+encoding//pydev_ipython/inputhookgtk3.py=utf-8
+encoding//pydev_ipython/inputhookpyglet.py=utf-8
+encoding//pydev_ipython/inputhookqt4.py=utf-8
+encoding//pydev_ipython/inputhookqt5.py=utf-8
+encoding//pydev_ipython/inputhooktk.py=utf-8
+encoding//pydev_ipython/inputhookwx.py=utf-8
+encoding//pydev_ipython/version.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/breakpoint.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/crash.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/interactive.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/process.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/thread.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/util.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/__init__.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/advapi32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/context_amd64.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/context_i386.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/dbghelp.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/defines.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/gdi32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/kernel32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/ntdll.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/peb_teb.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/psapi.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/shell32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/shlwapi.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/user32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/version.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/wtsapi32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/window.py=utf-8
+encoding//tests_python/debugger_fixtures.py=utf-8
+encoding//tests_python/resources/_debugger_case_redirect.py=utf-8
+encoding//tests_python/test_collect_bytecode_info.py=utf-8
+encoding//tests_python/test_convert_utilities.py=utf-8
+encoding//tests_python/test_debugger.py=utf-8
+encoding//tests_python/test_debugger_json.py=utf-8
+encoding//tests_python/test_extract_token.py=utf-8
+encoding//tests_python/test_frame_utils.py=utf-8
+encoding//tests_python/test_pydev_monkey.py=utf-8
+encoding//tests_python/test_safe_repr.py=utf-8
diff --git a/src/debugpy/_vendored/pydevd/.settings/org.python.pydev.yaml b/src/debugpy/_vendored/pydevd/.settings/org.python.pydev.yaml
new file mode 100644
index 000000000..9224fcc3b
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/.settings/org.python.pydev.yaml
@@ -0,0 +1,52 @@
+ADD_NEW_LINE_AT_END_OF_FILE: true
+AUTOPEP8_PARAMETERS: ''
+AUTO_ADD_SELF: true
+AUTO_BRACES: true
+AUTO_COLON: true
+AUTO_DEDENT_ELSE: true
+AUTO_INDENT_AFTER_PAR_WIDTH: 1
+AUTO_INDENT_TO_PAR_LEVEL: false
+AUTO_LINK: false
+AUTO_LITERALS: true
+AUTO_PAR: true
+AUTO_WRITE_IMPORT_STR: true
+BLACK_FORMATTER_FILE_LOCATION: ''
+BLACK_FORMATTER_LOCATION_OPTION: LOCATION_SEARCH
+BLACK_PARAMETERS: ''
+BLANK_LINES_INNER: 1
+BLANK_LINES_TOP_LEVEL: 2
+BREAK_IMPORTS_MODE: PARENTHESIS
+DATE_FIELD_FORMAT: yyyy-MM-dd
+DATE_FIELD_NAME: __updated__
+DELETE_UNUSED_IMPORTS: false
+ENABLE_DATE_FIELD_ACTION: false
+FORMATTER_STYLE: RUFF
+FORMAT_BEFORE_SAVING: true
+FORMAT_ONLY_CHANGED_LINES: false
+FORMAT_WITH_AUTOPEP8: false
+FROM_IMPORTS_FIRST: false
+GROUP_IMPORTS: true
+IMPORT_ENGINE: IMPORT_ENGINE_PEP_8
+INDENT_AFTER_PAR_AS_PEP8: false
+MANAGE_BLANK_LINES: true
+MULTILINE_IMPORTS: true
+PEP8_IMPORTS: true
+PYDEV_TEST_RUNNER: '2'
+PYDEV_TEST_RUNNER_DEFAULT_PARAMETERS: --capture=no -vv --tb=native -n 0
+PYDEV_USE_PYUNIT_VIEW: true
+RUFF_FORMATTER_FILE_LOCATION: ''
+RUFF_FORMATTER_LOCATION_OPTION: LOCATION_SEARCH
+RUFF_PARAMETERS: ''
+SAVE_ACTIONS_ONLY_ON_WORKSPACE_FILES: true
+SMART_INDENT_PAR: true
+SMART_LINE_MOVE: false
+SORT_IMPORTS_ON_SAVE: false
+SORT_NAMES_GROUPED: false
+SPACES_BEFORE_COMMENT: '2'
+SPACES_IN_START_COMMENT: '1'
+TRIM_EMPTY_LINES: true
+TRIM_MULTILINE_LITERALS: true
+USE_ASSIGN_WITH_PACES_INSIDER_PARENTESIS: false
+USE_OPERATORS_WITH_SPACE: true
+USE_SPACE_AFTER_COMMA: true
+USE_SPACE_FOR_PARENTESIS: false
diff --git a/src/debugpy/_vendored/pydevd/MANIFEST.in b/src/debugpy/_vendored/pydevd/MANIFEST.in
index 62bd965dd..a304e89b3 100644
--- a/src/debugpy/_vendored/pydevd/MANIFEST.in
+++ b/src/debugpy/_vendored/pydevd/MANIFEST.in
@@ -1,8 +1,8 @@
-include *.rst *.txt *.md LICENSE-EPL LICENSE-APACHE *.pyx *.cpp *.hpp
-recursive-include pydevd_attach_to_process *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
-recursive-include pydevd_attach_to_process/common *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
-recursive-include pydevd_attach_to_process/linux_and_mac *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
-recursive-include pydevd_attach_to_process/winappdbg *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
-recursive-include pydevd_attach_to_process/windows *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
-recursive-include _pydevd_bundle *.pyx *.cpp *.hpp
+include *.rst *.txt *.md LICENSE-EPL LICENSE-APACHE *.pyx *.cpp *.hpp
+recursive-include pydevd_attach_to_process *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
+recursive-include pydevd_attach_to_process/common *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
+recursive-include pydevd_attach_to_process/linux_and_mac *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
+recursive-include pydevd_attach_to_process/winappdbg *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
+recursive-include pydevd_attach_to_process/windows *.py *.dll *.so *.dylib *.txt *.c *.h *.bat Makefile *.sh *.pyx *.cpp *.hpp
+recursive-include _pydevd_bundle *.pyx *.cpp *.hpp
recursive-include build_tools *.py
\ No newline at end of file
diff --git a/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py b/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
index 2a3289c30..3f2483a17 100644
--- a/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
+++ b/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_is_thread_alive.py
@@ -4,7 +4,14 @@
# circumstances).
# It is required to debug threads started by start_new_thread in Python 3.4
_temp = threading.Thread()
-if hasattr(_temp, "_is_stopped"): # Python 3.12 and earlier has this
+
+if hasattr(_temp, "_handle") and hasattr(_temp, "_started"): # Python 3.13 and later has this
+
+ def is_thread_alive(t):
+ return not t._handle.is_done()
+
+
+elif hasattr(_temp, "_is_stopped"): # Python 3.12 and earlier has this
def is_thread_alive(t):
return not t._is_stopped
diff --git a/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py b/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py
index 915891f41..4c63c955b 100644
--- a/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py
+++ b/src/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py
@@ -12,17 +12,14 @@
set_global_debugger,
DebugInfoHolder,
PYDEVD_USE_SYS_MONITORING,
+ IS_PY313_OR_GREATER,
)
from _pydev_bundle import pydev_log
from contextlib import contextmanager
from _pydevd_bundle import pydevd_constants, pydevd_defaults
from _pydevd_bundle.pydevd_defaults import PydevdCustomization
import ast
-
-try:
- from pathlib import Path
-except ImportError:
- Path = None
+from pathlib import Path
# ===============================================================================
# Things that are dependent on having the pydevd debugger
@@ -299,7 +296,7 @@ def remove_quotes_from_args(args):
new_args = []
for x in args:
- if Path is not None and isinstance(x, Path):
+ if isinstance(x, Path):
x = str(x)
else:
if not isinstance(x, (bytes, str)):
@@ -316,7 +313,7 @@ def remove_quotes_from_args(args):
else:
new_args = []
for x in args:
- if Path is not None and isinstance(x, Path):
+ if isinstance(x, Path):
x = x.as_posix()
else:
if not isinstance(x, (bytes, str)):
@@ -1173,15 +1170,31 @@ def _get_threading_modules_to_patch():
def patch_thread_module(thread_module):
- if getattr(thread_module, "_original_start_new_thread", None) is None:
- if thread_module is threading:
- if not hasattr(thread_module, "_start_new_thread"):
- return # Jython doesn't have it.
- _original_start_new_thread = thread_module._original_start_new_thread = thread_module._start_new_thread
+ # Note: this is needed not just for the tracing, but to have an early way to
+ # notify that a thread was created (i.e.: tests_python.test_debugger_json.test_case_started_exited_threads_protocol)
+ start_thread_attrs = ["_start_new_thread", "start_new_thread", "start_new"]
+ start_joinable_attrs = ["start_joinable_thread", "_start_joinable_thread"]
+ check = start_thread_attrs + start_joinable_attrs
+
+ replace_attrs = []
+ for attr in check:
+ if hasattr(thread_module, attr):
+ replace_attrs.append(attr)
+
+ if not replace_attrs:
+ return
+
+ for attr in replace_attrs:
+ if attr in start_joinable_attrs:
+ if getattr(thread_module, "_original_start_joinable_thread", None) is None:
+ _original_start_joinable_thread = thread_module._original_start_joinable_thread = getattr(thread_module, attr)
+ else:
+ _original_start_joinable_thread = thread_module._original_start_joinable_thread
else:
- _original_start_new_thread = thread_module._original_start_new_thread = thread_module.start_new_thread
- else:
- _original_start_new_thread = thread_module._original_start_new_thread
+ if getattr(thread_module, "_original_start_new_thread", None) is None:
+ _original_start_new_thread = thread_module._original_start_new_thread = getattr(thread_module, attr)
+ else:
+ _original_start_new_thread = thread_module._original_start_new_thread
class ClassWithPydevStartNewThread:
def pydev_start_new_thread(self, function, args=(), kwargs={}):
@@ -1191,6 +1204,19 @@ def pydev_start_new_thread(self, function, args=(), kwargs={}):
"""
return _original_start_new_thread(_UseNewThreadStartup(function, args, kwargs), ())
+ class ClassWithPydevStartJoinableThread:
+ def pydev_start_joinable_thread(self, function, *args, **kwargs):
+ """
+ We need to replace the original thread_module._start_joinable_thread with this function so that threads started
+ through it and not through the threading module are properly traced.
+ """
+ # Note: only handling the case from threading.py where the handle
+ # and daemon flags are passed explicitly. This will fail if some user library
+ # actually passes those without being a keyword argument!
+ handle = kwargs.pop("handle", None)
+ daemon = kwargs.pop("daemon", True)
+ return _original_start_joinable_thread(_UseNewThreadStartup(function, args, kwargs), handle=handle, daemon=daemon)
+
# This is a hack for the situation where the thread_module.start_new_thread is declared inside a class, such as the one below
# class F(object):
# start_new_thread = thread_module.start_new_thread
@@ -1200,17 +1226,15 @@ def pydev_start_new_thread(self, function, args=(), kwargs={}):
# So, if it's an already bound method, calling self.start_new_thread won't really receive a different 'self' -- it
# does work in the default case because in builtins self isn't passed either.
pydev_start_new_thread = ClassWithPydevStartNewThread().pydev_start_new_thread
+ pydev_start_joinable_thread = ClassWithPydevStartJoinableThread().pydev_start_joinable_thread
- try:
- # We need to replace the original thread_module.start_new_thread with this function so that threads started through
- # it and not through the threading module are properly traced.
- if thread_module is threading:
- thread_module._start_new_thread = pydev_start_new_thread
+ # We need to replace the original thread_module.start_new_thread with this function so that threads started through
+ # it and not through the threading module are properly traced.
+ for attr in replace_attrs:
+ if attr in start_joinable_attrs:
+ setattr(thread_module, attr, pydev_start_joinable_thread)
else:
- thread_module.start_new_thread = pydev_start_new_thread
- thread_module.start_new = pydev_start_new_thread
- except:
- pass
+ setattr(thread_module, attr, pydev_start_new_thread)
def patch_thread_modules():
@@ -1235,6 +1259,16 @@ def undo_patch_thread_modules():
except:
pass
+ try:
+ t._start_joinable_thread = t._original_start_joinable_thread
+ except:
+ pass
+
+ try:
+ t.start_joinable_thread = t._original_start_joinable_thread
+ except:
+ pass
+
def disable_trace_thread_modules():
"""
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py
index 2958565ae..597054bc7 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_collect_bytecode_info.py
@@ -846,6 +846,8 @@ def _create_msg_part(self, instruction, tok=None, line=None):
argrepr = instruction.argrepr
if isinstance(argrepr, str) and argrepr.startswith("NULL + "):
argrepr = argrepr[7:]
+ if isinstance(argrepr, str) and argrepr.endswith("+ NULL"):
+ argrepr = argrepr[:-7]
return _MsgPart(line, tok if tok is not None else dec(instruction, argrepr))
def _next_instruction_to_str(self, line_to_contents):
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py
index b8a3a043f..ffc83d860 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_comm.py
@@ -1140,7 +1140,8 @@ def internal_get_next_statement_targets(dbg, seq, thread_id, frame_id):
xml += "%d" % (frame.f_lineno,)
else:
for _, line in linestarts:
- xml += "%d" % (line,)
+ if line is not None:
+ xml += "%d" % (line,)
del frame
xml += ""
cmd = dbg.cmd_factory.make_get_next_statement_targets_message(seq, xml)
@@ -1342,9 +1343,10 @@ def internal_evaluate_expression(dbg, seq, thread_id, frame_id, expression, is_e
dbg.writer.add_command(cmd)
-def _set_expression_response(py_db, request, result, error_message):
- body = pydevd_schema.SetExpressionResponseBody(result="", variablesReference=0)
- variables_response = pydevd_base_schema.build_response(request, kwargs={"body": body, "success": False, "message": error_message})
+def _set_expression_response(py_db, request, error_message):
+ body = pydevd_schema.SetExpressionResponseBody(value='')
+ variables_response = pydevd_base_schema.build_response(request, kwargs={
+ 'body':body, 'success':False, 'message': error_message})
py_db.writer.add_command(NetCommand(CMD_RETURN, 0, variables_response, is_json=True))
@@ -1360,19 +1362,18 @@ def internal_set_expression_json(py_db, request, thread_id):
fmt = fmt.to_dict()
frame = py_db.find_frame(thread_id, frame_id)
- exec_code = "%s = (%s)" % (expression, value)
- result = pydevd_vars.evaluate_expression(py_db, frame, exec_code, is_exec=True)
- is_error = isinstance(result, ExceptionOnEvaluate)
-
- if is_error:
- _set_expression_response(py_db, request, result, error_message="Error executing: %s" % (exec_code,))
+ exec_code = '%s = (%s)' % (expression, value)
+ try:
+ pydevd_vars.evaluate_expression(py_db, frame, exec_code, is_exec=True)
+ except (Exception, KeyboardInterrupt):
+ _set_expression_response(py_db, request, error_message='Error executing: %s' % (exec_code,))
return
# Ok, we have the result (could be an error), let's put it into the saved variables.
frame_tracker = py_db.suspended_frames_manager.get_frame_tracker(thread_id)
if frame_tracker is None:
# This is not really expected.
- _set_expression_response(py_db, request, result, error_message="Thread id: %s is not current thread id." % (thread_id,))
+ _set_expression_response(py_db, request, error_message='Thread id: %s is not current thread id.' % (thread_id,))
return
# Now that the exec is done, get the actual value changed to return.
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py
index e3d062904..5a97a25c5 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_constants.py
@@ -1,6 +1,7 @@
"""
This module holds the constants used for specifying the states of the debugger.
"""
+
from __future__ import nested_scopes
import platform
import weakref
@@ -176,6 +177,13 @@ def _current_frames():
IS_PY313_OR_GREATER = sys.version_info >= (3, 13)
IS_PY314_OR_GREATER = sys.version_info >= (3, 14)
+# Bug affecting Python 3.13.0 specifically makes some tests crash the interpreter!
+# Hopefully it'll be fixed in 3.13.1.
+IS_PY313_0 = sys.version_info[:3] == (3, 13, 0)
+
+# Mark tests that need to be fixed with this.
+TODO_PY313_OR_GREATER = IS_PY313_OR_GREATER
+
# Not currently supported in Python 3.14.
SUPPORT_ATTACH_TO_PID = not IS_PY314_OR_GREATER
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py
index de2f59874..99d5f45c3 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_daemon_thread.py
@@ -101,6 +101,7 @@ def _patch_threading_to_hide_pydevd_threads():
{"_active_limbo_lock", "_limbo", "_active", "values", "list"},
{"_active_limbo_lock", "_limbo", "_active", "values", "NULL + list"},
{"NULL + list", "_active", "_active_limbo_lock", "NULL|self + values", "_limbo"},
+ {'_active_limbo_lock', 'values + NULL|self', '_limbo', '_active', 'list + NULL'},
):
pydev_log.debug("Applying patching to hide pydevd threads (Py3 version).")
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py
index 4effd96c9..07c45c736 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_frame_utils.py
@@ -1,4 +1,4 @@
-from _pydevd_bundle.pydevd_constants import EXCEPTION_TYPE_USER_UNHANDLED, EXCEPTION_TYPE_UNHANDLED, IS_PY311_OR_GREATER
+from _pydevd_bundle.pydevd_constants import EXCEPTION_TYPE_USER_UNHANDLED, EXCEPTION_TYPE_UNHANDLED, IS_PY311_OR_GREATER, IS_PY313_0
from _pydev_bundle import pydev_log
import itertools
from typing import Any, Dict
@@ -34,47 +34,50 @@ def add_exception_to_frame(frame, exception_info):
def remove_exception_from_frame(frame):
- # In 3.13 frame.f_locals became a proxy for a dict, so we need to copy it to a real dict
- # so we can call the defined update method. Just deleting the entry throws in 3.13.
- items = {key: value for key, value in frame.f_locals.items()}
- if "__exception__" in items:
- del items["__exception__"]
- frame.f_locals.update(items)
+ if IS_PY313_0:
+ # In 3.13.0 frame.f_locals became a proxy for a dict, It does not
+ # have methods to allow items to be removed, only added. So just set the item to None.
+ # Should be fixed in 3.13.1 in PR: https://github.com/python/cpython/pull/125616
+ frame.f_locals["__exception__"] = None
+ else:
+ frame.f_locals.pop("__exception__", None)
FILES_WITH_IMPORT_HOOKS = ["pydev_monkey_qt.py", "pydev_import_hook.py"]
-
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))
+ 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))
+ return "Traceback: %s\n" % (" -> ".join(traceback))
+
def short_frame(frame):
if frame is None:
- return '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)
+ line = hasattr(frame, "f_lineno") and frame.f_lineno or 1
+ return "%s::%s %s" % (name, frame.f_code.co_name, line)
+
def short_stack(frame):
stack = []
while frame:
stack.append(short_frame(frame))
- frame = frame.f_back
- return 'Stack: %s\n' % (' -> '.join(stack))
+ frame = frame.f_back if hasattr(frame, "f_back") else None
+ return "Stack: %s\n" % (" -> ".join(stack))
+
def ignore_exception_trace(trace):
while trace is not None:
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py
index 023370b69..aaa497450 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_save_locals.py
@@ -2,6 +2,8 @@
Utility for saving locals.
"""
import sys
+from _pydevd_bundle.pydevd_constants import IS_PY313_OR_GREATER
+from _pydev_bundle import pydev_log
try:
import types
@@ -54,6 +56,11 @@ def save_locals_pypy_impl(frame):
return save_locals_pypy_impl
+ if IS_PY313_OR_GREATER:
+ # No longer needed in Python 3.13 (deprecated)
+ # See PEP 667
+ return None
+
try:
import ctypes
@@ -108,8 +115,16 @@ def update_globals_and_locals(updated_globals, initial_globals, frame):
for key in removed:
try:
del f_locals[key]
- except KeyError:
- pass
+ except Exception:
+ # Python 3.13.0 has issues here:
+ # https://github.com/python/cpython/pull/125616
+ # This should be backported from the pull request
+ # but we still need to handle it in this version
+ try:
+ if key in f_locals:
+ f_locals[key] = None
+ except Exception as e:
+ pydev_log.info('Unable to remove key: %s from locals. Exception: %s', key, e)
if f_locals is not None:
save_locals(frame)
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c
index 862b37a90..aebeeab01 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/pydevd_frame_evaluator.c
@@ -1,4 +1,4 @@
-/* Generated by Cython 3.0.10 */
+/* Generated by Cython 3.0.11 */
/* BEGIN: Cython Metadata
{
@@ -47,10 +47,10 @@ END: Cython Metadata */
#else
#define __PYX_EXTRA_ABI_MODULE_NAME ""
#endif
-#define CYTHON_ABI "3_0_10" __PYX_EXTRA_ABI_MODULE_NAME
+#define CYTHON_ABI "3_0_11" __PYX_EXTRA_ABI_MODULE_NAME
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
-#define CYTHON_HEX_VERSION 0x03000AF0
+#define CYTHON_HEX_VERSION 0x03000BF0
#define CYTHON_FUTURE_DIVISION 1
#include
#ifndef offsetof
@@ -2239,11 +2239,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name);
static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *);
/* HasAttr.proto */
-#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1
-#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n)
-#else
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
-#endif
/* IncludeStructmemberH.proto */
#include
@@ -2292,22 +2288,22 @@ static int __Pyx_setup_reduce(PyObject* type_obj);
#endif
/* TypeImport.proto */
-#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_10
-#define __PYX_HAVE_RT_ImportType_proto_3_0_10
+#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_11
+#define __PYX_HAVE_RT_ImportType_proto_3_0_11
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
#include
#endif
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L
-#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) alignof(s)
+#define __PYX_GET_STRUCT_ALIGNMENT_3_0_11(s) alignof(s)
#else
-#define __PYX_GET_STRUCT_ALIGNMENT_3_0_10(s) sizeof(void*)
+#define __PYX_GET_STRUCT_ALIGNMENT_3_0_11(s) sizeof(void*)
#endif
-enum __Pyx_ImportType_CheckSize_3_0_10 {
- __Pyx_ImportType_CheckSize_Error_3_0_10 = 0,
- __Pyx_ImportType_CheckSize_Warn_3_0_10 = 1,
- __Pyx_ImportType_CheckSize_Ignore_3_0_10 = 2
+enum __Pyx_ImportType_CheckSize_3_0_11 {
+ __Pyx_ImportType_CheckSize_Error_3_0_11 = 0,
+ __Pyx_ImportType_CheckSize_Warn_3_0_11 = 1,
+ __Pyx_ImportType_CheckSize_Ignore_3_0_11 = 2
};
-static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size);
+static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_11 check_size);
#endif
/* ImportDottedModule.proto */
@@ -3905,7 +3901,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_clear_th
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
- int __pyx_t_4;
+ unsigned int __pyx_t_4;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -3991,7 +3987,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_10ThreadI
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
PyObject *__pyx_t_5 = NULL;
- int __pyx_t_6;
+ unsigned int __pyx_t_6;
int __pyx_t_7;
int __pyx_t_8;
int __pyx_lineno = 0;
@@ -4557,7 +4553,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_10ThreadI
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
- int __pyx_t_4;
+ unsigned int __pyx_t_4;
int __pyx_t_5;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
@@ -4573,7 +4569,8 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_10ThreadI
PyObject *__pyx_t_17 = NULL;
int __pyx_t_18;
int __pyx_t_19;
- char const *__pyx_t_20;
+ int __pyx_t_20;
+ char const *__pyx_t_21;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -5198,7 +5195,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_10ThreadI
__Pyx_XGOTREF(__pyx_t_10);
__Pyx_XGOTREF(__pyx_t_16);
__Pyx_XGOTREF(__pyx_t_15);
- __pyx_t_4 = __pyx_lineno; __pyx_t_19 = __pyx_clineno; __pyx_t_20 = __pyx_filename;
+ __pyx_t_19 = __pyx_lineno; __pyx_t_20 = __pyx_clineno; __pyx_t_21 = __pyx_filename;
{
__pyx_v_self->inside_frame_eval = (__pyx_v_self->inside_frame_eval - 1);
}
@@ -5213,7 +5210,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_10ThreadI
__Pyx_XGIVEREF(__pyx_t_7);
__Pyx_ErrRestore(__pyx_t_9, __pyx_t_8, __pyx_t_7);
__pyx_t_9 = 0; __pyx_t_8 = 0; __pyx_t_7 = 0; __pyx_t_10 = 0; __pyx_t_16 = 0; __pyx_t_15 = 0;
- __pyx_lineno = __pyx_t_4; __pyx_clineno = __pyx_t_19; __pyx_filename = __pyx_t_20;
+ __pyx_lineno = __pyx_t_19; __pyx_clineno = __pyx_t_20; __pyx_filename = __pyx_t_21;
goto __pyx_L1_error;
}
__pyx_L3_return: {
@@ -7568,7 +7565,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_2dummy_t
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -8434,7 +8431,8 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
PyObject *__pyx_t_9 = NULL;
PyObject *__pyx_t_10 = NULL;
PyObject *__pyx_t_11 = NULL;
- PyObject *(*__pyx_t_12)(PyObject *);
+ unsigned int __pyx_t_12;
+ PyObject *(*__pyx_t_13)(PyObject *);
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -8728,7 +8726,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 258, __pyx_L9_except_error)
__Pyx_GOTREF(__pyx_t_10);
__pyx_t_11 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_10))) {
__pyx_t_11 = PyMethod_GET_SELF(__pyx_t_10);
@@ -8737,13 +8735,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_11);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_10, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_11, ((PyObject *)__pyx_v_frame_obj)};
- __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
+ __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 258, __pyx_L9_except_error)
__Pyx_GOTREF(__pyx_t_9);
@@ -8804,7 +8802,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_get_cache_file_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 262, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_1 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_4))) {
__pyx_t_1 = PyMethod_GET_SELF(__pyx_t_4);
@@ -8813,13 +8811,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_1);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_4, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_1, NULL};
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_12, 0+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 262, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
@@ -8930,7 +8928,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__pyx_t_10 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_get_file_type); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 269, __pyx_L17_except_error)
__Pyx_GOTREF(__pyx_t_10);
__pyx_t_11 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_10))) {
__pyx_t_11 = PyMethod_GET_SELF(__pyx_t_10);
@@ -8939,13 +8937,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_11);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_10, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[3] = {__pyx_t_11, ((PyObject *)__pyx_v_frame_obj), __pyx_v_abs_path_real_path_and_base};
- __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5);
+ __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_10, __pyx_callargs+1-__pyx_t_12, 2+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 269, __pyx_L17_except_error)
__Pyx_GOTREF(__pyx_t_9);
@@ -9050,7 +9048,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_4 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_1))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_1);
@@ -9059,13 +9057,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_1, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_func_code_info->canonical_normalized_filename};
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 277, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
@@ -9088,7 +9086,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_4))) {
__pyx_t_1 = PyMethod_GET_SELF(__pyx_t_4);
@@ -9097,13 +9095,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_1);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_4, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_1, __pyx_v_func_code_info->co_name};
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 278, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
@@ -9137,7 +9135,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_4 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_1))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_1);
@@ -9146,13 +9144,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_1, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_code_obj_py};
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 284, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
@@ -9194,7 +9192,7 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_cached_code_obj_info, __pyx_n_s_compute_force_stay_in_untraced_m); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_4 = NULL;
- __pyx_t_5 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_1))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_1);
@@ -9203,13 +9201,13 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_1, function);
- __pyx_t_5 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_breakpoints};
- __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12);
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 293, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
@@ -9245,18 +9243,18 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__pyx_t_9 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 292, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9);
- index = 0; __pyx_t_1 = __pyx_t_12(__pyx_t_9); if (unlikely(!__pyx_t_1)) goto __pyx_L27_unpacking_failed;
+ __pyx_t_13 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9);
+ index = 0; __pyx_t_1 = __pyx_t_13(__pyx_t_9); if (unlikely(!__pyx_t_1)) goto __pyx_L27_unpacking_failed;
__Pyx_GOTREF(__pyx_t_1);
- index = 1; __pyx_t_4 = __pyx_t_12(__pyx_t_9); if (unlikely(!__pyx_t_4)) goto __pyx_L27_unpacking_failed;
+ index = 1; __pyx_t_4 = __pyx_t_13(__pyx_t_9); if (unlikely(!__pyx_t_4)) goto __pyx_L27_unpacking_failed;
__Pyx_GOTREF(__pyx_t_4);
- if (__Pyx_IternextUnpackEndCheck(__pyx_t_12(__pyx_t_9), 2) < 0) __PYX_ERR(0, 292, __pyx_L1_error)
- __pyx_t_12 = NULL;
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_9), 2) < 0) __PYX_ERR(0, 292, __pyx_L1_error)
+ __pyx_t_13 = NULL;
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
goto __pyx_L28_unpacking_done;
__pyx_L27_unpacking_failed:;
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- __pyx_t_12 = NULL;
+ __pyx_t_13 = NULL;
if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
__PYX_ERR(0, 292, __pyx_L1_error)
__pyx_L28_unpacking_done:;
@@ -9386,18 +9384,18 @@ static struct __pyx_obj_18_pydevd_frame_eval_22pydevd_frame_evaluator_FuncCodeIn
__pyx_t_9 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 307, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9);
- index = 0; __pyx_t_4 = __pyx_t_12(__pyx_t_9); if (unlikely(!__pyx_t_4)) goto __pyx_L29_unpacking_failed;
+ __pyx_t_13 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9);
+ index = 0; __pyx_t_4 = __pyx_t_13(__pyx_t_9); if (unlikely(!__pyx_t_4)) goto __pyx_L29_unpacking_failed;
__Pyx_GOTREF(__pyx_t_4);
- index = 1; __pyx_t_1 = __pyx_t_12(__pyx_t_9); if (unlikely(!__pyx_t_1)) goto __pyx_L29_unpacking_failed;
+ index = 1; __pyx_t_1 = __pyx_t_13(__pyx_t_9); if (unlikely(!__pyx_t_1)) goto __pyx_L29_unpacking_failed;
__Pyx_GOTREF(__pyx_t_1);
- if (__Pyx_IternextUnpackEndCheck(__pyx_t_12(__pyx_t_9), 2) < 0) __PYX_ERR(0, 307, __pyx_L1_error)
- __pyx_t_12 = NULL;
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_9), 2) < 0) __PYX_ERR(0, 307, __pyx_L1_error)
+ __pyx_t_13 = NULL;
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
goto __pyx_L30_unpacking_done;
__pyx_L29_unpacking_failed:;
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- __pyx_t_12 = NULL;
+ __pyx_t_13 = NULL;
if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
__PYX_ERR(0, 307, __pyx_L1_error)
__pyx_L30_unpacking_done:;
@@ -10494,7 +10492,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_10_get_c
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
- int __pyx_t_4;
+ unsigned int __pyx_t_4;
Py_ssize_t __pyx_t_5;
PyObject *(*__pyx_t_6)(PyObject *);
PyObject *__pyx_t_7 = NULL;
@@ -10502,6 +10500,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_10_get_c
PyObject *(*__pyx_t_9)(PyObject *);
int __pyx_t_10;
int __pyx_t_11;
+ int __pyx_t_12;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -10672,12 +10671,12 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_10_get_c
__PYX_ERR(0, 337, __pyx_L1_error)
__pyx_L6_unpacking_done:;
}
- __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 337, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 337, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_10 = __Pyx_PyInt_As_int(__pyx_t_7); if (unlikely((__pyx_t_10 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 337, __pyx_L1_error)
+ __pyx_t_11 = __Pyx_PyInt_As_int(__pyx_t_7); if (unlikely((__pyx_t_11 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 337, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- __pyx_v_offset = __pyx_t_4;
- __pyx_v_line = __pyx_t_10;
+ __pyx_v_offset = __pyx_t_10;
+ __pyx_v_line = __pyx_t_11;
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":338
*
@@ -10711,8 +10710,8 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_10_get_c
* first_line = min(line_to_offset)
* last_line = max(line_to_offset)
*/
- __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_offset); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 340, __pyx_L1_error)
- if (__pyx_t_11) {
+ __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_offset); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 340, __pyx_L1_error)
+ if (__pyx_t_12) {
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":341
*
@@ -10912,7 +10911,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_12get_ca
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
- int __pyx_t_4;
+ unsigned int __pyx_t_4;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -11213,7 +11212,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_11_CacheV
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_t_6;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
@@ -12630,13 +12629,14 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_generate_
int __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
Py_ssize_t __pyx_t_6;
Py_ssize_t __pyx_t_7;
int __pyx_t_8;
int __pyx_t_9;
- PyObject *__pyx_t_10 = NULL;
- PyObject *(*__pyx_t_11)(PyObject *);
+ int __pyx_t_10;
+ PyObject *__pyx_t_11 = NULL;
+ PyObject *(*__pyx_t_12)(PyObject *);
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -12745,19 +12745,19 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_generate_
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
__PYX_ERR(0, 436, __pyx_L1_error)
}
- __pyx_t_3 = __Pyx_dict_iterator(__pyx_v_breakpoints, 1, ((PyObject *)NULL), (&__pyx_t_7), (&__pyx_t_5)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 436, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_dict_iterator(__pyx_v_breakpoints, 1, ((PyObject *)NULL), (&__pyx_t_7), (&__pyx_t_8)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 436, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_1);
__pyx_t_1 = __pyx_t_3;
__pyx_t_3 = 0;
while (1) {
- __pyx_t_8 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_7, &__pyx_t_6, &__pyx_t_3, NULL, NULL, __pyx_t_5);
- if (unlikely(__pyx_t_8 == 0)) break;
- if (unlikely(__pyx_t_8 == -1)) __PYX_ERR(0, 436, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_dict_iter_next(__pyx_t_1, __pyx_t_7, &__pyx_t_6, &__pyx_t_3, NULL, NULL, __pyx_t_8);
+ if (unlikely(__pyx_t_9 == 0)) break;
+ if (unlikely(__pyx_t_9 == -1)) __PYX_ERR(0, 436, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyInt_As_int(__pyx_t_3); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 436, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_v_breakpoint_line = __pyx_t_8;
+ __pyx_v_breakpoint_line = __pyx_t_9;
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":437
*
@@ -12785,7 +12785,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_generate_
*/
__pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_breakpoint_line); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 438, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- __pyx_t_9 = PySet_Add(__pyx_v_breakpoints_hit_at_lines, __pyx_t_3); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 438, __pyx_L1_error)
+ __pyx_t_10 = PySet_Add(__pyx_v_breakpoints_hit_at_lines, __pyx_t_3); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(0, 438, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":437
@@ -12875,21 +12875,21 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_generate_
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
} else {
Py_ssize_t index = -1;
- __pyx_t_10 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 441, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_10);
+ __pyx_t_11 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 441, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_11);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_t_11 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_10);
- index = 0; __pyx_t_3 = __pyx_t_11(__pyx_t_10); if (unlikely(!__pyx_t_3)) goto __pyx_L7_unpacking_failed;
+ __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_11);
+ index = 0; __pyx_t_3 = __pyx_t_12(__pyx_t_11); if (unlikely(!__pyx_t_3)) goto __pyx_L7_unpacking_failed;
__Pyx_GOTREF(__pyx_t_3);
- index = 1; __pyx_t_4 = __pyx_t_11(__pyx_t_10); if (unlikely(!__pyx_t_4)) goto __pyx_L7_unpacking_failed;
+ index = 1; __pyx_t_4 = __pyx_t_12(__pyx_t_11); if (unlikely(!__pyx_t_4)) goto __pyx_L7_unpacking_failed;
__Pyx_GOTREF(__pyx_t_4);
- if (__Pyx_IternextUnpackEndCheck(__pyx_t_11(__pyx_t_10), 2) < 0) __PYX_ERR(0, 441, __pyx_L1_error)
- __pyx_t_11 = NULL;
- __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_12(__pyx_t_11), 2) < 0) __PYX_ERR(0, 441, __pyx_L1_error)
+ __pyx_t_12 = NULL;
+ __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
goto __pyx_L8_unpacking_done;
__pyx_L7_unpacking_failed:;
- __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
- __pyx_t_11 = NULL;
+ __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
+ __pyx_t_12 = NULL;
if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
__PYX_ERR(0, 441, __pyx_L1_error)
__pyx_L8_unpacking_done:;
@@ -13066,7 +13066,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_generate_
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
- __Pyx_XDECREF(__pyx_t_10);
+ __Pyx_XDECREF(__pyx_t_11);
__Pyx_AddTraceback("_pydevd_frame_eval.pydevd_frame_evaluator.generate_code_with_breakpoints", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
@@ -13113,7 +13113,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_16frame_
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -13330,15 +13330,16 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
PyObject *__pyx_t_9 = NULL;
- int __pyx_t_10;
+ unsigned int __pyx_t_10;
PyObject *(*__pyx_t_11)(PyObject *);
int __pyx_t_12;
int __pyx_t_13;
- char const *__pyx_t_14;
- PyObject *__pyx_t_15 = NULL;
+ int __pyx_t_14;
+ char const *__pyx_t_15;
PyObject *__pyx_t_16 = NULL;
PyObject *__pyx_t_17 = NULL;
- PyObject *__pyx_t_18;
+ PyObject *__pyx_t_18 = NULL;
+ PyObject *__pyx_t_19;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -13962,32 +13963,32 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
* main_debugger.break_on_caught_exceptions or \
* main_debugger.break_on_user_uncaught_exceptions or \
*/
- __pyx_t_10 = __pyx_v_additional_info->pydev_step_cmd;
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_STEP_INTO);
- if (!__pyx_t_12) {
+ __pyx_t_12 = __pyx_v_additional_info->pydev_step_cmd;
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_STEP_INTO);
+ if (!__pyx_t_13) {
} else {
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
goto __pyx_L33_bool_binop_done;
}
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_STEP_INTO_MY_CODE);
- if (!__pyx_t_12) {
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_STEP_INTO_MY_CODE);
+ if (!__pyx_t_13) {
} else {
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
goto __pyx_L33_bool_binop_done;
}
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_STEP_INTO_COROUTINE);
- if (!__pyx_t_12) {
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_STEP_INTO_COROUTINE);
+ if (!__pyx_t_13) {
} else {
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
goto __pyx_L33_bool_binop_done;
}
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_SMART_STEP_INTO);
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_SMART_STEP_INTO);
+ __pyx_t_3 = __pyx_t_13;
__pyx_L33_bool_binop_done:;
- __pyx_t_12 = __pyx_t_3;
- if (!__pyx_t_12) {
+ __pyx_t_13 = __pyx_t_3;
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -14000,11 +14001,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_break_on_caught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 556, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 556, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 556, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -14017,11 +14018,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 557, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 557, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 557, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -14034,11 +14035,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_has_plugin_exception_breaks); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 558, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 558, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 558, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -14051,11 +14052,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_signature_factory); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 559, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 559, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 559, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -14066,17 +14067,17 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*
* # if DEBUG:
*/
- __pyx_t_10 = __pyx_v_additional_info->pydev_step_cmd;
- __pyx_t_3 = (__pyx_t_10 == __pyx_v_CMD_STEP_OVER);
+ __pyx_t_12 = __pyx_v_additional_info->pydev_step_cmd;
+ __pyx_t_3 = (__pyx_t_12 == __pyx_v_CMD_STEP_OVER);
if (!__pyx_t_3) {
} else {
- __pyx_t_12 = __pyx_t_3;
+ __pyx_t_13 = __pyx_t_3;
goto __pyx_L42_bool_binop_done;
}
- __pyx_t_3 = (__pyx_t_10 == __pyx_v_CMD_STEP_OVER_MY_CODE);
- __pyx_t_12 = __pyx_t_3;
+ __pyx_t_3 = (__pyx_t_12 == __pyx_v_CMD_STEP_OVER_MY_CODE);
+ __pyx_t_13 = __pyx_t_3;
__pyx_L42_bool_binop_done:;
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
if (__pyx_t_3) {
} else {
__pyx_t_1 = __pyx_t_3;
@@ -14596,20 +14597,20 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
/*exception exit:*/{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
- __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_15 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0;
+ __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0; __pyx_t_18 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
__Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
__Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
- if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_15, &__pyx_t_16, &__pyx_t_17);
+ if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_16, &__pyx_t_17, &__pyx_t_18);
if ((PY_MAJOR_VERSION < 3) || unlikely(__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4) < 0)) __Pyx_ErrFetch(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
- __Pyx_XGOTREF(__pyx_t_15);
__Pyx_XGOTREF(__pyx_t_16);
__Pyx_XGOTREF(__pyx_t_17);
- __pyx_t_10 = __pyx_lineno; __pyx_t_13 = __pyx_clineno; __pyx_t_14 = __pyx_filename;
+ __Pyx_XGOTREF(__pyx_t_18);
+ __pyx_t_12 = __pyx_lineno; __pyx_t_14 = __pyx_clineno; __pyx_t_15 = __pyx_filename;
{
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":611
@@ -14631,21 +14632,21 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
__pyx_v_additional_info->is_tracing = 0;
}
if (PY_MAJOR_VERSION >= 3) {
- __Pyx_XGIVEREF(__pyx_t_15);
__Pyx_XGIVEREF(__pyx_t_16);
__Pyx_XGIVEREF(__pyx_t_17);
- __Pyx_ExceptionReset(__pyx_t_15, __pyx_t_16, __pyx_t_17);
+ __Pyx_XGIVEREF(__pyx_t_18);
+ __Pyx_ExceptionReset(__pyx_t_16, __pyx_t_17, __pyx_t_18);
}
__Pyx_XGIVEREF(__pyx_t_6);
__Pyx_XGIVEREF(__pyx_t_5);
__Pyx_XGIVEREF(__pyx_t_4);
__Pyx_ErrRestore(__pyx_t_6, __pyx_t_5, __pyx_t_4);
- __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_15 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0;
- __pyx_lineno = __pyx_t_10; __pyx_clineno = __pyx_t_13; __pyx_filename = __pyx_t_14;
+ __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0; __pyx_t_18 = 0;
+ __pyx_lineno = __pyx_t_12; __pyx_clineno = __pyx_t_14; __pyx_filename = __pyx_t_15;
goto __pyx_L1_error;
}
__pyx_L22_return: {
- __pyx_t_18 = __pyx_r;
+ __pyx_t_19 = __pyx_r;
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":611
*
@@ -14664,7 +14665,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
* return CALL_EvalFrameDefault_38(frame_obj, exc)
*/
__pyx_v_additional_info->is_tracing = 0;
- __pyx_r = __pyx_t_18;
+ __pyx_r = __pyx_t_19;
goto __pyx_L0;
}
__pyx_L24:;
@@ -14745,15 +14746,16 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
PyObject *__pyx_t_9 = NULL;
- int __pyx_t_10;
+ unsigned int __pyx_t_10;
PyObject *(*__pyx_t_11)(PyObject *);
int __pyx_t_12;
int __pyx_t_13;
- char const *__pyx_t_14;
- PyObject *__pyx_t_15 = NULL;
+ int __pyx_t_14;
+ char const *__pyx_t_15;
PyObject *__pyx_t_16 = NULL;
PyObject *__pyx_t_17 = NULL;
- PyObject *__pyx_t_18;
+ PyObject *__pyx_t_18 = NULL;
+ PyObject *__pyx_t_19;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -15377,32 +15379,32 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
* main_debugger.break_on_caught_exceptions or \
* main_debugger.break_on_user_uncaught_exceptions or \
*/
- __pyx_t_10 = __pyx_v_additional_info->pydev_step_cmd;
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_STEP_INTO);
- if (!__pyx_t_12) {
+ __pyx_t_12 = __pyx_v_additional_info->pydev_step_cmd;
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_STEP_INTO);
+ if (!__pyx_t_13) {
} else {
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
goto __pyx_L33_bool_binop_done;
}
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_STEP_INTO_MY_CODE);
- if (!__pyx_t_12) {
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_STEP_INTO_MY_CODE);
+ if (!__pyx_t_13) {
} else {
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
goto __pyx_L33_bool_binop_done;
}
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_STEP_INTO_COROUTINE);
- if (!__pyx_t_12) {
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_STEP_INTO_COROUTINE);
+ if (!__pyx_t_13) {
} else {
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
goto __pyx_L33_bool_binop_done;
}
- __pyx_t_12 = (__pyx_t_10 == __pyx_v_CMD_SMART_STEP_INTO);
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_13 = (__pyx_t_12 == __pyx_v_CMD_SMART_STEP_INTO);
+ __pyx_t_3 = __pyx_t_13;
__pyx_L33_bool_binop_done:;
- __pyx_t_12 = __pyx_t_3;
- if (!__pyx_t_12) {
+ __pyx_t_13 = __pyx_t_3;
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -15415,11 +15417,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_break_on_caught_exceptions); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 685, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 685, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 685, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -15432,11 +15434,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_break_on_user_uncaught_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 686, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 686, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 686, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -15449,11 +15451,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_has_plugin_exception_breaks); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 687, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 687, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 687, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -15466,11 +15468,11 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*/
__pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_main_debugger, __pyx_n_s_signature_factory); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 688, __pyx_L23_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 688, __pyx_L23_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 688, __pyx_L23_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- if (!__pyx_t_12) {
+ if (!__pyx_t_13) {
} else {
- __pyx_t_1 = __pyx_t_12;
+ __pyx_t_1 = __pyx_t_13;
goto __pyx_L31_bool_binop_done;
}
@@ -15481,17 +15483,17 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
*
* # if DEBUG:
*/
- __pyx_t_10 = __pyx_v_additional_info->pydev_step_cmd;
- __pyx_t_3 = (__pyx_t_10 == __pyx_v_CMD_STEP_OVER);
+ __pyx_t_12 = __pyx_v_additional_info->pydev_step_cmd;
+ __pyx_t_3 = (__pyx_t_12 == __pyx_v_CMD_STEP_OVER);
if (!__pyx_t_3) {
} else {
- __pyx_t_12 = __pyx_t_3;
+ __pyx_t_13 = __pyx_t_3;
goto __pyx_L42_bool_binop_done;
}
- __pyx_t_3 = (__pyx_t_10 == __pyx_v_CMD_STEP_OVER_MY_CODE);
- __pyx_t_12 = __pyx_t_3;
+ __pyx_t_3 = (__pyx_t_12 == __pyx_v_CMD_STEP_OVER_MY_CODE);
+ __pyx_t_13 = __pyx_t_3;
__pyx_L42_bool_binop_done:;
- __pyx_t_3 = __pyx_t_12;
+ __pyx_t_3 = __pyx_t_13;
if (__pyx_t_3) {
} else {
__pyx_t_1 = __pyx_t_3;
@@ -16011,20 +16013,20 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
/*exception exit:*/{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
- __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_15 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0;
+ __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0; __pyx_t_18 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
__Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
__Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0;
- if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_15, &__pyx_t_16, &__pyx_t_17);
+ if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_16, &__pyx_t_17, &__pyx_t_18);
if ((PY_MAJOR_VERSION < 3) || unlikely(__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4) < 0)) __Pyx_ErrFetch(&__pyx_t_6, &__pyx_t_5, &__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
- __Pyx_XGOTREF(__pyx_t_15);
__Pyx_XGOTREF(__pyx_t_16);
__Pyx_XGOTREF(__pyx_t_17);
- __pyx_t_10 = __pyx_lineno; __pyx_t_13 = __pyx_clineno; __pyx_t_14 = __pyx_filename;
+ __Pyx_XGOTREF(__pyx_t_18);
+ __pyx_t_12 = __pyx_lineno; __pyx_t_14 = __pyx_clineno; __pyx_t_15 = __pyx_filename;
{
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":740
@@ -16046,21 +16048,21 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
__pyx_v_additional_info->is_tracing = 0;
}
if (PY_MAJOR_VERSION >= 3) {
- __Pyx_XGIVEREF(__pyx_t_15);
__Pyx_XGIVEREF(__pyx_t_16);
__Pyx_XGIVEREF(__pyx_t_17);
- __Pyx_ExceptionReset(__pyx_t_15, __pyx_t_16, __pyx_t_17);
+ __Pyx_XGIVEREF(__pyx_t_18);
+ __Pyx_ExceptionReset(__pyx_t_16, __pyx_t_17, __pyx_t_18);
}
__Pyx_XGIVEREF(__pyx_t_6);
__Pyx_XGIVEREF(__pyx_t_5);
__Pyx_XGIVEREF(__pyx_t_4);
__Pyx_ErrRestore(__pyx_t_6, __pyx_t_5, __pyx_t_4);
- __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_15 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0;
- __pyx_lineno = __pyx_t_10; __pyx_clineno = __pyx_t_13; __pyx_filename = __pyx_t_14;
+ __pyx_t_6 = 0; __pyx_t_5 = 0; __pyx_t_4 = 0; __pyx_t_16 = 0; __pyx_t_17 = 0; __pyx_t_18 = 0;
+ __pyx_lineno = __pyx_t_12; __pyx_clineno = __pyx_t_14; __pyx_filename = __pyx_t_15;
goto __pyx_L1_error;
}
__pyx_L22_return: {
- __pyx_t_18 = __pyx_r;
+ __pyx_t_19 = __pyx_r;
/* "_pydevd_frame_eval/pydevd_frame_evaluator.pyx":740
*
@@ -16079,7 +16081,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator_get_bytec
* return CALL_EvalFrameDefault_39(tstate, frame_obj, exc)
*/
__pyx_v_additional_info->is_tracing = 0;
- __pyx_r = __pyx_t_18;
+ __pyx_r = __pyx_t_19;
goto __pyx_L0;
}
__pyx_L24:;
@@ -16265,7 +16267,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_20__pyx_
int __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -16448,6 +16450,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
+ unsigned int __pyx_t_9;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -16568,7 +16571,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
__pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
- __pyx_t_3 = 0;
+ __pyx_t_9 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_7))) {
__pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
@@ -16577,13 +16580,13 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
__Pyx_INCREF(__pyx_t_8);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_3 = 1;
+ __pyx_t_9 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_6};
- __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_3, 1+__pyx_t_3);
+ __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 1+__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(1, 14, __pyx_L1_error)
@@ -16765,7 +16768,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_22__pyx_
int __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -16948,6 +16951,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
+ unsigned int __pyx_t_9;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -17074,7 +17078,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
__pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
- __pyx_t_3 = 0;
+ __pyx_t_9 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_7))) {
__pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
@@ -17083,13 +17087,13 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
__Pyx_INCREF(__pyx_t_8);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_3 = 1;
+ __pyx_t_9 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_6};
- __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_3, 1+__pyx_t_3);
+ __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 1+__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(1, 14, __pyx_L1_error)
@@ -17271,7 +17275,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_24__pyx_
int __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -17454,6 +17458,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
+ unsigned int __pyx_t_9;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -17536,7 +17541,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
__pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
- __pyx_t_2 = 0;
+ __pyx_t_9 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_7))) {
__pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
@@ -17545,13 +17550,13 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
__Pyx_INCREF(__pyx_t_8);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_2 = 1;
+ __pyx_t_9 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_6};
- __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_2, 1+__pyx_t_2);
+ __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 1+__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(1, 14, __pyx_L1_error)
@@ -17733,7 +17738,7 @@ static PyObject *__pyx_pf_18_pydevd_frame_eval_22pydevd_frame_evaluator_26__pyx_
int __pyx_t_2;
PyObject *__pyx_t_3 = NULL;
PyObject *__pyx_t_4 = NULL;
- int __pyx_t_5;
+ unsigned int __pyx_t_5;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -17915,7 +17920,7 @@ static PyObject *__pyx_f_18_pydevd_frame_eval_22pydevd_frame_evaluator___pyx_unp
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
- int __pyx_t_8;
+ unsigned int __pyx_t_8;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
@@ -18331,6 +18336,9 @@ static PyTypeObject __pyx_type_18_pydevd_frame_eval_22pydevd_frame_evaluator_Thr
#if PY_VERSION_HEX >= 0x030C0000
0, /*tp_watched*/
#endif
+ #if PY_VERSION_HEX >= 0x030d00A4
+ 0, /*tp_versions_used*/
+ #endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
0, /*tp_pypy_flags*/
#endif
@@ -18592,6 +18600,9 @@ static PyTypeObject __pyx_type_18_pydevd_frame_eval_22pydevd_frame_evaluator_Fun
#if PY_VERSION_HEX >= 0x030C0000
0, /*tp_watched*/
#endif
+ #if PY_VERSION_HEX >= 0x030d00A4
+ 0, /*tp_versions_used*/
+ #endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
0, /*tp_pypy_flags*/
#endif
@@ -18805,6 +18816,9 @@ static PyTypeObject __pyx_type_18_pydevd_frame_eval_22pydevd_frame_evaluator__Co
#if PY_VERSION_HEX >= 0x030C0000
0, /*tp_watched*/
#endif
+ #if PY_VERSION_HEX >= 0x030d00A4
+ 0, /*tp_versions_used*/
+ #endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
0, /*tp_pypy_flags*/
#endif
@@ -19056,6 +19070,9 @@ static PyTypeObject __pyx_type_18_pydevd_frame_eval_22pydevd_frame_evaluator__Ca
#if PY_VERSION_HEX >= 0x030C0000
0, /*tp_watched*/
#endif
+ #if PY_VERSION_HEX >= 0x030d00A4
+ 0, /*tp_versions_used*/
+ #endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
0, /*tp_pypy_flags*/
#endif
@@ -19725,7 +19742,7 @@ static int __Pyx_modinit_type_import_code(void) {
/*--- Type import code ---*/
__pyx_t_1 = PyImport_ImportModule("_pydevd_bundle.pydevd_cython"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = __Pyx_ImportType_3_0_10(__pyx_t_1, "_pydevd_bundle.pydevd_cython", "PyDBAdditionalThreadInfo", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_0_10(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo),__Pyx_ImportType_CheckSize_Warn_3_0_10); if (!__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) __PYX_ERR(2, 1, __pyx_L1_error)
+ __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = __Pyx_ImportType_3_0_11(__pyx_t_1, "_pydevd_bundle.pydevd_cython", "PyDBAdditionalThreadInfo", sizeof(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo) __PYX_ERR(2, 1, __pyx_L1_error)
__pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo = (struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo*)__Pyx_GetVtable(__pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo); if (unlikely(!__pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo)) __PYX_ERR(2, 1, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_RefNannyFinishContext();
@@ -23032,7 +23049,6 @@ static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) {
}
/* HasAttr */
-#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
PyObject *r;
if (unlikely(!__Pyx_PyBaseString_Check(n))) {
@@ -23049,7 +23065,6 @@ static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) {
return 1;
}
}
-#endif
/* FixUpExtensionType */
#if CYTHON_USE_TYPE_SPECS
@@ -23546,10 +23561,10 @@ static int __Pyx_setup_reduce(PyObject* type_obj) {
#endif
/* TypeImport */
-#ifndef __PYX_HAVE_RT_ImportType_3_0_10
-#define __PYX_HAVE_RT_ImportType_3_0_10
-static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *module_name, const char *class_name,
- size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_10 check_size)
+#ifndef __PYX_HAVE_RT_ImportType_3_0_11
+#define __PYX_HAVE_RT_ImportType_3_0_11
+static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *module_name, const char *class_name,
+ size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_11 check_size)
{
PyObject *result = 0;
char warning[200];
@@ -23603,7 +23618,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *modul
module_name, class_name, size, basicsize+itemsize);
goto bad;
}
- if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_10 &&
+ if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_11 &&
((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) {
PyErr_Format(PyExc_ValueError,
"%.200s.%.200s size changed, may indicate binary incompatibility. "
@@ -23611,7 +23626,7 @@ static PyTypeObject *__Pyx_ImportType_3_0_10(PyObject *module, const char *modul
module_name, class_name, size, basicsize, basicsize+itemsize);
goto bad;
}
- else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_10 && (size_t)basicsize > size) {
+ else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_11 && (size_t)basicsize > size) {
PyOS_snprintf(warning, sizeof(warning),
"%s.%s size changed, may indicate binary incompatibility. "
"Expected %zd from C header, got %zd from PyObject",
@@ -24874,6 +24889,9 @@ static PyTypeObject __pyx_CyFunctionType_type = {
#if PY_VERSION_HEX >= 0x030C0000
0,
#endif
+#if PY_VERSION_HEX >= 0x030d00A4
+ 0,
+#endif
#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
0,
#endif
@@ -25300,12 +25318,19 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) {
}
}
{
- int one = 1; int little = (int)*(unsigned char *)&one;
unsigned char *bytes = (unsigned char *)&value;
-#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
+#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d00A4
+ if (is_unsigned) {
+ return PyLong_FromUnsignedNativeBytes(bytes, sizeof(value), -1);
+ } else {
+ return PyLong_FromNativeBytes(bytes, sizeof(value), -1);
+ }
+#elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
+ int one = 1; int little = (int)*(unsigned char *)&one;
return _PyLong_FromByteArray(bytes, sizeof(int),
little, !is_unsigned);
#else
+ int one = 1; int little = (int)*(unsigned char *)&one;
PyObject *from_bytes, *result = NULL;
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
@@ -25355,245 +25380,239 @@ static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) {
}
return (int) val;
}
- } else
+ }
#endif
- if (likely(PyLong_Check(x))) {
- if (is_unsigned) {
+ if (unlikely(!PyLong_Check(x))) {
+ int val;
+ PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
+ if (!tmp) return (int) -1;
+ val = __Pyx_PyInt_As_int(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+ if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
- if (unlikely(__Pyx_PyLong_IsNeg(x))) {
- goto raise_neg_overflow;
- } else if (__Pyx_PyLong_IsCompact(x)) {
- __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
- } else {
- const digit* digits = __Pyx_PyLong_Digits(x);
- assert(__Pyx_PyLong_DigitCount(x) > 1);
- switch (__Pyx_PyLong_DigitCount(x)) {
- case 2:
- if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) {
- return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
- }
+ if (unlikely(__Pyx_PyLong_IsNeg(x))) {
+ goto raise_neg_overflow;
+ } else if (__Pyx_PyLong_IsCompact(x)) {
+ __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
+ } else {
+ const digit* digits = __Pyx_PyLong_Digits(x);
+ assert(__Pyx_PyLong_DigitCount(x) > 1);
+ switch (__Pyx_PyLong_DigitCount(x)) {
+ case 2:
+ if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) {
+ return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
}
- break;
- case 3:
- if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) {
- return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
- }
+ }
+ break;
+ case 3:
+ if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) {
+ return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
}
- break;
- case 4:
- if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) {
- return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
- }
+ }
+ break;
+ case 4:
+ if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) {
+ return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]));
}
- break;
- }
+ }
+ break;
}
+ }
#endif
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7
- if (unlikely(Py_SIZE(x) < 0)) {
- goto raise_neg_overflow;
- }
+ if (unlikely(Py_SIZE(x) < 0)) {
+ goto raise_neg_overflow;
+ }
#else
- {
- int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
- if (unlikely(result < 0))
- return (int) -1;
- if (unlikely(result == 1))
- goto raise_neg_overflow;
- }
+ {
+ int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
+ if (unlikely(result < 0))
+ return (int) -1;
+ if (unlikely(result == 1))
+ goto raise_neg_overflow;
+ }
#endif
- if ((sizeof(int) <= sizeof(unsigned long))) {
- __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
+ if ((sizeof(int) <= sizeof(unsigned long))) {
+ __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
- } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) {
- __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
+ } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) {
+ __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
- }
- } else {
+ }
+ } else {
#if CYTHON_USE_PYLONG_INTERNALS
- if (__Pyx_PyLong_IsCompact(x)) {
- __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
- } else {
- const digit* digits = __Pyx_PyLong_Digits(x);
- assert(__Pyx_PyLong_DigitCount(x) > 1);
- switch (__Pyx_PyLong_SignedDigitCount(x)) {
- case -2:
- if ((8 * sizeof(int) - 1 > 1 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) {
- return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
- }
+ if (__Pyx_PyLong_IsCompact(x)) {
+ __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
+ } else {
+ const digit* digits = __Pyx_PyLong_Digits(x);
+ assert(__Pyx_PyLong_DigitCount(x) > 1);
+ switch (__Pyx_PyLong_SignedDigitCount(x)) {
+ case -2:
+ if ((8 * sizeof(int) - 1 > 1 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) {
+ return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
}
- break;
- case 2:
- if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) {
- return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
- }
+ }
+ break;
+ case 2:
+ if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) {
+ return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
}
- break;
- case -3:
- if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) {
- return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
- }
+ }
+ break;
+ case -3:
+ if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) {
+ return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
}
- break;
- case 3:
- if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) {
- return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
- }
+ }
+ break;
+ case 3:
+ if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) {
+ return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
}
- break;
- case -4:
- if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) {
- return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
- }
+ }
+ break;
+ case -4:
+ if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) {
+ return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
}
- break;
- case 4:
- if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) {
- return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
- }
+ }
+ break;
+ case 4:
+ if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) {
+ return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])));
}
- break;
- }
+ }
+ break;
}
+ }
#endif
- if ((sizeof(int) <= sizeof(long))) {
- __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
+ if ((sizeof(int) <= sizeof(long))) {
+ __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
- } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) {
- __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
+ } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) {
+ __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
- }
}
- {
- int val;
- PyObject *v = __Pyx_PyNumber_IntOrLong(x);
-#if PY_MAJOR_VERSION < 3
- if (likely(v) && !PyLong_Check(v)) {
- PyObject *tmp = v;
- v = PyNumber_Long(tmp);
- Py_DECREF(tmp);
- }
-#endif
- if (likely(v)) {
- int ret = -1;
-#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
- int one = 1; int is_little = (int)*(unsigned char *)&one;
- unsigned char *bytes = (unsigned char *)&val;
- ret = _PyLong_AsByteArray((PyLongObject *)v,
- bytes, sizeof(val),
- is_little, !is_unsigned);
-#else
- PyObject *stepval = NULL, *mask = NULL, *shift = NULL;
- int bits, remaining_bits, is_negative = 0;
- long idigit;
- int chunk_size = (sizeof(long) < 8) ? 30 : 62;
- if (unlikely(!PyLong_CheckExact(v))) {
- PyObject *tmp = v;
- v = PyNumber_Long(v);
- assert(PyLong_CheckExact(v));
- Py_DECREF(tmp);
- if (unlikely(!v)) return (int) -1;
- }
-#if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000
- if (Py_SIZE(x) == 0)
- return (int) 0;
- is_negative = Py_SIZE(x) < 0;
+ }
+ {
+ int val;
+ int ret = -1;
+#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API
+ Py_ssize_t bytes_copied = PyLong_AsNativeBytes(
+ x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0));
+ if (unlikely(bytes_copied == -1)) {
+ } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) {
+ goto raise_overflow;
+ } else {
+ ret = 0;
+ }
+#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
+ int one = 1; int is_little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ ret = _PyLong_AsByteArray((PyLongObject *)x,
+ bytes, sizeof(val),
+ is_little, !is_unsigned);
#else
- {
- int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
- if (unlikely(result < 0))
- return (int) -1;
- is_negative = result == 1;
- }
-#endif
- if (is_unsigned && unlikely(is_negative)) {
- goto raise_neg_overflow;
- } else if (is_negative) {
- stepval = PyNumber_Invert(v);
- if (unlikely(!stepval))
- return (int) -1;
- } else {
- stepval = __Pyx_NewRef(v);
- }
- val = (int) 0;
- mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done;
- shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done;
- for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) {
- PyObject *tmp, *digit;
- digit = PyNumber_And(stepval, mask);
- if (unlikely(!digit)) goto done;
- idigit = PyLong_AsLong(digit);
- Py_DECREF(digit);
- if (unlikely(idigit < 0)) goto done;
- tmp = PyNumber_Rshift(stepval, shift);
- if (unlikely(!tmp)) goto done;
- Py_DECREF(stepval); stepval = tmp;
- val |= ((int) idigit) << bits;
- #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000
- if (Py_SIZE(stepval) == 0)
- goto unpacking_done;
- #endif
- }
- idigit = PyLong_AsLong(stepval);
- if (unlikely(idigit < 0)) goto done;
- remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1);
- if (unlikely(idigit >= (1L << remaining_bits)))
- goto raise_overflow;
- val |= ((int) idigit) << bits;
- #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000
- unpacking_done:
- #endif
- if (!is_unsigned) {
- if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1))))
- goto raise_overflow;
- if (is_negative)
- val = ~val;
- }
- ret = 0;
- done:
- Py_XDECREF(shift);
- Py_XDECREF(mask);
- Py_XDECREF(stepval);
-#endif
+ PyObject *v;
+ PyObject *stepval = NULL, *mask = NULL, *shift = NULL;
+ int bits, remaining_bits, is_negative = 0;
+ int chunk_size = (sizeof(long) < 8) ? 30 : 62;
+ if (likely(PyLong_CheckExact(x))) {
+ v = __Pyx_NewRef(x);
+ } else {
+ v = PyNumber_Long(x);
+ if (unlikely(!v)) return (int) -1;
+ assert(PyLong_CheckExact(v));
+ }
+ {
+ int result = PyObject_RichCompareBool(v, Py_False, Py_LT);
+ if (unlikely(result < 0)) {
Py_DECREF(v);
- if (likely(!ret))
- return val;
+ return (int) -1;
}
- return (int) -1;
+ is_negative = result == 1;
}
- } else {
- int val;
- PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
- if (!tmp) return (int) -1;
- val = __Pyx_PyInt_As_int(tmp);
- Py_DECREF(tmp);
+ if (is_unsigned && unlikely(is_negative)) {
+ Py_DECREF(v);
+ goto raise_neg_overflow;
+ } else if (is_negative) {
+ stepval = PyNumber_Invert(v);
+ Py_DECREF(v);
+ if (unlikely(!stepval))
+ return (int) -1;
+ } else {
+ stepval = v;
+ }
+ v = NULL;
+ val = (int) 0;
+ mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done;
+ shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done;
+ for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) {
+ PyObject *tmp, *digit;
+ long idigit;
+ digit = PyNumber_And(stepval, mask);
+ if (unlikely(!digit)) goto done;
+ idigit = PyLong_AsLong(digit);
+ Py_DECREF(digit);
+ if (unlikely(idigit < 0)) goto done;
+ val |= ((int) idigit) << bits;
+ tmp = PyNumber_Rshift(stepval, shift);
+ if (unlikely(!tmp)) goto done;
+ Py_DECREF(stepval); stepval = tmp;
+ }
+ Py_DECREF(shift); shift = NULL;
+ Py_DECREF(mask); mask = NULL;
+ {
+ long idigit = PyLong_AsLong(stepval);
+ if (unlikely(idigit < 0)) goto done;
+ remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1);
+ if (unlikely(idigit >= (1L << remaining_bits)))
+ goto raise_overflow;
+ val |= ((int) idigit) << bits;
+ }
+ if (!is_unsigned) {
+ if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1))))
+ goto raise_overflow;
+ if (is_negative)
+ val = ~val;
+ }
+ ret = 0;
+ done:
+ Py_XDECREF(shift);
+ Py_XDECREF(mask);
+ Py_XDECREF(stepval);
+#endif
+ if (unlikely(ret))
+ return (int) -1;
return val;
}
raise_overflow:
@@ -25628,245 +25647,239 @@ static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) {
}
return (long) val;
}
- } else
+ }
#endif
- if (likely(PyLong_Check(x))) {
- if (is_unsigned) {
+ if (unlikely(!PyLong_Check(x))) {
+ long val;
+ PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
+ if (!tmp) return (long) -1;
+ val = __Pyx_PyInt_As_long(tmp);
+ Py_DECREF(tmp);
+ return val;
+ }
+ if (is_unsigned) {
#if CYTHON_USE_PYLONG_INTERNALS
- if (unlikely(__Pyx_PyLong_IsNeg(x))) {
- goto raise_neg_overflow;
- } else if (__Pyx_PyLong_IsCompact(x)) {
- __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
- } else {
- const digit* digits = __Pyx_PyLong_Digits(x);
- assert(__Pyx_PyLong_DigitCount(x) > 1);
- switch (__Pyx_PyLong_DigitCount(x)) {
- case 2:
- if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) {
- return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
- }
+ if (unlikely(__Pyx_PyLong_IsNeg(x))) {
+ goto raise_neg_overflow;
+ } else if (__Pyx_PyLong_IsCompact(x)) {
+ __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x))
+ } else {
+ const digit* digits = __Pyx_PyLong_Digits(x);
+ assert(__Pyx_PyLong_DigitCount(x) > 1);
+ switch (__Pyx_PyLong_DigitCount(x)) {
+ case 2:
+ if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) {
+ return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
}
- break;
- case 3:
- if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) {
- return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
- }
+ }
+ break;
+ case 3:
+ if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) {
+ return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
}
- break;
- case 4:
- if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) {
- return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
- }
+ }
+ break;
+ case 4:
+ if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) {
+ return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]));
}
- break;
- }
+ }
+ break;
}
+ }
#endif
#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7
- if (unlikely(Py_SIZE(x) < 0)) {
- goto raise_neg_overflow;
- }
+ if (unlikely(Py_SIZE(x) < 0)) {
+ goto raise_neg_overflow;
+ }
#else
- {
- int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
- if (unlikely(result < 0))
- return (long) -1;
- if (unlikely(result == 1))
- goto raise_neg_overflow;
- }
+ {
+ int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
+ if (unlikely(result < 0))
+ return (long) -1;
+ if (unlikely(result == 1))
+ goto raise_neg_overflow;
+ }
#endif
- if ((sizeof(long) <= sizeof(unsigned long))) {
- __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
+ if ((sizeof(long) <= sizeof(unsigned long))) {
+ __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x))
#ifdef HAVE_LONG_LONG
- } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) {
- __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
+ } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) {
+ __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x))
#endif
- }
- } else {
+ }
+ } else {
#if CYTHON_USE_PYLONG_INTERNALS
- if (__Pyx_PyLong_IsCompact(x)) {
- __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
- } else {
- const digit* digits = __Pyx_PyLong_Digits(x);
- assert(__Pyx_PyLong_DigitCount(x) > 1);
- switch (__Pyx_PyLong_SignedDigitCount(x)) {
- case -2:
- if ((8 * sizeof(long) - 1 > 1 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) {
- return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
- }
+ if (__Pyx_PyLong_IsCompact(x)) {
+ __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x))
+ } else {
+ const digit* digits = __Pyx_PyLong_Digits(x);
+ assert(__Pyx_PyLong_DigitCount(x) > 1);
+ switch (__Pyx_PyLong_SignedDigitCount(x)) {
+ case -2:
+ if ((8 * sizeof(long) - 1 > 1 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) {
+ return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
}
- break;
- case 2:
- if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) {
- return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
- }
+ }
+ break;
+ case 2:
+ if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) {
+ return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
}
- break;
- case -3:
- if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) {
- return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
- }
+ }
+ break;
+ case -3:
+ if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) {
+ return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
}
- break;
- case 3:
- if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) {
- return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
- }
+ }
+ break;
+ case 3:
+ if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) {
+ return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
}
- break;
- case -4:
- if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) {
- return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
- }
+ }
+ break;
+ case -4:
+ if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) {
+ return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
}
- break;
- case 4:
- if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) {
- if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
- __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
- } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) {
- return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
- }
+ }
+ break;
+ case 4:
+ if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) {
+ if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) {
+ __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])))
+ } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) {
+ return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])));
}
- break;
- }
+ }
+ break;
}
+ }
#endif
- if ((sizeof(long) <= sizeof(long))) {
- __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
+ if ((sizeof(long) <= sizeof(long))) {
+ __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x))
#ifdef HAVE_LONG_LONG
- } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) {
- __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
+ } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) {
+ __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x))
#endif
- }
}
- {
- long val;
- PyObject *v = __Pyx_PyNumber_IntOrLong(x);
-#if PY_MAJOR_VERSION < 3
- if (likely(v) && !PyLong_Check(v)) {
- PyObject *tmp = v;
- v = PyNumber_Long(tmp);
- Py_DECREF(tmp);
- }
-#endif
- if (likely(v)) {
- int ret = -1;
-#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
- int one = 1; int is_little = (int)*(unsigned char *)&one;
- unsigned char *bytes = (unsigned char *)&val;
- ret = _PyLong_AsByteArray((PyLongObject *)v,
- bytes, sizeof(val),
- is_little, !is_unsigned);
-#else
- PyObject *stepval = NULL, *mask = NULL, *shift = NULL;
- int bits, remaining_bits, is_negative = 0;
- long idigit;
- int chunk_size = (sizeof(long) < 8) ? 30 : 62;
- if (unlikely(!PyLong_CheckExact(v))) {
- PyObject *tmp = v;
- v = PyNumber_Long(v);
- assert(PyLong_CheckExact(v));
- Py_DECREF(tmp);
- if (unlikely(!v)) return (long) -1;
- }
-#if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000
- if (Py_SIZE(x) == 0)
- return (long) 0;
- is_negative = Py_SIZE(x) < 0;
+ }
+ {
+ long val;
+ int ret = -1;
+#if PY_VERSION_HEX >= 0x030d00A6 && !CYTHON_COMPILING_IN_LIMITED_API
+ Py_ssize_t bytes_copied = PyLong_AsNativeBytes(
+ x, &val, sizeof(val), Py_ASNATIVEBYTES_NATIVE_ENDIAN | (is_unsigned ? Py_ASNATIVEBYTES_UNSIGNED_BUFFER | Py_ASNATIVEBYTES_REJECT_NEGATIVE : 0));
+ if (unlikely(bytes_copied == -1)) {
+ } else if (unlikely(bytes_copied > (Py_ssize_t) sizeof(val))) {
+ goto raise_overflow;
+ } else {
+ ret = 0;
+ }
+#elif PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray)
+ int one = 1; int is_little = (int)*(unsigned char *)&one;
+ unsigned char *bytes = (unsigned char *)&val;
+ ret = _PyLong_AsByteArray((PyLongObject *)x,
+ bytes, sizeof(val),
+ is_little, !is_unsigned);
#else
- {
- int result = PyObject_RichCompareBool(x, Py_False, Py_LT);
- if (unlikely(result < 0))
- return (long) -1;
- is_negative = result == 1;
- }
-#endif
- if (is_unsigned && unlikely(is_negative)) {
- goto raise_neg_overflow;
- } else if (is_negative) {
- stepval = PyNumber_Invert(v);
- if (unlikely(!stepval))
- return (long) -1;
- } else {
- stepval = __Pyx_NewRef(v);
- }
- val = (long) 0;
- mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done;
- shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done;
- for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) {
- PyObject *tmp, *digit;
- digit = PyNumber_And(stepval, mask);
- if (unlikely(!digit)) goto done;
- idigit = PyLong_AsLong(digit);
- Py_DECREF(digit);
- if (unlikely(idigit < 0)) goto done;
- tmp = PyNumber_Rshift(stepval, shift);
- if (unlikely(!tmp)) goto done;
- Py_DECREF(stepval); stepval = tmp;
- val |= ((long) idigit) << bits;
- #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000
- if (Py_SIZE(stepval) == 0)
- goto unpacking_done;
- #endif
- }
- idigit = PyLong_AsLong(stepval);
- if (unlikely(idigit < 0)) goto done;
- remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1);
- if (unlikely(idigit >= (1L << remaining_bits)))
- goto raise_overflow;
- val |= ((long) idigit) << bits;
- #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000
- unpacking_done:
- #endif
- if (!is_unsigned) {
- if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1))))
- goto raise_overflow;
- if (is_negative)
- val = ~val;
- }
- ret = 0;
- done:
- Py_XDECREF(shift);
- Py_XDECREF(mask);
- Py_XDECREF(stepval);
-#endif
+ PyObject *v;
+ PyObject *stepval = NULL, *mask = NULL, *shift = NULL;
+ int bits, remaining_bits, is_negative = 0;
+ int chunk_size = (sizeof(long) < 8) ? 30 : 62;
+ if (likely(PyLong_CheckExact(x))) {
+ v = __Pyx_NewRef(x);
+ } else {
+ v = PyNumber_Long(x);
+ if (unlikely(!v)) return (long) -1;
+ assert(PyLong_CheckExact(v));
+ }
+ {
+ int result = PyObject_RichCompareBool(v, Py_False, Py_LT);
+ if (unlikely(result < 0)) {
Py_DECREF(v);
- if (likely(!ret))
- return val;
+ return (long) -1;
}
- return (long) -1;
+ is_negative = result == 1;
}
- } else {
- long val;
- PyObject *tmp = __Pyx_PyNumber_IntOrLong(x);
- if (!tmp) return (long) -1;
- val = __Pyx_PyInt_As_long(tmp);
- Py_DECREF(tmp);
+ if (is_unsigned && unlikely(is_negative)) {
+ Py_DECREF(v);
+ goto raise_neg_overflow;
+ } else if (is_negative) {
+ stepval = PyNumber_Invert(v);
+ Py_DECREF(v);
+ if (unlikely(!stepval))
+ return (long) -1;
+ } else {
+ stepval = v;
+ }
+ v = NULL;
+ val = (long) 0;
+ mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done;
+ shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done;
+ for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) {
+ PyObject *tmp, *digit;
+ long idigit;
+ digit = PyNumber_And(stepval, mask);
+ if (unlikely(!digit)) goto done;
+ idigit = PyLong_AsLong(digit);
+ Py_DECREF(digit);
+ if (unlikely(idigit < 0)) goto done;
+ val |= ((long) idigit) << bits;
+ tmp = PyNumber_Rshift(stepval, shift);
+ if (unlikely(!tmp)) goto done;
+ Py_DECREF(stepval); stepval = tmp;
+ }
+ Py_DECREF(shift); shift = NULL;
+ Py_DECREF(mask); mask = NULL;
+ {
+ long idigit = PyLong_AsLong(stepval);
+ if (unlikely(idigit < 0)) goto done;
+ remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1);
+ if (unlikely(idigit >= (1L << remaining_bits)))
+ goto raise_overflow;
+ val |= ((long) idigit) << bits;
+ }
+ if (!is_unsigned) {
+ if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1))))
+ goto raise_overflow;
+ if (is_negative)
+ val = ~val;
+ }
+ ret = 0;
+ done:
+ Py_XDECREF(shift);
+ Py_XDECREF(mask);
+ Py_XDECREF(stepval);
+#endif
+ if (unlikely(ret))
+ return (long) -1;
return val;
}
raise_overflow:
@@ -25910,12 +25923,19 @@ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) {
}
}
{
- int one = 1; int little = (int)*(unsigned char *)&one;
unsigned char *bytes = (unsigned char *)&value;
-#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
+#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX >= 0x030d00A4
+ if (is_unsigned) {
+ return PyLong_FromUnsignedNativeBytes(bytes, sizeof(value), -1);
+ } else {
+ return PyLong_FromNativeBytes(bytes, sizeof(value), -1);
+ }
+#elif !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000
+ int one = 1; int little = (int)*(unsigned char *)&one;
return _PyLong_FromByteArray(bytes, sizeof(long),
little, !is_unsigned);
#else
+ int one = 1; int little = (int)*(unsigned char *)&one;
PyObject *from_bytes, *result = NULL;
PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL;
from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes");
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/COPYING b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/COPYING
new file mode 100644
index 000000000..81d7e37c3
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/COPYING
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+Copyright (c) 2016 Red Hat.
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/INSTALLER b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/INSTALLER
new file mode 100644
index 000000000..a1b589e38
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/INSTALLER
@@ -0,0 +1 @@
+pip
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/METADATA b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/METADATA
new file mode 100644
index 000000000..e1d5e0120
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/METADATA
@@ -0,0 +1,77 @@
+Metadata-Version: 2.1
+Name: bytecode
+Version: 0.13.0.dev0
+Summary: Python module to generate and modify bytecode
+Home-page: https://github.com/MatthieuDartiailh/bytecode
+Author: Victor Stinner
+Author-email: victor.stinner@gmail.com
+Maintainer: Matthieu C. Dartiailh
+Maintainer-email: m.dartiailh@gmail.com
+License: MIT license
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Intended Audience :: Developers
+Classifier: License :: OSI Approved :: MIT License
+Classifier: Natural Language :: English
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Requires-Python: >=3.6
+
+********
+bytecode
+********
+
+.. image:: https://img.shields.io/pypi/v/bytecode.svg
+ :alt: Latest release on the Python Cheeseshop (PyPI)
+ :target: https://pypi.python.org/pypi/bytecode
+
+.. image:: https://github.com/MatthieuDartiailh/bytecode/workflows/Continuous%20Integration/badge.svg
+ :target: https://github.com/MatthieuDartiailh/bytecode/actions
+ :alt: Continuous integration
+
+.. image:: https://github.com/MatthieuDartiailh/bytecode/workflows/Documentation%20building/badge.svg
+ :target: https://github.com/MatthieuDartiailh/bytecode/actions
+ :alt: Documentation building
+
+.. image:: https://img.shields.io/codecov/c/github/MatthieuDartiailh/bytecode/master.svg
+ :alt: Code coverage of bytecode on codecov.io
+ :target: https://codecov.io/github/MatthieuDartiailh/bytecode
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+ :alt: Code formatted using Black
+ :target: https://github.com/psf/black
+
+``bytecode`` is a Python module to generate and modify bytecode.
+
+* `bytecode project homepage at GitHub
+ `_ (code, bugs)
+* `bytecode documentation
+ `_
+* `Download latest bytecode release at the Python Cheeseshop (PyPI)
+ `_
+
+Install bytecode: ``python3 -m pip install bytecode``. It requires Python 3.6
+or newer. The latest release that supports Python 3.5 is 0.12.0. For Python 2.7
+support, have a look at `dead-bytecode
+`_ instead.
+
+Example executing ``print('Hello World!')``:
+
+.. code:: python
+
+ from bytecode import Instr, Bytecode
+
+ bytecode = Bytecode([Instr("LOAD_NAME", 'print'),
+ Instr("LOAD_CONST", 'Hello World!'),
+ Instr("CALL_FUNCTION", 1),
+ Instr("POP_TOP"),
+ Instr("LOAD_CONST", None),
+ Instr("RETURN_VALUE")])
+ code = bytecode.to_code()
+ exec(code)
+
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/RECORD b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/RECORD
new file mode 100644
index 000000000..3890ece18
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/RECORD
@@ -0,0 +1,42 @@
+bytecode-0.13.0.dev0.dist-info/COPYING,sha256=baWkm-Te2LLURwK7TL0zOkMSVjVCU_ezvObHBo298Tk,1074
+bytecode-0.13.0.dev0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+bytecode-0.13.0.dev0.dist-info/METADATA,sha256=9XadDK6YTQ-FPowYI5DS4ieA7hRGnRP_fM5Z9ioPkEQ,2929
+bytecode-0.13.0.dev0.dist-info/RECORD,,
+bytecode-0.13.0.dev0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+bytecode-0.13.0.dev0.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
+bytecode-0.13.0.dev0.dist-info/direct_url.json,sha256=s58Rb4KXRlMKxk-mzpvr_tJRQ-Hx8-DHsU6NdohCnAg,93
+bytecode-0.13.0.dev0.dist-info/top_level.txt,sha256=9BhdB7HqYZ-PvHNoWX6ilwLYWQqcgEOLwdb3aXm5Gys,9
+bytecode/__init__.py,sha256=d-yk4Xh4SwOWq9NgoD2rmBLG6RhUFNljeqs-NjMNSYM,3885
+bytecode/__pycache__/__init__.cpython-38.pyc,,
+bytecode/__pycache__/bytecode.cpython-38.pyc,,
+bytecode/__pycache__/cfg.cpython-38.pyc,,
+bytecode/__pycache__/concrete.cpython-38.pyc,,
+bytecode/__pycache__/flags.cpython-38.pyc,,
+bytecode/__pycache__/instr.cpython-38.pyc,,
+bytecode/__pycache__/peephole_opt.cpython-38.pyc,,
+bytecode/bytecode.py,sha256=IMCcatHMtQ7M31nwj4r3drcvQuGVJAOP0d7C0O8P_SE,6894
+bytecode/cfg.py,sha256=RmJGJqwCxR-XYaPH9YGY4wNDycdtLvIBJb1OGSmxcN0,15274
+bytecode/concrete.py,sha256=0eb6Yh_NDLmzJNcMs2TFom0EqFVSM1cO3inMH90YE-s,21683
+bytecode/flags.py,sha256=hAvM_B2yQKRw44leHP0oCae0aaJraAbDDTpqIf4I1CM,5987
+bytecode/instr.py,sha256=HYc65LjNSOB3GCWkNkCSkee1rRzUyr89rgdjbKBaTpE,11616
+bytecode/peephole_opt.py,sha256=W-cFVPOZN-JKfDV3aImsYenDSZkSNBDTVQqeMrGPU18,15712
+bytecode/tests/__init__.py,sha256=BAdOXXNRdMVX4D8TuRYPlG9PHU7Cb0bzvyfA9s435kM,4968
+bytecode/tests/__pycache__/__init__.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_bytecode.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_cfg.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_code.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_concrete.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_flags.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_instr.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_misc.cpython-38.pyc,,
+bytecode/tests/__pycache__/test_peephole_opt.cpython-38.pyc,,
+bytecode/tests/__pycache__/util_annotation.cpython-38.pyc,,
+bytecode/tests/test_bytecode.py,sha256=buvtlDC0NwoQ3zuZ7OENIIDngSqtiO9WkAa2-UvxGkI,15584
+bytecode/tests/test_cfg.py,sha256=c0xT8OfV-mDHu-DIDWr6LVlZQyK4GfgLSmT5AsodbMk,28194
+bytecode/tests/test_code.py,sha256=XCOH29rOXSoQz130s-AIC62r23e9qNjk8Y2xDB2LmSc,2100
+bytecode/tests/test_concrete.py,sha256=qT2qvabkF0yC7inniNx53cMSDN-2Qi0IE3pwBZSzF8g,49253
+bytecode/tests/test_flags.py,sha256=DY9U3c6tJdxJFm0jEm_To1Cc0I99EidQv_0guud-4oE,5684
+bytecode/tests/test_instr.py,sha256=rYeF8u-L0aW8bLPBxTUSy_T7KP6SaXyJKv9OhC8k6aA,11295
+bytecode/tests/test_misc.py,sha256=wyK1wpVPHRfaXgo-EqUI-F1nyB9-UACerHsHbExAo1U,6758
+bytecode/tests/test_peephole_opt.py,sha256=niUfhgEbiFR7IAmdQ_N9Qgh7D3wdRQ_zS0V8mKC4EzI,32640
+bytecode/tests/util_annotation.py,sha256=wKq6yPWrzkNlholl5Y10b3VjuCkoiYVgvcIjk_8jzf8,485
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/REQUESTED b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/REQUESTED
new file mode 100644
index 000000000..e69de29bb
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/WHEEL b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/WHEEL
new file mode 100644
index 000000000..385faab05
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/WHEEL
@@ -0,0 +1,5 @@
+Wheel-Version: 1.0
+Generator: bdist_wheel (0.36.2)
+Root-Is-Purelib: true
+Tag: py3-none-any
+
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/direct_url.json b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/direct_url.json
new file mode 100644
index 000000000..3c32b5716
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/direct_url.json
@@ -0,0 +1 @@
+{"archive_info": {}, "url": "https://github.com/MatthieuDartiailh/bytecode/archive/main.zip"}
\ No newline at end of file
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/top_level.txt b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/top_level.txt
new file mode 100644
index 000000000..b37707e7c
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/_pydevd_frame_eval/vendored/bytecode-0.13.0.dev0.dist-info/top_level.txt
@@ -0,0 +1 @@
+bytecode
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py b/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py
index 67b60f606..056411622 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py
+++ b/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring.py
@@ -13,9 +13,9 @@
from os.path import basename, splitext
from _pydev_bundle import pydev_log
-from _pydev_bundle.pydev_is_thread_alive import is_thread_alive
from _pydevd_bundle import pydevd_dont_trace
from _pydevd_bundle.pydevd_constants import (
+ IS_PY313_OR_GREATER,
GlobalDebuggerHolder,
ForkSafeLock,
PYDEVD_IPYTHON_CONTEXT,
@@ -33,7 +33,7 @@
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
@@ -60,10 +60,8 @@ def get_smart_step_into_variant_from_frame_offset(*args, **kwargs):
_get_ident = threading.get_ident
_thread_active = threading._active # noqa
-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
CMD_STEP_INTO_COROUTINE: int = 206
CMD_SMART_STEP_INTO: int = 128
@@ -236,6 +234,7 @@ def _get_unhandled_exception_frame(exc, depth: int) -> Optional[FrameType]:
# cdef PyDBAdditionalThreadInfo additional_info
# thread: threading.Thread
# trace: bool
+# _use_is_stopped: bool
# ELSE
class ThreadInfo:
additional_info: PyDBAdditionalThreadInfo
@@ -256,6 +255,19 @@ def __init__(self, thread: threading.Thread, thread_ident: int, trace: bool, add
self.thread_ident = thread_ident
self.additional_info = additional_info
self.trace = trace
+ self._use_is_stopped = hasattr(thread, '_is_stopped')
+
+ # fmt: off
+ # IFDEF CYTHON
+ # cdef bint is_thread_alive(self):
+ # ELSE
+ def is_thread_alive(self):
+ # ENDIF
+ # fmt: on
+ if self._use_is_stopped:
+ return not self.thread._is_stopped
+ else:
+ return not self.thread._handle.is_done()
class _DeleteDummyThreadOnDel:
@@ -319,7 +331,7 @@ def _create_thread_info(depth):
if t is None:
t = _thread_active.get(thread_ident)
- if isinstance(t, threading._DummyThread):
+ if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER:
_thread_local_info._ref = _DeleteDummyThreadOnDel(t)
if t is None:
@@ -406,8 +418,9 @@ def __init__(self):
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
+ if start is not None and end is not None and line is not None:
+ if offset >= start and offset <= end:
+ return line
return -1
@@ -438,15 +451,41 @@ def _get_thread_info(create: bool, depth: int) -> Optional[ThreadInfo]:
return _thread_local_info.thread_info
-_CodeLineInfo = namedtuple("_CodeLineInfo", "line_to_offset, first_line, last_line")
+# fmt: off
+# IFDEF CYTHON
+# cdef class _CodeLineInfo:
+# cdef dict line_to_offset
+# cdef int first_line
+# cdef int last_line
+# ELSE
+class _CodeLineInfo:
+ line_to_offset: Dict[int, Any]
+ first_line: int
+ last_line: int
+# ENDIF
+# fmt: on
+ # fmt: off
+ # IFDEF CYTHON
+ # def __init__(self, dict line_to_offset, int first_line, int last_line):
+ # self.line_to_offset = line_to_offset
+ # self.first_line = first_line
+ # self.last_line = last_line
+ # ELSE
+ def __init__(self, line_to_offset, first_line, last_line):
+ self.line_to_offset = line_to_offset
+ self.first_line = first_line
+ self.last_line = last_line
+
+ # ENDIF
+ # fmt: on
# Note: this method has a version in cython too
# fmt: off
# IFDEF CYTHON
-# cdef _get_code_line_info(code_obj, _cache={}):
+# cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}):
# ELSE
-def _get_code_line_info(code_obj, _cache={}):
+def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:
# ENDIF
# fmt: on
try:
@@ -834,16 +873,16 @@ def _unwind_event(code, instruction, exc):
if py_db is None or py_db.pydb_disposed:
return
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
-
+
func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
if func_code_info.always_skip_code:
return
-
- # pydev_log.debug('_unwind_event', code, exc)
+
+ # print('_unwind_event', code, exc)
frame = _getframe(1)
arg = (type(exc), exc, exc.__traceback__)
@@ -868,7 +907,6 @@ def _unwind_event(code, instruction, exc):
)
if is_unhandled:
- # print('stop in user uncaught')
handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED)
return
@@ -904,12 +942,12 @@ 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
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -920,7 +958,6 @@ def _raise_event(code, instruction, exc):
frame = _getframe(1)
arg = (type(exc), exc, exc.__traceback__)
- # pydev_log.debug('_raise_event', code, exc)
# Compute the previous exception info (if any). We use it to check if the exception
# should be stopped
@@ -1025,7 +1062,7 @@ def _return_event(code, instruction, retval):
if py_db is None or py_db.pydb_disposed:
return monitor.DISABLE
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -1340,7 +1377,7 @@ def _jump_event(code, from_offset, to_offset):
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 not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -1358,7 +1395,6 @@ def _jump_event(code, from_offset, to_offset):
from_line = func_code_info.get_line_of_offset(from_offset or 0)
to_line = func_code_info.get_line_of_offset(to_offset or 0)
- # 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]"
@@ -1369,6 +1405,7 @@ def _jump_event(code, from_offset, to_offset):
# 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)
+ # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', frame.f_lineno)
return _internal_line_event(func_code_info, frame, frame.f_lineno)
@@ -1397,24 +1434,26 @@ def _line_event(code, line):
if py_db is None or py_db.pydb_disposed:
return monitor.DISABLE
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
- # For thread-related stuff we can't disable the code tracing because other
- # threads may still want it...
- return
-
+ # 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:
- # If we're in a jump, we should skip this line event. The jump would have
- # been considered a line event for this same line and we don't want to
+ # 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
+ # pydev_log.debug('_line_event skipped', line)
return
+ if not thread_info.trace or not thread_info.is_thread_alive():
+ # For thread-related stuff we can't disable the code tracing because other
+ # threads may still want it...
+ 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
- # print('line event', code.co_name, line)
+ # pydev_log.debug('_line_event', code.co_name, line)
# We know the frame depth.
frame = _getframe(1)
@@ -1644,7 +1683,7 @@ def _start_method_event(code, instruction_offset):
if py_db is None or py_db.pydb_disposed:
return monitor.DISABLE
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -1841,7 +1880,10 @@ def update_monitor_events(suspend_requested: Optional[bool] = None) -> None:
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)
+ if not IS_PY313_OR_GREATER:
+ # In Python 3.13+ jump_events aren't necessary as we have a line_event for every
+ # jump location.
+ monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event)
monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event)
else:
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c b/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
index 913511b94..e2818bd57 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
+++ b/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.c
@@ -1504,6 +1504,7 @@ static const char *__pyx_f[] = {
struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo;
struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo;
struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo;
+struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo;
struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj;
struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc;
struct __pyx_obj___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset;
@@ -1515,7 +1516,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":116
+/* "_pydevd_sys_monitoring_cython.pyx":114
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* @cython.cfunc # <<<<<<<<<<<<<<
@@ -1527,19 +1528,19 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe {
PyObject *depth;
};
-/* "_pydevd_sys_monitoring_cython.pyx":453
+/* "_pydevd_sys_monitoring_cython.pyx":492
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
- * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
+ * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
* # ELSE
- * # def _get_code_line_info(code_obj, _cache={}):
+ * # def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:
*/
struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info {
int __pyx_n;
PyObject *_cache;
};
-/* "_pydevd_sys_monitoring_cython.pyx":1722
+/* "_pydevd_sys_monitoring_cython.pyx":1761
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<<
@@ -1551,7 +1552,7 @@ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython_start_monitoring {
int all_threads;
};
-/* "_pydevd_sys_monitoring_cython.pyx":1750
+/* "_pydevd_sys_monitoring_cython.pyx":1789
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<<
@@ -1602,7 +1603,7 @@ struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo {
};
-/* "_pydevd_sys_monitoring_cython.pyx":240
+/* "_pydevd_sys_monitoring_cython.pyx":238
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef class ThreadInfo: # <<<<<<<<<<<<<<
@@ -1611,14 +1612,16 @@ struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo {
*/
struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo {
PyObject_HEAD
+ struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_vtab;
unsigned long thread_ident;
struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *additional_info;
PyObject *thread;
PyObject *trace;
+ PyObject *_use_is_stopped;
};
-/* "_pydevd_sys_monitoring_cython.pyx":348
+/* "_pydevd_sys_monitoring_cython.pyx":360
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef class FuncCodeInfo: # <<<<<<<<<<<<<<
@@ -1649,7 +1652,22 @@ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo {
};
-/* "_pydevd_sys_monitoring_cython.pyx":799
+/* "_pydevd_sys_monitoring_cython.pyx":462
+ * # fmt: off
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * cdef class _CodeLineInfo: # <<<<<<<<<<<<<<
+ * cdef dict line_to_offset
+ * cdef int first_line
+ */
+struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo {
+ PyObject_HEAD
+ PyObject *line_to_offset;
+ int first_line;
+ int last_line;
+};
+
+
+/* "_pydevd_sys_monitoring_cython.pyx":838
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef class _TryExceptContainerObj: # <<<<<<<<<<<<<<
@@ -1709,6 +1727,20 @@ struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInf
int (*_is_stepping)(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, int __pyx_skip_dispatch);
};
static struct __pyx_vtabstruct_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *__pyx_vtabptr_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo;
+
+
+/* "_pydevd_sys_monitoring_cython.pyx":238
+ * # fmt: off
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * cdef class ThreadInfo: # <<<<<<<<<<<<<<
+ * cdef unsigned long thread_ident
+ * cdef PyDBAdditionalThreadInfo additional_info
+ */
+
+struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo {
+ int (*is_thread_alive)(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *);
+};
+static struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo;
/* #### Code section: utility_code_proto ### */
/* --- Runtime support code (head) --- */
@@ -2262,6 +2294,12 @@ static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject
__Pyx__ArgTypeTest(obj, type, name, exact))
static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact);
+/* GetAttr.proto */
+static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *);
+
+/* HasAttr.proto */
+static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *);
+
/* GetAttr3.proto */
static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *);
@@ -2376,18 +2414,18 @@ static CYTHON_INLINE PyObject* __Pyx_dict_iterator(PyObject* dict, int is_dict,
static CYTHON_INLINE int __Pyx_dict_iter_next(PyObject* dict_or_iter, Py_ssize_t orig_length, Py_ssize_t* ppos,
PyObject** pkey, PyObject** pvalue, PyObject** pitem, int is_dict);
+/* PyDictContains.proto */
+static CYTHON_INLINE int __Pyx_PyDict_ContainsTF(PyObject* item, PyObject* dict, int eq) {
+ int result = PyDict_Contains(dict, item);
+ return unlikely(result < 0) ? result : (result == (eq == Py_EQ));
+}
+
/* PySequenceContains.proto */
static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* seq, int eq) {
int result = PySequence_Contains(seq, item);
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)
@@ -2467,6 +2505,17 @@ static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_nam
#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr
#endif
+/* SetVTable.proto */
+static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable);
+
+/* GetVTable.proto */
+static void* __Pyx_GetVtable(PyTypeObject *type);
+
+/* MergeVTables.proto */
+#if !CYTHON_COMPILING_IN_LIMITED_API
+static int __Pyx_MergeVtables(PyTypeObject *type);
+#endif
+
/* SetupReduce.proto */
#if !CYTHON_COMPILING_IN_LIMITED_API
static int __Pyx_setup_reduce(PyObject* type_obj);
@@ -2491,9 +2540,6 @@ enum __Pyx_ImportType_CheckSize_3_0_11 {
static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_11 check_size);
#endif
-/* GetVTable.proto */
-static void* __Pyx_GetVtable(PyTypeObject *type);
-
/* ImportDottedModule.proto */
static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple);
#if PY_MAJOR_VERSION >= 3
@@ -2615,6 +2661,7 @@ static int __Pyx_ImportFunction_3_0_11(PyObject *module, const char *funcname, v
static int __Pyx_InitStrings(__Pyx_StringTabEntry *t);
/* #### Code section: module_declarations ### */
+static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_self); /* proto*/
/* Module declarations from "cpython.mem" */
@@ -2631,7 +2678,7 @@ 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(PyObject *, int); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyObject *); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int, int); /*proto*/
-static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyObject *, struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info *__pyx_optional_args); /*proto*/
+static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyObject *, struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__get_code_line_info *__pyx_optional_args); /*proto*/
static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29_pydevd_sys_monitoring_cython__get_func_code_info(PyObject *, PyObject *, int __pyx_skip_dispatch); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(PyObject *); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(PyObject *); /*proto*/
@@ -2658,6 +2705,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(int __p
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *, PyObject *, PyObject *); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *, PyObject *); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *, PyObject *); /*proto*/
+static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *, PyObject *); /*proto*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExceptContainerObj__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython__TryExceptContainerObj *, PyObject *); /*proto*/
static PyObject *__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyObject *(*)(PyObject *, PyObject *, PyObject *)); /*proto*/
static PyObject *__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyObject *(*)(PyObject *, PyObject *)); /*proto*/
@@ -2688,7 +2736,7 @@ static const char __pyx_k_Any[] = "Any";
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__24[] = "*";
static const char __pyx_k_arg[] = "arg";
static const char __pyx_k_del[] = "__del__";
static const char __pyx_k_dis[] = "dis";
@@ -2752,6 +2800,7 @@ static const char __pyx_k_enable[] = "enable";
static const char __pyx_k_events[] = "events";
static const char __pyx_k_f_back[] = "f_back";
static const char __pyx_k_f_code[] = "f_code";
+static const char __pyx_k_handle[] = "_handle";
static const char __pyx_k_import[] = "__import__";
static const char __pyx_k_kwargs[] = "kwargs";
static const char __pyx_k_main_2[] = "__main__";
@@ -2774,6 +2823,7 @@ static const char __pyx_k_co_name[] = "co_name";
static const char __pyx_k_compile[] = "compile";
static const char __pyx_k_disable[] = "disable";
static const char __pyx_k_f_lasti[] = "f_lasti";
+static const char __pyx_k_is_done[] = "is_done";
static const char __pyx_k_linesep[] = "linesep";
static const char __pyx_k_monitor[] = "monitor";
static const char __pyx_k_os_path[] = "os.path";
@@ -2811,6 +2861,7 @@ 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_last_line[] = "last_line";
static const char __pyx_k_metaclass[] = "__metaclass__";
static const char __pyx_k_pydev_log[] = "pydev_log";
static const char __pyx_k_pydevd_py[] = "pydevd.py";
@@ -2819,11 +2870,12 @@ 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_first_line[] = "first_line";
static const char __pyx_k_global_dbg[] = "global_dbg";
static const char __pyx_k_has_breaks[] = "has_breaks";
+static const char __pyx_k_is_stopped[] = "_is_stopped";
static const char __pyx_k_monitoring[] = "monitoring";
static const char __pyx_k_namedtuple[] = "namedtuple";
static const char __pyx_k_pyx_result[] = "__pyx_result";
@@ -2903,7 +2955,6 @@ static const char __pyx_k_additional_info[] = "additional_info";
static const char __pyx_k_bootstrap_inner[] = "__bootstrap_inner";
static const char __pyx_k_do_wait_suspend[] = "_do_wait_suspend";
static const char __pyx_k_f_unhandled_exc[] = "f_unhandled_exc";
-static const char __pyx_k_is_thread_alive[] = "is_thread_alive";
static const char __pyx_k_make_io_message[] = "make_io_message";
static const char __pyx_k_python_function[] = "python-function";
static const char __pyx_k_pyx_PickleError[] = "__pyx_PickleError";
@@ -2941,6 +2992,7 @@ static const char __pyx_k_instruction_offset[] = "instruction_offset";
static const char __pyx_k_pydev_do_not_trace[] = "pydev_do_not_trace";
static const char __pyx_k_show_return_values[] = "show_return_values";
static const char __pyx_k_CMD_SMART_STEP_INTO[] = "CMD_SMART_STEP_INTO";
+static const char __pyx_k_IS_PY313_OR_GREATER[] = "IS_PY313_OR_GREATER";
static const char __pyx_k_enable_code_tracing[] = "enable_code_tracing";
static const char __pyx_k_get_cache_file_type[] = "get_cache_file_type";
static const char __pyx_k_line_to_breakpoints[] = "line_to_breakpoints";
@@ -2976,12 +3028,14 @@ static const char __pyx_k_pyx_unpickle_FuncCodeInfo[] = "__pyx_unpickle_FuncCode
static const char __pyx_k_ThreadInfo___reduce_cython[] = "ThreadInfo.__reduce_cython__";
static const char __pyx_k_break_on_caught_exceptions[] = "break_on_caught_exceptions";
static const char __pyx_k_pydevd_bundle_pydevd_utils[] = "_pydevd_bundle.pydevd_utils";
+static const char __pyx_k_pyx_unpickle__CodeLineInfo[] = "__pyx_unpickle__CodeLineInfo";
static const char __pyx_k_required_events_breakpoint[] = "required_events_breakpoint";
static const char __pyx_k_file_to_line_to_breakpoints[] = "file_to_line_to_breakpoints";
static const char __pyx_k_handle_breakpoint_condition[] = "handle_breakpoint_condition";
static const char __pyx_k_has_plugin_exception_breaks[] = "has_plugin_exception_breaks";
static const char __pyx_k_is_bootstrap_frame_internal[] = "is_bootstrap_frame_internal";
static const char __pyx_k_stop_on_unhandled_exception[] = "stop_on_unhandled_exception";
+static const char __pyx_k_CodeLineInfo___reduce_cython[] = "_CodeLineInfo.__reduce_cython__";
static const char __pyx_k_DeleteDummyThreadOnDel___del[] = "_DeleteDummyThreadOnDel.__del__";
static const char __pyx_k_FuncCodeInfo___reduce_cython[] = "FuncCodeInfo.__reduce_cython__";
static const char __pyx_k_ThreadInfo___setstate_cython[] = "ThreadInfo.__setstate_cython__";
@@ -2994,6 +3048,7 @@ static const char __pyx_k_DeleteDummyThreadOnDel___init[] = "_DeleteDummyThreadO
static const char __pyx_k_EXCEPTION_TYPE_USER_UNHANDLED[] = "EXCEPTION_TYPE_USER_UNHANDLED";
static const char __pyx_k_NORM_PATHS_AND_BASE_CONTAINER[] = "NORM_PATHS_AND_BASE_CONTAINER";
static const char __pyx_k_global_notify_skipped_step_in[] = "_global_notify_skipped_step_in";
+static const char __pyx_k_CodeLineInfo___setstate_cython[] = "_CodeLineInfo.__setstate_cython__";
static const char __pyx_k_FuncCodeInfo___setstate_cython[] = "FuncCodeInfo.__setstate_cython__";
static const char __pyx_k_Helper_class_to_remove_a_dummy[] = "\n Helper class to remove a dummy thread from threading._active on __del__.\n ";
static const char __pyx_k_Pyx_CFunc_4904d5__29_pydevd_sy[] = "__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc..wrap";
@@ -3009,23 +3064,21 @@ static const char __pyx_k_get_abs_path_real_path_and_base[] = "get_abs_path_real
static const char __pyx_k_global_notify_skipped_step_in_l[] = "_global_notify_skipped_step_in_lock";
static const char __pyx_k_has_caught_exception_breakpoint[] = "has_caught_exception_breakpoint_in_pydb";
static const char __pyx_k_pydev_bundle__pydev_saved_modul[] = "_pydev_bundle._pydev_saved_modules";
-static const char __pyx_k_pydev_bundle_pydev_is_thread_al[] = "_pydev_bundle.pydev_is_thread_alive";
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_Incompatible_checksums_0x_x_vs_0[] = "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, 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_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";
-static const char __pyx_k_line_to_offset_first_line_last_l[] = "line_to_offset, first_line, last_line";
static const char __pyx_k_notify_skipped_step_in_because_o[] = "notify_skipped_step_in_because_of_filters";
static const char __pyx_k_get_abs_path_real_path_and_base_2[] = "get_abs_path_real_path_and_base_from_frame";
static const char __pyx_k_Incompatible_checksums_0x_x_vs_0_2[] = "Incompatible checksums (0x%x vs (0x3f403d2, 0x5f5636f, 0xb44aa80) = (abs_path_filename, always_filtered_out, always_skip_code, bp_line_to_breakpoint, breakpoint_found, canonical_normalized_filename, co_filename, co_name, code_obj, filtered_out_force_checked, function_breakpoint, function_breakpoint_found, plugin_call_breakpoint_found, plugin_call_stepping, plugin_line_breakpoint_found, plugin_line_stepping, plugin_return_stepping, pydb_mtime, try_except_container_obj))";
-static const char __pyx_k_Incompatible_checksums_0x_x_vs_0_3[] = "Incompatible checksums (0x%x vs (0xdbf5e44, 0xde17cd3, 0xc8b6eb1) = (try_except_infos))";
+static const char __pyx_k_Incompatible_checksums_0x_x_vs_0_3[] = "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))";
+static const char __pyx_k_Incompatible_checksums_0x_x_vs_0_4[] = "Incompatible checksums (0x%x vs (0xdbf5e44, 0xde17cd3, 0xc8b6eb1) = (try_except_infos))";
/* #### Code section: decls ### */
static PyObject *__pyx_pf_11cfunc_dot_to_py_102__Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc_wrap(PyObject *__pyx_self, PyObject *__pyx_v_code, PyObject *__pyx_v_instruction, PyObject *__pyx_v_exc); /* proto */
static PyObject *__pyx_pf_11cfunc_dot_to_py_104__Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset_wrap(PyObject *__pyx_self, PyObject *__pyx_v_code, PyObject *__pyx_v_instruction_offset); /* proto */
@@ -3042,6 +3095,9 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_2get_line_of_offset(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_v_self, PyObject *__pyx_v_offset); /* proto */
static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_4__reduce_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_v_self); /* proto */
static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_6__setstate_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_v_self, PyObject *__pyx_v___pyx_state); /* proto */
+static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_self, PyObject *__pyx_v_line_to_offset, int __pyx_v_first_line, int __pyx_v_last_line); /* proto */
+static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__reduce_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_self); /* proto */
+static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_4__setstate_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_self, PyObject *__pyx_v___pyx_state); /* proto */
static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_2_get_func_code_info(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_code_obj, PyObject *__pyx_v_frame_or_depth); /* proto */
static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_code); /* proto */
static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(CYTHON_UNUSED PyObject *__pyx_self, unsigned long __pyx_v_thread_ident, PyObject *__pyx_v_code, PyObject *__pyx_v_frame); /* proto */
@@ -3056,9 +3112,11 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16restart_events(CYTHO
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_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__CodeLineInfo(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_26__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__CodeLineInfo(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*/
static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
static PyObject *__pyx_tp_new___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
@@ -3103,6 +3161,7 @@ typedef struct {
#if CYTHON_USE_MODULE_STATE
PyObject *__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo;
PyObject *__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo;
+ PyObject *__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo;
PyObject *__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj;
PyObject *__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc;
PyObject *__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset;
@@ -3112,6 +3171,7 @@ typedef struct {
#endif
PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo;
PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo;
+ PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo;
PyTypeObject *__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj;
PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc;
PyTypeObject *__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset;
@@ -3134,6 +3194,8 @@ typedef struct {
PyObject *__pyx_n_s_CMD_STEP_RETURN;
PyObject *__pyx_n_s_CMD_STEP_RETURN_MY_CODE;
PyObject *__pyx_n_s_CodeLineInfo;
+ PyObject *__pyx_n_s_CodeLineInfo___reduce_cython;
+ PyObject *__pyx_n_s_CodeLineInfo___setstate_cython;
PyObject *__pyx_n_s_CodeType;
PyObject *__pyx_n_s_DEBUGGER_ID;
PyObject *__pyx_n_s_DEBUG_START;
@@ -3155,11 +3217,13 @@ typedef struct {
PyObject *__pyx_n_s_GlobalDebuggerHolder;
PyObject *__pyx_kp_s_Helper_class_to_remove_a_dummy;
PyObject *__pyx_n_s_IGNORE_EXCEPTION_TAG;
+ PyObject *__pyx_n_s_IS_PY313_OR_GREATER;
PyObject *__pyx_kp_s_IgnoreException;
PyObject *__pyx_n_s_ImportError;
PyObject *__pyx_kp_s_Incompatible_checksums_0x_x_vs_0;
PyObject *__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_2;
PyObject *__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3;
+ PyObject *__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4;
PyObject *__pyx_n_s_JUMP;
PyObject *__pyx_n_s_LINE;
PyObject *__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER;
@@ -3168,7 +3232,6 @@ 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;
@@ -3197,7 +3260,7 @@ typedef struct {
PyObject *__pyx_kp_s__15;
PyObject *__pyx_kp_s__18;
PyObject *__pyx_kp_u__20;
- PyObject *__pyx_n_s__23;
+ PyObject *__pyx_n_s__24;
PyObject *__pyx_n_s_active;
PyObject *__pyx_n_s_active_limbo_lock;
PyObject *__pyx_n_s_add_command;
@@ -3275,6 +3338,7 @@ typedef struct {
PyObject *__pyx_n_s_f_unhandled_frame;
PyObject *__pyx_n_s_file_to_line_to_breakpoints;
PyObject *__pyx_n_s_findlinestarts;
+ PyObject *__pyx_n_s_first_line;
PyObject *__pyx_n_s_frame;
PyObject *__pyx_n_s_frame_or_depth;
PyObject *__pyx_n_s_free_tool_id;
@@ -3301,6 +3365,7 @@ typedef struct {
PyObject *__pyx_n_s_global_dbg;
PyObject *__pyx_n_s_global_notify_skipped_step_in;
PyObject *__pyx_n_s_global_notify_skipped_step_in_l;
+ PyObject *__pyx_n_s_handle;
PyObject *__pyx_n_s_handle_breakpoint_condition;
PyObject *__pyx_n_s_handle_breakpoint_expression;
PyObject *__pyx_n_s_handle_exception;
@@ -3319,20 +3384,21 @@ typedef struct {
PyObject *__pyx_n_s_is_alive;
PyObject *__pyx_n_s_is_bootstrap_frame_internal;
PyObject *__pyx_n_s_is_coroutine;
+ PyObject *__pyx_n_s_is_done;
PyObject *__pyx_n_s_is_files_filter_enabled;
PyObject *__pyx_n_s_is_logpoint;
PyObject *__pyx_n_s_is_pydev_daemon_thread;
- PyObject *__pyx_n_s_is_thread_alive;
+ 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;
+ PyObject *__pyx_n_s_last_line;
PyObject *__pyx_n_s_line;
PyObject *__pyx_n_s_line_to_breakpoints;
PyObject *__pyx_n_s_line_to_offset;
- PyObject *__pyx_kp_s_line_to_offset_first_line_last_l;
PyObject *__pyx_n_s_linesep;
PyObject *__pyx_n_s_local;
PyObject *__pyx_n_s_main;
@@ -3363,7 +3429,6 @@ typedef struct {
PyObject *__pyx_n_s_pydb_disposed;
PyObject *__pyx_n_s_pydev_bundle;
PyObject *__pyx_n_s_pydev_bundle__pydev_saved_modul;
- PyObject *__pyx_n_s_pydev_bundle_pydev_is_thread_al;
PyObject *__pyx_n_s_pydev_do_not_trace;
PyObject *__pyx_kp_s_pydev_execfile_py;
PyObject *__pyx_n_s_pydev_log;
@@ -3375,7 +3440,6 @@ 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;
@@ -3394,6 +3458,7 @@ typedef struct {
PyObject *__pyx_n_s_pyx_type;
PyObject *__pyx_n_s_pyx_unpickle_FuncCodeInfo;
PyObject *__pyx_n_s_pyx_unpickle_ThreadInfo;
+ PyObject *__pyx_n_s_pyx_unpickle__CodeLineInfo;
PyObject *__pyx_n_s_pyx_unpickle__TryExceptContain;
PyObject *__pyx_n_s_pyx_vtable;
PyObject *__pyx_n_s_qualname;
@@ -3479,15 +3544,18 @@ typedef struct {
PyObject *__pyx_int_160;
PyObject *__pyx_int_206;
PyObject *__pyx_int_208;
+ PyObject *__pyx_int_2520179;
+ PyObject *__pyx_int_64377988;
PyObject *__pyx_int_66323410;
- PyObject *__pyx_int_92026781;
+ PyObject *__pyx_int_66829570;
+ PyObject *__pyx_int_81700340;
+ PyObject *__pyx_int_95010005;
PyObject *__pyx_int_99967855;
PyObject *__pyx_int_189049472;
PyObject *__pyx_int_210464433;
- PyObject *__pyx_int_224549882;
PyObject *__pyx_int_230645316;
PyObject *__pyx_int_232881363;
- PyObject *__pyx_int_266084120;
+ PyObject *__pyx_int_261234908;
PyObject *__pyx_int_neg_1;
PyObject *__pyx_k__16;
PyObject *__pyx_tuple_;
@@ -3503,53 +3571,56 @@ typedef struct {
PyObject *__pyx_tuple__19;
PyObject *__pyx_tuple__21;
PyObject *__pyx_tuple__22;
- PyObject *__pyx_tuple__24;
- PyObject *__pyx_tuple__26;
+ PyObject *__pyx_tuple__23;
+ PyObject *__pyx_tuple__25;
PyObject *__pyx_tuple__27;
PyObject *__pyx_tuple__28;
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__42;
+ PyObject *__pyx_tuple__30;
+ PyObject *__pyx_tuple__32;
+ PyObject *__pyx_tuple__34;
+ PyObject *__pyx_tuple__36;
+ PyObject *__pyx_tuple__38;
PyObject *__pyx_tuple__44;
PyObject *__pyx_tuple__46;
- PyObject *__pyx_tuple__51;
+ PyObject *__pyx_tuple__48;
PyObject *__pyx_tuple__53;
PyObject *__pyx_tuple__55;
- PyObject *__pyx_tuple__56;
+ PyObject *__pyx_tuple__57;
PyObject *__pyx_tuple__58;
PyObject *__pyx_tuple__60;
PyObject *__pyx_tuple__62;
+ PyObject *__pyx_tuple__64;
PyObject *__pyx_codeobj__2;
PyObject *__pyx_codeobj__4;
PyObject *__pyx_codeobj__6;
PyObject *__pyx_codeobj__8;
PyObject *__pyx_codeobj__10;
- 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__26;
+ PyObject *__pyx_codeobj__31;
+ PyObject *__pyx_codeobj__33;
+ PyObject *__pyx_codeobj__35;
+ PyObject *__pyx_codeobj__37;
PyObject *__pyx_codeobj__39;
PyObject *__pyx_codeobj__40;
+ PyObject *__pyx_codeobj__41;
+ PyObject *__pyx_codeobj__42;
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__51;
PyObject *__pyx_codeobj__52;
PyObject *__pyx_codeobj__54;
- PyObject *__pyx_codeobj__57;
+ PyObject *__pyx_codeobj__56;
PyObject *__pyx_codeobj__59;
PyObject *__pyx_codeobj__61;
PyObject *__pyx_codeobj__63;
- PyObject *__pyx_codeobj__64;
PyObject *__pyx_codeobj__65;
+ PyObject *__pyx_codeobj__66;
+ PyObject *__pyx_codeobj__67;
+ PyObject *__pyx_codeobj__68;
} __pyx_mstate;
#if CYTHON_USE_MODULE_STATE
@@ -3597,6 +3668,8 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo);
Py_CLEAR(clear_module_state->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo);
Py_CLEAR(clear_module_state->__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo);
+ Py_CLEAR(clear_module_state->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo);
+ Py_CLEAR(clear_module_state->__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo);
Py_CLEAR(clear_module_state->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj);
Py_CLEAR(clear_module_state->__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj);
Py_CLEAR(clear_module_state->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc);
@@ -3625,6 +3698,8 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_CMD_STEP_RETURN);
Py_CLEAR(clear_module_state->__pyx_n_s_CMD_STEP_RETURN_MY_CODE);
Py_CLEAR(clear_module_state->__pyx_n_s_CodeLineInfo);
+ Py_CLEAR(clear_module_state->__pyx_n_s_CodeLineInfo___reduce_cython);
+ Py_CLEAR(clear_module_state->__pyx_n_s_CodeLineInfo___setstate_cython);
Py_CLEAR(clear_module_state->__pyx_n_s_CodeType);
Py_CLEAR(clear_module_state->__pyx_n_s_DEBUGGER_ID);
Py_CLEAR(clear_module_state->__pyx_n_s_DEBUG_START);
@@ -3646,11 +3721,13 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_GlobalDebuggerHolder);
Py_CLEAR(clear_module_state->__pyx_kp_s_Helper_class_to_remove_a_dummy);
Py_CLEAR(clear_module_state->__pyx_n_s_IGNORE_EXCEPTION_TAG);
+ Py_CLEAR(clear_module_state->__pyx_n_s_IS_PY313_OR_GREATER);
Py_CLEAR(clear_module_state->__pyx_kp_s_IgnoreException);
Py_CLEAR(clear_module_state->__pyx_n_s_ImportError);
Py_CLEAR(clear_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0);
Py_CLEAR(clear_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_2);
Py_CLEAR(clear_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3);
+ Py_CLEAR(clear_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4);
Py_CLEAR(clear_module_state->__pyx_n_s_JUMP);
Py_CLEAR(clear_module_state->__pyx_n_s_LINE);
Py_CLEAR(clear_module_state->__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER);
@@ -3659,7 +3736,6 @@ 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);
@@ -3688,7 +3764,7 @@ static int __pyx_m_clear(PyObject *m) {
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__24);
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);
@@ -3766,6 +3842,7 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_f_unhandled_frame);
Py_CLEAR(clear_module_state->__pyx_n_s_file_to_line_to_breakpoints);
Py_CLEAR(clear_module_state->__pyx_n_s_findlinestarts);
+ Py_CLEAR(clear_module_state->__pyx_n_s_first_line);
Py_CLEAR(clear_module_state->__pyx_n_s_frame);
Py_CLEAR(clear_module_state->__pyx_n_s_frame_or_depth);
Py_CLEAR(clear_module_state->__pyx_n_s_free_tool_id);
@@ -3792,6 +3869,7 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_global_dbg);
Py_CLEAR(clear_module_state->__pyx_n_s_global_notify_skipped_step_in);
Py_CLEAR(clear_module_state->__pyx_n_s_global_notify_skipped_step_in_l);
+ Py_CLEAR(clear_module_state->__pyx_n_s_handle);
Py_CLEAR(clear_module_state->__pyx_n_s_handle_breakpoint_condition);
Py_CLEAR(clear_module_state->__pyx_n_s_handle_breakpoint_expression);
Py_CLEAR(clear_module_state->__pyx_n_s_handle_exception);
@@ -3810,20 +3888,21 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_is_alive);
Py_CLEAR(clear_module_state->__pyx_n_s_is_bootstrap_frame_internal);
Py_CLEAR(clear_module_state->__pyx_n_s_is_coroutine);
+ Py_CLEAR(clear_module_state->__pyx_n_s_is_done);
Py_CLEAR(clear_module_state->__pyx_n_s_is_files_filter_enabled);
Py_CLEAR(clear_module_state->__pyx_n_s_is_logpoint);
Py_CLEAR(clear_module_state->__pyx_n_s_is_pydev_daemon_thread);
- Py_CLEAR(clear_module_state->__pyx_n_s_is_thread_alive);
+ 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);
+ Py_CLEAR(clear_module_state->__pyx_n_s_last_line);
Py_CLEAR(clear_module_state->__pyx_n_s_line);
Py_CLEAR(clear_module_state->__pyx_n_s_line_to_breakpoints);
Py_CLEAR(clear_module_state->__pyx_n_s_line_to_offset);
- Py_CLEAR(clear_module_state->__pyx_kp_s_line_to_offset_first_line_last_l);
Py_CLEAR(clear_module_state->__pyx_n_s_linesep);
Py_CLEAR(clear_module_state->__pyx_n_s_local);
Py_CLEAR(clear_module_state->__pyx_n_s_main);
@@ -3854,7 +3933,6 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_pydb_disposed);
Py_CLEAR(clear_module_state->__pyx_n_s_pydev_bundle);
Py_CLEAR(clear_module_state->__pyx_n_s_pydev_bundle__pydev_saved_modul);
- Py_CLEAR(clear_module_state->__pyx_n_s_pydev_bundle_pydev_is_thread_al);
Py_CLEAR(clear_module_state->__pyx_n_s_pydev_do_not_trace);
Py_CLEAR(clear_module_state->__pyx_kp_s_pydev_execfile_py);
Py_CLEAR(clear_module_state->__pyx_n_s_pydev_log);
@@ -3866,7 +3944,6 @@ 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);
@@ -3885,6 +3962,7 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_n_s_pyx_type);
Py_CLEAR(clear_module_state->__pyx_n_s_pyx_unpickle_FuncCodeInfo);
Py_CLEAR(clear_module_state->__pyx_n_s_pyx_unpickle_ThreadInfo);
+ Py_CLEAR(clear_module_state->__pyx_n_s_pyx_unpickle__CodeLineInfo);
Py_CLEAR(clear_module_state->__pyx_n_s_pyx_unpickle__TryExceptContain);
Py_CLEAR(clear_module_state->__pyx_n_s_pyx_vtable);
Py_CLEAR(clear_module_state->__pyx_n_s_qualname);
@@ -3970,15 +4048,18 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_int_160);
Py_CLEAR(clear_module_state->__pyx_int_206);
Py_CLEAR(clear_module_state->__pyx_int_208);
+ Py_CLEAR(clear_module_state->__pyx_int_2520179);
+ Py_CLEAR(clear_module_state->__pyx_int_64377988);
Py_CLEAR(clear_module_state->__pyx_int_66323410);
- Py_CLEAR(clear_module_state->__pyx_int_92026781);
+ Py_CLEAR(clear_module_state->__pyx_int_66829570);
+ Py_CLEAR(clear_module_state->__pyx_int_81700340);
+ Py_CLEAR(clear_module_state->__pyx_int_95010005);
Py_CLEAR(clear_module_state->__pyx_int_99967855);
Py_CLEAR(clear_module_state->__pyx_int_189049472);
Py_CLEAR(clear_module_state->__pyx_int_210464433);
- Py_CLEAR(clear_module_state->__pyx_int_224549882);
Py_CLEAR(clear_module_state->__pyx_int_230645316);
Py_CLEAR(clear_module_state->__pyx_int_232881363);
- Py_CLEAR(clear_module_state->__pyx_int_266084120);
+ Py_CLEAR(clear_module_state->__pyx_int_261234908);
Py_CLEAR(clear_module_state->__pyx_int_neg_1);
Py_CLEAR(clear_module_state->__pyx_k__16);
Py_CLEAR(clear_module_state->__pyx_tuple_);
@@ -3994,53 +4075,56 @@ static int __pyx_m_clear(PyObject *m) {
Py_CLEAR(clear_module_state->__pyx_tuple__19);
Py_CLEAR(clear_module_state->__pyx_tuple__21);
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__23);
+ Py_CLEAR(clear_module_state->__pyx_tuple__25);
Py_CLEAR(clear_module_state->__pyx_tuple__27);
Py_CLEAR(clear_module_state->__pyx_tuple__28);
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__42);
+ 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__38);
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__48);
Py_CLEAR(clear_module_state->__pyx_tuple__53);
Py_CLEAR(clear_module_state->__pyx_tuple__55);
- Py_CLEAR(clear_module_state->__pyx_tuple__56);
+ Py_CLEAR(clear_module_state->__pyx_tuple__57);
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_tuple__64);
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__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__26);
+ 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__39);
Py_CLEAR(clear_module_state->__pyx_codeobj__40);
+ Py_CLEAR(clear_module_state->__pyx_codeobj__41);
+ Py_CLEAR(clear_module_state->__pyx_codeobj__42);
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__51);
Py_CLEAR(clear_module_state->__pyx_codeobj__52);
Py_CLEAR(clear_module_state->__pyx_codeobj__54);
- Py_CLEAR(clear_module_state->__pyx_codeobj__57);
+ Py_CLEAR(clear_module_state->__pyx_codeobj__56);
Py_CLEAR(clear_module_state->__pyx_codeobj__59);
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__66);
+ Py_CLEAR(clear_module_state->__pyx_codeobj__67);
+ Py_CLEAR(clear_module_state->__pyx_codeobj__68);
return 0;
}
#endif
@@ -4066,6 +4150,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo);
Py_VISIT(traverse_module_state->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo);
Py_VISIT(traverse_module_state->__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo);
+ Py_VISIT(traverse_module_state->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo);
+ Py_VISIT(traverse_module_state->__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo);
Py_VISIT(traverse_module_state->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj);
Py_VISIT(traverse_module_state->__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj);
Py_VISIT(traverse_module_state->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc);
@@ -4094,6 +4180,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_CMD_STEP_RETURN);
Py_VISIT(traverse_module_state->__pyx_n_s_CMD_STEP_RETURN_MY_CODE);
Py_VISIT(traverse_module_state->__pyx_n_s_CodeLineInfo);
+ Py_VISIT(traverse_module_state->__pyx_n_s_CodeLineInfo___reduce_cython);
+ Py_VISIT(traverse_module_state->__pyx_n_s_CodeLineInfo___setstate_cython);
Py_VISIT(traverse_module_state->__pyx_n_s_CodeType);
Py_VISIT(traverse_module_state->__pyx_n_s_DEBUGGER_ID);
Py_VISIT(traverse_module_state->__pyx_n_s_DEBUG_START);
@@ -4115,11 +4203,13 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_GlobalDebuggerHolder);
Py_VISIT(traverse_module_state->__pyx_kp_s_Helper_class_to_remove_a_dummy);
Py_VISIT(traverse_module_state->__pyx_n_s_IGNORE_EXCEPTION_TAG);
+ Py_VISIT(traverse_module_state->__pyx_n_s_IS_PY313_OR_GREATER);
Py_VISIT(traverse_module_state->__pyx_kp_s_IgnoreException);
Py_VISIT(traverse_module_state->__pyx_n_s_ImportError);
Py_VISIT(traverse_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0);
Py_VISIT(traverse_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_2);
Py_VISIT(traverse_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3);
+ Py_VISIT(traverse_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4);
Py_VISIT(traverse_module_state->__pyx_n_s_JUMP);
Py_VISIT(traverse_module_state->__pyx_n_s_LINE);
Py_VISIT(traverse_module_state->__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER);
@@ -4128,7 +4218,6 @@ 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);
@@ -4157,7 +4246,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
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__24);
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);
@@ -4235,6 +4324,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_f_unhandled_frame);
Py_VISIT(traverse_module_state->__pyx_n_s_file_to_line_to_breakpoints);
Py_VISIT(traverse_module_state->__pyx_n_s_findlinestarts);
+ Py_VISIT(traverse_module_state->__pyx_n_s_first_line);
Py_VISIT(traverse_module_state->__pyx_n_s_frame);
Py_VISIT(traverse_module_state->__pyx_n_s_frame_or_depth);
Py_VISIT(traverse_module_state->__pyx_n_s_free_tool_id);
@@ -4261,6 +4351,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_global_dbg);
Py_VISIT(traverse_module_state->__pyx_n_s_global_notify_skipped_step_in);
Py_VISIT(traverse_module_state->__pyx_n_s_global_notify_skipped_step_in_l);
+ Py_VISIT(traverse_module_state->__pyx_n_s_handle);
Py_VISIT(traverse_module_state->__pyx_n_s_handle_breakpoint_condition);
Py_VISIT(traverse_module_state->__pyx_n_s_handle_breakpoint_expression);
Py_VISIT(traverse_module_state->__pyx_n_s_handle_exception);
@@ -4279,20 +4370,21 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_is_alive);
Py_VISIT(traverse_module_state->__pyx_n_s_is_bootstrap_frame_internal);
Py_VISIT(traverse_module_state->__pyx_n_s_is_coroutine);
+ Py_VISIT(traverse_module_state->__pyx_n_s_is_done);
Py_VISIT(traverse_module_state->__pyx_n_s_is_files_filter_enabled);
Py_VISIT(traverse_module_state->__pyx_n_s_is_logpoint);
Py_VISIT(traverse_module_state->__pyx_n_s_is_pydev_daemon_thread);
- Py_VISIT(traverse_module_state->__pyx_n_s_is_thread_alive);
+ 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);
+ Py_VISIT(traverse_module_state->__pyx_n_s_last_line);
Py_VISIT(traverse_module_state->__pyx_n_s_line);
Py_VISIT(traverse_module_state->__pyx_n_s_line_to_breakpoints);
Py_VISIT(traverse_module_state->__pyx_n_s_line_to_offset);
- Py_VISIT(traverse_module_state->__pyx_kp_s_line_to_offset_first_line_last_l);
Py_VISIT(traverse_module_state->__pyx_n_s_linesep);
Py_VISIT(traverse_module_state->__pyx_n_s_local);
Py_VISIT(traverse_module_state->__pyx_n_s_main);
@@ -4323,7 +4415,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_pydb_disposed);
Py_VISIT(traverse_module_state->__pyx_n_s_pydev_bundle);
Py_VISIT(traverse_module_state->__pyx_n_s_pydev_bundle__pydev_saved_modul);
- Py_VISIT(traverse_module_state->__pyx_n_s_pydev_bundle_pydev_is_thread_al);
Py_VISIT(traverse_module_state->__pyx_n_s_pydev_do_not_trace);
Py_VISIT(traverse_module_state->__pyx_kp_s_pydev_execfile_py);
Py_VISIT(traverse_module_state->__pyx_n_s_pydev_log);
@@ -4335,7 +4426,6 @@ 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);
@@ -4354,6 +4444,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_n_s_pyx_type);
Py_VISIT(traverse_module_state->__pyx_n_s_pyx_unpickle_FuncCodeInfo);
Py_VISIT(traverse_module_state->__pyx_n_s_pyx_unpickle_ThreadInfo);
+ Py_VISIT(traverse_module_state->__pyx_n_s_pyx_unpickle__CodeLineInfo);
Py_VISIT(traverse_module_state->__pyx_n_s_pyx_unpickle__TryExceptContain);
Py_VISIT(traverse_module_state->__pyx_n_s_pyx_vtable);
Py_VISIT(traverse_module_state->__pyx_n_s_qualname);
@@ -4439,15 +4530,18 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_int_160);
Py_VISIT(traverse_module_state->__pyx_int_206);
Py_VISIT(traverse_module_state->__pyx_int_208);
+ Py_VISIT(traverse_module_state->__pyx_int_2520179);
+ Py_VISIT(traverse_module_state->__pyx_int_64377988);
Py_VISIT(traverse_module_state->__pyx_int_66323410);
- Py_VISIT(traverse_module_state->__pyx_int_92026781);
+ Py_VISIT(traverse_module_state->__pyx_int_66829570);
+ Py_VISIT(traverse_module_state->__pyx_int_81700340);
+ Py_VISIT(traverse_module_state->__pyx_int_95010005);
Py_VISIT(traverse_module_state->__pyx_int_99967855);
Py_VISIT(traverse_module_state->__pyx_int_189049472);
Py_VISIT(traverse_module_state->__pyx_int_210464433);
- Py_VISIT(traverse_module_state->__pyx_int_224549882);
Py_VISIT(traverse_module_state->__pyx_int_230645316);
Py_VISIT(traverse_module_state->__pyx_int_232881363);
- Py_VISIT(traverse_module_state->__pyx_int_266084120);
+ Py_VISIT(traverse_module_state->__pyx_int_261234908);
Py_VISIT(traverse_module_state->__pyx_int_neg_1);
Py_VISIT(traverse_module_state->__pyx_k__16);
Py_VISIT(traverse_module_state->__pyx_tuple_);
@@ -4463,53 +4557,56 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
Py_VISIT(traverse_module_state->__pyx_tuple__19);
Py_VISIT(traverse_module_state->__pyx_tuple__21);
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__23);
+ Py_VISIT(traverse_module_state->__pyx_tuple__25);
Py_VISIT(traverse_module_state->__pyx_tuple__27);
Py_VISIT(traverse_module_state->__pyx_tuple__28);
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__42);
+ 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__38);
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__48);
Py_VISIT(traverse_module_state->__pyx_tuple__53);
Py_VISIT(traverse_module_state->__pyx_tuple__55);
- Py_VISIT(traverse_module_state->__pyx_tuple__56);
+ Py_VISIT(traverse_module_state->__pyx_tuple__57);
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_tuple__64);
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__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__26);
+ 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__39);
Py_VISIT(traverse_module_state->__pyx_codeobj__40);
+ Py_VISIT(traverse_module_state->__pyx_codeobj__41);
+ Py_VISIT(traverse_module_state->__pyx_codeobj__42);
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__51);
Py_VISIT(traverse_module_state->__pyx_codeobj__52);
Py_VISIT(traverse_module_state->__pyx_codeobj__54);
- Py_VISIT(traverse_module_state->__pyx_codeobj__57);
+ Py_VISIT(traverse_module_state->__pyx_codeobj__56);
Py_VISIT(traverse_module_state->__pyx_codeobj__59);
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__66);
+ Py_VISIT(traverse_module_state->__pyx_codeobj__67);
+ Py_VISIT(traverse_module_state->__pyx_codeobj__68);
return 0;
}
#endif
@@ -4548,6 +4645,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#if CYTHON_USE_MODULE_STATE
#define __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo __pyx_mstate_global->__pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo
#define __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo __pyx_mstate_global->__pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo
+#define __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo __pyx_mstate_global->__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo
#define __pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj __pyx_mstate_global->__pyx_type_29_pydevd_sys_monitoring_cython__TryExceptContainerObj
#define __pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc __pyx_mstate_global->__pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc
#define __pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset __pyx_mstate_global->__pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset
@@ -4557,6 +4655,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#endif
#define __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo
#define __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo
+#define __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo
#define __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj __pyx_mstate_global->__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj
#define __pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_4904d5__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_11instruction_3exc
#define __pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset __pyx_mstate_global->__pyx_ptype___pyx_scope_struct____Pyx_CFunc_893235__29_pydevd_sys_monitoring_cython_object__lParen__etc_to_py_4code_18instruction_offset
@@ -4579,6 +4678,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_CMD_STEP_RETURN __pyx_mstate_global->__pyx_n_s_CMD_STEP_RETURN
#define __pyx_n_s_CMD_STEP_RETURN_MY_CODE __pyx_mstate_global->__pyx_n_s_CMD_STEP_RETURN_MY_CODE
#define __pyx_n_s_CodeLineInfo __pyx_mstate_global->__pyx_n_s_CodeLineInfo
+#define __pyx_n_s_CodeLineInfo___reduce_cython __pyx_mstate_global->__pyx_n_s_CodeLineInfo___reduce_cython
+#define __pyx_n_s_CodeLineInfo___setstate_cython __pyx_mstate_global->__pyx_n_s_CodeLineInfo___setstate_cython
#define __pyx_n_s_CodeType __pyx_mstate_global->__pyx_n_s_CodeType
#define __pyx_n_s_DEBUGGER_ID __pyx_mstate_global->__pyx_n_s_DEBUGGER_ID
#define __pyx_n_s_DEBUG_START __pyx_mstate_global->__pyx_n_s_DEBUG_START
@@ -4600,11 +4701,13 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_GlobalDebuggerHolder __pyx_mstate_global->__pyx_n_s_GlobalDebuggerHolder
#define __pyx_kp_s_Helper_class_to_remove_a_dummy __pyx_mstate_global->__pyx_kp_s_Helper_class_to_remove_a_dummy
#define __pyx_n_s_IGNORE_EXCEPTION_TAG __pyx_mstate_global->__pyx_n_s_IGNORE_EXCEPTION_TAG
+#define __pyx_n_s_IS_PY313_OR_GREATER __pyx_mstate_global->__pyx_n_s_IS_PY313_OR_GREATER
#define __pyx_kp_s_IgnoreException __pyx_mstate_global->__pyx_kp_s_IgnoreException
#define __pyx_n_s_ImportError __pyx_mstate_global->__pyx_n_s_ImportError
#define __pyx_kp_s_Incompatible_checksums_0x_x_vs_0 __pyx_mstate_global->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0
#define __pyx_kp_s_Incompatible_checksums_0x_x_vs_0_2 __pyx_mstate_global->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_2
#define __pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3 __pyx_mstate_global->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3
+#define __pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4 __pyx_mstate_global->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4
#define __pyx_n_s_JUMP __pyx_mstate_global->__pyx_n_s_JUMP
#define __pyx_n_s_LINE __pyx_mstate_global->__pyx_n_s_LINE
#define __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER __pyx_mstate_global->__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER
@@ -4613,7 +4716,6 @@ 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
@@ -4642,7 +4744,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#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__24 __pyx_mstate_global->__pyx_n_s__24
#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
@@ -4720,6 +4822,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_f_unhandled_frame __pyx_mstate_global->__pyx_n_s_f_unhandled_frame
#define __pyx_n_s_file_to_line_to_breakpoints __pyx_mstate_global->__pyx_n_s_file_to_line_to_breakpoints
#define __pyx_n_s_findlinestarts __pyx_mstate_global->__pyx_n_s_findlinestarts
+#define __pyx_n_s_first_line __pyx_mstate_global->__pyx_n_s_first_line
#define __pyx_n_s_frame __pyx_mstate_global->__pyx_n_s_frame
#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
@@ -4746,6 +4849,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_global_dbg __pyx_mstate_global->__pyx_n_s_global_dbg
#define __pyx_n_s_global_notify_skipped_step_in __pyx_mstate_global->__pyx_n_s_global_notify_skipped_step_in
#define __pyx_n_s_global_notify_skipped_step_in_l __pyx_mstate_global->__pyx_n_s_global_notify_skipped_step_in_l
+#define __pyx_n_s_handle __pyx_mstate_global->__pyx_n_s_handle
#define __pyx_n_s_handle_breakpoint_condition __pyx_mstate_global->__pyx_n_s_handle_breakpoint_condition
#define __pyx_n_s_handle_breakpoint_expression __pyx_mstate_global->__pyx_n_s_handle_breakpoint_expression
#define __pyx_n_s_handle_exception __pyx_mstate_global->__pyx_n_s_handle_exception
@@ -4764,20 +4868,21 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_is_alive __pyx_mstate_global->__pyx_n_s_is_alive
#define __pyx_n_s_is_bootstrap_frame_internal __pyx_mstate_global->__pyx_n_s_is_bootstrap_frame_internal
#define __pyx_n_s_is_coroutine __pyx_mstate_global->__pyx_n_s_is_coroutine
+#define __pyx_n_s_is_done __pyx_mstate_global->__pyx_n_s_is_done
#define __pyx_n_s_is_files_filter_enabled __pyx_mstate_global->__pyx_n_s_is_files_filter_enabled
#define __pyx_n_s_is_logpoint __pyx_mstate_global->__pyx_n_s_is_logpoint
#define __pyx_n_s_is_pydev_daemon_thread __pyx_mstate_global->__pyx_n_s_is_pydev_daemon_thread
-#define __pyx_n_s_is_thread_alive __pyx_mstate_global->__pyx_n_s_is_thread_alive
+#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
+#define __pyx_n_s_last_line __pyx_mstate_global->__pyx_n_s_last_line
#define __pyx_n_s_line __pyx_mstate_global->__pyx_n_s_line
#define __pyx_n_s_line_to_breakpoints __pyx_mstate_global->__pyx_n_s_line_to_breakpoints
#define __pyx_n_s_line_to_offset __pyx_mstate_global->__pyx_n_s_line_to_offset
-#define __pyx_kp_s_line_to_offset_first_line_last_l __pyx_mstate_global->__pyx_kp_s_line_to_offset_first_line_last_l
#define __pyx_n_s_linesep __pyx_mstate_global->__pyx_n_s_linesep
#define __pyx_n_s_local __pyx_mstate_global->__pyx_n_s_local
#define __pyx_n_s_main __pyx_mstate_global->__pyx_n_s_main
@@ -4808,7 +4913,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_pydb_disposed __pyx_mstate_global->__pyx_n_s_pydb_disposed
#define __pyx_n_s_pydev_bundle __pyx_mstate_global->__pyx_n_s_pydev_bundle
#define __pyx_n_s_pydev_bundle__pydev_saved_modul __pyx_mstate_global->__pyx_n_s_pydev_bundle__pydev_saved_modul
-#define __pyx_n_s_pydev_bundle_pydev_is_thread_al __pyx_mstate_global->__pyx_n_s_pydev_bundle_pydev_is_thread_al
#define __pyx_n_s_pydev_do_not_trace __pyx_mstate_global->__pyx_n_s_pydev_do_not_trace
#define __pyx_kp_s_pydev_execfile_py __pyx_mstate_global->__pyx_kp_s_pydev_execfile_py
#define __pyx_n_s_pydev_log __pyx_mstate_global->__pyx_n_s_pydev_log
@@ -4820,7 +4924,6 @@ 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
@@ -4839,6 +4942,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_n_s_pyx_type __pyx_mstate_global->__pyx_n_s_pyx_type
#define __pyx_n_s_pyx_unpickle_FuncCodeInfo __pyx_mstate_global->__pyx_n_s_pyx_unpickle_FuncCodeInfo
#define __pyx_n_s_pyx_unpickle_ThreadInfo __pyx_mstate_global->__pyx_n_s_pyx_unpickle_ThreadInfo
+#define __pyx_n_s_pyx_unpickle__CodeLineInfo __pyx_mstate_global->__pyx_n_s_pyx_unpickle__CodeLineInfo
#define __pyx_n_s_pyx_unpickle__TryExceptContain __pyx_mstate_global->__pyx_n_s_pyx_unpickle__TryExceptContain
#define __pyx_n_s_pyx_vtable __pyx_mstate_global->__pyx_n_s_pyx_vtable
#define __pyx_n_s_qualname __pyx_mstate_global->__pyx_n_s_qualname
@@ -4924,15 +5028,18 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_int_160 __pyx_mstate_global->__pyx_int_160
#define __pyx_int_206 __pyx_mstate_global->__pyx_int_206
#define __pyx_int_208 __pyx_mstate_global->__pyx_int_208
+#define __pyx_int_2520179 __pyx_mstate_global->__pyx_int_2520179
+#define __pyx_int_64377988 __pyx_mstate_global->__pyx_int_64377988
#define __pyx_int_66323410 __pyx_mstate_global->__pyx_int_66323410
-#define __pyx_int_92026781 __pyx_mstate_global->__pyx_int_92026781
+#define __pyx_int_66829570 __pyx_mstate_global->__pyx_int_66829570
+#define __pyx_int_81700340 __pyx_mstate_global->__pyx_int_81700340
+#define __pyx_int_95010005 __pyx_mstate_global->__pyx_int_95010005
#define __pyx_int_99967855 __pyx_mstate_global->__pyx_int_99967855
#define __pyx_int_189049472 __pyx_mstate_global->__pyx_int_189049472
#define __pyx_int_210464433 __pyx_mstate_global->__pyx_int_210464433
-#define __pyx_int_224549882 __pyx_mstate_global->__pyx_int_224549882
#define __pyx_int_230645316 __pyx_mstate_global->__pyx_int_230645316
#define __pyx_int_232881363 __pyx_mstate_global->__pyx_int_232881363
-#define __pyx_int_266084120 __pyx_mstate_global->__pyx_int_266084120
+#define __pyx_int_261234908 __pyx_mstate_global->__pyx_int_261234908
#define __pyx_int_neg_1 __pyx_mstate_global->__pyx_int_neg_1
#define __pyx_k__16 __pyx_mstate_global->__pyx_k__16
#define __pyx_tuple_ __pyx_mstate_global->__pyx_tuple_
@@ -4948,53 +5055,56 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
#define __pyx_tuple__19 __pyx_mstate_global->__pyx_tuple__19
#define __pyx_tuple__21 __pyx_mstate_global->__pyx_tuple__21
#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__23 __pyx_mstate_global->__pyx_tuple__23
+#define __pyx_tuple__25 __pyx_mstate_global->__pyx_tuple__25
#define __pyx_tuple__27 __pyx_mstate_global->__pyx_tuple__27
#define __pyx_tuple__28 __pyx_mstate_global->__pyx_tuple__28
#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__42 __pyx_mstate_global->__pyx_tuple__42
+#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__38 __pyx_mstate_global->__pyx_tuple__38
#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__48 __pyx_mstate_global->__pyx_tuple__48
#define __pyx_tuple__53 __pyx_mstate_global->__pyx_tuple__53
#define __pyx_tuple__55 __pyx_mstate_global->__pyx_tuple__55
-#define __pyx_tuple__56 __pyx_mstate_global->__pyx_tuple__56
+#define __pyx_tuple__57 __pyx_mstate_global->__pyx_tuple__57
#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_tuple__64 __pyx_mstate_global->__pyx_tuple__64
#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__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__26 __pyx_mstate_global->__pyx_codeobj__26
+#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__39 __pyx_mstate_global->__pyx_codeobj__39
#define __pyx_codeobj__40 __pyx_mstate_global->__pyx_codeobj__40
+#define __pyx_codeobj__41 __pyx_mstate_global->__pyx_codeobj__41
+#define __pyx_codeobj__42 __pyx_mstate_global->__pyx_codeobj__42
#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__51 __pyx_mstate_global->__pyx_codeobj__51
#define __pyx_codeobj__52 __pyx_mstate_global->__pyx_codeobj__52
#define __pyx_codeobj__54 __pyx_mstate_global->__pyx_codeobj__54
-#define __pyx_codeobj__57 __pyx_mstate_global->__pyx_codeobj__57
+#define __pyx_codeobj__56 __pyx_mstate_global->__pyx_codeobj__56
#define __pyx_codeobj__59 __pyx_mstate_global->__pyx_codeobj__59
#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__66 __pyx_mstate_global->__pyx_codeobj__66
+#define __pyx_codeobj__67 __pyx_mstate_global->__pyx_codeobj__67
+#define __pyx_codeobj__68 __pyx_mstate_global->__pyx_codeobj__68
/* #### Code section: module_code ### */
/* "cfunc.to_py":67
@@ -6305,7 +6415,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_get_smart_step_into_va
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":96
+/* "_pydevd_sys_monitoring_cython.pyx":94
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _notify_skipped_step_in_because_of_filters(py_db, frame): # <<<<<<<<<<<<<<
@@ -6333,7 +6443,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":103
+ /* "_pydevd_sys_monitoring_cython.pyx":101
* global _global_notify_skipped_step_in
*
* with _global_notify_skipped_step_in_lock: # <<<<<<<<<<<<<<
@@ -6341,11 +6451,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, 103, __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, 101, __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, 103, __pyx_L1_error)
+ __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_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, 103, __pyx_L3_error)
+ __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_GOTREF(__pyx_t_4);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -6365,7 +6475,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, 103, __pyx_L3_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 101, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
@@ -6381,20 +6491,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":104
+ /* "_pydevd_sys_monitoring_cython.pyx":102
*
* 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, 104, __pyx_L7_error)
+ __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_GOTREF(__pyx_t_1);
- __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 104, __pyx_L7_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 102, __pyx_L7_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_10) {
- /* "_pydevd_sys_monitoring_cython.pyx":107
+ /* "_pydevd_sys_monitoring_cython.pyx":105
* # Check with lock in place (callers should actually have checked
* # before without the lock in place due to performance).
* return # <<<<<<<<<<<<<<
@@ -6405,7 +6515,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":104
+ /* "_pydevd_sys_monitoring_cython.pyx":102
*
* with _global_notify_skipped_step_in_lock:
* if _global_notify_skipped_step_in: # <<<<<<<<<<<<<<
@@ -6414,23 +6524,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":108
+ /* "_pydevd_sys_monitoring_cython.pyx":106
* # 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, 108, __pyx_L7_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in, Py_True) < 0) __PYX_ERR(0, 106, __pyx_L7_error)
- /* "_pydevd_sys_monitoring_cython.pyx":109
+ /* "_pydevd_sys_monitoring_cython.pyx":107
* 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, 109, __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, 107, __pyx_L7_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = NULL;
__pyx_t_6 = 0;
@@ -6450,13 +6560,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, 109, __pyx_L7_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 107, __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":103
+ /* "_pydevd_sys_monitoring_cython.pyx":101
* global _global_notify_skipped_step_in
*
* with _global_notify_skipped_step_in_lock: # <<<<<<<<<<<<<<
@@ -6475,20 +6585,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, 103, __pyx_L9_except_error)
+ if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_3, &__pyx_t_4) < 0) __PYX_ERR(0, 101, __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, 103, __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, 101, __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, 103, __pyx_L9_except_error)
+ if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 101, __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, 103, __pyx_L9_except_error)
+ if (__pyx_t_10 < 0) __PYX_ERR(0, 101, __pyx_L9_except_error)
__pyx_t_12 = (!__pyx_t_10);
if (unlikely(__pyx_t_12)) {
__Pyx_GIVEREF(__pyx_t_1);
@@ -6496,7 +6606,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, 103, __pyx_L9_except_error)
+ __PYX_ERR(0, 101, __pyx_L9_except_error)
}
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
@@ -6528,7 +6638,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, 103, __pyx_L1_error)
+ if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 101, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
@@ -6540,7 +6650,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, 103, __pyx_L1_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 101, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
}
@@ -6557,7 +6667,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in
__pyx_L17:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":96
+ /* "_pydevd_sys_monitoring_cython.pyx":94
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _notify_skipped_step_in_because_of_filters(py_db, frame): # <<<<<<<<<<<<<<
@@ -6581,7 +6691,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__notify_skipped_step_in
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":116
+/* "_pydevd_sys_monitoring_cython.pyx":114
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* @cython.cfunc # <<<<<<<<<<<<<<
@@ -6603,7 +6713,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_
if (__pyx_optional_args) {
}
- /* "_pydevd_sys_monitoring_cython.pyx":118
+ /* "_pydevd_sys_monitoring_cython.pyx":116
* @cython.cfunc
* def _getframe(depth=0):
* return sys._getframe() # <<<<<<<<<<<<<<
@@ -6611,9 +6721,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, 118, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_sys); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 116, __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, 118, __pyx_L1_error)
+ __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_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -6634,7 +6744,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, 118, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 116, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
}
@@ -6642,7 +6752,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":116
+ /* "_pydevd_sys_monitoring_cython.pyx":114
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* @cython.cfunc # <<<<<<<<<<<<<<
@@ -6663,7 +6773,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__getframe(struct __pyx_
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":127
+/* "_pydevd_sys_monitoring_cython.pyx":125
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _get_bootstrap_frame(depth): # <<<<<<<<<<<<<<
@@ -6699,7 +6809,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":132
+ /* "_pydevd_sys_monitoring_cython.pyx":130
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -6715,7 +6825,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":133
+ /* "_pydevd_sys_monitoring_cython.pyx":131
* # fmt: on
* try:
* return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal # <<<<<<<<<<<<<<
@@ -6723,29 +6833,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, 133, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __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, 133, __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, 131, __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, 133, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __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, 133, __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, 131, __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, 133, __pyx_L3_error)
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 131, __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, 133, __pyx_L3_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_5)) __PYX_ERR(0, 131, __pyx_L3_error);
__Pyx_GIVEREF(__pyx_t_6);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 133, __pyx_L3_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 131, __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":132
+ /* "_pydevd_sys_monitoring_cython.pyx":130
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -6758,7 +6868,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":134
+ /* "_pydevd_sys_monitoring_cython.pyx":132
* try:
* return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal
* except: # <<<<<<<<<<<<<<
@@ -6767,12 +6877,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, 134, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_6, &__pyx_t_5) < 0) __PYX_ERR(0, 132, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_5);
- /* "_pydevd_sys_monitoring_cython.pyx":135
+ /* "_pydevd_sys_monitoring_cython.pyx":133
* return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal
* except:
* frame = _getframe(depth) # <<<<<<<<<<<<<<
@@ -6781,12 +6891,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, 135, __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, 133, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_v_frame = __pyx_t_7;
__pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":136
+ /* "_pydevd_sys_monitoring_cython.pyx":134
* except:
* frame = _getframe(depth)
* f_bootstrap = frame # <<<<<<<<<<<<<<
@@ -6796,7 +6906,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":138
+ /* "_pydevd_sys_monitoring_cython.pyx":136
* 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 # <<<<<<<<<<<<<<
@@ -6805,7 +6915,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":139
+ /* "_pydevd_sys_monitoring_cython.pyx":137
* # 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: # <<<<<<<<<<<<<<
@@ -6816,31 +6926,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":140
+ /* "_pydevd_sys_monitoring_cython.pyx":138
* 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, 140, __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, 138, __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, 140, __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, 138, __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":141
+ /* "_pydevd_sys_monitoring_cython.pyx":139
* 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, 141, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_splitext); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 139, __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, 141, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_n_s_basename); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 139, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_12);
__pyx_t_13 = NULL;
__pyx_t_14 = 0;
@@ -6860,7 +6970,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, 141, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 139, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_11);
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
}
@@ -6883,52 +6993,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, 141, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 139, __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, 141, __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, 139, __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":143
+ /* "_pydevd_sys_monitoring_cython.pyx":141
* 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, 143, __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, 141, __pyx_L5_except_error)
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":144
+ /* "_pydevd_sys_monitoring_cython.pyx":142
*
* 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, 144, __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, 142, __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, 144, __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, 142, __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, 144, __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, 142, __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, 144, __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, 142, __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":146
+ /* "_pydevd_sys_monitoring_cython.pyx":144
* if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"):
* # We need __bootstrap_inner, not __bootstrap.
* return None, False # <<<<<<<<<<<<<<
@@ -6943,7 +7053,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":144
+ /* "_pydevd_sys_monitoring_cython.pyx":142
*
* if name == "threading":
* if f_bootstrap.f_code.co_name in ("__bootstrap", "_bootstrap"): # <<<<<<<<<<<<<<
@@ -6952,38 +7062,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":148
+ /* "_pydevd_sys_monitoring_cython.pyx":146
* 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, 148, __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, 146, __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, 148, __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, 146, __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, 148, __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, 146, __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, 148, __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, 146, __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, 148, __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, 146, __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":150
+ /* "_pydevd_sys_monitoring_cython.pyx":148
* 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 # <<<<<<<<<<<<<<
@@ -6992,7 +7102,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":151
+ /* "_pydevd_sys_monitoring_cython.pyx":149
* # Note: be careful not to use threading.current_thread to avoid creating a dummy thread.
* is_bootstrap_frame_internal = True
* break # <<<<<<<<<<<<<<
@@ -7001,7 +7111,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
goto __pyx_L12_break;
- /* "_pydevd_sys_monitoring_cython.pyx":148
+ /* "_pydevd_sys_monitoring_cython.pyx":146
* return None, False
*
* elif f_bootstrap.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<<
@@ -7010,7 +7120,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":143
+ /* "_pydevd_sys_monitoring_cython.pyx":141
* name = splitext(basename(filename))[0]
*
* if name == "threading": # <<<<<<<<<<<<<<
@@ -7020,33 +7130,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
goto __pyx_L13;
}
- /* "_pydevd_sys_monitoring_cython.pyx":153
+ /* "_pydevd_sys_monitoring_cython.pyx":151
* 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, 153, __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, 151, __pyx_L5_except_error)
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":154
+ /* "_pydevd_sys_monitoring_cython.pyx":152
*
* 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, 154, __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, 152, __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, 154, __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, 152, __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, 154, __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, 152, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":155
+ /* "_pydevd_sys_monitoring_cython.pyx":153
* elif name == "pydev_monkey":
* if f_bootstrap.f_code.co_name == "__call__":
* is_bootstrap_frame_internal = True # <<<<<<<<<<<<<<
@@ -7055,7 +7165,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":156
+ /* "_pydevd_sys_monitoring_cython.pyx":154
* if f_bootstrap.f_code.co_name == "__call__":
* is_bootstrap_frame_internal = True
* break # <<<<<<<<<<<<<<
@@ -7064,7 +7174,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
goto __pyx_L12_break;
- /* "_pydevd_sys_monitoring_cython.pyx":154
+ /* "_pydevd_sys_monitoring_cython.pyx":152
*
* elif name == "pydev_monkey":
* if f_bootstrap.f_code.co_name == "__call__": # <<<<<<<<<<<<<<
@@ -7073,7 +7183,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":153
+ /* "_pydevd_sys_monitoring_cython.pyx":151
* break
*
* elif name == "pydev_monkey": # <<<<<<<<<<<<<<
@@ -7083,42 +7193,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
goto __pyx_L13;
}
- /* "_pydevd_sys_monitoring_cython.pyx":158
+ /* "_pydevd_sys_monitoring_cython.pyx":156
* 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, 158, __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, 156, __pyx_L5_except_error)
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":159
+ /* "_pydevd_sys_monitoring_cython.pyx":157
*
* 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, 159, __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, 157, __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, 159, __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, 157, __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, 159, __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, 157, __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, 159, __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, 157, __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":161
+ /* "_pydevd_sys_monitoring_cython.pyx":159
* if f_bootstrap.f_code.co_name in ("run", "main"):
* # We need to get to _exec
* return None, False # <<<<<<<<<<<<<<
@@ -7133,7 +7243,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":159
+ /* "_pydevd_sys_monitoring_cython.pyx":157
*
* elif name == "pydevd":
* if f_bootstrap.f_code.co_name in ("run", "main"): # <<<<<<<<<<<<<<
@@ -7142,23 +7252,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":163
+ /* "_pydevd_sys_monitoring_cython.pyx":161
* 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, 163, __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, 161, __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, 163, __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, 161, __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, 163, __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, 161, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
if (__pyx_t_15) {
- /* "_pydevd_sys_monitoring_cython.pyx":164
+ /* "_pydevd_sys_monitoring_cython.pyx":162
*
* if f_bootstrap.f_code.co_name == "_exec":
* is_bootstrap_frame_internal = True # <<<<<<<<<<<<<<
@@ -7167,7 +7277,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":165
+ /* "_pydevd_sys_monitoring_cython.pyx":163
* if f_bootstrap.f_code.co_name == "_exec":
* is_bootstrap_frame_internal = True
* break # <<<<<<<<<<<<<<
@@ -7176,7 +7286,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
goto __pyx_L12_break;
- /* "_pydevd_sys_monitoring_cython.pyx":163
+ /* "_pydevd_sys_monitoring_cython.pyx":161
* return None, False
*
* if f_bootstrap.f_code.co_name == "_exec": # <<<<<<<<<<<<<<
@@ -7185,7 +7295,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":158
+ /* "_pydevd_sys_monitoring_cython.pyx":156
* break
*
* elif name == "pydevd": # <<<<<<<<<<<<<<
@@ -7195,20 +7305,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
goto __pyx_L13;
}
- /* "_pydevd_sys_monitoring_cython.pyx":167
+ /* "_pydevd_sys_monitoring_cython.pyx":165
* 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, 167, __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, 165, __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":168
+ /* "_pydevd_sys_monitoring_cython.pyx":166
*
* elif f_bootstrap.f_back is None:
* break # <<<<<<<<<<<<<<
@@ -7217,7 +7327,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
goto __pyx_L12_break;
- /* "_pydevd_sys_monitoring_cython.pyx":167
+ /* "_pydevd_sys_monitoring_cython.pyx":165
* break
*
* elif f_bootstrap.f_back is None: # <<<<<<<<<<<<<<
@@ -7227,21 +7337,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
}
__pyx_L13:;
- /* "_pydevd_sys_monitoring_cython.pyx":170
+ /* "_pydevd_sys_monitoring_cython.pyx":168
* 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, 170, __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, 168, __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":172
+ /* "_pydevd_sys_monitoring_cython.pyx":170
* f_bootstrap = f_bootstrap.f_back
*
* if f_bootstrap is not None: # <<<<<<<<<<<<<<
@@ -7251,34 +7361,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":173
+ /* "_pydevd_sys_monitoring_cython.pyx":171
*
* 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, 173, __pyx_L5_except_error)
+ __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_GOTREF(__pyx_t_10);
- __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, 171, __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, 173, __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, 171, __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":174
+ /* "_pydevd_sys_monitoring_cython.pyx":172
* 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, 174, __pyx_L5_except_error)
+ __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_GOTREF(__pyx_t_7);
- 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)
+ 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)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":175
+ /* "_pydevd_sys_monitoring_cython.pyx":173
* _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 # <<<<<<<<<<<<<<
@@ -7286,22 +7396,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, 175, __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);
- __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_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_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, 175, __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);
- __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_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_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, 175, __pyx_L5_except_error)
+ __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 173, __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, 175, __pyx_L5_except_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_t_10)) __PYX_ERR(0, 173, __pyx_L5_except_error);
__Pyx_GIVEREF(__pyx_t_11);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_11)) __PYX_ERR(0, 175, __pyx_L5_except_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_11)) __PYX_ERR(0, 173, __pyx_L5_except_error);
__pyx_t_10 = 0;
__pyx_t_11 = 0;
__pyx_r = __pyx_t_7;
@@ -7311,7 +7421,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":172
+ /* "_pydevd_sys_monitoring_cython.pyx":170
* f_bootstrap = f_bootstrap.f_back
*
* if f_bootstrap is not None: # <<<<<<<<<<<<<<
@@ -7320,7 +7430,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":177
+ /* "_pydevd_sys_monitoring_cython.pyx":175
* return _thread_local_info.f_bootstrap, _thread_local_info.is_bootstrap_frame_internal
*
* return f_bootstrap, is_bootstrap_frame_internal # <<<<<<<<<<<<<<
@@ -7328,15 +7438,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
* # 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, 177, __pyx_L5_except_error)
+ __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_GOTREF(__pyx_t_7);
- __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 177, __pyx_L5_except_error)
+ __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 175, __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, 177, __pyx_L5_except_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_v_f_bootstrap)) __PYX_ERR(0, 175, __pyx_L5_except_error);
__Pyx_GIVEREF(__pyx_t_7);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_7)) __PYX_ERR(0, 177, __pyx_L5_except_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_t_7)) __PYX_ERR(0, 175, __pyx_L5_except_error);
__pyx_t_7 = 0;
__pyx_r = __pyx_t_11;
__pyx_t_11 = 0;
@@ -7346,7 +7456,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
goto __pyx_L6_except_return;
}
- /* "_pydevd_sys_monitoring_cython.pyx":132
+ /* "_pydevd_sys_monitoring_cython.pyx":130
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -7373,7 +7483,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
goto __pyx_L0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":127
+ /* "_pydevd_sys_monitoring_cython.pyx":125
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _get_bootstrap_frame(depth): # <<<<<<<<<<<<<<
@@ -7403,7 +7513,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_bootstrap_frame(Py
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":181
+/* "_pydevd_sys_monitoring_cython.pyx":179
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _get_unhandled_exception_frame(exc, int depth): # <<<<<<<<<<<<<<
@@ -7438,7 +7548,7 @@ 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":186
+ /* "_pydevd_sys_monitoring_cython.pyx":184
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -7454,23 +7564,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":188
+ /* "_pydevd_sys_monitoring_cython.pyx":186
* try:
* # Unhandled frame has to be from the same exception.
* if _thread_local_info.f_unhandled_exc is exc: # <<<<<<<<<<<<<<
* return _thread_local_info.f_unhandled_frame
* else:
*/
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 188, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 186, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled_exc); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 188, __pyx_L3_error)
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled_exc); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 186, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = (__pyx_t_5 == __pyx_v_exc);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (likely(__pyx_t_6)) {
- /* "_pydevd_sys_monitoring_cython.pyx":189
+ /* "_pydevd_sys_monitoring_cython.pyx":187
* # Unhandled frame has to be from the same exception.
* if _thread_local_info.f_unhandled_exc is exc:
* return _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<<
@@ -7478,16 +7588,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
* del _thread_local_info.f_unhandled_frame
*/
__Pyx_XDECREF(__pyx_r);
- __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 189, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 187, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_f_unhandled_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 189, __pyx_L3_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_f_unhandled_frame); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 187, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_r = __pyx_t_4;
__pyx_t_4 = 0;
goto __pyx_L7_try_return;
- /* "_pydevd_sys_monitoring_cython.pyx":188
+ /* "_pydevd_sys_monitoring_cython.pyx":186
* try:
* # Unhandled frame has to be from the same exception.
* if _thread_local_info.f_unhandled_exc is exc: # <<<<<<<<<<<<<<
@@ -7496,7 +7606,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":191
+ /* "_pydevd_sys_monitoring_cython.pyx":189
* return _thread_local_info.f_unhandled_frame
* else:
* del _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<<
@@ -7504,38 +7614,38 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
* raise AttributeError('Not the same exception')
*/
/*else*/ {
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 191, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 189, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_4);
- if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled_frame) < 0) __PYX_ERR(0, 191, __pyx_L3_error)
+ if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled_frame) < 0) __PYX_ERR(0, 189, __pyx_L3_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":192
+ /* "_pydevd_sys_monitoring_cython.pyx":190
* else:
* del _thread_local_info.f_unhandled_frame
* del _thread_local_info.f_unhandled_exc # <<<<<<<<<<<<<<
* raise AttributeError('Not the same exception')
* except:
*/
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 192, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 190, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_4);
- if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled_exc) < 0) __PYX_ERR(0, 192, __pyx_L3_error)
+ if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_unhandled_exc) < 0) __PYX_ERR(0, 190, __pyx_L3_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":193
+ /* "_pydevd_sys_monitoring_cython.pyx":191
* del _thread_local_info.f_unhandled_frame
* del _thread_local_info.f_unhandled_exc
* raise AttributeError('Not the same 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, 193, __pyx_L3_error)
+ __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin_AttributeError, __pyx_tuple__13, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 191, __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, 193, __pyx_L3_error)
+ __PYX_ERR(0, 191, __pyx_L3_error)
}
- /* "_pydevd_sys_monitoring_cython.pyx":186
+ /* "_pydevd_sys_monitoring_cython.pyx":184
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -7547,7 +7657,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":194
+ /* "_pydevd_sys_monitoring_cython.pyx":192
* del _thread_local_info.f_unhandled_exc
* raise AttributeError('Not the same exception')
* except: # <<<<<<<<<<<<<<
@@ -7556,29 +7666,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
/*except:*/ {
__Pyx_AddTraceback("_pydevd_sys_monitoring_cython._get_unhandled_exception_frame", __pyx_clineno, __pyx_lineno, __pyx_filename);
- if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_7) < 0) __PYX_ERR(0, 194, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_7) < 0) __PYX_ERR(0, 192, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_7);
- /* "_pydevd_sys_monitoring_cython.pyx":195
+ /* "_pydevd_sys_monitoring_cython.pyx":193
* raise AttributeError('Not the same exception')
* except:
* f_unhandled = _getframe(depth) # <<<<<<<<<<<<<<
*
* while f_unhandled is not None and f_unhandled.f_back is not None:
*/
- __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 195, __pyx_L5_except_error)
+ __pyx_t_8 = __Pyx_PyInt_From_int(__pyx_v_depth); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 193, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__pyx_t_10.__pyx_n = 1;
__pyx_t_10.depth = __pyx_t_8;
- __pyx_t_9 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 195, __pyx_L5_except_error)
+ __pyx_t_9 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_10); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 193, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__pyx_v_f_unhandled = __pyx_t_9;
__pyx_t_9 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":197
+ /* "_pydevd_sys_monitoring_cython.pyx":195
* f_unhandled = _getframe(depth)
*
* while f_unhandled is not None and f_unhandled.f_back is not None: # <<<<<<<<<<<<<<
@@ -7592,7 +7702,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__pyx_t_6 = __pyx_t_11;
goto __pyx_L14_bool_binop_done;
}
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 197, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 195, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__pyx_t_11 = (__pyx_t_9 != Py_None);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
@@ -7600,43 +7710,43 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__pyx_L14_bool_binop_done:;
if (!__pyx_t_6) break;
- /* "_pydevd_sys_monitoring_cython.pyx":198
+ /* "_pydevd_sys_monitoring_cython.pyx":196
*
* 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_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 198, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_unhandled, __pyx_n_s_f_back); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 196, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_XDECREF_SET(__pyx_v_f_back, __pyx_t_9);
__pyx_t_9 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":199
+ /* "_pydevd_sys_monitoring_cython.pyx":197
* 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_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 199, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 197, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 199, __pyx_L5_except_error)
+ __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 197, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
__Pyx_XDECREF_SET(__pyx_v_filename, __pyx_t_8);
__pyx_t_8 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":200
+ /* "_pydevd_sys_monitoring_cython.pyx":198
* 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_9, __pyx_n_s_splitext); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 200, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_splitext); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 198, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_n_s_basename); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 200, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_13, __pyx_n_s_basename); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 198, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_13);
__pyx_t_14 = NULL;
__pyx_t_15 = 0;
@@ -7656,7 +7766,7 @@ 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, 200, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 198, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_12);
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
}
@@ -7679,70 +7789,70 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_9, __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_8)) __PYX_ERR(0, 200, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 198, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
- __pyx_t_9 = __Pyx_GetItemInt(__pyx_t_8, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 200, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_GetItemInt(__pyx_t_8, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 198, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__Pyx_XDECREF_SET(__pyx_v_name, __pyx_t_9);
__pyx_t_9 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":204
+ /* "_pydevd_sys_monitoring_cython.pyx":202
* # 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_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_threading, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 204, __pyx_L5_except_error)
+ __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_threading, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 202, __pyx_L5_except_error)
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":205
+ /* "_pydevd_sys_monitoring_cython.pyx":203
* # 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_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 203, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __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_9); __pyx_t_9 = 0;
- __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 203, __pyx_L5_except_error)
if (!__pyx_t_11) {
} else {
__pyx_t_6 = __pyx_t_11;
goto __pyx_L18_bool_binop_done;
}
- __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap_2, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 203, __pyx_L5_except_error)
if (!__pyx_t_11) {
} else {
__pyx_t_6 = __pyx_t_11;
goto __pyx_L18_bool_binop_done;
}
- __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap_inner, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 203, __pyx_L5_except_error)
if (!__pyx_t_11) {
} else {
__pyx_t_6 = __pyx_t_11;
goto __pyx_L18_bool_binop_done;
}
- __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_bootstrap_inner_2, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 203, __pyx_L5_except_error)
if (!__pyx_t_11) {
} else {
__pyx_t_6 = __pyx_t_11;
goto __pyx_L18_bool_binop_done;
}
- __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 205, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 203, __pyx_L5_except_error)
__pyx_t_6 = __pyx_t_11;
__pyx_L18_bool_binop_done:;
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__pyx_t_11 = __pyx_t_6;
if (__pyx_t_11) {
- /* "_pydevd_sys_monitoring_cython.pyx":206
+ /* "_pydevd_sys_monitoring_cython.pyx":204
* if name == "threading":
* if f_back.f_code.co_name in ("__bootstrap", "_bootstrap", "__bootstrap_inner", "_bootstrap_inner", "run"):
* break # <<<<<<<<<<<<<<
@@ -7751,7 +7861,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
goto __pyx_L13_break;
- /* "_pydevd_sys_monitoring_cython.pyx":205
+ /* "_pydevd_sys_monitoring_cython.pyx":203
* # 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"): # <<<<<<<<<<<<<<
@@ -7760,7 +7870,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":204
+ /* "_pydevd_sys_monitoring_cython.pyx":202
* # 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": # <<<<<<<<<<<<<<
@@ -7770,33 +7880,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L16;
}
- /* "_pydevd_sys_monitoring_cython.pyx":208
+ /* "_pydevd_sys_monitoring_cython.pyx":206
* 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, 208, __pyx_L5_except_error)
+ __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, 206, __pyx_L5_except_error)
if (__pyx_t_11) {
- /* "_pydevd_sys_monitoring_cython.pyx":209
+ /* "_pydevd_sys_monitoring_cython.pyx":207
*
* elif name == "pydev_monkey":
* if f_back.f_code.co_name == "__call__": # <<<<<<<<<<<<<<
* break
*
*/
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 209, __pyx_L5_except_error)
+ __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_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_co_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 209, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_co_name); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 207, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
- __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_9, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 209, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_t_9, __pyx_n_s_call, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 207, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
if (__pyx_t_11) {
- /* "_pydevd_sys_monitoring_cython.pyx":210
+ /* "_pydevd_sys_monitoring_cython.pyx":208
* elif name == "pydev_monkey":
* if f_back.f_code.co_name == "__call__":
* break # <<<<<<<<<<<<<<
@@ -7805,7 +7915,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
goto __pyx_L13_break;
- /* "_pydevd_sys_monitoring_cython.pyx":209
+ /* "_pydevd_sys_monitoring_cython.pyx":207
*
* elif name == "pydev_monkey":
* if f_back.f_code.co_name == "__call__": # <<<<<<<<<<<<<<
@@ -7814,7 +7924,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":208
+ /* "_pydevd_sys_monitoring_cython.pyx":206
* break
*
* elif name == "pydev_monkey": # <<<<<<<<<<<<<<
@@ -7824,48 +7934,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L16;
}
- /* "_pydevd_sys_monitoring_cython.pyx":212
+ /* "_pydevd_sys_monitoring_cython.pyx":210
* 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, 212, __pyx_L5_except_error)
+ __pyx_t_11 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_pydevd, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 210, __pyx_L5_except_error)
if (__pyx_t_11) {
- /* "_pydevd_sys_monitoring_cython.pyx":213
+ /* "_pydevd_sys_monitoring_cython.pyx":211
*
* elif name == "pydevd":
* if f_back.f_code.co_name in ("_exec", "run", "main"): # <<<<<<<<<<<<<<
* break
*
*/
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 213, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 211, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 213, __pyx_L5_except_error)
+ __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 211, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 213, __pyx_L5_except_error)
+ __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_exec, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 211, __pyx_L5_except_error)
if (!__pyx_t_6) {
} else {
__pyx_t_11 = __pyx_t_6;
goto __pyx_L25_bool_binop_done;
}
- __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 213, __pyx_L5_except_error)
+ __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_run, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 211, __pyx_L5_except_error)
if (!__pyx_t_6) {
} else {
__pyx_t_11 = __pyx_t_6;
goto __pyx_L25_bool_binop_done;
}
- __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_main, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 213, __pyx_L5_except_error)
+ __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_t_8, __pyx_n_s_main, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 211, __pyx_L5_except_error)
__pyx_t_11 = __pyx_t_6;
__pyx_L25_bool_binop_done:;
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__pyx_t_6 = __pyx_t_11;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":214
+ /* "_pydevd_sys_monitoring_cython.pyx":212
* elif name == "pydevd":
* if f_back.f_code.co_name in ("_exec", "run", "main"):
* break # <<<<<<<<<<<<<<
@@ -7874,7 +7984,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
goto __pyx_L13_break;
- /* "_pydevd_sys_monitoring_cython.pyx":213
+ /* "_pydevd_sys_monitoring_cython.pyx":211
*
* elif name == "pydevd":
* if f_back.f_code.co_name in ("_exec", "run", "main"): # <<<<<<<<<<<<<<
@@ -7883,7 +7993,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":212
+ /* "_pydevd_sys_monitoring_cython.pyx":210
* break
*
* elif name == "pydevd": # <<<<<<<<<<<<<<
@@ -7893,29 +8003,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L16;
}
- /* "_pydevd_sys_monitoring_cython.pyx":216
+ /* "_pydevd_sys_monitoring_cython.pyx":214
* break
*
* elif name == "pydevd_runpy": # <<<<<<<<<<<<<<
* if f_back.f_code.co_name.startswith(("run", "_run")):
* break
*/
- __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, 216, __pyx_L5_except_error)
+ __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, 214, __pyx_L5_except_error)
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":217
+ /* "_pydevd_sys_monitoring_cython.pyx":215
*
* elif name == "pydevd_runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
* break
*
*/
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 217, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 215, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 217, __pyx_L5_except_error)
+ __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 215, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_12);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 217, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 215, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
__pyx_t_12 = NULL;
@@ -7936,15 +8046,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__14};
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15);
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
- if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 217, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 215, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 217, __pyx_L5_except_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 215, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":218
+ /* "_pydevd_sys_monitoring_cython.pyx":216
* elif name == "pydevd_runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")):
* break # <<<<<<<<<<<<<<
@@ -7953,7 +8063,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
goto __pyx_L13_break;
- /* "_pydevd_sys_monitoring_cython.pyx":217
+ /* "_pydevd_sys_monitoring_cython.pyx":215
*
* elif name == "pydevd_runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
@@ -7962,7 +8072,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":216
+ /* "_pydevd_sys_monitoring_cython.pyx":214
* break
*
* elif name == "pydevd_runpy": # <<<<<<<<<<<<<<
@@ -7972,29 +8082,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L16;
}
- /* "_pydevd_sys_monitoring_cython.pyx":220
+ /* "_pydevd_sys_monitoring_cython.pyx":218
* 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, 220, __pyx_L5_except_error)
+ __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, 218, __pyx_L5_except_error)
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":221
+ /* "_pydevd_sys_monitoring_cython.pyx":219
*
* elif name == "":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
* break
*
*/
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 221, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 219, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 221, __pyx_L5_except_error)
+ __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 219, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_12);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 221, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 219, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
__pyx_t_12 = NULL;
@@ -8015,15 +8125,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__14};
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15);
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
- if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 221, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 219, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 221, __pyx_L5_except_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 219, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":222
+ /* "_pydevd_sys_monitoring_cython.pyx":220
* elif name == "":
* if f_back.f_code.co_name.startswith(("run", "_run")):
* break # <<<<<<<<<<<<<<
@@ -8032,7 +8142,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
goto __pyx_L13_break;
- /* "_pydevd_sys_monitoring_cython.pyx":221
+ /* "_pydevd_sys_monitoring_cython.pyx":219
*
* elif name == "":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
@@ -8041,7 +8151,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":220
+ /* "_pydevd_sys_monitoring_cython.pyx":218
* break
*
* elif name == "": # <<<<<<<<<<<<<<
@@ -8051,29 +8161,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L16;
}
- /* "_pydevd_sys_monitoring_cython.pyx":224
+ /* "_pydevd_sys_monitoring_cython.pyx":222
* 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, 224, __pyx_L5_except_error)
+ __pyx_t_6 = (__Pyx_PyString_Equals(__pyx_v_name, __pyx_n_s_runpy, Py_EQ)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 222, __pyx_L5_except_error)
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":225
+ /* "_pydevd_sys_monitoring_cython.pyx":223
*
* elif name == "runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
* break
*
*/
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 225, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_v_f_back, __pyx_n_s_f_code); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 223, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
- __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 225, __pyx_L5_except_error)
+ __pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_co_name); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 223, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_12);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 225, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_n_s_startswith); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 223, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
__pyx_t_12 = NULL;
@@ -8094,15 +8204,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
PyObject *__pyx_callargs[2] = {__pyx_t_12, __pyx_tuple__14};
__pyx_t_8 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_15, 1+__pyx_t_15);
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
- if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 225, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 223, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 225, __pyx_L5_except_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 223, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":226
+ /* "_pydevd_sys_monitoring_cython.pyx":224
* elif name == "runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")):
* break # <<<<<<<<<<<<<<
@@ -8111,7 +8221,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
goto __pyx_L13_break;
- /* "_pydevd_sys_monitoring_cython.pyx":225
+ /* "_pydevd_sys_monitoring_cython.pyx":223
*
* elif name == "runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
@@ -8120,7 +8230,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":224
+ /* "_pydevd_sys_monitoring_cython.pyx":222
* break
*
* elif name == "runpy": # <<<<<<<<<<<<<<
@@ -8130,7 +8240,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
}
__pyx_L16:;
- /* "_pydevd_sys_monitoring_cython.pyx":228
+ /* "_pydevd_sys_monitoring_cython.pyx":226
* break
*
* f_unhandled = f_back # <<<<<<<<<<<<<<
@@ -8142,7 +8252,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
}
__pyx_L13_break:;
- /* "_pydevd_sys_monitoring_cython.pyx":230
+ /* "_pydevd_sys_monitoring_cython.pyx":228
* f_unhandled = f_back
*
* if f_unhandled is not None: # <<<<<<<<<<<<<<
@@ -8152,31 +8262,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__pyx_t_6 = (__pyx_v_f_unhandled != Py_None);
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":231
+ /* "_pydevd_sys_monitoring_cython.pyx":229
*
* if f_unhandled is not None:
* _thread_local_info.f_unhandled_frame = f_unhandled # <<<<<<<<<<<<<<
* _thread_local_info.f_unhandled_exc = exc
* return _thread_local_info.f_unhandled_frame
*/
- __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 231, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 229, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
- if (__Pyx_PyObject_SetAttrStr(__pyx_t_8, __pyx_n_s_f_unhandled_frame, __pyx_v_f_unhandled) < 0) __PYX_ERR(0, 231, __pyx_L5_except_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_8, __pyx_n_s_f_unhandled_frame, __pyx_v_f_unhandled) < 0) __PYX_ERR(0, 229, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":232
+ /* "_pydevd_sys_monitoring_cython.pyx":230
* if f_unhandled is not None:
* _thread_local_info.f_unhandled_frame = f_unhandled
* _thread_local_info.f_unhandled_exc = exc # <<<<<<<<<<<<<<
* return _thread_local_info.f_unhandled_frame
*
*/
- __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 232, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 230, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
- if (__Pyx_PyObject_SetAttrStr(__pyx_t_8, __pyx_n_s_f_unhandled_exc, __pyx_v_exc) < 0) __PYX_ERR(0, 232, __pyx_L5_except_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_8, __pyx_n_s_f_unhandled_exc, __pyx_v_exc) < 0) __PYX_ERR(0, 230, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":233
+ /* "_pydevd_sys_monitoring_cython.pyx":231
* _thread_local_info.f_unhandled_frame = f_unhandled
* _thread_local_info.f_unhandled_exc = exc
* return _thread_local_info.f_unhandled_frame # <<<<<<<<<<<<<<
@@ -8184,9 +8294,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
* return f_unhandled
*/
__Pyx_XDECREF(__pyx_r);
- __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 233, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 231, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
- __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_f_unhandled_frame); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 233, __pyx_L5_except_error)
+ __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_f_unhandled_frame); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 231, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__pyx_r = __pyx_t_9;
@@ -8196,7 +8306,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
goto __pyx_L6_except_return;
- /* "_pydevd_sys_monitoring_cython.pyx":230
+ /* "_pydevd_sys_monitoring_cython.pyx":228
* f_unhandled = f_back
*
* if f_unhandled is not None: # <<<<<<<<<<<<<<
@@ -8205,7 +8315,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":235
+ /* "_pydevd_sys_monitoring_cython.pyx":233
* return _thread_local_info.f_unhandled_frame
*
* return f_unhandled # <<<<<<<<<<<<<<
@@ -8221,7 +8331,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L6_except_return;
}
- /* "_pydevd_sys_monitoring_cython.pyx":186
+ /* "_pydevd_sys_monitoring_cython.pyx":184
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -8248,7 +8358,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
goto __pyx_L0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":181
+ /* "_pydevd_sys_monitoring_cython.pyx":179
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _get_unhandled_exception_frame(exc, int depth): # <<<<<<<<<<<<<<
@@ -8278,7 +8388,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exceptio
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":256
+/* "_pydevd_sys_monitoring_cython.pyx":255
* # 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): # <<<<<<<<<<<<<<
@@ -8331,7 +8441,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, 256, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 255, __pyx_L3_error)
else goto __pyx_L5_argtuple_error;
CYTHON_FALLTHROUGH;
case 1:
@@ -8339,9 +8449,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, 256, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 255, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); __PYX_ERR(0, 256, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 1); __PYX_ERR(0, 255, __pyx_L3_error)
}
CYTHON_FALLTHROUGH;
case 2:
@@ -8349,9 +8459,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, 256, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 255, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); __PYX_ERR(0, 256, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 2); __PYX_ERR(0, 255, __pyx_L3_error)
}
CYTHON_FALLTHROUGH;
case 3:
@@ -8359,14 +8469,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, 256, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 255, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); __PYX_ERR(0, 256, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, 3); __PYX_ERR(0, 255, __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, 256, __pyx_L3_error)
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 255, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 4)) {
goto __pyx_L5_argtuple_error;
@@ -8377,13 +8487,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, 256, __pyx_L3_error)
- __pyx_v_trace = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_trace == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 256, __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, 255, __pyx_L3_error)
+ __pyx_v_trace = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_trace == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 255, __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, 256, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 255, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -8397,7 +8507,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, 256, __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, 255, __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 */
@@ -8419,12 +8529,13 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct
int __pyx_r;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("__init__", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":261
+ /* "_pydevd_sys_monitoring_cython.pyx":260
* # ENDIF
* # fmt: on
* self.thread = thread # <<<<<<<<<<<<<<
@@ -8437,7 +8548,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":262
+ /* "_pydevd_sys_monitoring_cython.pyx":261
* # fmt: on
* self.thread = thread
* self.thread_ident = thread_ident # <<<<<<<<<<<<<<
@@ -8446,12 +8557,12 @@ 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":263
+ /* "_pydevd_sys_monitoring_cython.pyx":262
* self.thread = thread
* self.thread_ident = thread_ident
* self.additional_info = additional_info # <<<<<<<<<<<<<<
* self.trace = trace
- *
+ * self._use_is_stopped = hasattr(thread, '_is_stopped')
*/
__Pyx_INCREF((PyObject *)__pyx_v_additional_info);
__Pyx_GIVEREF((PyObject *)__pyx_v_additional_info);
@@ -8459,14 +8570,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":264
+ /* "_pydevd_sys_monitoring_cython.pyx":263
* self.thread_ident = thread_ident
* self.additional_info = additional_info
* self.trace = trace # <<<<<<<<<<<<<<
- *
+ * self._use_is_stopped = hasattr(thread, '_is_stopped')
*
*/
- __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 264, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_v_trace); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 263, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_GIVEREF(__pyx_t_1);
__Pyx_GOTREF(__pyx_v_self->trace);
@@ -8474,7 +8585,23 @@ 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":256
+ /* "_pydevd_sys_monitoring_cython.pyx":264
+ * self.additional_info = additional_info
+ * self.trace = trace
+ * self._use_is_stopped = hasattr(thread, '_is_stopped') # <<<<<<<<<<<<<<
+ *
+ * # fmt: off
+ */
+ __pyx_t_2 = __Pyx_HasAttr(__pyx_v_thread, __pyx_n_s_is_stopped); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 264, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyBool_FromLong(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 264, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v_self->_use_is_stopped);
+ __Pyx_DECREF(__pyx_v_self->_use_is_stopped);
+ __pyx_v_self->_use_is_stopped = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "_pydevd_sys_monitoring_cython.pyx":255
* # 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): # <<<<<<<<<<<<<<
@@ -8494,6 +8621,121 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo___init__(struct
return __pyx_r;
}
+/* "_pydevd_sys_monitoring_cython.pyx":268
+ * # fmt: off
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * cdef bint is_thread_alive(self): # <<<<<<<<<<<<<<
+ * # ELSE
+ * # def is_thread_alive(self):
+ */
+
+static int __pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v_self) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ int __pyx_t_1;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ unsigned int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("is_thread_alive", 1);
+
+ /* "_pydevd_sys_monitoring_cython.pyx":273
+ * # ENDIF
+ * # fmt: on
+ * if self._use_is_stopped: # <<<<<<<<<<<<<<
+ * return not self.thread._is_stopped
+ * else:
+ */
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_self->_use_is_stopped); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 273, __pyx_L1_error)
+ if (__pyx_t_1) {
+
+ /* "_pydevd_sys_monitoring_cython.pyx":274
+ * # fmt: on
+ * if self._use_is_stopped:
+ * return not self.thread._is_stopped # <<<<<<<<<<<<<<
+ * else:
+ * return not self.thread._handle.is_done()
+ */
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_n_s_is_stopped); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 274, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 274, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_r = (!__pyx_t_1);
+ goto __pyx_L0;
+
+ /* "_pydevd_sys_monitoring_cython.pyx":273
+ * # ENDIF
+ * # fmt: on
+ * if self._use_is_stopped: # <<<<<<<<<<<<<<
+ * return not self.thread._is_stopped
+ * else:
+ */
+ }
+
+ /* "_pydevd_sys_monitoring_cython.pyx":276
+ * return not self.thread._is_stopped
+ * else:
+ * return not self.thread._handle.is_done() # <<<<<<<<<<<<<<
+ *
+ *
+ */
+ /*else*/ {
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->thread, __pyx_n_s_handle); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 276, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_is_done); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 276, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_4);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = NULL;
+ __pyx_t_5 = 0;
+ #if CYTHON_UNPACK_METHODS
+ if (likely(PyMethod_Check(__pyx_t_4))) {
+ __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4);
+ if (likely(__pyx_t_3)) {
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4);
+ __Pyx_INCREF(__pyx_t_3);
+ __Pyx_INCREF(function);
+ __Pyx_DECREF_SET(__pyx_t_4, function);
+ __pyx_t_5 = 1;
+ }
+ }
+ #endif
+ {
+ PyObject *__pyx_callargs[2] = {__pyx_t_3, NULL};
+ __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 0+__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 276, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ }
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 276, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_r = (!__pyx_t_1);
+ goto __pyx_L0;
+ }
+
+ /* "_pydevd_sys_monitoring_cython.pyx":268
+ * # fmt: off
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * cdef bint is_thread_alive(self): # <<<<<<<<<<<<<<
+ * # ELSE
+ * # def is_thread_alive(self):
+ */
+
+ /* function exit code */
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.ThreadInfo.is_thread_alive", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
/* "(tree fragment)":1
* def __reduce_cython__(self): # <<<<<<<<<<<<<<
* cdef tuple state
@@ -8560,32 +8802,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
/* "(tree fragment)":5
* cdef object _dict
* cdef bint use_setstate
- * state = (self.additional_info, self.thread, self.thread_ident, self.trace) # <<<<<<<<<<<<<<
+ * state = (self._use_is_stopped, self.additional_info, self.thread, self.thread_ident, self.trace) # <<<<<<<<<<<<<<
* _dict = getattr(self, '__dict__', None)
* if _dict is not None:
*/
__pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_self->thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = PyTuple_New(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __pyx_t_2 = PyTuple_New(5); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
+ __Pyx_INCREF(__pyx_v_self->_use_is_stopped);
+ __Pyx_GIVEREF(__pyx_v_self->_use_is_stopped);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_v_self->_use_is_stopped)) __PYX_ERR(1, 5, __pyx_L1_error);
__Pyx_INCREF((PyObject *)__pyx_v_self->additional_info);
__Pyx_GIVEREF((PyObject *)__pyx_v_self->additional_info);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_v_self->additional_info))) __PYX_ERR(1, 5, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, ((PyObject *)__pyx_v_self->additional_info))) __PYX_ERR(1, 5, __pyx_L1_error);
__Pyx_INCREF(__pyx_v_self->thread);
__Pyx_GIVEREF(__pyx_v_self->thread);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_v_self->thread)) __PYX_ERR(1, 5, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_self->thread)) __PYX_ERR(1, 5, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_1);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error);
__Pyx_INCREF(__pyx_v_self->trace);
__Pyx_GIVEREF(__pyx_v_self->trace);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 3, __pyx_v_self->trace)) __PYX_ERR(1, 5, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 4, __pyx_v_self->trace)) __PYX_ERR(1, 5, __pyx_L1_error);
__pyx_t_1 = 0;
__pyx_v_state = ((PyObject*)__pyx_t_2);
__pyx_t_2 = 0;
/* "(tree fragment)":6
* cdef bint use_setstate
- * state = (self.additional_info, self.thread, self.thread_ident, self.trace)
+ * state = (self._use_is_stopped, self.additional_info, self.thread, self.thread_ident, self.trace)
* _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<<
* if _dict is not None:
* state += (_dict,)
@@ -8596,7 +8841,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
__pyx_t_2 = 0;
/* "(tree fragment)":7
- * state = (self.additional_info, self.thread, self.thread_ident, self.trace)
+ * state = (self._use_is_stopped, self.additional_info, self.thread, self.thread_ident, self.trace)
* _dict = getattr(self, '__dict__', None)
* if _dict is not None: # <<<<<<<<<<<<<<
* state += (_dict,)
@@ -8628,12 +8873,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
* state += (_dict,)
* use_setstate = True # <<<<<<<<<<<<<<
* else:
- * use_setstate = self.additional_info is not None or self.thread is not None or self.trace is not None
+ * use_setstate = self._use_is_stopped is not None or self.additional_info is not None or self.thread is not None or self.trace is not None
*/
__pyx_v_use_setstate = 1;
/* "(tree fragment)":7
- * state = (self.additional_info, self.thread, self.thread_ident, self.trace)
+ * state = (self._use_is_stopped, self.additional_info, self.thread, self.thread_ident, self.trace)
* _dict = getattr(self, '__dict__', None)
* if _dict is not None: # <<<<<<<<<<<<<<
* state += (_dict,)
@@ -8645,11 +8890,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
/* "(tree fragment)":11
* use_setstate = True
* else:
- * use_setstate = self.additional_info is not None or self.thread is not None or self.trace is not None # <<<<<<<<<<<<<<
+ * use_setstate = self._use_is_stopped is not None or self.additional_info is not None or self.thread is not None or self.trace is not None # <<<<<<<<<<<<<<
* if use_setstate:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, None), state
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, None), state
*/
/*else*/ {
+ __pyx_t_4 = (__pyx_v_self->_use_is_stopped != Py_None);
+ if (!__pyx_t_4) {
+ } else {
+ __pyx_t_3 = __pyx_t_4;
+ goto __pyx_L4_bool_binop_done;
+ }
__pyx_t_4 = (((PyObject *)__pyx_v_self->additional_info) != Py_None);
if (!__pyx_t_4) {
} else {
@@ -8671,19 +8922,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
/* "(tree fragment)":12
* else:
- * use_setstate = self.additional_info is not None or self.thread is not None or self.trace is not None
+ * use_setstate = self._use_is_stopped is not None or self.additional_info is not None or self.thread is not None or self.trace is not None
* if use_setstate: # <<<<<<<<<<<<<<
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, None), state
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, None), state
* else:
*/
if (__pyx_v_use_setstate) {
/* "(tree fragment)":13
- * use_setstate = self.additional_info is not None or self.thread is not None or self.trace is not None
+ * use_setstate = self._use_is_stopped is not None or self.additional_info is not None or self.thread is not None or self.trace is not None
* if use_setstate:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, None), state # <<<<<<<<<<<<<<
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, None), state # <<<<<<<<<<<<<<
* else:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state)
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state)
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle_ThreadInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error)
@@ -8693,9 +8944,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
__Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
__Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))))) __PYX_ERR(1, 13, __pyx_L1_error);
- __Pyx_INCREF(__pyx_int_224549882);
- __Pyx_GIVEREF(__pyx_int_224549882);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_int_224549882)) __PYX_ERR(1, 13, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_int_81700340);
+ __Pyx_GIVEREF(__pyx_int_81700340);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_int_81700340)) __PYX_ERR(1, 13, __pyx_L1_error);
__Pyx_INCREF(Py_None);
__Pyx_GIVEREF(Py_None);
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, Py_None)) __PYX_ERR(1, 13, __pyx_L1_error);
@@ -8716,17 +8967,17 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
/* "(tree fragment)":12
* else:
- * use_setstate = self.additional_info is not None or self.thread is not None or self.trace is not None
+ * use_setstate = self._use_is_stopped is not None or self.additional_info is not None or self.thread is not None or self.trace is not None
* if use_setstate: # <<<<<<<<<<<<<<
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, None), state
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, None), state
* else:
*/
}
/* "(tree fragment)":15
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, None), state
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, None), state
* else:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state) # <<<<<<<<<<<<<<
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state) # <<<<<<<<<<<<<<
* def __setstate_cython__(self, __pyx_state):
* __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state)
*/
@@ -8739,9 +8990,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
__Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
__Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))))) __PYX_ERR(1, 15, __pyx_L1_error);
- __Pyx_INCREF(__pyx_int_224549882);
- __Pyx_GIVEREF(__pyx_int_224549882);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_int_224549882)) __PYX_ERR(1, 15, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_int_81700340);
+ __Pyx_GIVEREF(__pyx_int_81700340);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_int_81700340)) __PYX_ERR(1, 15, __pyx_L1_error);
__Pyx_INCREF(__pyx_v_state);
__Pyx_GIVEREF(__pyx_v_state);
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 2, __pyx_v_state)) __PYX_ERR(1, 15, __pyx_L1_error);
@@ -8781,7 +9032,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_2__reduce
/* "(tree fragment)":16
* else:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state)
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state)
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
* __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state)
*/
@@ -8892,7 +9143,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta
__Pyx_RefNannySetupContext("__setstate_cython__", 1);
/* "(tree fragment)":17
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state)
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state)
* def __setstate_cython__(self, __pyx_state):
* __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state) # <<<<<<<<<<<<<<
*/
@@ -8903,7 +9154,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta
/* "(tree fragment)":16
* else:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state)
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state)
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
* __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state)
*/
@@ -8921,7 +9172,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10ThreadInfo_4__setsta
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":272
+/* "_pydevd_sys_monitoring_cython.pyx":284
* """
*
* def __init__(self, dummy_thread): # <<<<<<<<<<<<<<
@@ -8985,7 +9236,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 272, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 284, __pyx_L3_error)
else goto __pyx_L5_argtuple_error;
CYTHON_FALLTHROUGH;
case 1:
@@ -8993,14 +9244,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 272, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 284, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); __PYX_ERR(0, 272, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, 1); __PYX_ERR(0, 284, __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, 272, __pyx_L3_error)
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 284, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 2)) {
goto __pyx_L5_argtuple_error;
@@ -9013,7 +9264,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, 272, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 284, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -9049,40 +9300,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":273
+ /* "_pydevd_sys_monitoring_cython.pyx":285
*
* 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, 273, __pyx_L1_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_dummy_thread_2, __pyx_v_dummy_thread) < 0) __PYX_ERR(0, 285, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":274
+ /* "_pydevd_sys_monitoring_cython.pyx":286
* 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, 274, __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, 286, __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, 274, __pyx_L1_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_v_self, __pyx_n_s_tident, __pyx_t_1) < 0) __PYX_ERR(0, 286, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":281
+ /* "_pydevd_sys_monitoring_cython.pyx":293
* # 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, 281, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __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, 281, __pyx_L1_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_1, __pyx_n_s_track_dummy_thread_ref, __pyx_v_self) < 0) __PYX_ERR(0, 293, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":272
+ /* "_pydevd_sys_monitoring_cython.pyx":284
* """
*
* def __init__(self, dummy_thread): # <<<<<<<<<<<<<<
@@ -9103,7 +9354,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":283
+/* "_pydevd_sys_monitoring_cython.pyx":295
* _thread_local_info._track_dummy_thread_ref = self
*
* def __del__(self): # <<<<<<<<<<<<<<
@@ -9164,12 +9415,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 283, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 295, __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, 283, __pyx_L3_error)
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__del__") < 0)) __PYX_ERR(0, 295, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 1)) {
goto __pyx_L5_argtuple_error;
@@ -9180,7 +9431,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, 283, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__del__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 295, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -9227,7 +9478,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":284
+ /* "_pydevd_sys_monitoring_cython.pyx":296
*
* def __del__(self):
* with threading._active_limbo_lock: # <<<<<<<<<<<<<<
@@ -9235,14 +9486,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, 284, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 296, __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, 284, __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, 296, __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, 284, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_n_s_exit); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 296, __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, 284, __pyx_L3_error)
+ __pyx_t_4 = __Pyx_PyObject_LookupSpecial(__pyx_t_2, __pyx_n_s_enter); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 296, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -9262,7 +9513,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, 284, __pyx_L3_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 296, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
@@ -9278,19 +9529,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn
__Pyx_XGOTREF(__pyx_t_9);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":285
+ /* "_pydevd_sys_monitoring_cython.pyx":297
* 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, 285, __pyx_L7_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 297, __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, 285, __pyx_L7_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 297, __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, 285, __pyx_L7_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_tident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 297, __pyx_L7_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -9311,30 +9562,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, 285, __pyx_L7_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __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, 285, __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, 297, __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":286
+ /* "_pydevd_sys_monitoring_cython.pyx":298
* 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, 286, __pyx_L7_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 298, __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, 286, __pyx_L7_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_pop); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 298, __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, 286, __pyx_L7_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self, __pyx_n_s_tident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 298, __pyx_L7_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -9355,13 +9606,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, 286, __pyx_L7_error)
+ if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 298, __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":285
+ /* "_pydevd_sys_monitoring_cython.pyx":297
* def __del__(self):
* with threading._active_limbo_lock:
* if _thread_active.get(self._tident) is self._dummy_thread: # <<<<<<<<<<<<<<
@@ -9370,7 +9621,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":284
+ /* "_pydevd_sys_monitoring_cython.pyx":296
*
* def __del__(self):
* with threading._active_limbo_lock: # <<<<<<<<<<<<<<
@@ -9389,20 +9640,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, 284, __pyx_L9_except_error)
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 296, __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, 284, __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, 296, __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, 284, __pyx_L9_except_error)
+ if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 296, __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, 284, __pyx_L9_except_error)
+ if (__pyx_t_10 < 0) __PYX_ERR(0, 296, __pyx_L9_except_error)
__pyx_t_12 = (!__pyx_t_10);
if (unlikely(__pyx_t_12)) {
__Pyx_GIVEREF(__pyx_t_4);
@@ -9410,7 +9661,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, 284, __pyx_L9_except_error)
+ __PYX_ERR(0, 296, __pyx_L9_except_error)
}
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
@@ -9436,7 +9687,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, 284, __pyx_L1_error)
+ if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 296, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
@@ -9451,7 +9702,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn
__pyx_L17:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":283
+ /* "_pydevd_sys_monitoring_cython.pyx":295
* _thread_local_info._track_dummy_thread_ref = self
*
* def __del__(self): # <<<<<<<<<<<<<<
@@ -9475,7 +9726,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_23_DeleteDummyThreadOn
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":291
+/* "_pydevd_sys_monitoring_cython.pyx":303
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _create_thread_info(depth): # <<<<<<<<<<<<<<
@@ -9500,22 +9751,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
PyObject *(*__pyx_t_7)(PyObject *);
int __pyx_t_8;
int __pyx_t_9;
- PyObject *__pyx_t_10 = NULL;
+ int __pyx_t_10;
PyObject *__pyx_t_11 = NULL;
PyObject *__pyx_t_12 = NULL;
+ PyObject *__pyx_t_13 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("_create_thread_info", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":299
+ /* "_pydevd_sys_monitoring_cython.pyx":311
* # 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, 299, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_get_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 311, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -9535,24 +9787,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, 299, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 311, __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, 299, __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, 311, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_v_thread_ident = __pyx_t_5;
- /* "_pydevd_sys_monitoring_cython.pyx":301
+ /* "_pydevd_sys_monitoring_cython.pyx":313
* 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, 301, __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, 313, __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, 301, __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, 313, __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))) {
@@ -9561,7 +9813,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, 301, __pyx_L1_error)
+ __PYX_ERR(0, 313, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -9574,15 +9826,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, 301, __pyx_L1_error)
+ __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 313, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 301, __pyx_L1_error)
+ __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 313, __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, 301, __pyx_L1_error)
+ __pyx_t_6 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 313, __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);
@@ -9590,7 +9842,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, 301, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_7(__pyx_t_6), 2) < 0) __PYX_ERR(0, 313, __pyx_L1_error)
__pyx_t_7 = NULL;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
goto __pyx_L4_unpacking_done;
@@ -9598,7 +9850,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, 301, __pyx_L1_error)
+ __PYX_ERR(0, 313, __pyx_L1_error)
__pyx_L4_unpacking_done:;
}
__pyx_v_f_bootstrap_frame = __pyx_t_1;
@@ -9606,7 +9858,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":302
+ /* "_pydevd_sys_monitoring_cython.pyx":314
*
* f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1)
* if f_bootstrap_frame is None: # <<<<<<<<<<<<<<
@@ -9616,7 +9868,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":303
+ /* "_pydevd_sys_monitoring_cython.pyx":315
* 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. # <<<<<<<<<<<<<<
@@ -9627,7 +9879,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":302
+ /* "_pydevd_sys_monitoring_cython.pyx":314
*
* f_bootstrap_frame, is_bootstrap_frame_internal = _get_bootstrap_frame(depth + 1)
* if f_bootstrap_frame is None: # <<<<<<<<<<<<<<
@@ -9636,17 +9888,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":305
+ /* "_pydevd_sys_monitoring_cython.pyx":317
* 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, 305, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_bootstrap_frame_internal); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 317, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":306
+ /* "_pydevd_sys_monitoring_cython.pyx":318
*
* if is_bootstrap_frame_internal:
* t = None # <<<<<<<<<<<<<<
@@ -9656,47 +9908,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":307
+ /* "_pydevd_sys_monitoring_cython.pyx":319
* 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, 307, __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, 319, __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, 307, __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, 319, __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, 307, __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, 319, __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, 307, __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, 319, __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, 307, __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, 319, __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":309
+ /* "_pydevd_sys_monitoring_cython.pyx":321
* 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, 309, __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, 321, __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, 309, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 321, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -9717,31 +9969,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, 309, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 321, __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":310
+ /* "_pydevd_sys_monitoring_cython.pyx":322
* # 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, 310, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 322, __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, 310, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Thread); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 322, __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, 310, __pyx_L1_error)
+ __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_1); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 322, __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":311
+ /* "_pydevd_sys_monitoring_cython.pyx":323
* t = f_bootstrap_frame.f_locals.get("self")
* if not isinstance(t, threading.Thread):
* t = None # <<<<<<<<<<<<<<
@@ -9751,7 +10003,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":310
+ /* "_pydevd_sys_monitoring_cython.pyx":322
* # 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): # <<<<<<<<<<<<<<
@@ -9760,7 +10012,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":307
+ /* "_pydevd_sys_monitoring_cython.pyx":319
* if is_bootstrap_frame_internal:
* t = None
* if f_bootstrap_frame.f_code.co_name in ("__bootstrap_inner", "_bootstrap_inner", "is_alive"): # <<<<<<<<<<<<<<
@@ -9770,41 +10022,41 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
goto __pyx_L7;
}
- /* "_pydevd_sys_monitoring_cython.pyx":313
+ /* "_pydevd_sys_monitoring_cython.pyx":325
* 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, 313, __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, 325, __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, 313, __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, 325, __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, 313, __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, 325, __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, 313, __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, 325, __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":315
+ /* "_pydevd_sys_monitoring_cython.pyx":327
* 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, 315, __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, 327, __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, 315, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 327, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -9825,31 +10077,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, 315, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 327, __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":316
+ /* "_pydevd_sys_monitoring_cython.pyx":328
* # 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, 316, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 328, __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, 316, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_Thread); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 328, __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, 316, __pyx_L1_error)
+ __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_2); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 328, __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":317
+ /* "_pydevd_sys_monitoring_cython.pyx":329
* t = f_bootstrap_frame.f_locals.get("t")
* if not isinstance(t, threading.Thread):
* t = None # <<<<<<<<<<<<<<
@@ -9859,7 +10111,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":316
+ /* "_pydevd_sys_monitoring_cython.pyx":328
* # 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): # <<<<<<<<<<<<<<
@@ -9868,7 +10120,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":313
+ /* "_pydevd_sys_monitoring_cython.pyx":325
* t = None
*
* elif f_bootstrap_frame.f_code.co_name in ("_exec", "__call__"): # <<<<<<<<<<<<<<
@@ -9878,7 +10130,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
}
__pyx_L7:;
- /* "_pydevd_sys_monitoring_cython.pyx":305
+ /* "_pydevd_sys_monitoring_cython.pyx":317
* return None # Case for threading when it's still in bootstrap or early in pydevd.
*
* if is_bootstrap_frame_internal: # <<<<<<<<<<<<<<
@@ -9888,7 +10140,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
goto __pyx_L6;
}
- /* "_pydevd_sys_monitoring_cython.pyx":323
+ /* "_pydevd_sys_monitoring_cython.pyx":335
* # In practice this means it's some unmanaged thread, so, creating
* # a dummy thread is ok in this use-case.
* t = threading.current_thread() # <<<<<<<<<<<<<<
@@ -9896,9 +10148,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, 323, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_threading); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 335, __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, 323, __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, 335, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = NULL;
@@ -9919,7 +10171,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, 323, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 335, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
}
@@ -9928,7 +10180,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
}
__pyx_L6:;
- /* "_pydevd_sys_monitoring_cython.pyx":325
+ /* "_pydevd_sys_monitoring_cython.pyx":337
* t = threading.current_thread()
*
* if t is None: # <<<<<<<<<<<<<<
@@ -9938,19 +10190,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":326
+ /* "_pydevd_sys_monitoring_cython.pyx":338
*
* if t is None:
* t = _thread_active.get(thread_ident) # <<<<<<<<<<<<<<
*
- * if isinstance(t, threading._DummyThread):
+ * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER:
*/
- __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 326, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_thread_active); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 338, __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, 326, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 338, __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, 326, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 338, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_6 = NULL;
__pyx_t_4 = 0;
@@ -9971,14 +10223,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, 326, __pyx_L1_error)
+ 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_DECREF_SET(__pyx_v_t, __pyx_t_2);
__pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":325
+ /* "_pydevd_sys_monitoring_cython.pyx":337
* t = threading.current_thread()
*
* if t is None: # <<<<<<<<<<<<<<
@@ -9987,30 +10239,42 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":328
+ /* "_pydevd_sys_monitoring_cython.pyx":340
* t = _thread_active.get(thread_ident)
*
- * if isinstance(t, threading._DummyThread): # <<<<<<<<<<<<<<
+ * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<<
* _thread_local_info._ref = _DeleteDummyThreadOnDel(t)
*
*/
- __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 328, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_threading); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 340, __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, 328, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DummyThread); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 340, __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, 328, __pyx_L1_error)
+ __pyx_t_9 = PyObject_IsInstance(__pyx_v_t, __pyx_t_3); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(0, 340, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ if (__pyx_t_9) {
+ } else {
+ __pyx_t_8 = __pyx_t_9;
+ goto __pyx_L17_bool_binop_done;
+ }
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 340, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 340, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_10 = (!__pyx_t_9);
+ __pyx_t_8 = __pyx_t_10;
+ __pyx_L17_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":329
+ /* "_pydevd_sys_monitoring_cython.pyx":341
*
- * if isinstance(t, threading._DummyThread):
+ * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER:
* _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, 329, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DeleteDummyThreadOnDel); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_1 = NULL;
__pyx_t_4 = 0;
@@ -10030,26 +10294,26 @@ 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, 329, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 341, __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, 329, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __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, 329, __pyx_L1_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_2, __pyx_n_s_ref, __pyx_t_3) < 0) __PYX_ERR(0, 341, __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":328
+ /* "_pydevd_sys_monitoring_cython.pyx":340
* t = _thread_active.get(thread_ident)
*
- * if isinstance(t, threading._DummyThread): # <<<<<<<<<<<<<<
+ * if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<<
* _thread_local_info._ref = _DeleteDummyThreadOnDel(t)
*
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":331
+ /* "_pydevd_sys_monitoring_cython.pyx":343
* _thread_local_info._ref = _DeleteDummyThreadOnDel(t)
*
* if t is None: # <<<<<<<<<<<<<<
@@ -10059,7 +10323,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":332
+ /* "_pydevd_sys_monitoring_cython.pyx":344
*
* if t is None:
* return None # <<<<<<<<<<<<<<
@@ -10070,7 +10334,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":331
+ /* "_pydevd_sys_monitoring_cython.pyx":343
* _thread_local_info._ref = _DeleteDummyThreadOnDel(t)
*
* if t is None: # <<<<<<<<<<<<<<
@@ -10079,20 +10343,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":334
+ /* "_pydevd_sys_monitoring_cython.pyx":346
* 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, 334, __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, 346, __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, 334, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 346, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":335
+ /* "_pydevd_sys_monitoring_cython.pyx":347
*
* if getattr(t, "is_pydev_daemon_thread", False):
* return ThreadInfo(t, thread_ident, False, None) # <<<<<<<<<<<<<<
@@ -10100,30 +10364,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, 335, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 347, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 335, __pyx_L1_error)
+ __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 347, __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, 335, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_t)) __PYX_ERR(0, 347, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_2);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2)) __PYX_ERR(0, 335, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2)) __PYX_ERR(0, 347, __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, 335, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_False)) __PYX_ERR(0, 347, __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, 335, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, Py_None)) __PYX_ERR(0, 347, __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, 335, __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, 347, __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":334
+ /* "_pydevd_sys_monitoring_cython.pyx":346
* return None
*
* if getattr(t, "is_pydev_daemon_thread", False): # <<<<<<<<<<<<<<
@@ -10132,7 +10396,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":337
+ /* "_pydevd_sys_monitoring_cython.pyx":349
* return ThreadInfo(t, thread_ident, False, None)
* else:
* try: # <<<<<<<<<<<<<<
@@ -10143,25 +10407,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
- __Pyx_ExceptionSave(&__pyx_t_10, &__pyx_t_11, &__pyx_t_12);
- __Pyx_XGOTREF(__pyx_t_10);
+ __Pyx_ExceptionSave(&__pyx_t_11, &__pyx_t_12, &__pyx_t_13);
__Pyx_XGOTREF(__pyx_t_11);
__Pyx_XGOTREF(__pyx_t_12);
+ __Pyx_XGOTREF(__pyx_t_13);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":338
+ /* "_pydevd_sys_monitoring_cython.pyx":350
* 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, 338, __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, 350, __pyx_L21_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_v_additional_info = __pyx_t_2;
__pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":339
+ /* "_pydevd_sys_monitoring_cython.pyx":351
* try:
* additional_info = t.additional_info
* if additional_info is None: # <<<<<<<<<<<<<<
@@ -10171,20 +10435,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":340
+ /* "_pydevd_sys_monitoring_cython.pyx":352
* 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, 340, __pyx_L19_error)
+ __pyx_t_2 = __Pyx_PyObject_CallNoArg(__pyx_builtin_AttributeError); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 352, __pyx_L21_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, 340, __pyx_L19_error)
+ __PYX_ERR(0, 352, __pyx_L21_error)
- /* "_pydevd_sys_monitoring_cython.pyx":339
+ /* "_pydevd_sys_monitoring_cython.pyx":351
* try:
* additional_info = t.additional_info
* if additional_info is None: # <<<<<<<<<<<<<<
@@ -10193,7 +10457,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":337
+ /* "_pydevd_sys_monitoring_cython.pyx":349
* return ThreadInfo(t, thread_ident, False, None)
* else:
* try: # <<<<<<<<<<<<<<
@@ -10201,17 +10465,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
* if additional_info is None:
*/
}
- __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0;
__Pyx_XDECREF(__pyx_t_11); __pyx_t_11 = 0;
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
- goto __pyx_L24_try_end;
- __pyx_L19_error:;
+ __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 0;
+ goto __pyx_L26_try_end;
+ __pyx_L21_error:;
__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;
__Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":341
+ /* "_pydevd_sys_monitoring_cython.pyx":353
* if additional_info is None:
* raise AttributeError()
* except: # <<<<<<<<<<<<<<
@@ -10220,50 +10484,50 @@ 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, 341, __pyx_L21_except_error)
+ if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_3, &__pyx_t_1) < 0) __PYX_ERR(0, 353, __pyx_L23_except_error)
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_1);
- /* "_pydevd_sys_monitoring_cython.pyx":342
+ /* "_pydevd_sys_monitoring_cython.pyx":354
* 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, 342, __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, 354, __pyx_L23_except_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_XDECREF_SET(__pyx_v_additional_info, __pyx_t_6);
__pyx_t_6 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
- goto __pyx_L20_exception_handled;
+ goto __pyx_L22_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":337
+ /* "_pydevd_sys_monitoring_cython.pyx":349
* return ThreadInfo(t, thread_ident, False, None)
* else:
* try: # <<<<<<<<<<<<<<
* additional_info = t.additional_info
* if additional_info is None:
*/
- __pyx_L21_except_error:;
- __Pyx_XGIVEREF(__pyx_t_10);
+ __pyx_L23_except_error:;
__Pyx_XGIVEREF(__pyx_t_11);
__Pyx_XGIVEREF(__pyx_t_12);
- __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
+ __Pyx_XGIVEREF(__pyx_t_13);
+ __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13);
goto __pyx_L1_error;
- __pyx_L20_exception_handled:;
- __Pyx_XGIVEREF(__pyx_t_10);
+ __pyx_L22_exception_handled:;
__Pyx_XGIVEREF(__pyx_t_11);
__Pyx_XGIVEREF(__pyx_t_12);
- __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12);
- __pyx_L24_try_end:;
+ __Pyx_XGIVEREF(__pyx_t_13);
+ __Pyx_ExceptionReset(__pyx_t_11, __pyx_t_12, __pyx_t_13);
+ __pyx_L26_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":343
+ /* "_pydevd_sys_monitoring_cython.pyx":355
* except:
* additional_info = set_additional_thread_info(t)
* return ThreadInfo(t, thread_ident, True, additional_info) # <<<<<<<<<<<<<<
@@ -10271,23 +10535,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, 343, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 355, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 343, __pyx_L1_error)
+ __pyx_t_3 = PyTuple_New(4); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 355, __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, 343, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_t)) __PYX_ERR(0, 355, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_1);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(0, 343, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(0, 355, __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, 343, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_True)) __PYX_ERR(0, 355, __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, 343, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 3, __pyx_v_additional_info)) __PYX_ERR(0, 355, __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, 343, __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, 355, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_r = __pyx_t_1;
@@ -10295,7 +10559,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
goto __pyx_L0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":291
+ /* "_pydevd_sys_monitoring_cython.pyx":303
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _create_thread_info(depth): # <<<<<<<<<<<<<<
@@ -10321,7 +10585,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__create_thread_info(PyO
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":372
+/* "_pydevd_sys_monitoring_cython.pyx":384
* # ENDIF
* # fmt: on
* def __init__(self): # <<<<<<<<<<<<<<
@@ -10362,7 +10626,7 @@ 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":373
+ /* "_pydevd_sys_monitoring_cython.pyx":385
* # fmt: on
* def __init__(self):
* self.co_filename: str = "" # <<<<<<<<<<<<<<
@@ -10375,7 +10639,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
__Pyx_DECREF(__pyx_v_self->co_filename);
__pyx_v_self->co_filename = __pyx_kp_s__15;
- /* "_pydevd_sys_monitoring_cython.pyx":374
+ /* "_pydevd_sys_monitoring_cython.pyx":386
* def __init__(self):
* self.co_filename: str = ""
* self.canonical_normalized_filename: str = "" # <<<<<<<<<<<<<<
@@ -10388,7 +10652,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
__Pyx_DECREF(__pyx_v_self->canonical_normalized_filename);
__pyx_v_self->canonical_normalized_filename = __pyx_kp_s__15;
- /* "_pydevd_sys_monitoring_cython.pyx":375
+ /* "_pydevd_sys_monitoring_cython.pyx":387
* self.co_filename: str = ""
* self.canonical_normalized_filename: str = ""
* self.abs_path_filename: str = "" # <<<<<<<<<<<<<<
@@ -10401,7 +10665,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
__Pyx_DECREF(__pyx_v_self->abs_path_filename);
__pyx_v_self->abs_path_filename = __pyx_kp_s__15;
- /* "_pydevd_sys_monitoring_cython.pyx":379
+ /* "_pydevd_sys_monitoring_cython.pyx":391
* # 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 # <<<<<<<<<<<<<<
@@ -10410,7 +10674,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":381
+ /* "_pydevd_sys_monitoring_cython.pyx":393
* self.always_skip_code: bool = False
*
* self.breakpoint_found: bool = False # <<<<<<<<<<<<<<
@@ -10419,7 +10683,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
*/
__pyx_v_self->breakpoint_found = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":382
+ /* "_pydevd_sys_monitoring_cython.pyx":394
*
* self.breakpoint_found: bool = False
* self.function_breakpoint_found: bool = False # <<<<<<<<<<<<<<
@@ -10428,7 +10692,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":385
+ /* "_pydevd_sys_monitoring_cython.pyx":397
*
* # A plugin can choose whether to stop on function calls or line events.
* self.plugin_line_breakpoint_found: bool = False # <<<<<<<<<<<<<<
@@ -10437,7 +10701,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":386
+ /* "_pydevd_sys_monitoring_cython.pyx":398
* # 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 # <<<<<<<<<<<<<<
@@ -10446,7 +10710,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":388
+ /* "_pydevd_sys_monitoring_cython.pyx":400
* self.plugin_call_breakpoint_found: bool = False
*
* self.plugin_line_stepping: bool = False # <<<<<<<<<<<<<<
@@ -10455,7 +10719,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":389
+ /* "_pydevd_sys_monitoring_cython.pyx":401
*
* self.plugin_line_stepping: bool = False
* self.plugin_call_stepping: bool = False # <<<<<<<<<<<<<<
@@ -10464,7 +10728,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":390
+ /* "_pydevd_sys_monitoring_cython.pyx":402
* self.plugin_line_stepping: bool = False
* self.plugin_call_stepping: bool = False
* self.plugin_return_stepping: bool = False # <<<<<<<<<<<<<<
@@ -10473,7 +10737,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":395
+ /* "_pydevd_sys_monitoring_cython.pyx":407
* # 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 # <<<<<<<<<<<<<<
@@ -10482,14 +10746,14 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
*/
__pyx_v_self->pydb_mtime = -1;
- /* "_pydevd_sys_monitoring_cython.pyx":397
+ /* "_pydevd_sys_monitoring_cython.pyx":409
* 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, 397, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 409, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_GIVEREF(__pyx_t_1);
__Pyx_GOTREF(__pyx_v_self->bp_line_to_breakpoint);
@@ -10497,7 +10761,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":398
+ /* "_pydevd_sys_monitoring_cython.pyx":410
*
* self.bp_line_to_breakpoint: Dict[int, Any] = {}
* self.function_breakpoint = None # <<<<<<<<<<<<<<
@@ -10510,7 +10774,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":403
+ /* "_pydevd_sys_monitoring_cython.pyx":415
* # 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 # <<<<<<<<<<<<<<
@@ -10519,7 +10783,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":407
+ /* "_pydevd_sys_monitoring_cython.pyx":419
* # 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 # <<<<<<<<<<<<<<
@@ -10528,7 +10792,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":409
+ /* "_pydevd_sys_monitoring_cython.pyx":421
* self.filtered_out_force_checked: bool = False
*
* self.try_except_container_obj: Optional[_TryExceptContainerObj] = None # <<<<<<<<<<<<<<
@@ -10541,7 +10805,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":410
+ /* "_pydevd_sys_monitoring_cython.pyx":422
*
* self.try_except_container_obj: Optional[_TryExceptContainerObj] = None
* self.code_obj: CodeType = None # <<<<<<<<<<<<<<
@@ -10554,7 +10818,7 @@ 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":411
+ /* "_pydevd_sys_monitoring_cython.pyx":423
* self.try_except_container_obj: Optional[_TryExceptContainerObj] = None
* self.code_obj: CodeType = None
* self.co_name: str = "" # <<<<<<<<<<<<<<
@@ -10567,7 +10831,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
__Pyx_DECREF(__pyx_v_self->co_name);
__pyx_v_self->co_name = __pyx_kp_s__15;
- /* "_pydevd_sys_monitoring_cython.pyx":372
+ /* "_pydevd_sys_monitoring_cython.pyx":384
* # ENDIF
* # fmt: on
* def __init__(self): # <<<<<<<<<<<<<<
@@ -10587,12 +10851,12 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo___init__(stru
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":413
+/* "_pydevd_sys_monitoring_cython.pyx":425
* 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:
+ * if start is not None and end is not None and line is not None:
*/
/* Python wrapper */
@@ -10648,12 +10912,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 413, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 425, __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, 413, __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, 425, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 1)) {
goto __pyx_L5_argtuple_error;
@@ -10664,7 +10928,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, 413, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("get_line_of_offset", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 425, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -10714,14 +10978,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":414
+ /* "_pydevd_sys_monitoring_cython.pyx":426
*
* 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
+ * if start is not None and end is not None and line is not None:
+ * if offset >= start and offset <= end:
*/
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_self->code_obj, __pyx_n_s_co_lines); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 414, __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, 426, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -10741,7 +11005,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, 414, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 426, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
}
@@ -10750,9 +11014,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, 414, __pyx_L1_error)
+ __pyx_t_5 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 426, __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, 414, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 426, __pyx_L1_error)
}
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
for (;;) {
@@ -10761,28 +11025,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, 414, __pyx_L1_error)
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 426, __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, 414, __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, 426, __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, 414, __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, 426, __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, 414, __pyx_L1_error)
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 426, __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, 414, __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, 426, __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, 414, __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, 426, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
#endif
}
@@ -10792,7 +11056,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, 414, __pyx_L1_error)
+ else __PYX_ERR(0, 426, __pyx_L1_error)
}
break;
}
@@ -10804,7 +11068,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, 414, __pyx_L1_error)
+ __PYX_ERR(0, 426, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -10820,17 +11084,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, 414, __pyx_L1_error)
+ __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 426, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 414, __pyx_L1_error)
+ __pyx_t_7 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 426, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- __pyx_t_8 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 414, __pyx_L1_error)
+ __pyx_t_8 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 426, __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, 414, __pyx_L1_error)
+ __pyx_t_9 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 426, __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);
@@ -10840,7 +11104,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, 414, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_9), 3) < 0) __PYX_ERR(0, 426, __pyx_L1_error)
__pyx_t_10 = NULL;
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
goto __pyx_L6_unpacking_done;
@@ -10848,7 +11112,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, 414, __pyx_L1_error)
+ __PYX_ERR(0, 426, __pyx_L1_error)
__pyx_L6_unpacking_done:;
}
__Pyx_XDECREF_SET(__pyx_v_start, __pyx_t_3);
@@ -10858,63 +11122,96 @@ 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":415
+ /* "_pydevd_sys_monitoring_cython.pyx":427
* 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
+ * if start is not None and end is not None and line is not None: # <<<<<<<<<<<<<<
+ * if offset >= start and offset <= end:
+ * return line
*/
- __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, 415, __pyx_L1_error)
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 415, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_12 = (__pyx_v_start != Py_None);
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, 415, __pyx_L1_error)
- __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 415, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_12 = (__pyx_v_end != Py_None);
+ if (__pyx_t_12) {
+ } else {
+ __pyx_t_11 = __pyx_t_12;
+ goto __pyx_L8_bool_binop_done;
+ }
+ __pyx_t_12 = (__pyx_v_line != Py_None);
__pyx_t_11 = __pyx_t_12;
__pyx_L8_bool_binop_done:;
if (__pyx_t_11) {
- /* "_pydevd_sys_monitoring_cython.pyx":416
+ /* "_pydevd_sys_monitoring_cython.pyx":428
* for start, end, line in self.code_obj.co_lines():
- * if offset >= start and offset <= end:
- * return line # <<<<<<<<<<<<<<
+ * if start is not None and end is not None and line is not None:
+ * 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, 428, __pyx_L1_error)
+ __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 428, __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_L12_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, 428, __pyx_L1_error)
+ __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 428, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_11 = __pyx_t_12;
+ __pyx_L12_bool_binop_done:;
+ if (__pyx_t_11) {
+
+ /* "_pydevd_sys_monitoring_cython.pyx":429
+ * if start is not None and end is not None and line is not None:
+ * if offset >= start and offset <= end:
+ * return line # <<<<<<<<<<<<<<
* return -1
*
*/
- __Pyx_XDECREF(__pyx_r);
- __Pyx_INCREF(__pyx_v_line);
- __pyx_r = __pyx_v_line;
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- goto __pyx_L0;
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v_line);
+ __pyx_r = __pyx_v_line;
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":415
- * def get_line_of_offset(self, offset):
+ /* "_pydevd_sys_monitoring_cython.pyx":428
* for start, end, line in self.code_obj.co_lines():
- * if offset >= start and offset <= end: # <<<<<<<<<<<<<<
- * return line
+ * if start is not None and end is not None and line is not None:
+ * if offset >= start and offset <= end: # <<<<<<<<<<<<<<
+ * return line
* return -1
+ */
+ }
+
+ /* "_pydevd_sys_monitoring_cython.pyx":427
+ * def get_line_of_offset(self, offset):
+ * for start, end, line in self.code_obj.co_lines():
+ * if start is not None and end is not None and line is not None: # <<<<<<<<<<<<<<
+ * if offset >= start and offset <= end:
+ * return line
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":414
+ /* "_pydevd_sys_monitoring_cython.pyx":426
*
* 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
+ * if start is not None and end is not None and line is not None:
+ * if offset >= start and offset <= end:
*/
}
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":417
- * if offset >= start and offset <= end:
- * return line
+ /* "_pydevd_sys_monitoring_cython.pyx":430
+ * if offset >= start and offset <= end:
+ * return line
* return -1 # <<<<<<<<<<<<<<
*
*
@@ -10924,12 +11221,12 @@ 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":413
+ /* "_pydevd_sys_monitoring_cython.pyx":425
* 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:
+ * if start is not None and end is not None and line is not None:
*/
/* function exit code */
@@ -11491,7 +11788,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_6__sets
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":422
+/* "_pydevd_sys_monitoring_cython.pyx":435
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _get_thread_info(bint create, int depth): # <<<<<<<<<<<<<<
@@ -11517,7 +11814,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":432
+ /* "_pydevd_sys_monitoring_cython.pyx":445
* May return None if the thread is still not active.
* """
* try: # <<<<<<<<<<<<<<
@@ -11533,7 +11830,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":435
+ /* "_pydevd_sys_monitoring_cython.pyx":448
* # Note: changing to a `dict[thread.ident] = thread_info` had almost no
* # effect in the performance.
* return _thread_local_info.thread_info # <<<<<<<<<<<<<<
@@ -11541,16 +11838,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, 435, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 448, __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, 435, __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, 448, __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":432
+ /* "_pydevd_sys_monitoring_cython.pyx":445
* May return None if the thread is still not active.
* """
* try: # <<<<<<<<<<<<<<
@@ -11562,7 +11859,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":436
+ /* "_pydevd_sys_monitoring_cython.pyx":449
* # effect in the performance.
* return _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -11571,12 +11868,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, 436, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 449, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":437
+ /* "_pydevd_sys_monitoring_cython.pyx":450
* return _thread_local_info.thread_info
* except:
* if not create: # <<<<<<<<<<<<<<
@@ -11586,7 +11883,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":438
+ /* "_pydevd_sys_monitoring_cython.pyx":451
* except:
* if not create:
* return None # <<<<<<<<<<<<<<
@@ -11600,7 +11897,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":437
+ /* "_pydevd_sys_monitoring_cython.pyx":450
* return _thread_local_info.thread_info
* except:
* if not create: # <<<<<<<<<<<<<<
@@ -11609,22 +11906,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":439
+ /* "_pydevd_sys_monitoring_cython.pyx":452
* 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, 439, __pyx_L5_except_error)
+ __pyx_t_8 = __Pyx_PyInt_From_long((__pyx_v_depth + 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 452, __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, 439, __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, 452, __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":440
+ /* "_pydevd_sys_monitoring_cython.pyx":453
* return None
* thread_info = _create_thread_info(depth + 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -11634,7 +11931,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":441
+ /* "_pydevd_sys_monitoring_cython.pyx":454
* thread_info = _create_thread_info(depth + 1)
* if thread_info is None:
* return None # <<<<<<<<<<<<<<
@@ -11648,7 +11945,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":440
+ /* "_pydevd_sys_monitoring_cython.pyx":453
* return None
* thread_info = _create_thread_info(depth + 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -11657,19 +11954,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":443
+ /* "_pydevd_sys_monitoring_cython.pyx":456
* 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, 443, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 456, __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, 443, __pyx_L5_except_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_9, __pyx_n_s_thread_info, __pyx_v_thread_info) < 0) __PYX_ERR(0, 456, __pyx_L5_except_error)
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":444
+ /* "_pydevd_sys_monitoring_cython.pyx":457
*
* _thread_local_info.thread_info = thread_info
* return _thread_local_info.thread_info # <<<<<<<<<<<<<<
@@ -11677,9 +11974,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, 444, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 457, __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, 444, __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, 457, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
__pyx_r = __pyx_t_8;
@@ -11690,7 +11987,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __
goto __pyx_L6_except_return;
}
- /* "_pydevd_sys_monitoring_cython.pyx":432
+ /* "_pydevd_sys_monitoring_cython.pyx":445
* May return None if the thread is still not active.
* """
* try: # <<<<<<<<<<<<<<
@@ -11717,7 +12014,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __
goto __pyx_L0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":422
+ /* "_pydevd_sys_monitoring_cython.pyx":435
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _get_thread_info(bint create, int depth): # <<<<<<<<<<<<<<
@@ -11741,23 +12038,606 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_thread_info(int __
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":453
+/* "_pydevd_sys_monitoring_cython.pyx":476
+ * # fmt: off
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * def __init__(self, dict line_to_offset, int first_line, int last_line): # <<<<<<<<<<<<<<
+ * self.line_to_offset = line_to_offset
+ * self.first_line = first_line
+ */
+
+/* Python wrapper */
+static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
+static int __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
+ PyObject *__pyx_v_line_to_offset = 0;
+ int __pyx_v_first_line;
+ int __pyx_v_last_line;
+ CYTHON_UNUSED Py_ssize_t __pyx_nargs;
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
+ PyObject* values[3] = {0,0,0};
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__ (wrapper)", 0);
+ #if CYTHON_ASSUME_SAFE_MACROS
+ __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
+ #else
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1;
+ #endif
+ __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
+ {
+ PyObject **__pyx_pyargnames[] = {&__pyx_n_s_line_to_offset,&__pyx_n_s_first_line,&__pyx_n_s_last_line,0};
+ if (__pyx_kwds) {
+ Py_ssize_t kw_args;
+ switch (__pyx_nargs) {
+ case 3: values[2] = __Pyx_Arg_VARARGS(__pyx_args, 2);
+ CYTHON_FALLTHROUGH;
+ case 2: values[1] = __Pyx_Arg_VARARGS(__pyx_args, 1);
+ CYTHON_FALLTHROUGH;
+ case 1: values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0);
+ CYTHON_FALLTHROUGH;
+ case 0: break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ kw_args = __Pyx_NumKwargs_VARARGS(__pyx_kwds);
+ switch (__pyx_nargs) {
+ case 0:
+ if (likely((values[0] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_line_to_offset)) != 0)) {
+ (void)__Pyx_Arg_NewRef_VARARGS(values[0]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 476, __pyx_L3_error)
+ else goto __pyx_L5_argtuple_error;
+ CYTHON_FALLTHROUGH;
+ case 1:
+ if (likely((values[1] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_first_line)) != 0)) {
+ (void)__Pyx_Arg_NewRef_VARARGS(values[1]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 476, __pyx_L3_error)
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 1); __PYX_ERR(0, 476, __pyx_L3_error)
+ }
+ CYTHON_FALLTHROUGH;
+ case 2:
+ if (likely((values[2] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_last_line)) != 0)) {
+ (void)__Pyx_Arg_NewRef_VARARGS(values[2]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 476, __pyx_L3_error)
+ else {
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, 2); __PYX_ERR(0, 476, __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, 476, __pyx_L3_error)
+ }
+ } else if (unlikely(__pyx_nargs != 3)) {
+ goto __pyx_L5_argtuple_error;
+ } else {
+ values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0);
+ values[1] = __Pyx_Arg_VARARGS(__pyx_args, 1);
+ values[2] = __Pyx_Arg_VARARGS(__pyx_args, 2);
+ }
+ __pyx_v_line_to_offset = ((PyObject*)values[0]);
+ __pyx_v_first_line = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_first_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 476, __pyx_L3_error)
+ __pyx_v_last_line = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_last_line == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 476, __pyx_L3_error)
+ }
+ goto __pyx_L6_skip;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 476, __pyx_L3_error)
+ __pyx_L6_skip:;
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ {
+ Py_ssize_t __pyx_temp;
+ for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
+ __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]);
+ }
+ }
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._CodeLineInfo.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return -1;
+ __pyx_L4_argument_unpacking_done:;
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_line_to_offset), (&PyDict_Type), 1, "line_to_offset", 1))) __PYX_ERR(0, 476, __pyx_L1_error)
+ __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_v_self), __pyx_v_line_to_offset, __pyx_v_first_line, __pyx_v_last_line);
+
+ /* function exit code */
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __pyx_r = -1;
+ __pyx_L0:;
+ {
+ Py_ssize_t __pyx_temp;
+ for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
+ __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]);
+ }
+ }
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static int __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo___init__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_self, PyObject *__pyx_v_line_to_offset, int __pyx_v_first_line, int __pyx_v_last_line) {
+ int __pyx_r;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__init__", 1);
+
+ /* "_pydevd_sys_monitoring_cython.pyx":477
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * def __init__(self, dict line_to_offset, int first_line, int last_line):
+ * self.line_to_offset = line_to_offset # <<<<<<<<<<<<<<
+ * self.first_line = first_line
+ * self.last_line = last_line
+ */
+ __Pyx_INCREF(__pyx_v_line_to_offset);
+ __Pyx_GIVEREF(__pyx_v_line_to_offset);
+ __Pyx_GOTREF(__pyx_v_self->line_to_offset);
+ __Pyx_DECREF(__pyx_v_self->line_to_offset);
+ __pyx_v_self->line_to_offset = __pyx_v_line_to_offset;
+
+ /* "_pydevd_sys_monitoring_cython.pyx":478
+ * def __init__(self, dict line_to_offset, int first_line, int last_line):
+ * self.line_to_offset = line_to_offset
+ * self.first_line = first_line # <<<<<<<<<<<<<<
+ * self.last_line = last_line
+ * # ELSE
+ */
+ __pyx_v_self->first_line = __pyx_v_first_line;
+
+ /* "_pydevd_sys_monitoring_cython.pyx":479
+ * self.line_to_offset = line_to_offset
+ * self.first_line = first_line
+ * self.last_line = last_line # <<<<<<<<<<<<<<
+ * # ELSE
+ * # def __init__(self, line_to_offset, first_line, last_line):
+ */
+ __pyx_v_self->last_line = __pyx_v_last_line;
+
+ /* "_pydevd_sys_monitoring_cython.pyx":476
+ * # fmt: off
+ * # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ * def __init__(self, dict line_to_offset, int first_line, int last_line): # <<<<<<<<<<<<<<
+ * self.line_to_offset = line_to_offset
+ * self.first_line = first_line
+ */
+
+ /* function exit code */
+ __pyx_r = 0;
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "(tree fragment)":1
+ * def __reduce_cython__(self): # <<<<<<<<<<<<<<
+ * cdef tuple state
+ * cdef object _dict
+ */
+
+/* Python wrapper */
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__(PyObject *__pyx_v_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_13_CodeLineInfo_3__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__(PyObject *__pyx_v_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
+) {
+ #if !CYTHON_METH_FASTCALL
+ CYTHON_UNUSED Py_ssize_t __pyx_nargs;
+ #endif
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
+ #if !CYTHON_METH_FASTCALL
+ #if CYTHON_ASSUME_SAFE_MACROS
+ __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
+ #else
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
+ #endif
+ #endif
+ __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
+ if (unlikely(__pyx_nargs > 0)) {
+ __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
+ if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
+ __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__reduce_cython__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_v_self));
+
+ /* function exit code */
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_2__reduce_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_self) {
+ PyObject *__pyx_v_state = 0;
+ PyObject *__pyx_v__dict = 0;
+ int __pyx_v_use_setstate;
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ PyObject *__pyx_t_2 = NULL;
+ PyObject *__pyx_t_3 = NULL;
+ int __pyx_t_4;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__reduce_cython__", 1);
+
+ /* "(tree fragment)":5
+ * cdef object _dict
+ * cdef bint use_setstate
+ * state = (self.first_line, self.last_line, self.line_to_offset) # <<<<<<<<<<<<<<
+ * _dict = getattr(self, '__dict__', None)
+ * if _dict is not None:
+ */
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->first_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_self->last_line); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_GIVEREF(__pyx_t_1);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error);
+ __Pyx_GIVEREF(__pyx_t_2);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2)) __PYX_ERR(1, 5, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_v_self->line_to_offset);
+ __Pyx_GIVEREF(__pyx_v_self->line_to_offset);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_self->line_to_offset)) __PYX_ERR(1, 5, __pyx_L1_error);
+ __pyx_t_1 = 0;
+ __pyx_t_2 = 0;
+ __pyx_v_state = ((PyObject*)__pyx_t_3);
+ __pyx_t_3 = 0;
+
+ /* "(tree fragment)":6
+ * cdef bint use_setstate
+ * state = (self.first_line, self.last_line, self.line_to_offset)
+ * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<<
+ * if _dict is not None:
+ * state += (_dict,)
+ */
+ __pyx_t_3 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_v__dict = __pyx_t_3;
+ __pyx_t_3 = 0;
+
+ /* "(tree fragment)":7
+ * state = (self.first_line, self.last_line, self.line_to_offset)
+ * _dict = getattr(self, '__dict__', None)
+ * if _dict is not None: # <<<<<<<<<<<<<<
+ * state += (_dict,)
+ * use_setstate = True
+ */
+ __pyx_t_4 = (__pyx_v__dict != Py_None);
+ if (__pyx_t_4) {
+
+ /* "(tree fragment)":8
+ * _dict = getattr(self, '__dict__', None)
+ * if _dict is not None:
+ * state += (_dict,) # <<<<<<<<<<<<<<
+ * use_setstate = True
+ * else:
+ */
+ __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 8, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_v__dict);
+ __Pyx_GIVEREF(__pyx_v__dict);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v__dict)) __PYX_ERR(1, 8, __pyx_L1_error);
+ __pyx_t_2 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 8, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_2));
+ __pyx_t_2 = 0;
+
+ /* "(tree fragment)":9
+ * if _dict is not None:
+ * state += (_dict,)
+ * use_setstate = True # <<<<<<<<<<<<<<
+ * else:
+ * use_setstate = self.line_to_offset is not None
+ */
+ __pyx_v_use_setstate = 1;
+
+ /* "(tree fragment)":7
+ * state = (self.first_line, self.last_line, self.line_to_offset)
+ * _dict = getattr(self, '__dict__', None)
+ * if _dict is not None: # <<<<<<<<<<<<<<
+ * state += (_dict,)
+ * use_setstate = True
+ */
+ goto __pyx_L3;
+ }
+
+ /* "(tree fragment)":11
+ * use_setstate = True
+ * else:
+ * use_setstate = self.line_to_offset is not None # <<<<<<<<<<<<<<
+ * if use_setstate:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state
+ */
+ /*else*/ {
+ __pyx_t_4 = (__pyx_v_self->line_to_offset != ((PyObject*)Py_None));
+ __pyx_v_use_setstate = __pyx_t_4;
+ }
+ __pyx_L3:;
+
+ /* "(tree fragment)":12
+ * else:
+ * use_setstate = self.line_to_offset is not None
+ * if use_setstate: # <<<<<<<<<<<<<<
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state
+ * else:
+ */
+ if (__pyx_v_use_setstate) {
+
+ /* "(tree fragment)":13
+ * use_setstate = self.line_to_offset is not None
+ * if use_setstate:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state # <<<<<<<<<<<<<<
+ * else:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pyx_unpickle__CodeLineInfo); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 13, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 13, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
+ __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))))) __PYX_ERR(1, 13, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_int_95010005);
+ __Pyx_GIVEREF(__pyx_int_95010005);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_95010005)) __PYX_ERR(1, 13, __pyx_L1_error);
+ __Pyx_INCREF(Py_None);
+ __Pyx_GIVEREF(Py_None);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, Py_None)) __PYX_ERR(1, 13, __pyx_L1_error);
+ __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_2);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_2)) __PYX_ERR(1, 13, __pyx_L1_error);
+ __Pyx_GIVEREF(__pyx_t_3);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_3)) __PYX_ERR(1, 13, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_v_state);
+ __Pyx_GIVEREF(__pyx_v_state);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state)) __PYX_ERR(1, 13, __pyx_L1_error);
+ __pyx_t_2 = 0;
+ __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_1;
+ __pyx_t_1 = 0;
+ goto __pyx_L0;
+
+ /* "(tree fragment)":12
+ * else:
+ * use_setstate = self.line_to_offset is not None
+ * if use_setstate: # <<<<<<<<<<<<<<
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state
+ * else:
+ */
+ }
+
+ /* "(tree fragment)":15
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, None), state
+ * else:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state) # <<<<<<<<<<<<<<
+ * def __setstate_cython__(self, __pyx_state):
+ * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state)
+ */
+ /*else*/ {
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_pyx_unpickle__CodeLineInfo); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 15, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
+ __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))));
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))))) __PYX_ERR(1, 15, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_int_95010005);
+ __Pyx_GIVEREF(__pyx_int_95010005);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_95010005)) __PYX_ERR(1, 15, __pyx_L1_error);
+ __Pyx_INCREF(__pyx_v_state);
+ __Pyx_GIVEREF(__pyx_v_state);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_v_state)) __PYX_ERR(1, 15, __pyx_L1_error);
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 15, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_GIVEREF(__pyx_t_1);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error);
+ __Pyx_GIVEREF(__pyx_t_3);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_3)) __PYX_ERR(1, 15, __pyx_L1_error);
+ __pyx_t_1 = 0;
+ __pyx_t_3 = 0;
+ __pyx_r = __pyx_t_2;
+ __pyx_t_2 = 0;
+ goto __pyx_L0;
+ }
+
+ /* "(tree fragment)":1
+ * def __reduce_cython__(self): # <<<<<<<<<<<<<<
+ * cdef tuple state
+ * cdef object _dict
+ */
+
+ /* function exit code */
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_2);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._CodeLineInfo.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v_state);
+ __Pyx_XDECREF(__pyx_v__dict);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "(tree fragment)":16
+ * else:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state)
+ * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state)
+ */
+
+/* Python wrapper */
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__(PyObject *__pyx_v_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_13_CodeLineInfo_5__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__(PyObject *__pyx_v_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
+) {
+ PyObject *__pyx_v___pyx_state = 0;
+ #if !CYTHON_METH_FASTCALL
+ CYTHON_UNUSED Py_ssize_t __pyx_nargs;
+ #endif
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
+ PyObject* values[1] = {0};
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
+ #if !CYTHON_METH_FASTCALL
+ #if CYTHON_ASSUME_SAFE_MACROS
+ __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
+ #else
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
+ #endif
+ #endif
+ __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
+ {
+ PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_state,0};
+ if (__pyx_kwds) {
+ Py_ssize_t kw_args;
+ switch (__pyx_nargs) {
+ case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
+ CYTHON_FALLTHROUGH;
+ case 0: break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds);
+ switch (__pyx_nargs) {
+ case 0:
+ if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) {
+ (void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 16, __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, "__setstate_cython__") < 0)) __PYX_ERR(1, 16, __pyx_L3_error)
+ }
+ } else if (unlikely(__pyx_nargs != 1)) {
+ goto __pyx_L5_argtuple_error;
+ } else {
+ values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
+ }
+ __pyx_v___pyx_state = values[0];
+ }
+ goto __pyx_L6_skip;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error)
+ __pyx_L6_skip:;
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ {
+ Py_ssize_t __pyx_temp;
+ for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
+ __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]);
+ }
+ }
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._CodeLineInfo.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_4__setstate_cython__(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_v_self), __pyx_v___pyx_state);
+
+ /* function exit code */
+ {
+ Py_ssize_t __pyx_temp;
+ for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
+ __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]);
+ }
+ }
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_4__setstate_cython__(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_self, PyObject *__pyx_v___pyx_state) {
+ 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("__setstate_cython__", 1);
+
+ /* "(tree fragment)":17
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state)
+ * def __setstate_cython__(self, __pyx_state):
+ * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state) # <<<<<<<<<<<<<<
+ */
+ if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_v___pyx_state))) __PYX_ERR(1, 17, __pyx_L1_error)
+ __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 17, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "(tree fragment)":16
+ * else:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state)
+ * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state)
+ */
+
+ /* function exit code */
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython._CodeLineInfo.__setstate_cython__", __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":492
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
- * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
+ * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
* # ELSE
- * # def _get_code_line_info(code_obj, _cache={}):
+ * # def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:
*/
-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) {
+static struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__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__16;
PyObject *__pyx_v_line_to_offset = NULL;
PyObject *__pyx_v_first_line = NULL;
PyObject *__pyx_v_last_line = NULL;
PyObject *__pyx_v_offset = NULL;
PyObject *__pyx_v_line = NULL;
- PyObject *__pyx_v_ret = NULL;
- PyObject *__pyx_r = NULL;
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_ret = NULL;
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
@@ -11786,7 +12666,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO
}
}
- /* "_pydevd_sys_monitoring_cython.pyx":458
+ /* "_pydevd_sys_monitoring_cython.pyx":497
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -11802,21 +12682,22 @@ 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":459
+ /* "_pydevd_sys_monitoring_cython.pyx":498
* # fmt: on
* try:
* return _cache[code_obj] # <<<<<<<<<<<<<<
* except:
* 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, 459, __pyx_L3_error)
+ __Pyx_XDECREF((PyObject *)__pyx_r);
+ __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v__cache, __pyx_v_code_obj); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 498, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_r = __pyx_t_4;
+ if (!(likely(((__pyx_t_4) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_4, __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo))))) __PYX_ERR(0, 498, __pyx_L3_error)
+ __pyx_r = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_4);
__pyx_t_4 = 0;
goto __pyx_L7_try_return;
- /* "_pydevd_sys_monitoring_cython.pyx":458
+ /* "_pydevd_sys_monitoring_cython.pyx":497
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -11827,7 +12708,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":460
+ /* "_pydevd_sys_monitoring_cython.pyx":499
* try:
* return _cache[code_obj]
* except: # <<<<<<<<<<<<<<
@@ -11836,24 +12717,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, 460, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_5, &__pyx_t_6) < 0) __PYX_ERR(0, 499, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":461
+ /* "_pydevd_sys_monitoring_cython.pyx":500
* 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, 461, __pyx_L5_except_error)
+ __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 500, __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":462
+ /* "_pydevd_sys_monitoring_cython.pyx":501
* except:
* line_to_offset = {}
* first_line = None # <<<<<<<<<<<<<<
@@ -11863,7 +12744,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":463
+ /* "_pydevd_sys_monitoring_cython.pyx":502
* line_to_offset = {}
* first_line = None
* last_line = None # <<<<<<<<<<<<<<
@@ -11873,16 +12754,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":465
+ /* "_pydevd_sys_monitoring_cython.pyx":504
* last_line = None
*
* for offset, line in dis.findlinestarts(code_obj): # <<<<<<<<<<<<<<
* if offset is not None and line is not None:
* line_to_offset[line] = offset
*/
- __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_dis); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 465, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_n_s_dis); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 504, __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, 465, __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, 504, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_9);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__pyx_t_8 = NULL;
@@ -11903,7 +12784,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, 465, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 504, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_7);
__Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
}
@@ -11912,9 +12793,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, 465, __pyx_L5_except_error)
+ __pyx_t_11 = -1; __pyx_t_9 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 504, __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, 465, __pyx_L5_except_error)
+ __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_9); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 504, __pyx_L5_except_error)
}
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
for (;;) {
@@ -11923,28 +12804,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, 465, __pyx_L5_except_error)
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 504, __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, 465, __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, 504, __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, 465, __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, 504, __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, 465, __pyx_L5_except_error)
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 504, __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, 465, __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, 504, __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, 465, __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, 504, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_7);
#endif
}
@@ -11954,7 +12835,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, 465, __pyx_L5_except_error)
+ else __PYX_ERR(0, 504, __pyx_L5_except_error)
}
break;
}
@@ -11966,7 +12847,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, 465, __pyx_L5_except_error)
+ __PYX_ERR(0, 504, __pyx_L5_except_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -11979,15 +12860,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, 465, __pyx_L5_except_error)
+ __pyx_t_8 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 504, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
- __pyx_t_13 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 465, __pyx_L5_except_error)
+ __pyx_t_13 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 504, __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, 465, __pyx_L5_except_error)
+ __pyx_t_14 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 504, __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);
@@ -11995,7 +12876,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, 465, __pyx_L5_except_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_15(__pyx_t_14), 2) < 0) __PYX_ERR(0, 504, __pyx_L5_except_error)
__pyx_t_15 = NULL;
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
goto __pyx_L14_unpacking_done;
@@ -12003,7 +12884,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, 465, __pyx_L5_except_error)
+ __PYX_ERR(0, 504, __pyx_L5_except_error)
__pyx_L14_unpacking_done:;
}
__Pyx_XDECREF_SET(__pyx_v_offset, __pyx_t_8);
@@ -12011,7 +12892,7 @@ 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":466
+ /* "_pydevd_sys_monitoring_cython.pyx":505
*
* for offset, line in dis.findlinestarts(code_obj):
* if offset is not None and line is not None: # <<<<<<<<<<<<<<
@@ -12029,16 +12910,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO
__pyx_L16_bool_binop_done:;
if (__pyx_t_16) {
- /* "_pydevd_sys_monitoring_cython.pyx":467
+ /* "_pydevd_sys_monitoring_cython.pyx":506
* for offset, line in dis.findlinestarts(code_obj):
* if offset is not None and line is not None:
* line_to_offset[line] = offset # <<<<<<<<<<<<<<
*
* if len(line_to_offset):
*/
- if (unlikely((PyDict_SetItem(__pyx_v_line_to_offset, __pyx_v_line, __pyx_v_offset) < 0))) __PYX_ERR(0, 467, __pyx_L5_except_error)
+ if (unlikely((PyDict_SetItem(__pyx_v_line_to_offset, __pyx_v_line, __pyx_v_offset) < 0))) __PYX_ERR(0, 506, __pyx_L5_except_error)
- /* "_pydevd_sys_monitoring_cython.pyx":466
+ /* "_pydevd_sys_monitoring_cython.pyx":505
*
* for offset, line in dis.findlinestarts(code_obj):
* if offset is not None and line is not None: # <<<<<<<<<<<<<<
@@ -12047,7 +12928,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":465
+ /* "_pydevd_sys_monitoring_cython.pyx":504
* last_line = None
*
* for offset, line in dis.findlinestarts(code_obj): # <<<<<<<<<<<<<<
@@ -12057,42 +12938,42 @@ 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":469
+ /* "_pydevd_sys_monitoring_cython.pyx":508
* line_to_offset[line] = offset
*
* if len(line_to_offset): # <<<<<<<<<<<<<<
* first_line = min(line_to_offset)
* last_line = max(line_to_offset)
*/
- __pyx_t_11 = PyDict_Size(__pyx_v_line_to_offset); if (unlikely(__pyx_t_11 == ((Py_ssize_t)-1))) __PYX_ERR(0, 469, __pyx_L5_except_error)
+ __pyx_t_11 = PyDict_Size(__pyx_v_line_to_offset); if (unlikely(__pyx_t_11 == ((Py_ssize_t)-1))) __PYX_ERR(0, 508, __pyx_L5_except_error)
__pyx_t_16 = (__pyx_t_11 != 0);
if (__pyx_t_16) {
- /* "_pydevd_sys_monitoring_cython.pyx":470
+ /* "_pydevd_sys_monitoring_cython.pyx":509
*
* if len(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, 470, __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, 509, __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":471
+ /* "_pydevd_sys_monitoring_cython.pyx":510
* if len(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, 471, __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, 510, __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":469
+ /* "_pydevd_sys_monitoring_cython.pyx":508
* line_to_offset[line] = offset
*
* if len(line_to_offset): # <<<<<<<<<<<<<<
@@ -12101,58 +12982,48 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":472
+ /* "_pydevd_sys_monitoring_cython.pyx":511
* 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, 472, __pyx_L5_except_error)
+ __pyx_t_9 = PyTuple_New(3); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 511, __pyx_L5_except_error)
+ __Pyx_GOTREF(__pyx_t_9);
+ __Pyx_INCREF(__pyx_v_line_to_offset);
+ __Pyx_GIVEREF(__pyx_v_line_to_offset);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_9, 0, __pyx_v_line_to_offset)) __PYX_ERR(0, 511, __pyx_L5_except_error);
+ __Pyx_INCREF(__pyx_v_first_line);
+ __Pyx_GIVEREF(__pyx_v_first_line);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_9, 1, __pyx_v_first_line)) __PYX_ERR(0, 511, __pyx_L5_except_error);
+ __Pyx_INCREF(__pyx_v_last_line);
+ __Pyx_GIVEREF(__pyx_v_last_line);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_9, 2, __pyx_v_last_line)) __PYX_ERR(0, 511, __pyx_L5_except_error);
+ __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo), __pyx_t_9, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 511, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_7);
- __pyx_t_13 = NULL;
- __pyx_t_10 = 0;
- #if CYTHON_UNPACK_METHODS
- if (unlikely(PyMethod_Check(__pyx_t_7))) {
- __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_7);
- if (likely(__pyx_t_13)) {
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
- __Pyx_INCREF(__pyx_t_13);
- __Pyx_INCREF(function);
- __Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_10 = 1;
- }
- }
- #endif
- {
- 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, 472, __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;
+ __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0;
+ __pyx_v_ret = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_7);
+ __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":473
+ /* "_pydevd_sys_monitoring_cython.pyx":512
* 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, 473, __pyx_L5_except_error)
+ if (unlikely((PyObject_SetItem(__pyx_v__cache, __pyx_v_code_obj, ((PyObject *)__pyx_v_ret)) < 0))) __PYX_ERR(0, 512, __pyx_L5_except_error)
- /* "_pydevd_sys_monitoring_cython.pyx":474
+ /* "_pydevd_sys_monitoring_cython.pyx":513
* ret = _CodeLineInfo(line_to_offset, first_line, last_line)
* _cache[code_obj] = ret
* return ret # <<<<<<<<<<<<<<
*
*
*/
- __Pyx_XDECREF(__pyx_r);
- __Pyx_INCREF(__pyx_v_ret);
+ __Pyx_XDECREF((PyObject *)__pyx_r);
+ __Pyx_INCREF((PyObject *)__pyx_v_ret);
__pyx_r = __pyx_v_ret;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
@@ -12160,7 +13031,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":458
+ /* "_pydevd_sys_monitoring_cython.pyx":497
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -12187,12 +13058,12 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO
goto __pyx_L0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":453
+ /* "_pydevd_sys_monitoring_cython.pyx":492
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
- * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
+ * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
* # ELSE
- * # def _get_code_line_info(code_obj, _cache={}):
+ * # def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:
*/
/* function exit code */
@@ -12213,13 +13084,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(PyO
__Pyx_XDECREF(__pyx_v_last_line);
__Pyx_XDECREF(__pyx_v_offset);
__Pyx_XDECREF(__pyx_v_line);
- __Pyx_XDECREF(__pyx_v_ret);
- __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_XDECREF((PyObject *)__pyx_v_ret);
+ __Pyx_XGIVEREF((PyObject *)__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":482
+/* "_pydevd_sys_monitoring_cython.pyx":521
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<<
@@ -12242,7 +13113,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
PyCodeObject *__pyx_v_code;
PyObject *__pyx_v_co_filename = 0;
PyObject *__pyx_v_co_name = 0;
- PyObject *__pyx_v_code_line_info = NULL;
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v_code_line_info = NULL;
PyObject *__pyx_v_line_to_offset = NULL;
PyObject *__pyx_v_abs_path_real_path_and_base = NULL;
PyObject *__pyx_v_frame = NULL;
@@ -12280,22 +13151,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":496
+ /* "_pydevd_sys_monitoring_cython.pyx":535
* 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, 496, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 535, __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, 496, __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, 535, __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":497
+ /* "_pydevd_sys_monitoring_cython.pyx":536
* """
* py_db = GlobalDebuggerHolder.global_dbg
* if py_db is None: # <<<<<<<<<<<<<<
@@ -12305,7 +13176,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":498
+ /* "_pydevd_sys_monitoring_cython.pyx":537
* py_db = GlobalDebuggerHolder.global_dbg
* if py_db is None:
* return None # <<<<<<<<<<<<<<
@@ -12316,7 +13187,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":497
+ /* "_pydevd_sys_monitoring_cython.pyx":536
* """
* py_db = GlobalDebuggerHolder.global_dbg
* if py_db is None: # <<<<<<<<<<<<<<
@@ -12325,16 +13196,16 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":500
+ /* "_pydevd_sys_monitoring_cython.pyx":539
* 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, 500, __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, 539, __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, 500, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 539, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -12355,15 +13226,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, 500, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 539, __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, 500, __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, 539, __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":501
+ /* "_pydevd_sys_monitoring_cython.pyx":540
*
* func_code_info = _code_to_func_code_info_cache.get(code_obj)
* if func_code_info is not None: # <<<<<<<<<<<<<<
@@ -12373,25 +13244,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":502
+ /* "_pydevd_sys_monitoring_cython.pyx":541
* 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, 502, __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, 541, __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, 502, __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, 541, __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, 502, __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, 541, __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, 502, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 541, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_3) {
- /* "_pydevd_sys_monitoring_cython.pyx":505
+ /* "_pydevd_sys_monitoring_cython.pyx":544
* # if DEBUG:
* # print('_get_func_code_info: matched mtime', key, code_obj)
* return func_code_info # <<<<<<<<<<<<<<
@@ -12403,7 +13274,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":502
+ /* "_pydevd_sys_monitoring_cython.pyx":541
* 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: # <<<<<<<<<<<<<<
@@ -12412,7 +13283,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":501
+ /* "_pydevd_sys_monitoring_cython.pyx":540
*
* func_code_info = _code_to_func_code_info_cache.get(code_obj)
* if func_code_info is not None: # <<<<<<<<<<<<<<
@@ -12421,7 +13292,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":514
+ /* "_pydevd_sys_monitoring_cython.pyx":553
* cdef str co_filename
* cdef str co_name
* code = code_obj # <<<<<<<<<<<<<<
@@ -12430,7 +13301,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":515
+ /* "_pydevd_sys_monitoring_cython.pyx":554
* cdef str co_name
* code = code_obj
* co_filename = code.co_filename # <<<<<<<<<<<<<<
@@ -12442,7 +13313,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":516
+ /* "_pydevd_sys_monitoring_cython.pyx":555
* code = code_obj
* co_filename = code.co_filename
* co_name = code.co_name # <<<<<<<<<<<<<<
@@ -12454,19 +13325,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":528
+ /* "_pydevd_sys_monitoring_cython.pyx":567
* # 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, 528, __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, 567, __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":529
+ /* "_pydevd_sys_monitoring_cython.pyx":568
*
* func_code_info = FuncCodeInfo()
* func_code_info.code_obj = code_obj # <<<<<<<<<<<<<<
@@ -12479,44 +13350,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":530
+ /* "_pydevd_sys_monitoring_cython.pyx":569
* 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, 530, __pyx_L1_error)
+ __pyx_t_1 = ((PyObject *)__pyx_f_29_pydevd_sys_monitoring_cython__get_code_line_info(__pyx_v_code_obj, NULL)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 569, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_v_code_line_info = __pyx_t_1;
+ __pyx_v_code_line_info = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_t_1);
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":531
+ /* "_pydevd_sys_monitoring_cython.pyx":570
* 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, 531, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_v_line_to_offset = __pyx_t_1;
+ __pyx_t_1 = __pyx_v_code_line_info->line_to_offset;
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_v_line_to_offset = ((PyObject*)__pyx_t_1);
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":532
+ /* "_pydevd_sys_monitoring_cython.pyx":571
* 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, 532, __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, 571, __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, 532, __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, 571, __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":534
+ /* "_pydevd_sys_monitoring_cython.pyx":573
* func_code_info.pydb_mtime = py_db.mtime
*
* func_code_info.co_filename = co_filename # <<<<<<<<<<<<<<
@@ -12529,7 +13400,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":535
+ /* "_pydevd_sys_monitoring_cython.pyx":574
*
* func_code_info.co_filename = co_filename
* func_code_info.co_name = co_name # <<<<<<<<<<<<<<
@@ -12542,7 +13413,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":538
+ /* "_pydevd_sys_monitoring_cython.pyx":577
*
* # Compute whether to always skip this.
* try: # <<<<<<<<<<<<<<
@@ -12558,22 +13429,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":539
+ /* "_pydevd_sys_monitoring_cython.pyx":578
* # 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, 539, __pyx_L6_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 578, __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, 539, __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, 578, __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":538
+ /* "_pydevd_sys_monitoring_cython.pyx":577
*
* # Compute whether to always skip this.
* try: # <<<<<<<<<<<<<<
@@ -12590,7 +13461,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":540
+ /* "_pydevd_sys_monitoring_cython.pyx":579
* try:
* abs_path_real_path_and_base = NORM_PATHS_AND_BASE_CONTAINER[co_filename]
* except: # <<<<<<<<<<<<<<
@@ -12599,19 +13470,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, 540, __pyx_L8_except_error)
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 579, __pyx_L8_except_error)
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
- /* "_pydevd_sys_monitoring_cython.pyx":541
+ /* "_pydevd_sys_monitoring_cython.pyx":580
* 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, 541, __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, 580, __pyx_L8_except_error)
__Pyx_GOTREF(__pyx_t_11);
__pyx_t_12 = NULL;
__pyx_t_5 = 0;
@@ -12631,7 +13502,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, 541, __pyx_L8_except_error)
+ if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 580, __pyx_L8_except_error)
__Pyx_GOTREF(__pyx_t_10);
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
}
@@ -12643,7 +13514,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
goto __pyx_L7_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":538
+ /* "_pydevd_sys_monitoring_cython.pyx":577
*
* # Compute whether to always skip this.
* try: # <<<<<<<<<<<<<<
@@ -12664,39 +13535,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
__pyx_L11_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":543
+ /* "_pydevd_sys_monitoring_cython.pyx":582
* 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, 543, __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, 582, __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, 543, __pyx_L1_error)
+ if (!(likely(PyString_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 582, __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":544
+ /* "_pydevd_sys_monitoring_cython.pyx":583
*
* 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, 544, __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, 583, __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, 544, __pyx_L1_error)
+ if (!(likely(PyString_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_2))) __PYX_ERR(0, 583, __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":546
+ /* "_pydevd_sys_monitoring_cython.pyx":585
* func_code_info.canonical_normalized_filename = abs_path_real_path_and_base[1]
*
* frame = None # <<<<<<<<<<<<<<
@@ -12706,14 +13577,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":547
+ /* "_pydevd_sys_monitoring_cython.pyx":586
*
* 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, 547, __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, 586, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -12733,40 +13604,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, 547, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 586, __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, 547, __pyx_L1_error)
+ if (!(likely(PyDict_CheckExact(__pyx_t_2))||((__pyx_t_2) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_2))) __PYX_ERR(0, 586, __pyx_L1_error)
__pyx_v_cache_file_type = ((PyObject*)__pyx_t_2);
__pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":550
+ /* "_pydevd_sys_monitoring_cython.pyx":589
* # 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, 550, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_code->co_firstlineno); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 589, __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, 550, __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, 589, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 550, __pyx_L1_error)
+ __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 589, __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, 550, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2)) __PYX_ERR(0, 589, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_1);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1)) __PYX_ERR(0, 550, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1)) __PYX_ERR(0, 589, __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, 550, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_code_obj)) __PYX_ERR(0, 589, __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":551
+ /* "_pydevd_sys_monitoring_cython.pyx":590
* # on the cache.
* cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj)
* try: # <<<<<<<<<<<<<<
@@ -12782,7 +13653,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":552
+ /* "_pydevd_sys_monitoring_cython.pyx":591
* 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 # <<<<<<<<<<<<<<
@@ -12791,14 +13662,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, 552, __pyx_L14_error)
+ __PYX_ERR(0, 591, __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, 552, __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, 591, __pyx_L14_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_file_type = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":551
+ /* "_pydevd_sys_monitoring_cython.pyx":590
* # on the cache.
* cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj)
* try: # <<<<<<<<<<<<<<
@@ -12818,7 +13689,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":553
+ /* "_pydevd_sys_monitoring_cython.pyx":592
* try:
* file_type = cache_file_type[cache_file_type_key] # Make it faster
* except: # <<<<<<<<<<<<<<
@@ -12827,12 +13698,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, 553, __pyx_L16_except_error)
+ if (__Pyx_GetException(&__pyx_t_4, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 592, __pyx_L16_except_error)
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
- /* "_pydevd_sys_monitoring_cython.pyx":554
+ /* "_pydevd_sys_monitoring_cython.pyx":593
* file_type = cache_file_type[cache_file_type_key] # Make it faster
* except:
* if frame is None: # <<<<<<<<<<<<<<
@@ -12842,39 +13713,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":555
+ /* "_pydevd_sys_monitoring_cython.pyx":594
* 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, 555, __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, 594, __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, 555, __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, 594, __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, 555, __pyx_L16_except_error)
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_11); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 594, __pyx_L16_except_error)
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
if (__pyx_t_3) {
- /* "_pydevd_sys_monitoring_cython.pyx":556
+ /* "_pydevd_sys_monitoring_cython.pyx":595
* 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, 556, __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, 595, __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, 556, __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, 595, __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":555
+ /* "_pydevd_sys_monitoring_cython.pyx":594
* except:
* if frame is None:
* if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<<
@@ -12884,7 +13755,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
goto __pyx_L23;
}
- /* "_pydevd_sys_monitoring_cython.pyx":558
+ /* "_pydevd_sys_monitoring_cython.pyx":597
* frame = _getframe(frame_or_depth + 1)
* else:
* frame = frame_or_depth # <<<<<<<<<<<<<<
@@ -12897,7 +13768,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
}
__pyx_L23:;
- /* "_pydevd_sys_monitoring_cython.pyx":559
+ /* "_pydevd_sys_monitoring_cython.pyx":598
* else:
* frame = frame_or_depth
* assert frame.f_code is code_obj, "%s != %s" % (frame.f_code, code_obj) # <<<<<<<<<<<<<<
@@ -12906,34 +13777,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, 559, __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, 598, __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, 559, __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, 598, __pyx_L16_except_error)
__Pyx_GOTREF(__pyx_t_10);
- __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 559, __pyx_L16_except_error)
+ __pyx_t_11 = PyTuple_New(2); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 598, __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, 559, __pyx_L16_except_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 0, __pyx_t_10)) __PYX_ERR(0, 598, __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, 559, __pyx_L16_except_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_11, 1, __pyx_v_code_obj)) __PYX_ERR(0, 598, __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, 559, __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, 598, __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, 559, __pyx_L16_except_error)
+ __PYX_ERR(0, 598, __pyx_L16_except_error)
}
}
#else
- if ((1)); else __PYX_ERR(0, 559, __pyx_L16_except_error)
+ if ((1)); else __PYX_ERR(0, 598, __pyx_L16_except_error)
#endif
- /* "_pydevd_sys_monitoring_cython.pyx":554
+ /* "_pydevd_sys_monitoring_cython.pyx":593
* file_type = cache_file_type[cache_file_type_key] # Make it faster
* except:
* if frame is None: # <<<<<<<<<<<<<<
@@ -12942,14 +13813,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":561
+ /* "_pydevd_sys_monitoring_cython.pyx":600
* 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, 561, __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, 600, __pyx_L16_except_error)
__Pyx_GOTREF(__pyx_t_11);
__pyx_t_12 = NULL;
__pyx_t_5 = 0;
@@ -12969,7 +13840,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, 561, __pyx_L16_except_error)
+ if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 600, __pyx_L16_except_error)
__Pyx_GOTREF(__pyx_t_10);
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
}
@@ -12981,7 +13852,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
goto __pyx_L15_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":551
+ /* "_pydevd_sys_monitoring_cython.pyx":590
* # on the cache.
* cache_file_type_key = (code.co_firstlineno, abs_path_real_path_and_base[0], code_obj)
* try: # <<<<<<<<<<<<<<
@@ -13002,7 +13873,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
__pyx_L19_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":563
+ /* "_pydevd_sys_monitoring_cython.pyx":602
* 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: # <<<<<<<<<<<<<<
@@ -13012,7 +13883,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":564
+ /* "_pydevd_sys_monitoring_cython.pyx":603
*
* if file_type is not None:
* func_code_info.always_skip_code = True # <<<<<<<<<<<<<<
@@ -13021,7 +13892,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":565
+ /* "_pydevd_sys_monitoring_cython.pyx":604
* if file_type is not None:
* func_code_info.always_skip_code = True
* func_code_info.always_filtered_out = True # <<<<<<<<<<<<<<
@@ -13030,19 +13901,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":566
+ /* "_pydevd_sys_monitoring_cython.pyx":605
* 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, 566, __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, 605, __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, 566, __pyx_L1_error)
+ if (unlikely((PyObject_SetItem(__pyx_t_2, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 605, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":567
+ /* "_pydevd_sys_monitoring_cython.pyx":606
* func_code_info.always_filtered_out = True
* _code_to_func_code_info_cache[code_obj] = func_code_info
* return func_code_info # <<<<<<<<<<<<<<
@@ -13054,7 +13925,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":563
+ /* "_pydevd_sys_monitoring_cython.pyx":602
* 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: # <<<<<<<<<<<<<<
@@ -13063,32 +13934,32 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":570
+ /* "_pydevd_sys_monitoring_cython.pyx":609
*
* # 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, 570, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 609, __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, 570, __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, 609, __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":574
+ /* "_pydevd_sys_monitoring_cython.pyx":613
* # 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, 574, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 613, __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, 574, __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, 613, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -13109,16 +13980,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, 574, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 613, __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, 574, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 613, __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":575
+ /* "_pydevd_sys_monitoring_cython.pyx":614
* # 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: # <<<<<<<<<<<<<<
@@ -13128,39 +13999,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":576
+ /* "_pydevd_sys_monitoring_cython.pyx":615
* 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, 576, __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, 615, __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, 576, __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, 615, __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, 576, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 615, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":577
+ /* "_pydevd_sys_monitoring_cython.pyx":616
* 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, 577, __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, 616, __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, 577, __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, 616, __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":576
+ /* "_pydevd_sys_monitoring_cython.pyx":615
* 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: # <<<<<<<<<<<<<<
@@ -13170,7 +14041,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
goto __pyx_L28;
}
- /* "_pydevd_sys_monitoring_cython.pyx":579
+ /* "_pydevd_sys_monitoring_cython.pyx":618
* frame = _getframe(frame_or_depth + 1)
* else:
* frame = frame_or_depth # <<<<<<<<<<<<<<
@@ -13183,7 +14054,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
}
__pyx_L28:;
- /* "_pydevd_sys_monitoring_cython.pyx":575
+ /* "_pydevd_sys_monitoring_cython.pyx":614
* # 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: # <<<<<<<<<<<<<<
@@ -13192,7 +14063,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":580
+ /* "_pydevd_sys_monitoring_cython.pyx":619
* else:
* frame = frame_or_depth
* assert frame.f_code is code_obj # <<<<<<<<<<<<<<
@@ -13201,20 +14072,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, 580, __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, 619, __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, 580, __pyx_L1_error)
+ __PYX_ERR(0, 619, __pyx_L1_error)
}
}
#else
- if ((1)); else __PYX_ERR(0, 580, __pyx_L1_error)
+ if ((1)); else __PYX_ERR(0, 619, __pyx_L1_error)
#endif
- /* "_pydevd_sys_monitoring_cython.pyx":582
+ /* "_pydevd_sys_monitoring_cython.pyx":621
* assert frame.f_code is code_obj
*
* func_code_info.always_filtered_out = True # <<<<<<<<<<<<<<
@@ -13223,19 +14094,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":583
+ /* "_pydevd_sys_monitoring_cython.pyx":622
*
* 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, 583, __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, 622, __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, 583, __pyx_L1_error)
+ if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 622, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":584
+ /* "_pydevd_sys_monitoring_cython.pyx":623
* func_code_info.always_filtered_out = True
* _code_to_func_code_info_cache[code_obj] = func_code_info
* return func_code_info # <<<<<<<<<<<<<<
@@ -13247,7 +14118,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":574
+ /* "_pydevd_sys_monitoring_cython.pyx":613
* # 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): # <<<<<<<<<<<<<<
@@ -13256,7 +14127,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":609
*
* # still not set, check for dont trace comments.
* if pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<<
@@ -13265,7 +14136,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":586
+ /* "_pydevd_sys_monitoring_cython.pyx":625
* return func_code_info
*
* if frame is None: # <<<<<<<<<<<<<<
@@ -13275,39 +14146,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":587
+ /* "_pydevd_sys_monitoring_cython.pyx":626
*
* 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, 587, __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, 626, __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, 587, __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, 626, __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, 587, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 626, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":588
+ /* "_pydevd_sys_monitoring_cython.pyx":627
* 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, 588, __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, 627, __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, 588, __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, 627, __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":587
+ /* "_pydevd_sys_monitoring_cython.pyx":626
*
* if frame is None:
* if frame_or_depth.__class__ == int: # <<<<<<<<<<<<<<
@@ -13317,7 +14188,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
goto __pyx_L30;
}
- /* "_pydevd_sys_monitoring_cython.pyx":590
+ /* "_pydevd_sys_monitoring_cython.pyx":629
* frame = _getframe(frame_or_depth + 1)
* else:
* frame = frame_or_depth # <<<<<<<<<<<<<<
@@ -13330,7 +14201,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
}
__pyx_L30:;
- /* "_pydevd_sys_monitoring_cython.pyx":591
+ /* "_pydevd_sys_monitoring_cython.pyx":630
* else:
* frame = frame_or_depth
* assert frame.f_code is code_obj # <<<<<<<<<<<<<<
@@ -13339,20 +14210,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, 591, __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, 630, __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, 591, __pyx_L1_error)
+ __PYX_ERR(0, 630, __pyx_L1_error)
}
}
#else
- if ((1)); else __PYX_ERR(0, 591, __pyx_L1_error)
+ if ((1)); else __PYX_ERR(0, 630, __pyx_L1_error)
#endif
- /* "_pydevd_sys_monitoring_cython.pyx":586
+ /* "_pydevd_sys_monitoring_cython.pyx":625
* return func_code_info
*
* if frame is None: # <<<<<<<<<<<<<<
@@ -13361,14 +14232,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":593
+ /* "_pydevd_sys_monitoring_cython.pyx":632
* 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, 593, __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, 632, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_2 = NULL;
__pyx_t_5 = 0;
@@ -13388,28 +14259,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, 593, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 632, __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, 593, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 632, __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":595
+ /* "_pydevd_sys_monitoring_cython.pyx":634
* 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, 595, __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, 634, __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, 595, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 634, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":596
+ /* "_pydevd_sys_monitoring_cython.pyx":635
*
* if py_db.is_files_filter_enabled:
* func_code_info.always_filtered_out = func_code_info.filtered_out_force_checked # <<<<<<<<<<<<<<
@@ -13419,7 +14290,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":597
+ /* "_pydevd_sys_monitoring_cython.pyx":636
* 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: # <<<<<<<<<<<<<<
@@ -13428,19 +14299,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":598
+ /* "_pydevd_sys_monitoring_cython.pyx":637
* 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, 598, __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, 637, __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, 598, __pyx_L1_error)
+ if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 637, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":599
+ /* "_pydevd_sys_monitoring_cython.pyx":638
* if func_code_info.always_filtered_out:
* _code_to_func_code_info_cache[code_obj] = func_code_info
* return func_code_info # <<<<<<<<<<<<<<
@@ -13452,7 +14323,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":597
+ /* "_pydevd_sys_monitoring_cython.pyx":636
* 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: # <<<<<<<<<<<<<<
@@ -13461,7 +14332,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":595
+ /* "_pydevd_sys_monitoring_cython.pyx":634
* 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: # <<<<<<<<<<<<<<
@@ -13471,7 +14342,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
goto __pyx_L31;
}
- /* "_pydevd_sys_monitoring_cython.pyx":602
+ /* "_pydevd_sys_monitoring_cython.pyx":641
*
* else:
* func_code_info.always_filtered_out = False # <<<<<<<<<<<<<<
@@ -13483,16 +14354,16 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
}
__pyx_L31:;
- /* "_pydevd_sys_monitoring_cython.pyx":605
+ /* "_pydevd_sys_monitoring_cython.pyx":644
*
* # 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, 605, __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, 644, __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, 605, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_get); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 644, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_4 = NULL;
@@ -13513,24 +14384,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, 605, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 644, __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, 605, __pyx_L1_error)
+ if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(0, 644, __pyx_L1_error)
__pyx_v_breakpoints = ((PyObject*)__pyx_t_1);
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":606
+ /* "_pydevd_sys_monitoring_cython.pyx":645
* # 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, 606, __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, 645, __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, 606, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_get); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 645, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -13551,24 +14422,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, 606, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 645, __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":611
+ /* "_pydevd_sys_monitoring_cython.pyx":650
* # 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, 611, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_function_breakpoint); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 650, __pyx_L1_error)
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":613
+ /* "_pydevd_sys_monitoring_cython.pyx":652
* if function_breakpoint:
* # Go directly into tracing mode
* func_code_info.function_breakpoint_found = True # <<<<<<<<<<<<<<
@@ -13577,7 +14448,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":614
+ /* "_pydevd_sys_monitoring_cython.pyx":653
* # Go directly into tracing mode
* func_code_info.function_breakpoint_found = True
* func_code_info.function_breakpoint = function_breakpoint # <<<<<<<<<<<<<<
@@ -13590,7 +14461,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":611
+ /* "_pydevd_sys_monitoring_cython.pyx":650
* # print(func_code_info.canonical_normalized_filename)
* # print(py_db.breakpoints.get(func_code_info.canonical_normalized_filename))
* if function_breakpoint: # <<<<<<<<<<<<<<
@@ -13599,29 +14470,29 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":616
+ /* "_pydevd_sys_monitoring_cython.pyx":655
* 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, 616, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_breakpoints); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 655, __pyx_L1_error)
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":620
+ /* "_pydevd_sys_monitoring_cython.pyx":659
* # 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, 620, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 659, __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":622
+ /* "_pydevd_sys_monitoring_cython.pyx":661
* bp_line_to_breakpoint = {}
*
* for breakpoint_line, bp in breakpoints.items(): # <<<<<<<<<<<<<<
@@ -13631,9 +14502,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, 622, __pyx_L1_error)
+ __PYX_ERR(0, 661, __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, 622, __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, 661, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_1);
__pyx_t_1 = __pyx_t_4;
@@ -13641,7 +14512,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, 622, __pyx_L1_error)
+ if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 661, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_GOTREF(__pyx_t_2);
__Pyx_XDECREF_SET(__pyx_v_breakpoint_line, __pyx_t_4);
@@ -13649,26 +14520,30 @@ 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":623
+ /* "_pydevd_sys_monitoring_cython.pyx":662
*
* 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, 623, __pyx_L1_error)
+ if (unlikely(__pyx_v_line_to_offset == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
+ __PYX_ERR(0, 662, __pyx_L1_error)
+ }
+ __pyx_t_14 = (__Pyx_PyDict_ContainsTF(__pyx_v_breakpoint_line, __pyx_v_line_to_offset, Py_EQ)); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 662, __pyx_L1_error)
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":624
+ /* "_pydevd_sys_monitoring_cython.pyx":663
* 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, 624, __pyx_L1_error)
+ if (unlikely((PyDict_SetItem(__pyx_v_bp_line_to_breakpoint, __pyx_v_breakpoint_line, __pyx_v_bp) < 0))) __PYX_ERR(0, 663, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":623
+ /* "_pydevd_sys_monitoring_cython.pyx":662
*
* for breakpoint_line, bp in breakpoints.items():
* if breakpoint_line in line_to_offset: # <<<<<<<<<<<<<<
@@ -13679,17 +14554,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":626
+ /* "_pydevd_sys_monitoring_cython.pyx":665
* 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, 626, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_bp_line_to_breakpoint); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 665, __pyx_L1_error)
__pyx_v_func_code_info->breakpoint_found = (!(!__pyx_t_14));
- /* "_pydevd_sys_monitoring_cython.pyx":627
+ /* "_pydevd_sys_monitoring_cython.pyx":666
*
* func_code_info.breakpoint_found = bool(bp_line_to_breakpoint)
* func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint # <<<<<<<<<<<<<<
@@ -13702,7 +14577,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":616
+ /* "_pydevd_sys_monitoring_cython.pyx":655
* func_code_info.function_breakpoint = function_breakpoint
*
* if breakpoints: # <<<<<<<<<<<<<<
@@ -13711,39 +14586,39 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":629
+ /* "_pydevd_sys_monitoring_cython.pyx":668
* 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, 629, __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, 668, __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, 629, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 668, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":630
+ /* "_pydevd_sys_monitoring_cython.pyx":669
*
* 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, 630, __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, 669, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_plugin_manager = __pyx_t_1;
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":631
+ /* "_pydevd_sys_monitoring_cython.pyx":670
* 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, 631, __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, 670, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -13763,44 +14638,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, 631, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 670, __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":633
+ /* "_pydevd_sys_monitoring_cython.pyx":672
* 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, 633, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_v_is_tracked_frame); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 672, __pyx_L1_error)
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":634
+ /* "_pydevd_sys_monitoring_cython.pyx":673
*
* 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, 634, __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, 673, __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, 634, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_14 < 0))) __PYX_ERR(0, 673, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_14) {
- /* "_pydevd_sys_monitoring_cython.pyx":635
+ /* "_pydevd_sys_monitoring_cython.pyx":674
* 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, 635, __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, 674, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -13820,34 +14695,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, 635, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 674, __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":636
+ /* "_pydevd_sys_monitoring_cython.pyx":675
* 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, 636, __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, 675, __pyx_L1_error)
__pyx_v_func_code_info->plugin_line_breakpoint_found = __pyx_t_14;
- /* "_pydevd_sys_monitoring_cython.pyx":637
+ /* "_pydevd_sys_monitoring_cython.pyx":676
* 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, 637, __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, 676, __pyx_L1_error)
__pyx_v_func_code_info->plugin_call_breakpoint_found = __pyx_t_14;
- /* "_pydevd_sys_monitoring_cython.pyx":634
+ /* "_pydevd_sys_monitoring_cython.pyx":673
*
* if is_tracked_frame:
* if py_db.has_plugin_line_breaks: # <<<<<<<<<<<<<<
@@ -13856,14 +14731,14 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":639
+ /* "_pydevd_sys_monitoring_cython.pyx":678
* 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, 639, __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, 678, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -13883,44 +14758,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, 639, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 678, __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":640
+ /* "_pydevd_sys_monitoring_cython.pyx":679
*
* 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, 640, __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, 679, __pyx_L1_error)
__pyx_v_func_code_info->plugin_line_stepping = __pyx_t_14;
- /* "_pydevd_sys_monitoring_cython.pyx":641
+ /* "_pydevd_sys_monitoring_cython.pyx":680
* 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, 641, __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, 680, __pyx_L1_error)
__pyx_v_func_code_info->plugin_call_stepping = __pyx_t_14;
- /* "_pydevd_sys_monitoring_cython.pyx":642
+ /* "_pydevd_sys_monitoring_cython.pyx":681
* 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, 642, __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, 681, __pyx_L1_error)
__pyx_v_func_code_info->plugin_return_stepping = __pyx_t_14;
- /* "_pydevd_sys_monitoring_cython.pyx":633
+ /* "_pydevd_sys_monitoring_cython.pyx":672
* is_tracked_frame = plugin_manager.is_tracked_frame(frame)
*
* if is_tracked_frame: # <<<<<<<<<<<<<<
@@ -13929,7 +14804,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":629
+ /* "_pydevd_sys_monitoring_cython.pyx":668
* func_code_info.bp_line_to_breakpoint = bp_line_to_breakpoint
*
* if py_db.plugin: # <<<<<<<<<<<<<<
@@ -13938,19 +14813,19 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":644
+ /* "_pydevd_sys_monitoring_cython.pyx":683
* 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, 644, __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, 683, __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, 644, __pyx_L1_error)
+ if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_code_obj, ((PyObject *)__pyx_v_func_code_info)) < 0))) __PYX_ERR(0, 683, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":645
+ /* "_pydevd_sys_monitoring_cython.pyx":684
*
* _code_to_func_code_info_cache[code_obj] = func_code_info
* return func_code_info # <<<<<<<<<<<<<<
@@ -13962,7 +14837,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":482
+ /* "_pydevd_sys_monitoring_cython.pyx":521
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef FuncCodeInfo _get_func_code_info(code_obj, frame_or_depth): # <<<<<<<<<<<<<<
@@ -13987,7 +14862,7 @@ static struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_f_29
__Pyx_XDECREF(__pyx_v_cache_file_type_key);
__Pyx_XDECREF(__pyx_v_co_filename);
__Pyx_XDECREF(__pyx_v_co_name);
- __Pyx_XDECREF(__pyx_v_code_line_info);
+ __Pyx_XDECREF((PyObject *)__pyx_v_code_line_info);
__Pyx_XDECREF(__pyx_v_line_to_offset);
__Pyx_XDECREF(__pyx_v_abs_path_real_path_and_base);
__Pyx_XDECREF(__pyx_v_frame);
@@ -14062,7 +14937,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 482, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 521, __pyx_L3_error)
else goto __pyx_L5_argtuple_error;
CYTHON_FALLTHROUGH;
case 1:
@@ -14070,14 +14945,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 482, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 521, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, 1); __PYX_ERR(0, 482, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, 1); __PYX_ERR(0, 521, __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, 482, __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, 521, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 2)) {
goto __pyx_L5_argtuple_error;
@@ -14090,7 +14965,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, 482, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_get_func_code_info", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 521, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -14126,7 +15001,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, 482, __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, 521, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
@@ -14143,7 +15018,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_2_get_func_code_info(C
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":650
+/* "_pydevd_sys_monitoring_cython.pyx":689
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_line_tracing(code): # <<<<<<<<<<<<<<
@@ -14167,30 +15042,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":656
+ /* "_pydevd_sys_monitoring_cython.pyx":695
* # 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, 656, __pyx_L1_error)
+ __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 695, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":657
+ /* "_pydevd_sys_monitoring_cython.pyx":696
* # 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, 657, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 696, __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, 657, __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, 696, __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, 657, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 696, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -14211,47 +15086,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, 657, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 696, __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":658
+ /* "_pydevd_sys_monitoring_cython.pyx":697
* _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, 658, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 697, __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, 658, __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, 697, __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, 658, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_LINE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __pyx_t_6 = PyNumber_Or(__pyx_v_events, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 697, __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, 658, __pyx_L1_error)
+ __pyx_t_7 = PyNumber_Or(__pyx_t_6, __pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 697, __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;
@@ -14275,13 +15150,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, 658, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 697, __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":650
+ /* "_pydevd_sys_monitoring_cython.pyx":689
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_line_tracing(code): # <<<<<<<<<<<<<<
@@ -14308,7 +15183,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_line_tracing(Py
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":663
+/* "_pydevd_sys_monitoring_cython.pyx":702
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_return_tracing(code): # <<<<<<<<<<<<<<
@@ -14331,30 +15206,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":669
+ /* "_pydevd_sys_monitoring_cython.pyx":708
* # 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, 669, __pyx_L1_error)
+ __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 708, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":670
+ /* "_pydevd_sys_monitoring_cython.pyx":709
* # 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, 670, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 709, __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, 670, __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, 709, __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, 670, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 709, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -14375,36 +15250,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, 670, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 709, __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":671
+ /* "_pydevd_sys_monitoring_cython.pyx":710
* _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, 671, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 710, __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, 671, __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, 710, __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, 671, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 710, __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, 671, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 710, __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, 671, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 710, __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, 671, __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, 710, __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, 671, __pyx_L1_error)
+ __pyx_t_6 = PyNumber_Or(__pyx_v_events, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 710, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_4 = NULL;
@@ -14427,13 +15302,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, 671, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 710, __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":663
+ /* "_pydevd_sys_monitoring_cython.pyx":702
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_return_tracing(code): # <<<<<<<<<<<<<<
@@ -14459,7 +15334,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_return_tracing(
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":676
+/* "_pydevd_sys_monitoring_cython.pyx":715
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef disable_code_tracing(code): # <<<<<<<<<<<<<<
@@ -14487,30 +15362,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":681
+ /* "_pydevd_sys_monitoring_cython.pyx":720
* # 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, 681, __pyx_L1_error)
+ __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 720, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":682
+ /* "_pydevd_sys_monitoring_cython.pyx":721
* # 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, 682, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 721, __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, 682, __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, 721, __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, 682, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 721, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -14531,13 +15406,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, 682, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 721, __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":676
+ /* "_pydevd_sys_monitoring_cython.pyx":715
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef disable_code_tracing(code): # <<<<<<<<<<<<<<
@@ -14614,12 +15489,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 676, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 715, __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, 676, __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, 715, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 1)) {
goto __pyx_L5_argtuple_error;
@@ -14630,7 +15505,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, 676, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("disable_code_tracing", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 715, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -14666,7 +15541,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, 676, __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, 715, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
@@ -14683,7 +15558,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_4disable_code_tracing(
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":687
+/* "_pydevd_sys_monitoring_cython.pyx":726
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<<
@@ -14720,22 +15595,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":702
+ /* "_pydevd_sys_monitoring_cython.pyx":741
* # 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, 702, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 741, __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, 702, __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, 741, __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":703
+ /* "_pydevd_sys_monitoring_cython.pyx":742
* # 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: # <<<<<<<<<<<<<<
@@ -14748,15 +15623,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, 703, __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, 742, __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, 703, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 742, __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":704
+ /* "_pydevd_sys_monitoring_cython.pyx":743
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed:
* return False # <<<<<<<<<<<<<<
@@ -14768,7 +15643,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":703
+ /* "_pydevd_sys_monitoring_cython.pyx":742
* # 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: # <<<<<<<<<<<<<<
@@ -14777,19 +15652,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":706
+ /* "_pydevd_sys_monitoring_cython.pyx":745
* 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, 706, __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, 745, __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":707
+ /* "_pydevd_sys_monitoring_cython.pyx":746
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, frame)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -14798,7 +15673,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":710
+ /* "_pydevd_sys_monitoring_cython.pyx":749
* # if DEBUG:
* # print('disable (always skip)')
* return False # <<<<<<<<<<<<<<
@@ -14810,7 +15685,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":707
+ /* "_pydevd_sys_monitoring_cython.pyx":746
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, frame)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -14819,7 +15694,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":712
+ /* "_pydevd_sys_monitoring_cython.pyx":751
* return False
*
* try: # <<<<<<<<<<<<<<
@@ -14835,22 +15710,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":713
+ /* "_pydevd_sys_monitoring_cython.pyx":752
*
* 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, 713, __pyx_L7_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 752, __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, 713, __pyx_L7_error)
+ __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_active); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 752, __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, 713, __pyx_L7_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_n_s_get); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 752, __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, 713, __pyx_L7_error)
+ __pyx_t_8 = __Pyx_PyInt_From_unsigned_long(__pyx_v_thread_ident); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 752, __pyx_L7_error)
__Pyx_GOTREF(__pyx_t_8);
__pyx_t_9 = NULL;
__pyx_t_10 = 0;
@@ -14871,14 +15746,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, 713, __pyx_L7_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 752, __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":714
+ /* "_pydevd_sys_monitoring_cython.pyx":753
* try:
* thread = threading._active.get(thread_ident)
* if thread is None: # <<<<<<<<<<<<<<
@@ -14888,7 +15763,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":715
+ /* "_pydevd_sys_monitoring_cython.pyx":754
* thread = threading._active.get(thread_ident)
* if thread is None:
* return False # <<<<<<<<<<<<<<
@@ -14900,7 +15775,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":714
+ /* "_pydevd_sys_monitoring_cython.pyx":753
* try:
* thread = threading._active.get(thread_ident)
* if thread is None: # <<<<<<<<<<<<<<
@@ -14909,19 +15784,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":716
+ /* "_pydevd_sys_monitoring_cython.pyx":755
* 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, 716, __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, 755, __pyx_L7_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_v_additional_info = __pyx_t_2;
__pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":712
+ /* "_pydevd_sys_monitoring_cython.pyx":751
* return False
*
* try: # <<<<<<<<<<<<<<
@@ -14939,7 +15814,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":717
+ /* "_pydevd_sys_monitoring_cython.pyx":756
* return False
* additional_info = set_additional_thread_info(thread)
* except: # <<<<<<<<<<<<<<
@@ -14948,12 +15823,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, 717, __pyx_L9_except_error)
+ if (__Pyx_GetException(&__pyx_t_2, &__pyx_t_1, &__pyx_t_8) < 0) __PYX_ERR(0, 756, __pyx_L9_except_error)
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_8);
- /* "_pydevd_sys_monitoring_cython.pyx":719
+ /* "_pydevd_sys_monitoring_cython.pyx":758
* except:
* # Cannot set based on stepping
* return False # <<<<<<<<<<<<<<
@@ -14969,7 +15844,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns
goto __pyx_L10_except_return;
}
- /* "_pydevd_sys_monitoring_cython.pyx":712
+ /* "_pydevd_sys_monitoring_cython.pyx":751
* return False
*
* try: # <<<<<<<<<<<<<<
@@ -14997,7 +15872,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_enable_code_tracing(uns
__pyx_L12_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":721
+ /* "_pydevd_sys_monitoring_cython.pyx":760
* return False
*
* return _enable_code_tracing(py_db, additional_info, func_code_info, code, frame, False) # <<<<<<<<<<<<<<
@@ -15005,15 +15880,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, 721, __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, 721, __pyx_L1_error)
- __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 721, __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, 760, __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, 760, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyBool_FromLong(__pyx_t_3); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 760, __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":687
+ /* "_pydevd_sys_monitoring_cython.pyx":726
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef enable_code_tracing(unsigned long thread_ident, code, frame): # <<<<<<<<<<<<<<
@@ -15099,7 +15974,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 687, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 726, __pyx_L3_error)
else goto __pyx_L5_argtuple_error;
CYTHON_FALLTHROUGH;
case 1:
@@ -15107,9 +15982,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 687, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 726, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 1); __PYX_ERR(0, 687, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 1); __PYX_ERR(0, 726, __pyx_L3_error)
}
CYTHON_FALLTHROUGH;
case 2:
@@ -15117,14 +15992,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[2]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 687, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 726, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 2); __PYX_ERR(0, 687, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, 2); __PYX_ERR(0, 726, __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, 687, __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, 726, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 3)) {
goto __pyx_L5_argtuple_error;
@@ -15133,13 +16008,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, 687, __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, 726, __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, 687, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("enable_code_tracing", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 726, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -15175,7 +16050,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, 687, __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, 726, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
@@ -15192,7 +16067,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_6enable_code_tracing(C
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":726
+/* "_pydevd_sys_monitoring_cython.pyx":765
* # 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): # <<<<<<<<<<<<<<
@@ -15218,7 +16093,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":738
+ /* "_pydevd_sys_monitoring_cython.pyx":777
* """
* # DEBUG = False # 'my_code.py' in code.co_filename or 'other.py' in code.co_filename
* step_cmd = additional_info.pydev_step_cmd # <<<<<<<<<<<<<<
@@ -15228,7 +16103,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":739
+ /* "_pydevd_sys_monitoring_cython.pyx":778
* # 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 # <<<<<<<<<<<<<<
@@ -15237,7 +16112,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":740
+ /* "_pydevd_sys_monitoring_cython.pyx":779
* step_cmd = additional_info.pydev_step_cmd
* is_stepping = step_cmd != -1
* code_tracing_added = False # <<<<<<<<<<<<<<
@@ -15246,7 +16121,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":742
+ /* "_pydevd_sys_monitoring_cython.pyx":781
* code_tracing_added = False
*
* if func_code_info.always_filtered_out: # <<<<<<<<<<<<<<
@@ -15255,7 +16130,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":746
+ /* "_pydevd_sys_monitoring_cython.pyx":785
* # print('disable (always filtered out)')
* if (
* warn_on_filtered_out # <<<<<<<<<<<<<<
@@ -15268,7 +16143,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":747
+ /* "_pydevd_sys_monitoring_cython.pyx":786
* if (
* warn_on_filtered_out
* and is_stepping # <<<<<<<<<<<<<<
@@ -15281,7 +16156,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":748
+ /* "_pydevd_sys_monitoring_cython.pyx":787
* warn_on_filtered_out
* and is_stepping
* and additional_info.pydev_original_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE) # <<<<<<<<<<<<<<
@@ -15289,28 +16164,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, 748, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 787, __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, 748, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 787, __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, 748, __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, 787, __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, 748, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 787, __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, 748, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 787, __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, 748, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 787, __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, 748, __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, 787, __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, 748, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 787, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_3 = __pyx_t_7;
__pyx_L9_bool_binop_done:;
@@ -15321,22 +16196,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":749
+ /* "_pydevd_sys_monitoring_cython.pyx":788
* 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, 749, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_global_notify_skipped_step_in); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 788, __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, 749, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 788, __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":745
+ /* "_pydevd_sys_monitoring_cython.pyx":784
* # if DEBUG:
* # print('disable (always filtered out)')
* if ( # <<<<<<<<<<<<<<
@@ -15345,18 +16220,18 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
if (__pyx_t_2) {
- /* "_pydevd_sys_monitoring_cython.pyx":751
+ /* "_pydevd_sys_monitoring_cython.pyx":790
* 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, 751, __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, 790, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":745
+ /* "_pydevd_sys_monitoring_cython.pyx":784
* # if DEBUG:
* # print('disable (always filtered out)')
* if ( # <<<<<<<<<<<<<<
@@ -15365,7 +16240,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":753
+ /* "_pydevd_sys_monitoring_cython.pyx":792
* _notify_skipped_step_in_because_of_filters(py_db, frame)
*
* if is_stepping: # <<<<<<<<<<<<<<
@@ -15374,21 +16249,21 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
if (__pyx_v_is_stepping) {
- /* "_pydevd_sys_monitoring_cython.pyx":755
+ /* "_pydevd_sys_monitoring_cython.pyx":794
* 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, 755, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 794, __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, 755, __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, 794, __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":756
+ /* "_pydevd_sys_monitoring_cython.pyx":795
* # Tracing may be needed for return value
* _enable_step_tracing(py_db, code, step_cmd, additional_info, frame)
* code_tracing_added = True # <<<<<<<<<<<<<<
@@ -15397,7 +16272,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":753
+ /* "_pydevd_sys_monitoring_cython.pyx":792
* _notify_skipped_step_in_because_of_filters(py_db, frame)
*
* if is_stepping: # <<<<<<<<<<<<<<
@@ -15406,7 +16281,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":757
+ /* "_pydevd_sys_monitoring_cython.pyx":796
* _enable_step_tracing(py_db, code, step_cmd, additional_info, frame)
* code_tracing_added = True
* return code_tracing_added # <<<<<<<<<<<<<<
@@ -15416,7 +16291,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":742
+ /* "_pydevd_sys_monitoring_cython.pyx":781
* code_tracing_added = False
*
* if func_code_info.always_filtered_out: # <<<<<<<<<<<<<<
@@ -15425,7 +16300,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":759
+ /* "_pydevd_sys_monitoring_cython.pyx":798
* return code_tracing_added
*
* if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<<
@@ -15441,18 +16316,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":760
+ /* "_pydevd_sys_monitoring_cython.pyx":799
*
* 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, 760, __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, 799, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":761
+ /* "_pydevd_sys_monitoring_cython.pyx":800
* if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found:
* _enable_line_tracing(code)
* code_tracing_added = True # <<<<<<<<<<<<<<
@@ -15461,7 +16336,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":759
+ /* "_pydevd_sys_monitoring_cython.pyx":798
* return code_tracing_added
*
* if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<<
@@ -15470,7 +16345,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":763
+ /* "_pydevd_sys_monitoring_cython.pyx":802
* code_tracing_added = True
*
* if is_stepping: # <<<<<<<<<<<<<<
@@ -15479,21 +16354,21 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
if (__pyx_v_is_stepping) {
- /* "_pydevd_sys_monitoring_cython.pyx":764
+ /* "_pydevd_sys_monitoring_cython.pyx":803
*
* 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, 764, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 803, __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, 764, __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, 803, __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":765
+ /* "_pydevd_sys_monitoring_cython.pyx":804
* if is_stepping:
* _enable_step_tracing(py_db, code, step_cmd, additional_info, frame)
* code_tracing_added = True # <<<<<<<<<<<<<<
@@ -15502,7 +16377,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":763
+ /* "_pydevd_sys_monitoring_cython.pyx":802
* code_tracing_added = True
*
* if is_stepping: # <<<<<<<<<<<<<<
@@ -15511,7 +16386,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":767
+ /* "_pydevd_sys_monitoring_cython.pyx":806
* code_tracing_added = True
*
* return code_tracing_added # <<<<<<<<<<<<<<
@@ -15521,7 +16396,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":726
+ /* "_pydevd_sys_monitoring_cython.pyx":765
* # 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): # <<<<<<<<<<<<<<
@@ -15541,7 +16416,7 @@ static int __pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing(PyObject
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":772
+/* "_pydevd_sys_monitoring_cython.pyx":811
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame): # <<<<<<<<<<<<<<
@@ -15563,7 +16438,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":777
+ /* "_pydevd_sys_monitoring_cython.pyx":816
* # ENDIF
* # fmt: on
* if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<<
@@ -15572,44 +16447,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, 777, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 816, __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, 777, __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, 816, __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, 777, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 816, __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, 777, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 816, __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, 777, __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, 816, __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, 777, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 816, __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, 777, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 816, __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, 777, __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, 816, __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, 777, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 816, __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, 777, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 816, __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, 777, __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, 816, __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, 777, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 816, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_2 = __pyx_t_5;
__pyx_L4_bool_binop_done:;
@@ -15617,29 +16492,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":779
+ /* "_pydevd_sys_monitoring_cython.pyx":818
* 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, 779, __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, 818, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":780
+ /* "_pydevd_sys_monitoring_cython.pyx":819
* # 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, 780, __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, 819, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":777
+ /* "_pydevd_sys_monitoring_cython.pyx":816
* # ENDIF
* # fmt: on
* if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE, CMD_SMART_STEP_INTO): # <<<<<<<<<<<<<<
@@ -15649,7 +16524,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py
goto __pyx_L3;
}
- /* "_pydevd_sys_monitoring_cython.pyx":782
+ /* "_pydevd_sys_monitoring_cython.pyx":821
* _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): # <<<<<<<<<<<<<<
@@ -15658,22 +16533,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, 782, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 821, __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, 782, __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, 821, __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, 782, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 821, __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, 782, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 821, __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, 782, __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, 821, __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, 782, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 821, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_2 = __pyx_t_6;
__pyx_L10_bool_binop_done:;
@@ -15686,27 +16561,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, 782, __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, 821, __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, 782, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 821, __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":783
+ /* "_pydevd_sys_monitoring_cython.pyx":822
*
* 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, 783, __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, 822, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":782
+ /* "_pydevd_sys_monitoring_cython.pyx":821
* _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): # <<<<<<<<<<<<<<
@@ -15716,7 +16591,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py
goto __pyx_L3;
}
- /* "_pydevd_sys_monitoring_cython.pyx":785
+ /* "_pydevd_sys_monitoring_cython.pyx":824
* _enable_return_tracing(code)
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<<
@@ -15725,22 +16600,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, 785, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 824, __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, 785, __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, 824, __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, 785, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 824, __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, 785, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 824, __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, 785, __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, 824, __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, 785, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 824, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_5 = __pyx_t_6;
__pyx_L12_bool_binop_done:;
@@ -15748,7 +16623,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":786
+ /* "_pydevd_sys_monitoring_cython.pyx":825
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):
* if _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<<
@@ -15757,36 +16632,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, 786, __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, 825, __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, 786, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 825, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":787
+ /* "_pydevd_sys_monitoring_cython.pyx":826
* 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, 787, __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, 826, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":791
+ /* "_pydevd_sys_monitoring_cython.pyx":830
* # 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, 791, __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, 830, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":786
+ /* "_pydevd_sys_monitoring_cython.pyx":825
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):
* if _is_same_frame(info, info.pydev_step_stop, frame): # <<<<<<<<<<<<<<
@@ -15796,16 +16671,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py
goto __pyx_L14;
}
- /* "_pydevd_sys_monitoring_cython.pyx":792
+ /* "_pydevd_sys_monitoring_cython.pyx":831
* # 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, 792, __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, 831, __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, 792, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 831, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_5) {
} else {
@@ -15814,30 +16689,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, 792, __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, 831, __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, 792, __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, 831, __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, 792, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 831, __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":794
+ /* "_pydevd_sys_monitoring_cython.pyx":833
* 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, 794, __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, 833, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":792
+ /* "_pydevd_sys_monitoring_cython.pyx":831
* # 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): # <<<<<<<<<<<<<<
@@ -15847,7 +16722,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py
}
__pyx_L14:;
- /* "_pydevd_sys_monitoring_cython.pyx":785
+ /* "_pydevd_sys_monitoring_cython.pyx":824
* _enable_return_tracing(code)
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<<
@@ -15857,7 +16732,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py
}
__pyx_L3:;
- /* "_pydevd_sys_monitoring_cython.pyx":772
+ /* "_pydevd_sys_monitoring_cython.pyx":811
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_step_tracing(py_db, code, step_cmd, PyDBAdditionalThreadInfo info, frame): # <<<<<<<<<<<<<<
@@ -15880,7 +16755,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_step_tracing(Py
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":812
+/* "_pydevd_sys_monitoring_cython.pyx":851
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* def __init__(self, list try_except_infos): # <<<<<<<<<<<<<<
@@ -15924,12 +16799,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, 812, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 851, __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, 812, __pyx_L3_error)
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(0, 851, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 1)) {
goto __pyx_L5_argtuple_error;
@@ -15940,7 +16815,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, 812, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 851, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -15954,7 +16829,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, 812, __pyx_L1_error)
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_try_except_infos), (&PyList_Type), 1, "try_except_infos", 1))) __PYX_ERR(0, 851, __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 */
@@ -15977,7 +16852,7 @@ static int __pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerObj___i
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("__init__", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":813
+ /* "_pydevd_sys_monitoring_cython.pyx":852
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* def __init__(self, list try_except_infos):
* self.try_except_infos = try_except_infos # <<<<<<<<<<<<<<
@@ -15990,7 +16865,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":812
+ /* "_pydevd_sys_monitoring_cython.pyx":851
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* def __init__(self, list try_except_infos): # <<<<<<<<<<<<<<
@@ -16405,7 +17280,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22_TryExceptContainerO
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":824
+/* "_pydevd_sys_monitoring_cython.pyx":863
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _unwind_event(code, instruction, exc): # <<<<<<<<<<<<<<
@@ -16437,16 +17312,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
int __pyx_t_8;
int __pyx_t_9;
int __pyx_t_10;
- unsigned int __pyx_t_11;
- struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_12;
- PyObject *__pyx_t_13 = NULL;
- PyObject *(*__pyx_t_14)(PyObject *);
+ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_11;
+ 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":831
+ /* "_pydevd_sys_monitoring_cython.pyx":870
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -16462,23 +17337,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":832
+ /* "_pydevd_sys_monitoring_cython.pyx":871
* # 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, 832, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 871, __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, 832, __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, 871, __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, 832, __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, 871, __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":831
+ /* "_pydevd_sys_monitoring_cython.pyx":870
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -16494,7 +17369,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":833
+ /* "_pydevd_sys_monitoring_cython.pyx":872
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -16503,25 +17378,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, 833, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 872, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":834
+ /* "_pydevd_sys_monitoring_cython.pyx":873
* 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, 834, __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, 873, __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, 834, __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, 873, __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":835
+ /* "_pydevd_sys_monitoring_cython.pyx":874
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -16531,7 +17406,7 @@ 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":836
+ /* "_pydevd_sys_monitoring_cython.pyx":875
* thread_info = _get_thread_info(True, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -16545,7 +17420,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":835
+ /* "_pydevd_sys_monitoring_cython.pyx":874
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -16559,7 +17434,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
goto __pyx_L4_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":831
+ /* "_pydevd_sys_monitoring_cython.pyx":870
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -16586,22 +17461,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
__pyx_L8_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":839
+ /* "_pydevd_sys_monitoring_cython.pyx":878
*
*
* 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, 839, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 878, __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, 839, __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, 878, __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":840
+ /* "_pydevd_sys_monitoring_cython.pyx":879
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -16614,26 +17489,26 @@ 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, 840, __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, 879, __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, 840, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 879, __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":841
+ /* "_pydevd_sys_monitoring_cython.pyx":880
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed:
* return # <<<<<<<<<<<<<<
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ * if not thread_info.trace or not thread_info.is_thread_alive():
*/
__Pyx_XDECREF(__pyx_r);
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":840
+ /* "_pydevd_sys_monitoring_cython.pyx":879
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -16642,52 +17517,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":843
+ /* "_pydevd_sys_monitoring_cython.pyx":882
* return
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # 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, 843, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 882, __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_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_is_thread_alive); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 843, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_6);
- __pyx_t_5 = NULL;
- __pyx_t_11 = 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);
- __Pyx_INCREF(function);
- __Pyx_DECREF_SET(__pyx_t_6, function);
- __pyx_t_11 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_v_thread_info->thread};
- __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 843, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_4);
- __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, 843, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_10 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 882, __pyx_L1_error)
__pyx_t_9 = (!__pyx_t_10);
__pyx_t_8 = __pyx_t_9;
__pyx_L16_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":846
+ /* "_pydevd_sys_monitoring_cython.pyx":885
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
* return # <<<<<<<<<<<<<<
@@ -16698,28 +17548,28 @@ 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":843
+ /* "_pydevd_sys_monitoring_cython.pyx":882
* return
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":848
+ /* "_pydevd_sys_monitoring_cython.pyx":887
* 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, 848, __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, 887, __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":849
+ /* "_pydevd_sys_monitoring_cython.pyx":888
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -16728,18 +17578,18 @@ 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":850
+ /* "_pydevd_sys_monitoring_cython.pyx":889
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code:
* return # <<<<<<<<<<<<<<
*
- * # pydev_log.debug('_unwind_event', code, exc)
+ * # print('_unwind_event', code, exc)
*/
__Pyx_XDECREF(__pyx_r);
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":849
+ /* "_pydevd_sys_monitoring_cython.pyx":888
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -16748,53 +17598,53 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":853
+ /* "_pydevd_sys_monitoring_cython.pyx":892
*
- * # pydev_log.debug('_unwind_event', code, exc)
+ * # print('_unwind_event', code, exc)
* frame = _getframe(1) # <<<<<<<<<<<<<<
* arg = (type(exc), exc, exc.__traceback__)
*
*/
- __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, 853, __pyx_L1_error)
+ __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, 892, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_frame = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":854
- * # pydev_log.debug('_unwind_event', code, exc)
+ /* "_pydevd_sys_monitoring_cython.pyx":893
+ * # 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, 854, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_n_s_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 893, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 854, __pyx_L1_error)
+ __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 893, __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, 854, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc)))) __PYX_ERR(0, 893, __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, 854, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc)) __PYX_ERR(0, 893, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_4);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 854, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 893, __pyx_L1_error);
__pyx_t_4 = 0;
__pyx_v_arg = ((PyObject*)__pyx_t_6);
__pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":857
+ /* "_pydevd_sys_monitoring_cython.pyx":896
*
* 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, 857, __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, 896, __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, 857, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 896, __pyx_L1_error)
if (!__pyx_t_8) {
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
} else {
@@ -16803,9 +17653,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, 857, __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, 896, __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, 857, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 896, __pyx_L1_error)
if (!__pyx_t_8) {
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
} else {
@@ -16814,7 +17664,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, 857, __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, 896, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_INCREF(__pyx_t_4);
__pyx_t_6 = __pyx_t_4;
@@ -16823,65 +17673,65 @@ 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":861
+ /* "_pydevd_sys_monitoring_cython.pyx":900
*
*
* 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_8 = __Pyx_PyObject_IsTrue(__pyx_v_has_caught_exception_breakpoint_in_pydb); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 861, __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, 900, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":862
+ /* "_pydevd_sys_monitoring_cython.pyx":901
*
* 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_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 862, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 901, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":863
+ /* "_pydevd_sys_monitoring_cython.pyx":902
* 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 # <<<<<<<<<<<<<<
* )
* if user_uncaught_exc_info:
*/
- __pyx_t_4 = PyTuple_New(6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 862, __pyx_L1_error)
+ __pyx_t_4 = PyTuple_New(6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_py_db)) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, ((PyObject *)__pyx_v_thread_info->additional_info))) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_frame)) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_v_thread_info->thread)) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 4, __pyx_v_arg)) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error);
- __pyx_t_5 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 863, __pyx_L1_error)
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 5, Py_None)) __PYX_ERR(0, 901, __pyx_L1_error);
+ __pyx_t_5 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 902, __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, 863, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_5, __pyx_n_s_is_unwind, Py_True) < 0) __PYX_ERR(0, 902, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":862
+ /* "_pydevd_sys_monitoring_cython.pyx":901
*
* 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, 862, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_Call(__pyx_t_6, __pyx_t_4, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 901, __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;
@@ -16892,7 +17742,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
if (unlikely(size != 3)) {
if (size > 3) __Pyx_RaiseTooManyValuesError(3);
else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
- __PYX_ERR(0, 862, __pyx_L1_error)
+ __PYX_ERR(0, 901, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -16908,35 +17758,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(__pyx_t_6);
#else
- __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 862, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 901, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 862, __pyx_L1_error)
+ __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 901, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 862, __pyx_L1_error)
+ __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 901, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
#endif
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
} else {
Py_ssize_t index = -1;
- __pyx_t_13 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 862, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_13);
+ __pyx_t_12 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 901, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_12);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- __pyx_t_14 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_13);
- index = 0; __pyx_t_5 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_5)) goto __pyx_L23_unpacking_failed;
+ __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 = 1; __pyx_t_4 = __pyx_t_14(__pyx_t_13); if (unlikely(!__pyx_t_4)) goto __pyx_L23_unpacking_failed;
+ 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_14(__pyx_t_13); if (unlikely(!__pyx_t_6)) goto __pyx_L23_unpacking_failed;
+ 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_14(__pyx_t_13), 3) < 0) __PYX_ERR(0, 862, __pyx_L1_error)
- __pyx_t_14 = NULL;
- __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_12), 3) < 0) __PYX_ERR(0, 901, __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, 862, __pyx_L1_error)
+ __PYX_ERR(0, 901, __pyx_L1_error)
__pyx_L24_unpacking_done:;
}
__pyx_v__should_stop = __pyx_t_5;
@@ -16946,17 +17796,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
__pyx_v_user_uncaught_exc_info = __pyx_t_6;
__pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":865
+ /* "_pydevd_sys_monitoring_cython.pyx":904
* 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, 865, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_user_uncaught_exc_info); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 904, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":868
+ /* "_pydevd_sys_monitoring_cython.pyx":907
* # 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: # <<<<<<<<<<<<<<
@@ -16966,19 +17816,19 @@ 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":869
+ /* "_pydevd_sys_monitoring_cython.pyx":908
* # 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_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_py_db, __pyx_n_s_collect_try_except_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 869, __pyx_L1_error)
+ __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, 908, __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, 869, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_frame, __pyx_n_s_f_code); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 908, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_14 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_6))) {
__pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6);
@@ -16987,26 +17837,26 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
__Pyx_INCREF(__pyx_t_5);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_6, function);
- __pyx_t_11 = 1;
+ __pyx_t_14 = 1;
}
}
#endif
{
PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_t_4};
- __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
+ __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, 869, __pyx_L1_error)
+ if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 908, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 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, 869, __pyx_L1_error)
+ __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, 908, __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":870
+ /* "_pydevd_sys_monitoring_cython.pyx":909
* 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 # <<<<<<<<<<<<<<
@@ -17019,7 +17869,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":868
+ /* "_pydevd_sys_monitoring_cython.pyx":907
* # 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: # <<<<<<<<<<<<<<
@@ -17028,105 +17878,105 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":872
+ /* "_pydevd_sys_monitoring_cython.pyx":911
* func_code_info.try_except_container_obj = container_obj
*
* 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_7, __pyx_n_s_is_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 872, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_is_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 911, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- /* "_pydevd_sys_monitoring_cython.pyx":873
+ /* "_pydevd_sys_monitoring_cython.pyx":912
*
* 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_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, 873, __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, 912, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __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, 873, __pyx_L1_error)
+ __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, 912, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_13 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_12 = NULL;
+ __pyx_t_14 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_7))) {
- __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_7);
- if (likely(__pyx_t_13)) {
+ __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_13);
+ __Pyx_INCREF(__pyx_t_12);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_11 = 1;
+ __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_4, __pyx_t_5};
- __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_11, 5+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 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;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 872, __pyx_L1_error)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 911, __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":876
+ /* "_pydevd_sys_monitoring_cython.pyx":915
* )
*
* if is_unhandled: # <<<<<<<<<<<<<<
- * # print('stop in user uncaught')
* 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_v_is_unhandled); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 876, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_is_unhandled); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 915, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":878
+ /* "_pydevd_sys_monitoring_cython.pyx":916
+ *
* if is_unhandled:
- * # print('stop in user uncaught')
* handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED) # <<<<<<<<<<<<<<
* return
*
*/
- __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 878, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 916, __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, 878, __pyx_L1_error)
+ __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, 916, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 878, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 916, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_13 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_12 = NULL;
+ __pyx_t_14 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_7))) {
- __pyx_t_13 = PyMethod_GET_SELF(__pyx_t_7);
- if (likely(__pyx_t_13)) {
+ __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_13);
+ __Pyx_INCREF(__pyx_t_12);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_11 = 1;
+ __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_5, __pyx_t_4};
- __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_11, 5+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_13); __pyx_t_13 = 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;
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 878, __pyx_L1_error)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 916, __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":879
- * # print('stop in user uncaught')
+ /* "_pydevd_sys_monitoring_cython.pyx":917
+ * if is_unhandled:
* handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED)
* return # <<<<<<<<<<<<<<
*
@@ -17136,16 +17986,16 @@ 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":876
+ /* "_pydevd_sys_monitoring_cython.pyx":915
* )
*
* if is_unhandled: # <<<<<<<<<<<<<<
- * # print('stop in user uncaught')
* handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED)
+ * return
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":865
+ /* "_pydevd_sys_monitoring_cython.pyx":904
* py_db, thread_info.additional_info, frame, thread_info.thread, arg, None, is_unwind=True
* )
* if user_uncaught_exc_info: # <<<<<<<<<<<<<<
@@ -17154,7 +18004,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":861
+ /* "_pydevd_sys_monitoring_cython.pyx":900
*
*
* if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<<
@@ -17163,52 +18013,52 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":881
+ /* "_pydevd_sys_monitoring_cython.pyx":919
* return
*
* break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions # <<<<<<<<<<<<<<
* if break_on_uncaught_exceptions:
* if frame is _get_unhandled_exception_frame(exc, 1):
*/
- __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, 881, __pyx_L1_error)
+ __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, 919, __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":882
+ /* "_pydevd_sys_monitoring_cython.pyx":920
*
* break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions
* if break_on_uncaught_exceptions: # <<<<<<<<<<<<<<
* if frame is _get_unhandled_exception_frame(exc, 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, 882, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 920, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":883
+ /* "_pydevd_sys_monitoring_cython.pyx":921
* break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions
* if break_on_uncaught_exceptions:
* if frame is _get_unhandled_exception_frame(exc, 1): # <<<<<<<<<<<<<<
* stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg)
* return
*/
- __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(__pyx_v_exc, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 883, __pyx_L1_error)
+ __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__get_unhandled_exception_frame(__pyx_v_exc, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 921, __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":884
+ /* "_pydevd_sys_monitoring_cython.pyx":922
* if break_on_uncaught_exceptions:
* if frame is _get_unhandled_exception_frame(exc, 1):
* stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg) # <<<<<<<<<<<<<<
* return
*
*/
- __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_stop_on_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 884, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_stop_on_unhandled_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 922, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_4 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_14 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_7))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_7);
@@ -17217,21 +18067,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_11 = 1;
+ __pyx_t_14 = 1;
}
}
#endif
{
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_11, 4+__pyx_t_11);
+ __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, 884, __pyx_L1_error)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 922, __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":885
+ /* "_pydevd_sys_monitoring_cython.pyx":923
* if frame is _get_unhandled_exception_frame(exc, 1):
* stop_on_unhandled_exception(py_db, thread_info.thread, thread_info.additional_info, arg)
* return # <<<<<<<<<<<<<<
@@ -17242,7 +18092,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":883
+ /* "_pydevd_sys_monitoring_cython.pyx":921
* break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions
* if break_on_uncaught_exceptions:
* if frame is _get_unhandled_exception_frame(exc, 1): # <<<<<<<<<<<<<<
@@ -17251,7 +18101,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":882
+ /* "_pydevd_sys_monitoring_cython.pyx":920
*
* break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions
* if break_on_uncaught_exceptions: # <<<<<<<<<<<<<<
@@ -17260,7 +18110,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":824
+ /* "_pydevd_sys_monitoring_cython.pyx":863
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _unwind_event(code, instruction, exc): # <<<<<<<<<<<<<<
@@ -17276,7 +18126,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:;
@@ -17296,7 +18146,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__unwind_event(PyObject
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":890
+/* "_pydevd_sys_monitoring_cython.pyx":928
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _raise_event(code, instruction, exc): # <<<<<<<<<<<<<<
@@ -17325,8 +18175,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
int __pyx_t_8;
int __pyx_t_9;
int __pyx_t_10;
- unsigned int __pyx_t_11;
- struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_12;
+ 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 *);
int __pyx_lineno = 0;
@@ -17334,7 +18184,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":907
+ /* "_pydevd_sys_monitoring_cython.pyx":945
* it cannot be individually enabled/disabled for a given code object).
* """
* try: # <<<<<<<<<<<<<<
@@ -17350,23 +18200,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":908
+ /* "_pydevd_sys_monitoring_cython.pyx":946
* """
* 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, 908, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 946, __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, 908, __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, 946, __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, 908, __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, 946, __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":907
+ /* "_pydevd_sys_monitoring_cython.pyx":945
* it cannot be individually enabled/disabled for a given code object).
* """
* try: # <<<<<<<<<<<<<<
@@ -17382,7 +18232,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":909
+ /* "_pydevd_sys_monitoring_cython.pyx":947
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -17391,25 +18241,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, 909, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 947, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":910
+ /* "_pydevd_sys_monitoring_cython.pyx":948
* 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, 910, __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, 948, __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, 910, __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, 948, __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":911
+ /* "_pydevd_sys_monitoring_cython.pyx":949
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -17419,7 +18269,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":912
+ /* "_pydevd_sys_monitoring_cython.pyx":950
* thread_info = _get_thread_info(True, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -17433,7 +18283,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":911
+ /* "_pydevd_sys_monitoring_cython.pyx":949
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -17447,7 +18297,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
goto __pyx_L4_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":907
+ /* "_pydevd_sys_monitoring_cython.pyx":945
* it cannot be individually enabled/disabled for a given code object).
* """
* try: # <<<<<<<<<<<<<<
@@ -17474,22 +18324,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__pyx_L8_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":914
+ /* "_pydevd_sys_monitoring_cython.pyx":952
* 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, 914, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 952, __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, 914, __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, 952, __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":915
+ /* "_pydevd_sys_monitoring_cython.pyx":953
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -17502,26 +18352,26 @@ 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, 915, __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, 953, __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, 915, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 953, __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":916
+ /* "_pydevd_sys_monitoring_cython.pyx":954
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed:
* return # <<<<<<<<<<<<<<
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ * if not thread_info.trace or not thread_info.is_thread_alive():
*/
__Pyx_XDECREF(__pyx_r);
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":915
+ /* "_pydevd_sys_monitoring_cython.pyx":953
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -17530,52 +18380,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":918
+ /* "_pydevd_sys_monitoring_cython.pyx":956
* return
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # 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, 918, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 956, __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_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_is_thread_alive); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 918, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_6);
- __pyx_t_5 = NULL;
- __pyx_t_11 = 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);
- __Pyx_INCREF(function);
- __Pyx_DECREF_SET(__pyx_t_6, function);
- __pyx_t_11 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_v_thread_info->thread};
- __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 918, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_4);
- __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, 918, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
+ __pyx_t_10 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 956, __pyx_L1_error)
__pyx_t_9 = (!__pyx_t_10);
__pyx_t_8 = __pyx_t_9;
__pyx_L16_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":921
+ /* "_pydevd_sys_monitoring_cython.pyx":959
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
* return # <<<<<<<<<<<<<<
@@ -17586,28 +18411,28 @@ 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":918
+ /* "_pydevd_sys_monitoring_cython.pyx":956
* return
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":923
+ /* "_pydevd_sys_monitoring_cython.pyx":961
* 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, 923, __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, 961, __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":924
+ /* "_pydevd_sys_monitoring_cython.pyx":962
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -17616,7 +18441,7 @@ 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":925
+ /* "_pydevd_sys_monitoring_cython.pyx":963
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code:
* return # <<<<<<<<<<<<<<
@@ -17627,7 +18452,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":924
+ /* "_pydevd_sys_monitoring_cython.pyx":962
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -17636,58 +18461,58 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":927
+ /* "_pydevd_sys_monitoring_cython.pyx":965
* return
*
* frame = _getframe(1) # <<<<<<<<<<<<<<
* arg = (type(exc), exc, exc.__traceback__)
- * # pydev_log.debug('_raise_event', code, exc)
+ *
*/
- __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, 927, __pyx_L1_error)
+ __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, 965, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_frame = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":928
+ /* "_pydevd_sys_monitoring_cython.pyx":966
*
* frame = _getframe(1)
* arg = (type(exc), exc, exc.__traceback__) # <<<<<<<<<<<<<<
- * # pydev_log.debug('_raise_event', code, exc)
*
+ * # 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, 928, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_exc, __pyx_n_s_traceback); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 966, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 928, __pyx_L1_error)
+ __pyx_t_6 = PyTuple_New(3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 966, __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, 928, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, ((PyObject *)Py_TYPE(__pyx_v_exc)))) __PYX_ERR(0, 966, __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, 928, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_v_exc)) __PYX_ERR(0, 966, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_4);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 928, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 2, __pyx_t_4)) __PYX_ERR(0, 966, __pyx_L1_error);
__pyx_t_4 = 0;
__pyx_v_arg = ((PyObject*)__pyx_t_6);
__pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":933
+ /* "_pydevd_sys_monitoring_cython.pyx":970
* # 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_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 970, __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_t_8 = __Pyx_HasAttr(__pyx_t_4, __pyx_n_s_user_uncaught_exc_info); if (unlikely(__pyx_t_8 == ((int)-1))) __PYX_ERR(0, 970, __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_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 970, __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_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_user_uncaught_exc_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 970, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_6 = __pyx_t_5;
@@ -17699,17 +18524,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__pyx_v_prev_exc_info = __pyx_t_6;
__pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":934
+ /* "_pydevd_sys_monitoring_cython.pyx":971
* # 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_5, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 934, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_should_stop_on_exception); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 971, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- /* "_pydevd_sys_monitoring_cython.pyx":935
+ /* "_pydevd_sys_monitoring_cython.pyx":972
* 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 # <<<<<<<<<<<<<<
@@ -17717,7 +18542,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
*
*/
__pyx_t_4 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_5))) {
__pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5);
@@ -17726,15 +18551,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_5, function);
- __pyx_t_11 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
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_11, 6+__pyx_t_11);
+ __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)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 971, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
}
@@ -17744,7 +18569,7 @@ 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, 934, __pyx_L1_error)
+ __PYX_ERR(0, 971, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -17760,17 +18585,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__Pyx_INCREF(__pyx_t_4);
__Pyx_INCREF(__pyx_t_7);
#else
- __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 934, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 971, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 934, __pyx_L1_error)
+ __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 971, __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_t_7 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 971, __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, 934, __pyx_L1_error)
+ __pyx_t_13 = PyObject_GetIter(__pyx_t_6); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 971, __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);
@@ -17780,7 +18605,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__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, 934, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_13), 3) < 0) __PYX_ERR(0, 971, __pyx_L1_error)
__pyx_t_14 = NULL;
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
goto __pyx_L20_unpacking_done;
@@ -17788,11 +18613,11 @@ 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, 934, __pyx_L1_error)
+ __PYX_ERR(0, 971, __pyx_L1_error)
__pyx_L20_unpacking_done:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":934
+ /* "_pydevd_sys_monitoring_cython.pyx":971
* # 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( # <<<<<<<<<<<<<<
@@ -17806,41 +18631,41 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__pyx_v__user_uncaught_exc_info = __pyx_t_7;
__pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":939
+ /* "_pydevd_sys_monitoring_cython.pyx":976
*
* # 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_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 976, __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)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_6, __pyx_n_s_user_uncaught_exc_info, __pyx_v__user_uncaught_exc_info) < 0) __PYX_ERR(0, 976, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":942
+ /* "_pydevd_sys_monitoring_cython.pyx":979
*
* # print('!!!! should_stop (in raise)', should_stop)
* if should_stop: # <<<<<<<<<<<<<<
* handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED)
*
*/
- __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_should_stop); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 942, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_should_stop); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 979, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":943
+ /* "_pydevd_sys_monitoring_cython.pyx":980
* # print('!!!! should_stop (in raise)', should_stop)
* if should_stop:
* handle_exception(py_db, thread_info.thread, frame, arg, EXCEPTION_TYPE_HANDLED) # <<<<<<<<<<<<<<
*
*
*/
- __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 943, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 980, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 943, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 980, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_5 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_12 = 0;
#if CYTHON_UNPACK_METHODS
if (unlikely(PyMethod_Check(__pyx_t_7))) {
__pyx_t_5 = PyMethod_GET_SELF(__pyx_t_7);
@@ -17849,22 +18674,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
__Pyx_INCREF(__pyx_t_5);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_7, function);
- __pyx_t_11 = 1;
+ __pyx_t_12 = 1;
}
}
#endif
{
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_11, 5+__pyx_t_11);
+ __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_12, 5+__pyx_t_12);
__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)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 980, __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":942
+ /* "_pydevd_sys_monitoring_cython.pyx":979
*
* # print('!!!! should_stop (in raise)', should_stop)
* if should_stop: # <<<<<<<<<<<<<<
@@ -17873,7 +18698,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":890
+ /* "_pydevd_sys_monitoring_cython.pyx":928
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _raise_event(code, instruction, exc): # <<<<<<<<<<<<<<
@@ -17906,7 +18731,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__raise_event(PyObject *
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":948
+/* "_pydevd_sys_monitoring_cython.pyx":985
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef str get_func_name(frame): # <<<<<<<<<<<<<<
@@ -17936,32 +18761,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":954
+ /* "_pydevd_sys_monitoring_cython.pyx":991
* # 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, 954, __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, 991, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_code_obj = __pyx_t_1;
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":955
+ /* "_pydevd_sys_monitoring_cython.pyx":992
* # 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, 955, __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, 992, __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, 955, __pyx_L1_error)
+ if (!(likely(PyString_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_1))) __PYX_ERR(0, 992, __pyx_L1_error)
__pyx_v_func_name = ((PyObject*)__pyx_t_1);
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":956
+ /* "_pydevd_sys_monitoring_cython.pyx":993
* code_obj = frame.f_code
* func_name = code_obj.co_name
* try: # <<<<<<<<<<<<<<
@@ -17977,14 +18802,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":957
+ /* "_pydevd_sys_monitoring_cython.pyx":994
* 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, 957, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_get_clsname_for_code); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 994, __pyx_L3_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_6 = NULL;
__pyx_t_7 = 0;
@@ -18004,14 +18829,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, 957, __pyx_L3_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 994, __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":958
+ /* "_pydevd_sys_monitoring_cython.pyx":995
* try:
* cls_name = get_clsname_for_code(code_obj, frame)
* if cls_name is not None: # <<<<<<<<<<<<<<
@@ -18021,7 +18846,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":959
+ /* "_pydevd_sys_monitoring_cython.pyx":996
* cls_name = get_clsname_for_code(code_obj, frame)
* if cls_name is not None:
* return "%s.%s" % (cls_name, func_name) # <<<<<<<<<<<<<<
@@ -18029,23 +18854,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, 959, __pyx_L3_error)
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 996, __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, 959, __pyx_L3_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_cls_name)) __PYX_ERR(0, 996, __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, 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)
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_v_func_name)) __PYX_ERR(0, 996, __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, 996, __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, 959, __pyx_L3_error)
+ if (!(likely(PyString_CheckExact(__pyx_t_5)) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_t_5))) __PYX_ERR(0, 996, __pyx_L3_error)
__pyx_r = ((PyObject*)__pyx_t_5);
__pyx_t_5 = 0;
goto __pyx_L7_try_return;
- /* "_pydevd_sys_monitoring_cython.pyx":958
+ /* "_pydevd_sys_monitoring_cython.pyx":995
* try:
* cls_name = get_clsname_for_code(code_obj, frame)
* if cls_name is not None: # <<<<<<<<<<<<<<
@@ -18054,7 +18879,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":961
+ /* "_pydevd_sys_monitoring_cython.pyx":998
* return "%s.%s" % (cls_name, func_name)
* else:
* return func_name # <<<<<<<<<<<<<<
@@ -18068,7 +18893,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject
goto __pyx_L7_try_return;
}
- /* "_pydevd_sys_monitoring_cython.pyx":956
+ /* "_pydevd_sys_monitoring_cython.pyx":993
* code_obj = frame.f_code
* func_name = code_obj.co_name
* try: # <<<<<<<<<<<<<<
@@ -18081,7 +18906,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":962
+ /* "_pydevd_sys_monitoring_cython.pyx":999
* else:
* return func_name
* except: # <<<<<<<<<<<<<<
@@ -18090,21 +18915,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, 962, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_1, &__pyx_t_6) < 0) __PYX_ERR(0, 999, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":963
+ /* "_pydevd_sys_monitoring_cython.pyx":1000
* 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, 963, __pyx_L5_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1000, __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, 963, __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, 1000, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_11);
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
__pyx_t_10 = NULL;
@@ -18125,13 +18950,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, 963, __pyx_L5_except_error)
+ if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 1000, __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":964
+ /* "_pydevd_sys_monitoring_cython.pyx":1001
* except:
* pydev_log.exception()
* return func_name # <<<<<<<<<<<<<<
@@ -18147,7 +18972,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject
goto __pyx_L6_except_return;
}
- /* "_pydevd_sys_monitoring_cython.pyx":956
+ /* "_pydevd_sys_monitoring_cython.pyx":993
* code_obj = frame.f_code
* func_name = code_obj.co_name
* try: # <<<<<<<<<<<<<<
@@ -18174,7 +18999,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject
goto __pyx_L0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":948
+ /* "_pydevd_sys_monitoring_cython.pyx":985
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef str get_func_name(frame): # <<<<<<<<<<<<<<
@@ -18201,7 +19026,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_get_func_name(PyObject
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":969
+/* "_pydevd_sys_monitoring_cython.pyx":1006
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _show_return_values(frame, arg): # <<<<<<<<<<<<<<
@@ -18237,7 +19062,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":974
+ /* "_pydevd_sys_monitoring_cython.pyx":1011
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -18246,7 +19071,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
*/
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":975
+ /* "_pydevd_sys_monitoring_cython.pyx":1012
* # fmt: on
* try:
* try: # <<<<<<<<<<<<<<
@@ -18262,22 +19087,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":976
+ /* "_pydevd_sys_monitoring_cython.pyx":1013
* 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, 976, __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, 1013, __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, 976, __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, 1013, __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":977
+ /* "_pydevd_sys_monitoring_cython.pyx":1014
* try:
* f_locals_back = getattr(frame.f_back, "f_locals", None)
* if f_locals_back is not None: # <<<<<<<<<<<<<<
@@ -18287,16 +19112,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":978
+ /* "_pydevd_sys_monitoring_cython.pyx":1015
* 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, 978, __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, 1015, __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, 978, __pyx_L6_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1015, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -18317,14 +19142,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, 978, __pyx_L6_error)
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1015, __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":979
+ /* "_pydevd_sys_monitoring_cython.pyx":1016
* if f_locals_back is not None:
* return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None)
* if return_values_dict is None: # <<<<<<<<<<<<<<
@@ -18334,31 +19159,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":980
+ /* "_pydevd_sys_monitoring_cython.pyx":1017
* 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, 980, __pyx_L6_error)
+ __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1017, __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":981
+ /* "_pydevd_sys_monitoring_cython.pyx":1018
* 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, 981, __pyx_L6_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1018, __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, 981, __pyx_L6_error)
+ if (unlikely((PyObject_SetItem(__pyx_v_f_locals_back, __pyx_t_5, __pyx_v_return_values_dict) < 0))) __PYX_ERR(0, 1018, __pyx_L6_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":979
+ /* "_pydevd_sys_monitoring_cython.pyx":1016
* if f_locals_back is not None:
* return_values_dict = f_locals_back.get(RETURN_VALUES_DICT, None)
* if return_values_dict is None: # <<<<<<<<<<<<<<
@@ -18367,28 +19192,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":982
+ /* "_pydevd_sys_monitoring_cython.pyx":1019
* 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, 982, __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, 1019, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_v_name = __pyx_t_5;
__pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":983
+ /* "_pydevd_sys_monitoring_cython.pyx":1020
* 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, 983, __pyx_L6_error)
+ if (unlikely((PyObject_SetItem(__pyx_v_return_values_dict, __pyx_v_name, __pyx_v_arg) < 0))) __PYX_ERR(0, 1020, __pyx_L6_error)
- /* "_pydevd_sys_monitoring_cython.pyx":977
+ /* "_pydevd_sys_monitoring_cython.pyx":1014
* try:
* f_locals_back = getattr(frame.f_back, "f_locals", None)
* if f_locals_back is not None: # <<<<<<<<<<<<<<
@@ -18397,7 +19222,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":975
+ /* "_pydevd_sys_monitoring_cython.pyx":1012
* # fmt: on
* try:
* try: # <<<<<<<<<<<<<<
@@ -18415,7 +19240,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":984
+ /* "_pydevd_sys_monitoring_cython.pyx":1021
* name = get_func_name(frame)
* return_values_dict[name] = arg
* except: # <<<<<<<<<<<<<<
@@ -18424,21 +19249,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, 984, __pyx_L8_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_7) < 0) __PYX_ERR(0, 1021, __pyx_L8_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_7);
- /* "_pydevd_sys_monitoring_cython.pyx":985
+ /* "_pydevd_sys_monitoring_cython.pyx":1022
* 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, 985, __pyx_L8_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1022, __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, 985, __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, 1022, __pyx_L8_except_error)
__Pyx_GOTREF(__pyx_t_11);
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
__pyx_t_10 = NULL;
@@ -18459,7 +19284,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, 985, __pyx_L8_except_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1022, __pyx_L8_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
}
@@ -18470,7 +19295,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
goto __pyx_L7_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":975
+ /* "_pydevd_sys_monitoring_cython.pyx":1012
* # fmt: on
* try:
* try: # <<<<<<<<<<<<<<
@@ -18492,7 +19317,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
}
}
- /* "_pydevd_sys_monitoring_cython.pyx":987
+ /* "_pydevd_sys_monitoring_cython.pyx":1024
* pydev_log.exception()
* finally:
* f_locals_back = None # <<<<<<<<<<<<<<
@@ -18546,7 +19371,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
__pyx_L5:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":969
+ /* "_pydevd_sys_monitoring_cython.pyx":1006
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _show_return_values(frame, arg): # <<<<<<<<<<<<<<
@@ -18575,7 +19400,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__show_return_values(PyO
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":992
+/* "_pydevd_sys_monitoring_cython.pyx":1029
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _remove_return_values(py_db, frame): # <<<<<<<<<<<<<<
@@ -18609,7 +19434,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":997
+ /* "_pydevd_sys_monitoring_cython.pyx":1034
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -18618,7 +19443,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C
*/
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":998
+ /* "_pydevd_sys_monitoring_cython.pyx":1035
* # fmt: on
* try:
* try: # <<<<<<<<<<<<<<
@@ -18634,19 +19459,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":1001
+ /* "_pydevd_sys_monitoring_cython.pyx":1038
* # 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, 1001, __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, 1038, __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, 1001, __pyx_L6_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_pop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1038, __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, 1001, __pyx_L6_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1038, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_7 = NULL;
__pyx_t_8 = 0;
@@ -18667,28 +19492,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, 1001, __pyx_L6_error)
+ if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1038, __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":1003
+ /* "_pydevd_sys_monitoring_cython.pyx":1040
* 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, 1003, __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, 1040, __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, 1003, __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, 1040, __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":1004
+ /* "_pydevd_sys_monitoring_cython.pyx":1041
*
* f_locals_back = getattr(frame.f_back, "f_locals", None)
* if f_locals_back is not None: # <<<<<<<<<<<<<<
@@ -18698,16 +19523,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":1005
+ /* "_pydevd_sys_monitoring_cython.pyx":1042
* 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, 1005, __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, 1042, __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, 1005, __pyx_L6_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1042, __pyx_L6_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_7 = NULL;
__pyx_t_8 = 0;
@@ -18728,13 +19553,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, 1005, __pyx_L6_error)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1042, __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":1004
+ /* "_pydevd_sys_monitoring_cython.pyx":1041
*
* f_locals_back = getattr(frame.f_back, "f_locals", None)
* if f_locals_back is not None: # <<<<<<<<<<<<<<
@@ -18743,7 +19568,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":998
+ /* "_pydevd_sys_monitoring_cython.pyx":1035
* # fmt: on
* try:
* try: # <<<<<<<<<<<<<<
@@ -18761,7 +19586,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":1006
+ /* "_pydevd_sys_monitoring_cython.pyx":1043
* if f_locals_back is not None:
* f_locals_back.pop(RETURN_VALUES_DICT, None)
* except: # <<<<<<<<<<<<<<
@@ -18770,21 +19595,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, 1006, __pyx_L8_except_error)
+ if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_4, &__pyx_t_5) < 0) __PYX_ERR(0, 1043, __pyx_L8_except_error)
__Pyx_XGOTREF(__pyx_t_6);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_5);
- /* "_pydevd_sys_monitoring_cython.pyx":1007
+ /* "_pydevd_sys_monitoring_cython.pyx":1044
* 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, 1007, __pyx_L8_except_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_10, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 1044, __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, 1007, __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, 1044, __pyx_L8_except_error)
__Pyx_GOTREF(__pyx_t_11);
__Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0;
__pyx_t_10 = NULL;
@@ -18805,7 +19630,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, 1007, __pyx_L8_except_error)
+ if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1044, __pyx_L8_except_error)
__Pyx_GOTREF(__pyx_t_7);
__Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0;
}
@@ -18816,7 +19641,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C
goto __pyx_L7_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":998
+ /* "_pydevd_sys_monitoring_cython.pyx":1035
* # fmt: on
* try:
* try: # <<<<<<<<<<<<<<
@@ -18838,7 +19663,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C
}
}
- /* "_pydevd_sys_monitoring_cython.pyx":1009
+ /* "_pydevd_sys_monitoring_cython.pyx":1046
* pydev_log.exception()
* finally:
* f_locals_back = None # <<<<<<<<<<<<<<
@@ -18892,7 +19717,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C
__pyx_L5:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":992
+ /* "_pydevd_sys_monitoring_cython.pyx":1029
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _remove_return_values(py_db, frame): # <<<<<<<<<<<<<<
@@ -18919,7 +19744,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__remove_return_values(C
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1014
+/* "_pydevd_sys_monitoring_cython.pyx":1051
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _return_event(code, instruction, retval): # <<<<<<<<<<<<<<
@@ -18950,16 +19775,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
int __pyx_t_8;
int __pyx_t_9;
int __pyx_t_10;
- unsigned int __pyx_t_11;
- struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_12;
- int __pyx_t_13;
- PyObject *__pyx_t_14 = NULL;
+ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_11;
+ int __pyx_t_12;
+ PyObject *__pyx_t_13 = NULL;
+ unsigned int __pyx_t_14;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("_return_event", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":1023
+ /* "_pydevd_sys_monitoring_cython.pyx":1060
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -18975,23 +19800,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":1024
+ /* "_pydevd_sys_monitoring_cython.pyx":1061
* # 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, 1024, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1061, __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, 1024, __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, 1061, __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, 1024, __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, 1061, __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":1023
+ /* "_pydevd_sys_monitoring_cython.pyx":1060
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -19007,7 +19832,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":1025
+ /* "_pydevd_sys_monitoring_cython.pyx":1062
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -19016,25 +19841,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, 1025, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1062, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":1026
+ /* "_pydevd_sys_monitoring_cython.pyx":1063
* 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, 1026, __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, 1063, __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, 1026, __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, 1063, __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":1027
+ /* "_pydevd_sys_monitoring_cython.pyx":1064
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -19044,7 +19869,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":1028
+ /* "_pydevd_sys_monitoring_cython.pyx":1065
* thread_info = _get_thread_info(True, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -19058,7 +19883,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":1027
+ /* "_pydevd_sys_monitoring_cython.pyx":1064
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -19072,7 +19897,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L4_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1023
+ /* "_pydevd_sys_monitoring_cython.pyx":1060
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -19099,22 +19924,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__pyx_L8_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1030
+ /* "_pydevd_sys_monitoring_cython.pyx":1067
* 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, 1030, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1067, __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, 1030, __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, 1067, __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":1031
+ /* "_pydevd_sys_monitoring_cython.pyx":1068
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -19127,32 +19952,32 @@ 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, 1031, __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, 1068, __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, 1031, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1068, __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":1032
+ /* "_pydevd_sys_monitoring_cython.pyx":1069
* 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 not is_thread_alive(thread_info.thread):
+ * if not thread_info.trace or not thread_info.is_thread_alive():
*/
__Pyx_XDECREF(__pyx_r);
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1032, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1069, __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, 1032, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1069, __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":1031
+ /* "_pydevd_sys_monitoring_cython.pyx":1068
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -19161,52 +19986,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1034
+ /* "_pydevd_sys_monitoring_cython.pyx":1071
* return monitor.DISABLE
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # 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, 1034, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1071, __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_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_is_thread_alive); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1034, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_4);
- __pyx_t_5 = NULL;
- __pyx_t_11 = 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_11 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_v_thread_info->thread};
- __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1034, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_6);
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- }
- __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_10 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1071, __pyx_L1_error)
__pyx_t_9 = (!__pyx_t_10);
__pyx_t_8 = __pyx_t_9;
__pyx_L16_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1037
+ /* "_pydevd_sys_monitoring_cython.pyx":1074
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
* return # <<<<<<<<<<<<<<
@@ -19217,28 +20017,28 @@ 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":1034
+ /* "_pydevd_sys_monitoring_cython.pyx":1071
* return monitor.DISABLE
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1039
+ /* "_pydevd_sys_monitoring_cython.pyx":1076
* 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, 1039, __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, 1076, __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":1040
+ /* "_pydevd_sys_monitoring_cython.pyx":1077
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -19247,7 +20047,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":1041
+ /* "_pydevd_sys_monitoring_cython.pyx":1078
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code:
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -19255,16 +20055,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, 1041, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1078, __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, 1041, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1078, __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":1040
+ /* "_pydevd_sys_monitoring_cython.pyx":1077
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -19273,7 +20073,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1043
+ /* "_pydevd_sys_monitoring_cython.pyx":1080
* return monitor.DISABLE
*
* info = thread_info.additional_info # <<<<<<<<<<<<<<
@@ -19285,31 +20085,31 @@ 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":1046
+ /* "_pydevd_sys_monitoring_cython.pyx":1083
*
* # We know the frame depth.
* frame = _getframe(1) # <<<<<<<<<<<<<<
*
* step_cmd = info.pydev_step_cmd
*/
- __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, 1046, __pyx_L1_error)
+ __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, 1083, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_frame = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1048
+ /* "_pydevd_sys_monitoring_cython.pyx":1085
* frame = _getframe(1)
*
* step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<<
* if step_cmd == -1:
* return
*/
- __pyx_t_13 = __pyx_v_info->pydev_step_cmd;
- __pyx_v_step_cmd = __pyx_t_13;
+ __pyx_t_12 = __pyx_v_info->pydev_step_cmd;
+ __pyx_v_step_cmd = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1049
+ /* "_pydevd_sys_monitoring_cython.pyx":1086
*
* step_cmd = info.pydev_step_cmd
* if step_cmd == -1: # <<<<<<<<<<<<<<
@@ -19319,7 +20119,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":1050
+ /* "_pydevd_sys_monitoring_cython.pyx":1087
* step_cmd = info.pydev_step_cmd
* if step_cmd == -1:
* return # <<<<<<<<<<<<<<
@@ -19330,7 +20130,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":1049
+ /* "_pydevd_sys_monitoring_cython.pyx":1086
*
* step_cmd = info.pydev_step_cmd
* if step_cmd == -1: # <<<<<<<<<<<<<<
@@ -19339,25 +20139,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1052
+ /* "_pydevd_sys_monitoring_cython.pyx":1089
* 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, 1052, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1089, __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, 1052, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1089, __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, 1052, __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, 1089, __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, 1052, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1089, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1054
+ /* "_pydevd_sys_monitoring_cython.pyx":1091
* if info.suspend_type != PYTHON_SUSPEND:
* # Plugin stepping
* if func_code_info.plugin_return_stepping: # <<<<<<<<<<<<<<
@@ -19366,18 +20166,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":1055
+ /* "_pydevd_sys_monitoring_cython.pyx":1092
* # 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, 1055, __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, 1092, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1054
+ /* "_pydevd_sys_monitoring_cython.pyx":1091
* if info.suspend_type != PYTHON_SUSPEND:
* # Plugin stepping
* if func_code_info.plugin_return_stepping: # <<<<<<<<<<<<<<
@@ -19386,7 +20186,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1056
+ /* "_pydevd_sys_monitoring_cython.pyx":1093
* if func_code_info.plugin_return_stepping:
* _plugin_stepping(py_db, step_cmd, "return", frame, thread_info)
* return # <<<<<<<<<<<<<<
@@ -19397,7 +20197,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":1052
+ /* "_pydevd_sys_monitoring_cython.pyx":1089
* return
*
* if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<<
@@ -19406,7 +20206,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1059
+ /* "_pydevd_sys_monitoring_cython.pyx":1096
*
* # Python line stepping
* stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<<
@@ -19418,81 +20218,81 @@ 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":1060
+ /* "_pydevd_sys_monitoring_cython.pyx":1097
* # 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): # <<<<<<<<<<<<<<
* 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:
*/
- __pyx_t_13 = __pyx_v_step_cmd;
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1060, __pyx_L1_error)
+ __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, 1097, __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, 1060, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO); 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, 1060, __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_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1060, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1097, __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_L23_bool_binop_done;
}
- __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1060, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1097, __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, 1060, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1097, __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, 1060, __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, 1097, __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, 1060, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1097, __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_L23_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1060, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); 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_INTO_COROUTINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1060, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_COROUTINE); 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, 1060, __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_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1060, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1097, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_8 = __pyx_t_9;
__pyx_L23_bool_binop_done:;
__pyx_t_9 = __pyx_t_8;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1061
+ /* "_pydevd_sys_monitoring_cython.pyx":1098
* 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, 1061, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1098, __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, 1061, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1098, __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, 1061, __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, 1098, __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":1062
+ /* "_pydevd_sys_monitoring_cython.pyx":1099
* 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, 1062, __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, 1099, __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;
@@ -19506,28 +20306,28 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__pyx_L27_bool_binop_done:;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1063
+ /* "_pydevd_sys_monitoring_cython.pyx":1100
* 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, 1063, __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, 1100, __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, 1063, __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, 1100, __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, 1063, __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, 1100, __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, 1063, __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, 1100, __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":1066
+ /* "_pydevd_sys_monitoring_cython.pyx":1103
* if (
* # Not filtered out.
* not back_func_code_info.always_skip_code # <<<<<<<<<<<<<<
@@ -19541,7 +20341,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L30_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1067
+ /* "_pydevd_sys_monitoring_cython.pyx":1104
* # Not filtered out.
* not back_func_code_info.always_skip_code
* and not back_func_code_info.always_filtered_out # <<<<<<<<<<<<<<
@@ -19555,14 +20355,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L30_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1068
+ /* "_pydevd_sys_monitoring_cython.pyx":1105
* 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_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1068, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1105, __pyx_L1_error)
if (__pyx_t_10) {
} else {
__pyx_t_8 = __pyx_t_10;
@@ -19577,36 +20377,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L30_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1071
+ /* "_pydevd_sys_monitoring_cython.pyx":1108
* # 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, 1071, __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, 1108, __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, 1071, __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, 1108, __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, 1071, __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, 1108, __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, 1071, __pyx_L1_error)
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1108, __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, 1071, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4)) __PYX_ERR(0, 1108, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_6);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6)) __PYX_ERR(0, 1071, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6)) __PYX_ERR(0, 1108, __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, 1071, __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, 1108, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1071, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1108, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_9 = __pyx_t_10;
__pyx_L30_bool_binop_done:;
- /* "_pydevd_sys_monitoring_cython.pyx":1064
+ /* "_pydevd_sys_monitoring_cython.pyx":1101
* 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 ( # <<<<<<<<<<<<<<
@@ -19615,31 +20415,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1073
+ /* "_pydevd_sys_monitoring_cython.pyx":1110
* 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, 1073, __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, 1110, __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, 1073, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1110, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1074
+ /* "_pydevd_sys_monitoring_cython.pyx":1111
* ):
* 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, 1074, __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, 1111, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1073
+ /* "_pydevd_sys_monitoring_cython.pyx":1110
* and info.step_in_initial_location != (frame.f_back, frame.f_back.f_lineno)
* ):
* if py_db.show_return_values: # <<<<<<<<<<<<<<
@@ -19648,18 +20448,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1076
+ /* "_pydevd_sys_monitoring_cython.pyx":1113
* _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, 1076, __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, 1113, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1077
+ /* "_pydevd_sys_monitoring_cython.pyx":1114
*
* _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)
* return # <<<<<<<<<<<<<<
@@ -19670,7 +20470,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":1064
+ /* "_pydevd_sys_monitoring_cython.pyx":1101
* 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 ( # <<<<<<<<<<<<<<
@@ -19679,7 +20479,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1062
+ /* "_pydevd_sys_monitoring_cython.pyx":1099
* 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: # <<<<<<<<<<<<<<
@@ -19688,7 +20488,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1060
+ /* "_pydevd_sys_monitoring_cython.pyx":1097
* # 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): # <<<<<<<<<<<<<<
@@ -19697,36 +20497,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1079
+ /* "_pydevd_sys_monitoring_cython.pyx":1116
* return
*
* 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_13 = __pyx_v_step_cmd;
- __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1079, __pyx_L1_error)
+ __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, 1116, __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, 1079, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1116, __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, 1079, __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, 1116, __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, 1079, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1116, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (!__pyx_t_8) {
} else {
__pyx_t_10 = __pyx_t_8;
goto __pyx_L40_bool_binop_done;
}
- __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1079, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1116, __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, 1079, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1116, __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, 1079, __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, 1116, __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, 1079, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1116, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_10 = __pyx_t_8;
__pyx_L40_bool_binop_done:;
@@ -19736,39 +20536,39 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__pyx_t_9 = __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, 1079, __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, 1116, __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, 1079, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1116, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_9 = __pyx_t_8;
__pyx_L38_bool_binop_done:;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1080
+ /* "_pydevd_sys_monitoring_cython.pyx":1117
*
* 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, 1080, __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, 1117, __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, 1080, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1117, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1081
+ /* "_pydevd_sys_monitoring_cython.pyx":1118
* 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, 1081, __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, 1118, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1080
+ /* "_pydevd_sys_monitoring_cython.pyx":1117
*
* 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: # <<<<<<<<<<<<<<
@@ -19777,18 +20577,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1083
+ /* "_pydevd_sys_monitoring_cython.pyx":1120
* _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, 1083, __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, 1120, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1084
+ /* "_pydevd_sys_monitoring_cython.pyx":1121
*
* _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)
* return # <<<<<<<<<<<<<<
@@ -19799,7 +20599,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":1079
+ /* "_pydevd_sys_monitoring_cython.pyx":1116
* return
*
* if step_cmd in (CMD_STEP_RETURN, CMD_STEP_RETURN_MY_CODE) and _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<<
@@ -19808,36 +20608,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1087
+ /* "_pydevd_sys_monitoring_cython.pyx":1124
*
* elif (
* 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)
*/
- __pyx_t_13 = __pyx_v_step_cmd;
- __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1087, __pyx_L1_error)
+ __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, 1124, __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, 1087, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1124, __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, 1087, __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, 1124, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1087, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1124, __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_L45_bool_binop_done;
}
- __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1087, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1124, __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, 1087, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1124, __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, 1087, __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, 1124, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1087, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1124, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_8 = __pyx_t_10;
__pyx_L45_bool_binop_done:;
@@ -19848,7 +20648,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L43_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1088
+ /* "_pydevd_sys_monitoring_cython.pyx":1125
* elif (
* step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE)
* and not info.pydev_use_scoped_step_frame # <<<<<<<<<<<<<<
@@ -19862,21 +20662,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L43_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1089
+ /* "_pydevd_sys_monitoring_cython.pyx":1126
* 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, 1089, __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_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1089, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1126, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_9 = __pyx_t_10;
__pyx_L43_bool_binop_done:;
- /* "_pydevd_sys_monitoring_cython.pyx":1086
+ /* "_pydevd_sys_monitoring_cython.pyx":1123
* return
*
* elif ( # <<<<<<<<<<<<<<
@@ -19885,19 +20685,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1094
+ /* "_pydevd_sys_monitoring_cython.pyx":1131
* # 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, 1094, __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, 1131, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_v_f_back = __pyx_t_6;
__pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1095
+ /* "_pydevd_sys_monitoring_cython.pyx":1132
* # go to step into mode).
* f_back = frame.f_back
* if f_back is not None: # <<<<<<<<<<<<<<
@@ -19907,39 +20707,39 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__pyx_t_9 = (__pyx_v_f_back != Py_None);
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1096
+ /* "_pydevd_sys_monitoring_cython.pyx":1133
* 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, 1096, __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, 1133, __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, 1096, __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, 1133, __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":1097
+ /* "_pydevd_sys_monitoring_cython.pyx":1134
* 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, 1097, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1134, __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, 1097, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1134, __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, 1097, __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, 1134, __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":1100
+ /* "_pydevd_sys_monitoring_cython.pyx":1137
*
* if (
* back_func_code_info is not None # <<<<<<<<<<<<<<
@@ -19953,7 +20753,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L50_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1101
+ /* "_pydevd_sys_monitoring_cython.pyx":1138
* if (
* back_func_code_info is not None
* and not back_func_code_info.always_skip_code # <<<<<<<<<<<<<<
@@ -19967,7 +20767,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L50_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1102
+ /* "_pydevd_sys_monitoring_cython.pyx":1139
* 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 # <<<<<<<<<<<<<<
@@ -19981,14 +20781,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L50_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1103
+ /* "_pydevd_sys_monitoring_cython.pyx":1140
* 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, 1103, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_force_check_project_scope); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1140, __pyx_L1_error)
if (__pyx_t_8) {
} else {
__pyx_t_10 = __pyx_t_8;
@@ -20000,7 +20800,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__pyx_t_9 = __pyx_t_8;
__pyx_L50_bool_binop_done:;
- /* "_pydevd_sys_monitoring_cython.pyx":1099
+ /* "_pydevd_sys_monitoring_cython.pyx":1136
* force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE
*
* if ( # <<<<<<<<<<<<<<
@@ -20009,31 +20809,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1105
+ /* "_pydevd_sys_monitoring_cython.pyx":1142
* 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, 1105, __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, 1142, __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, 1105, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1142, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1106
+ /* "_pydevd_sys_monitoring_cython.pyx":1143
* ):
* 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, 1106, __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, 1143, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1105
+ /* "_pydevd_sys_monitoring_cython.pyx":1142
* and not (force_check_project_scope and back_func_code_info.filtered_out_force_checked)
* ):
* if py_db.show_return_values: # <<<<<<<<<<<<<<
@@ -20042,18 +20842,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1108
+ /* "_pydevd_sys_monitoring_cython.pyx":1145
* _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, 1108, __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, 1145, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1109
+ /* "_pydevd_sys_monitoring_cython.pyx":1146
*
* _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)
* return # <<<<<<<<<<<<<<
@@ -20064,7 +20864,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":1099
+ /* "_pydevd_sys_monitoring_cython.pyx":1136
* force_check_project_scope = step_cmd == CMD_STEP_OVER_MY_CODE
*
* if ( # <<<<<<<<<<<<<<
@@ -20073,7 +20873,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1095
+ /* "_pydevd_sys_monitoring_cython.pyx":1132
* # go to step into mode).
* f_back = frame.f_back
* if f_back is not None: # <<<<<<<<<<<<<<
@@ -20082,7 +20882,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1086
+ /* "_pydevd_sys_monitoring_cython.pyx":1123
* return
*
* elif ( # <<<<<<<<<<<<<<
@@ -20092,62 +20892,62 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L37;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1111
+ /* "_pydevd_sys_monitoring_cython.pyx":1148
* 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, 1111, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1148, __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, 1111, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1148, __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, 1111, __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, 1148, __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, 1111, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1148, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1112
+ /* "_pydevd_sys_monitoring_cython.pyx":1149
*
* 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, 1112, __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, 1149, __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, 1112, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1149, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1114
+ /* "_pydevd_sys_monitoring_cython.pyx":1151
* 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, 1114, __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, 1151, __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, 1114, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1151, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1115
+ /* "_pydevd_sys_monitoring_cython.pyx":1152
* # 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, 1115, __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, 1152, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1114
+ /* "_pydevd_sys_monitoring_cython.pyx":1151
* 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: # <<<<<<<<<<<<<<
@@ -20156,18 +20956,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1117
+ /* "_pydevd_sys_monitoring_cython.pyx":1154
* _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, 1117, __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, 1154, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1118
+ /* "_pydevd_sys_monitoring_cython.pyx":1155
*
* _stop_on_return(py_db, thread_info, info, step_cmd, frame, retval)
* return # <<<<<<<<<<<<<<
@@ -20178,7 +20978,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":1112
+ /* "_pydevd_sys_monitoring_cython.pyx":1149
*
* elif step_cmd == CMD_SMART_STEP_INTO:
* if _is_same_frame(info, stop_frame, frame): # <<<<<<<<<<<<<<
@@ -20187,7 +20987,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1111
+ /* "_pydevd_sys_monitoring_cython.pyx":1148
* return
*
* elif step_cmd == CMD_SMART_STEP_INTO: # <<<<<<<<<<<<<<
@@ -20197,63 +20997,63 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
}
__pyx_L37:;
- /* "_pydevd_sys_monitoring_cython.pyx":1120
+ /* "_pydevd_sys_monitoring_cython.pyx":1157
* 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, 1120, __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, 1157, __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, 1120, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1157, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1123
+ /* "_pydevd_sys_monitoring_cython.pyx":1160
* if (
* (
* 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))
* )
*/
- __pyx_t_13 = __pyx_v_info->pydev_step_cmd;
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error)
+ __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, 1160, __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, 1123, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1160, __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, 1123, __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, 1160, __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, 1123, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1160, __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_L64_bool_binop_done;
}
- __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1123, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1160, __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, 1123, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1160, __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, 1123, __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, 1160, __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, 1123, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1160, __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_L64_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1123, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1160, __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, 1123, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1160, __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, 1123, __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, 1160, __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, 1123, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1160, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_8 = __pyx_t_10;
__pyx_L64_bool_binop_done:;
@@ -20263,19 +21063,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
} else {
}
- /* "_pydevd_sys_monitoring_cython.pyx":1124
+ /* "_pydevd_sys_monitoring_cython.pyx":1161
* (
* 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, 1124, __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, 1161, __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, 1124, __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, 1161, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1124, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1161, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (!__pyx_t_10) {
} else {
@@ -20284,36 +21084,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
}
__pyx_L62_next_or:;
- /* "_pydevd_sys_monitoring_cython.pyx":1126
+ /* "_pydevd_sys_monitoring_cython.pyx":1163
* 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))) # <<<<<<<<<<<<<<
* or (info.pydev_step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_COROUTINE))
* or (
*/
- __pyx_t_13 = __pyx_v_info->pydev_step_cmd;
- __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1126, __pyx_L1_error)
+ __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, 1163, __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, 1126, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1163, __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, 1126, __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, 1163, __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, 1126, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1163, __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_L69_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1126, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1163, __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, 1126, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1163, __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, 1126, __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, 1163, __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, 1126, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1163, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_10 = __pyx_t_8;
__pyx_L69_bool_binop_done:;
@@ -20322,15 +21122,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, 1126, __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, 1163, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
- __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1126, __pyx_L1_error)
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1163, __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, 1126, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, ((PyObject *)__pyx_v_info))) __PYX_ERR(0, 1163, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_6);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 1126, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_6)) __PYX_ERR(0, 1163, __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;
@@ -20341,36 +21141,36 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
}
__pyx_L67_next_or:;
- /* "_pydevd_sys_monitoring_cython.pyx":1127
+ /* "_pydevd_sys_monitoring_cython.pyx":1164
* )
* 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)) # <<<<<<<<<<<<<<
* or (
* info.pydev_step_cmd == CMD_STEP_INTO_MY_CODE
*/
- __pyx_t_13 = __pyx_v_info->pydev_step_cmd;
- __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1127, __pyx_L1_error)
+ __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, 1164, __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, 1127, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1164, __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, 1127, __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, 1164, __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, 1127, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1164, __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_L72_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1127, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1164, __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, 1127, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1164, __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, 1127, __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, 1164, __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, 1127, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1164, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_8 = __pyx_t_10;
__pyx_L72_bool_binop_done:;
@@ -20381,21 +21181,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L61_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1129
+ /* "_pydevd_sys_monitoring_cython.pyx":1166
* 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, 1129, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1166, __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, 1129, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1166, __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, 1129, __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, 1166, __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, 1129, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1166, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_10) {
} else {
@@ -20403,14 +21203,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L61_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1130
+ /* "_pydevd_sys_monitoring_cython.pyx":1167
* 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, 1130, __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, 1167, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_10 = (__pyx_t_5 != Py_None);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
@@ -20420,56 +21220,56 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L61_bool_binop_done;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1131
+ /* "_pydevd_sys_monitoring_cython.pyx":1168
* 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, 1131, __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, 1168, __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, 1131, __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, 1168, __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, 1131, __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, 1168, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_code); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1131, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_14);
+ __pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_f_code); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 1168, __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_14, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1131, __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, 1168, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- __Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
- __pyx_t_14 = NULL;
- __pyx_t_11 = 0;
+ __Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
+ __pyx_t_13 = NULL;
+ __pyx_t_14 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_6))) {
- __pyx_t_14 = PyMethod_GET_SELF(__pyx_t_6);
- if (likely(__pyx_t_14)) {
+ __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_14);
+ __Pyx_INCREF(__pyx_t_13);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_6, function);
- __pyx_t_11 = 1;
+ __pyx_t_14 = 1;
}
}
#endif
{
- PyObject *__pyx_callargs[4] = {__pyx_t_14, __pyx_t_4, __pyx_t_7, Py_True};
- __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_11, 3+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
+ PyObject *__pyx_callargs[4] = {__pyx_t_13, __pyx_t_4, __pyx_t_7, Py_True};
+ __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_14, 3+__pyx_t_14);
+ __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, 1131, __pyx_L1_error)
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1168, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__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, 1131, __pyx_L1_error)
+ __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1168, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_8 = (!__pyx_t_10);
__pyx_t_9 = __pyx_t_8;
__pyx_L61_bool_binop_done:;
- /* "_pydevd_sys_monitoring_cython.pyx":1121
+ /* "_pydevd_sys_monitoring_cython.pyx":1158
*
* if py_db.show_return_values:
* if ( # <<<<<<<<<<<<<<
@@ -20478,18 +21278,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1134
+ /* "_pydevd_sys_monitoring_cython.pyx":1171
* )
* ):
* _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, 1134, __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, 1171, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1121
+ /* "_pydevd_sys_monitoring_cython.pyx":1158
*
* if py_db.show_return_values:
* if ( # <<<<<<<<<<<<<<
@@ -20498,7 +21298,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1120
+ /* "_pydevd_sys_monitoring_cython.pyx":1157
* return
*
* if py_db.show_return_values: # <<<<<<<<<<<<<<
@@ -20507,85 +21307,85 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1136
+ /* "_pydevd_sys_monitoring_cython.pyx":1173
* _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): # <<<<<<<<<<<<<<
* # If we are in single step mode and something causes us to exit the current frame, we need to make sure we break
* # eventually. Force the step mode to step into and the step stop frame to None.
*/
- __pyx_t_13 = __pyx_v_step_cmd;
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error)
+ __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, 1173, __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, 1136, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1173, __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, 1136, __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, 1173, __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, 1136, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1173, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
if (!__pyx_t_8) {
} else {
__pyx_t_9 = __pyx_t_8;
goto __pyx_L77_bool_binop_done;
}
- __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1173, __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, 1136, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1173, __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, 1136, __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, 1173, __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, 1136, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1173, __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_L77_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1173, __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, 1136, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1173, __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, 1136, __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, 1173, __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, 1136, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1173, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
if (!__pyx_t_8) {
} else {
__pyx_t_9 = __pyx_t_8;
goto __pyx_L77_bool_binop_done;
}
- __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1136, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1173, __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, 1136, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1173, __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, 1136, __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, 1173, __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, 1136, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1173, __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_L77_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1136, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1173, __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, 1136, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1173, __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, 1136, __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, 1173, __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, 1136, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1173, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_9 = __pyx_t_8;
__pyx_L77_bool_binop_done:;
__pyx_t_8 = __pyx_t_9;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1143
+ /* "_pydevd_sys_monitoring_cython.pyx":1180
* # Note: this is especially troublesome when we're skipping code with the
* # @DontTrace comment.
* stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<<
@@ -20597,7 +21397,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":1144
+ /* "_pydevd_sys_monitoring_cython.pyx":1181
* # @DontTrace comment.
* stop_frame = info.pydev_step_stop
* if stop_frame is frame and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<<
@@ -20615,70 +21415,70 @@ 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":1145
+ /* "_pydevd_sys_monitoring_cython.pyx":1182
* 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): # <<<<<<<<<<<<<<
* info.pydev_step_cmd = CMD_STEP_INTO
* else:
*/
- __pyx_t_13 = __pyx_v_step_cmd;
- __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1145, __pyx_L1_error)
+ __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, 1182, __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, 1145, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1182, __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, 1145, __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, 1182, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 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, 1145, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1182, __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_L86_bool_binop_done;
}
- __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1145, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1182, __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, 1145, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1182, __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, 1145, __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, 1182, __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_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1145, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1182, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
if (!__pyx_t_9) {
} else {
__pyx_t_8 = __pyx_t_9;
goto __pyx_L86_bool_binop_done;
}
- __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_13); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1145, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_12); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1182, __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, 1145, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1182, __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, 1145, __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, 1182, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 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, 1145, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1182, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_8 = __pyx_t_9;
__pyx_L86_bool_binop_done:;
__pyx_t_9 = __pyx_t_8;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1146
+ /* "_pydevd_sys_monitoring_cython.pyx":1183
* 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, 1146, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1183, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_13 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_13 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1146, __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, 1183, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- __pyx_v_info->pydev_step_cmd = __pyx_t_13;
+ __pyx_v_info->pydev_step_cmd = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1145
+ /* "_pydevd_sys_monitoring_cython.pyx":1182
* 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): # <<<<<<<<<<<<<<
@@ -20688,7 +21488,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
goto __pyx_L85;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1148
+ /* "_pydevd_sys_monitoring_cython.pyx":1185
* info.pydev_step_cmd = CMD_STEP_INTO
* else:
* info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE # <<<<<<<<<<<<<<
@@ -20696,15 +21496,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, 1148, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1185, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_13 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_13 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1148, __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, 1185, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- __pyx_v_info->pydev_step_cmd = __pyx_t_13;
+ __pyx_v_info->pydev_step_cmd = __pyx_t_12;
}
__pyx_L85:;
- /* "_pydevd_sys_monitoring_cython.pyx":1149
+ /* "_pydevd_sys_monitoring_cython.pyx":1186
* else:
* info.pydev_step_cmd = CMD_STEP_INTO_MY_CODE
* info.pydev_step_stop = None # <<<<<<<<<<<<<<
@@ -20717,45 +21517,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":1150
+ /* "_pydevd_sys_monitoring_cython.pyx":1187
* 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, 1150, __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, 1187, __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, 1150, __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, 1187, __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":1151
+ /* "_pydevd_sys_monitoring_cython.pyx":1188
* 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, 1151, __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, 1188, __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, 1151, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1188, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1152
+ /* "_pydevd_sys_monitoring_cython.pyx":1189
* _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, 1152, __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, 1189, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1151
+ /* "_pydevd_sys_monitoring_cython.pyx":1188
* info.pydev_step_stop = None
* _enable_code_tracing_for_frame_and_parents(thread_info, stop_frame.f_back)
* if py_db.show_return_values: # <<<<<<<<<<<<<<
@@ -20764,7 +21564,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1144
+ /* "_pydevd_sys_monitoring_cython.pyx":1181
* # @DontTrace comment.
* stop_frame = info.pydev_step_stop
* if stop_frame is frame and not info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<<
@@ -20773,7 +21573,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1136
+ /* "_pydevd_sys_monitoring_cython.pyx":1173
* _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): # <<<<<<<<<<<<<<
@@ -20782,7 +21582,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1014
+ /* "_pydevd_sys_monitoring_cython.pyx":1051
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _return_event(code, instruction, retval): # <<<<<<<<<<<<<<
@@ -20798,7 +21598,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
- __Pyx_XDECREF(__pyx_t_14);
+ __Pyx_XDECREF(__pyx_t_13);
__Pyx_AddTraceback("_pydevd_sys_monitoring_cython._return_event", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
@@ -20816,7 +21616,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__return_event(PyObject
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1157
+/* "_pydevd_sys_monitoring_cython.pyx":1194
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame): # <<<<<<<<<<<<<<
@@ -20839,22 +21639,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":1163
+ /* "_pydevd_sys_monitoring_cython.pyx":1200
* # 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, 1163, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1200, __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, 1163, __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, 1200, __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":1164
+ /* "_pydevd_sys_monitoring_cython.pyx":1201
* # fmt: on
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -20867,15 +21667,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, 1164, __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, 1201, __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, 1164, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1201, __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":1165
+ /* "_pydevd_sys_monitoring_cython.pyx":1202
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed:
* return # <<<<<<<<<<<<<<
@@ -20886,7 +21686,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":1164
+ /* "_pydevd_sys_monitoring_cython.pyx":1201
* # fmt: on
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -20895,7 +21695,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1167
+ /* "_pydevd_sys_monitoring_cython.pyx":1204
* return
*
* while frame is not None: # <<<<<<<<<<<<<<
@@ -20906,22 +21706,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":1168
+ /* "_pydevd_sys_monitoring_cython.pyx":1205
*
* 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, 1168, __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, 1205, __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, 1168, __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, 1205, __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":1169
+ /* "_pydevd_sys_monitoring_cython.pyx":1206
* while frame is not None:
* func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -20930,19 +21730,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":1170
+ /* "_pydevd_sys_monitoring_cython.pyx":1207
* 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, 1170, __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, 1207, __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":1171
+ /* "_pydevd_sys_monitoring_cython.pyx":1208
* if func_code_info.always_skip_code:
* frame = frame.f_back
* continue # <<<<<<<<<<<<<<
@@ -20951,7 +21751,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo
*/
goto __pyx_L6_continue;
- /* "_pydevd_sys_monitoring_cython.pyx":1169
+ /* "_pydevd_sys_monitoring_cython.pyx":1206
* while frame is not None:
* func_code_info: FuncCodeInfo = _get_func_code_info(frame.f_code, frame)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -20960,7 +21760,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1173
+ /* "_pydevd_sys_monitoring_cython.pyx":1210
* continue
*
* _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, frame.f_code, frame, False) # <<<<<<<<<<<<<<
@@ -20969,27 +21769,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, 1173, __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, 1210, __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, 1173, __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, 1210, __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":1174
+ /* "_pydevd_sys_monitoring_cython.pyx":1211
*
* _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, 1174, __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, 1211, __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":1157
+ /* "_pydevd_sys_monitoring_cython.pyx":1194
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _enable_code_tracing_for_frame_and_parents(ThreadInfo thread_info, frame): # <<<<<<<<<<<<<<
@@ -21014,7 +21814,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__enable_code_tracing_fo
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1179
+/* "_pydevd_sys_monitoring_cython.pyx":1216
* # 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): # <<<<<<<<<<<<<<
@@ -21044,19 +21844,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":1184
+ /* "_pydevd_sys_monitoring_cython.pyx":1221
* # 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, 1184, __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, 1221, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_back = __pyx_t_1;
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1185
+ /* "_pydevd_sys_monitoring_cython.pyx":1222
* # fmt: on
* back = frame.f_back
* if back is not None: # <<<<<<<<<<<<<<
@@ -21066,14 +21866,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":1189
+ /* "_pydevd_sys_monitoring_cython.pyx":1226
* # (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, 1189, __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, 1226, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -21093,7 +21893,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, 1189, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1226, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
}
@@ -21103,7 +21903,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, 1189, __pyx_L1_error)
+ __PYX_ERR(0, 1226, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -21119,17 +21919,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, 1189, __pyx_L1_error)
+ __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1226, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1189, __pyx_L1_error)
+ __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1226, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1189, __pyx_L1_error)
+ __pyx_t_6 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1226, __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, 1189, __pyx_L1_error)
+ __pyx_t_7 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1226, __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);
@@ -21139,7 +21939,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, 1189, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1226, __pyx_L1_error)
__pyx_t_8 = NULL;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
goto __pyx_L5_unpacking_done;
@@ -21147,7 +21947,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, 1189, __pyx_L1_error)
+ __PYX_ERR(0, 1226, __pyx_L1_error)
__pyx_L5_unpacking_done:;
}
__pyx_v_back_absolute_filename = __pyx_t_3;
@@ -21157,42 +21957,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":1190
+ /* "_pydevd_sys_monitoring_cython.pyx":1227
* # 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, 1190, __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, 1227, __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, 1190, __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, 1227, __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, 1190, __pyx_L1_error)
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1227, __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, 1190, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_base)) __PYX_ERR(0, 1227, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_6);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_6)) __PYX_ERR(0, 1190, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_6)) __PYX_ERR(0, 1227, __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, 1190, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_DEBUG_START); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1227, __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, 1190, __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, 1227, __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, 1190, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1227, __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, 1190, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUG_START_PY3K); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1227, __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, 1190, __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, 1227, __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, 1190, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1227, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_t_2 = __pyx_t_9;
__pyx_L7_bool_binop_done:;
@@ -21200,7 +22000,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":1191
+ /* "_pydevd_sys_monitoring_cython.pyx":1228
* 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 # <<<<<<<<<<<<<<
@@ -21210,7 +22010,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":1190
+ /* "_pydevd_sys_monitoring_cython.pyx":1227
* # 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): # <<<<<<<<<<<<<<
@@ -21220,22 +22020,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
goto __pyx_L6;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1193
+ /* "_pydevd_sys_monitoring_cython.pyx":1230
* 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, 1193, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_TRACE_PROPERTY); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1230, __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, 1193, __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, 1230, __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, 1193, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1230, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1196
+ /* "_pydevd_sys_monitoring_cython.pyx":1233
* # 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 # <<<<<<<<<<<<<<
@@ -21246,7 +22046,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":1193
+ /* "_pydevd_sys_monitoring_cython.pyx":1230
* back = None
*
* elif base == TRACE_PROPERTY: # <<<<<<<<<<<<<<
@@ -21255,35 +22055,35 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1198
+ /* "_pydevd_sys_monitoring_cython.pyx":1235
* 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, 1198, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1235, __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, 1198, __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, 1235, __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":1199
+ /* "_pydevd_sys_monitoring_cython.pyx":1236
*
* 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, 1199, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1236, __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, 1199, __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, 1236, __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, 1199, __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, 1236, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_3 = NULL;
__pyx_t_5 = 0;
@@ -21304,25 +22104,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, 1199, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1236, __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, 1199, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1236, __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":1205
+ /* "_pydevd_sys_monitoring_cython.pyx":1242
* # 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, 1205, __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, 1242, __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, 1205, __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, 1242, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_3 = NULL;
__pyx_t_5 = 0;
@@ -21343,13 +22143,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, 1205, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1242, __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":1206
+ /* "_pydevd_sys_monitoring_cython.pyx":1243
* # Related test: _debugger_case17a.py
* py_db.set_trace_for_frame_and_parents(thread_info.thread_ident, back)
* return # <<<<<<<<<<<<<<
@@ -21360,7 +22160,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":1199
+ /* "_pydevd_sys_monitoring_cython.pyx":1236
*
* elif pydevd_dont_trace.should_trace_hook is not None:
* if not pydevd_dont_trace.should_trace_hook(back.f_code, back_absolute_filename): # <<<<<<<<<<<<<<
@@ -21369,7 +22169,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1198
+ /* "_pydevd_sys_monitoring_cython.pyx":1235
* return
*
* elif pydevd_dont_trace.should_trace_hook is not None: # <<<<<<<<<<<<<<
@@ -21379,7 +22179,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
}
__pyx_L6:;
- /* "_pydevd_sys_monitoring_cython.pyx":1185
+ /* "_pydevd_sys_monitoring_cython.pyx":1222
* # fmt: on
* back = frame.f_back
* if back is not None: # <<<<<<<<<<<<<<
@@ -21388,7 +22188,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1208
+ /* "_pydevd_sys_monitoring_cython.pyx":1245
* return
*
* if back is not None: # <<<<<<<<<<<<<<
@@ -21398,46 +22198,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":1210
+ /* "_pydevd_sys_monitoring_cython.pyx":1247
* 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, 1210, __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, 1247, __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, 1210, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1247, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1210, __pyx_L1_error)
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1247, __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, 1210, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1247, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_4);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1210, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1247, __pyx_L1_error);
__pyx_t_4 = 0;
- __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1210, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1247, __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, 1210, __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, 1247, __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, 1210, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_original_step_cmd, __pyx_t_3) < 0) __PYX_ERR(0, 1247, __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, 1210, __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, 1247, __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":1211
+ /* "_pydevd_sys_monitoring_cython.pyx":1248
* # 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, 1211, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1248, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_6 = NULL;
__pyx_t_5 = 0;
@@ -21457,13 +22257,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, 1211, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1248, __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":1208
+ /* "_pydevd_sys_monitoring_cython.pyx":1245
* return
*
* if back is not None: # <<<<<<<<<<<<<<
@@ -21473,7 +22273,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
goto __pyx_L10;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1214
+ /* "_pydevd_sys_monitoring_cython.pyx":1251
* else:
* # in jython we may not have a back frame
* info.pydev_step_stop = None # <<<<<<<<<<<<<<
@@ -21487,7 +22287,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":1215
+ /* "_pydevd_sys_monitoring_cython.pyx":1252
* # in jython we may not have a back frame
* info.pydev_step_stop = None
* info.pydev_original_step_cmd = -1 # <<<<<<<<<<<<<<
@@ -21496,7 +22296,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":1216
+ /* "_pydevd_sys_monitoring_cython.pyx":1253
* info.pydev_step_stop = None
* info.pydev_original_step_cmd = -1
* info.pydev_step_cmd = -1 # <<<<<<<<<<<<<<
@@ -21505,33 +22305,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":1217
+ /* "_pydevd_sys_monitoring_cython.pyx":1254
* 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, 1217, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_STATE_RUN); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1254, __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, 1217, __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, 1254, __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":1218
+ /* "_pydevd_sys_monitoring_cython.pyx":1255
* 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, 1218, __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, 1255, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
}
__pyx_L10:;
- /* "_pydevd_sys_monitoring_cython.pyx":1179
+ /* "_pydevd_sys_monitoring_cython.pyx":1216
* # 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): # <<<<<<<<<<<<<<
@@ -21560,7 +22360,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_return(PyObjec
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1223
+/* "_pydevd_sys_monitoring_cython.pyx":1260
* # 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): # <<<<<<<<<<<<<<
@@ -21590,7 +22390,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":1242
+ /* "_pydevd_sys_monitoring_cython.pyx":1279
* Note that even if False is returned, it's still possible
* """
* additional_info = thread_info.additional_info # <<<<<<<<<<<<<<
@@ -21602,27 +22402,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":1245
+ /* "_pydevd_sys_monitoring_cython.pyx":1282
* # 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, 1245, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_bp, __pyx_n_s_expression); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1282, __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":1247
+ /* "_pydevd_sys_monitoring_cython.pyx":1284
* 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, 1247, __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, 1284, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -21642,13 +22442,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, 1247, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1284, __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":1245
+ /* "_pydevd_sys_monitoring_cython.pyx":1282
* # 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: # <<<<<<<<<<<<<<
@@ -21657,7 +22457,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1249
+ /* "_pydevd_sys_monitoring_cython.pyx":1286
* py_db.handle_breakpoint_expression(bp, additional_info, new_frame)
*
* if stop or stop_on_plugin_breakpoint: # <<<<<<<<<<<<<<
@@ -21673,27 +22473,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":1250
+ /* "_pydevd_sys_monitoring_cython.pyx":1287
*
* 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, 1250, __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, 1287, __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, 1250, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1287, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_2) {
- /* "_pydevd_sys_monitoring_cython.pyx":1251
+ /* "_pydevd_sys_monitoring_cython.pyx":1288
* 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, 1251, __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, 1288, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -21713,25 +22513,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, 1251, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1288, __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":1252
+ /* "_pydevd_sys_monitoring_cython.pyx":1289
* 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, 1252, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_eval_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1289, __pyx_L1_error)
__pyx_t_6 = (!__pyx_t_2);
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1253
+ /* "_pydevd_sys_monitoring_cython.pyx":1290
* eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame)
* if not eval_result:
* stop = False # <<<<<<<<<<<<<<
@@ -21740,7 +22540,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1254
+ /* "_pydevd_sys_monitoring_cython.pyx":1291
* if not eval_result:
* stop = False
* stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<<
@@ -21749,7 +22549,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":1252
+ /* "_pydevd_sys_monitoring_cython.pyx":1289
* if bp.has_condition:
* eval_result = py_db.handle_breakpoint_condition(additional_info, bp, new_frame)
* if not eval_result: # <<<<<<<<<<<<<<
@@ -21758,7 +22558,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":1287
*
* if stop or stop_on_plugin_breakpoint:
* if bp.has_condition: # <<<<<<<<<<<<<<
@@ -21767,7 +22567,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1249
+ /* "_pydevd_sys_monitoring_cython.pyx":1286
* py_db.handle_breakpoint_expression(bp, additional_info, new_frame)
*
* if stop or stop_on_plugin_breakpoint: # <<<<<<<<<<<<<<
@@ -21776,7 +22576,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1257
+ /* "_pydevd_sys_monitoring_cython.pyx":1294
*
* # Handle logpoint (on a logpoint we should never stop).
* if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: # <<<<<<<<<<<<<<
@@ -21793,15 +22593,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, 1257, __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, 1294, __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, 1257, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1294, __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":1258
+ /* "_pydevd_sys_monitoring_cython.pyx":1295
* # Handle logpoint (on a logpoint we should never stop).
* if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint:
* stop = False # <<<<<<<<<<<<<<
@@ -21810,7 +22610,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1259
+ /* "_pydevd_sys_monitoring_cython.pyx":1296
* if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint:
* stop = False
* stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<<
@@ -21819,7 +22619,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":1261
+ /* "_pydevd_sys_monitoring_cython.pyx":1298
* stop_on_plugin_breakpoint = False
*
* if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: # <<<<<<<<<<<<<<
@@ -21834,31 +22634,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, 1261, __pyx_L1_error)
+ __pyx_t_7 = PyObject_Length(__pyx_t_1); if (unlikely(__pyx_t_7 == ((Py_ssize_t)-1))) __PYX_ERR(0, 1298, __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":1262
+ /* "_pydevd_sys_monitoring_cython.pyx":1299
*
* 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, 1262, __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, 1299, __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, 1262, __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, 1299, __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, 1262, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_os); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1299, __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, 1262, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_linesep); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1299, __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, 1262, __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, 1299, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__pyx_t_8 = NULL;
@@ -21880,23 +22680,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, 1262, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1299, __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":1263
+ /* "_pydevd_sys_monitoring_cython.pyx":1300
* 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, 1263, __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, 1300, __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, 1263, __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, 1300, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_4 = NULL;
@@ -21917,13 +22717,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, 1263, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1300, __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":1261
+ /* "_pydevd_sys_monitoring_cython.pyx":1298
* stop_on_plugin_breakpoint = False
*
* if additional_info.pydev_message is not None and len(additional_info.pydev_message) > 0: # <<<<<<<<<<<<<<
@@ -21932,7 +22732,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1257
+ /* "_pydevd_sys_monitoring_cython.pyx":1294
*
* # Handle logpoint (on a logpoint we should never stop).
* if (stop or stop_on_plugin_breakpoint) and bp.is_logpoint: # <<<<<<<<<<<<<<
@@ -21941,7 +22741,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1265
+ /* "_pydevd_sys_monitoring_cython.pyx":1302
* py_db.writer.add_command(cmd)
*
* if stop: # <<<<<<<<<<<<<<
@@ -21950,91 +22750,91 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
if (__pyx_v_stop) {
- /* "_pydevd_sys_monitoring_cython.pyx":1266
+ /* "_pydevd_sys_monitoring_cython.pyx":1303
*
* 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, 1266, __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, 1303, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- /* "_pydevd_sys_monitoring_cython.pyx":1268
+ /* "_pydevd_sys_monitoring_cython.pyx":1305
* 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, 1268, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_stop_reason); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1305, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- /* "_pydevd_sys_monitoring_cython.pyx":1266
+ /* "_pydevd_sys_monitoring_cython.pyx":1303
*
* 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, 1266, __pyx_L1_error)
+ __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1303, __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, 1266, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1303, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_3);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3)) __PYX_ERR(0, 1266, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3)) __PYX_ERR(0, 1303, __pyx_L1_error);
__pyx_t_3 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1269
+ /* "_pydevd_sys_monitoring_cython.pyx":1306
* 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, 1269, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1306, __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, 1269, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1306, __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, 1269, __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, 1306, __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, 1269, __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, 1306, __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, 1269, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_suspend_other_threads, __pyx_t_8) < 0) __PYX_ERR(0, 1306, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1266
+ /* "_pydevd_sys_monitoring_cython.pyx":1303
*
* 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, 1266, __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, 1303, __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":1272
+ /* "_pydevd_sys_monitoring_cython.pyx":1309
* )
* # 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, 1272, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1309, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = NULL;
__pyx_t_5 = 0;
@@ -22054,13 +22854,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, 1272, __pyx_L1_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1309, __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":1273
+ /* "_pydevd_sys_monitoring_cython.pyx":1310
* # print('suspend on breakpoint...')
* _do_wait_suspend(py_db, thread_info, frame, "line", None)
* return True # <<<<<<<<<<<<<<
@@ -22072,7 +22872,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":1265
+ /* "_pydevd_sys_monitoring_cython.pyx":1302
* py_db.writer.add_command(cmd)
*
* if stop: # <<<<<<<<<<<<<<
@@ -22081,7 +22881,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1275
+ /* "_pydevd_sys_monitoring_cython.pyx":1312
* return True
*
* elif stop_on_plugin_breakpoint: # <<<<<<<<<<<<<<
@@ -22090,16 +22890,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":1276
+ /* "_pydevd_sys_monitoring_cython.pyx":1313
*
* 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, 1276, __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, 1313, __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, 1276, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1313, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = NULL;
@@ -22120,47 +22920,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, 1276, __pyx_L1_error)
+ if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1313, __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":1277
+ /* "_pydevd_sys_monitoring_cython.pyx":1314
* 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, 1277, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_stop_at_frame); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1314, __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, 1277, __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, 1314, __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, 1277, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_STATE_SUSPEND); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1314, __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, 1277, __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, 1314, __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, 1277, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1314, __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":1278
+ /* "_pydevd_sys_monitoring_cython.pyx":1315
* 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, 1278, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1315, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_8 = NULL;
__pyx_t_5 = 0;
@@ -22180,13 +22980,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, 1278, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1315, __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":1277
+ /* "_pydevd_sys_monitoring_cython.pyx":1314
* 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: # <<<<<<<<<<<<<<
@@ -22195,7 +22995,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1279
+ /* "_pydevd_sys_monitoring_cython.pyx":1316
* 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 # <<<<<<<<<<<<<<
@@ -22206,7 +23006,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":1275
+ /* "_pydevd_sys_monitoring_cython.pyx":1312
* return True
*
* elif stop_on_plugin_breakpoint: # <<<<<<<<<<<<<<
@@ -22215,7 +23015,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1281
+ /* "_pydevd_sys_monitoring_cython.pyx":1318
* return
*
* return False # <<<<<<<<<<<<<<
@@ -22227,7 +23027,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":1223
+ /* "_pydevd_sys_monitoring_cython.pyx":1260
* # 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): # <<<<<<<<<<<<<<
@@ -22255,7 +23055,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__stop_on_breakpoint(PyO
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1286
+/* "_pydevd_sys_monitoring_cython.pyx":1323
* # 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): # <<<<<<<<<<<<<<
@@ -22286,19 +23086,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":1293
+ /* "_pydevd_sys_monitoring_cython.pyx":1330
* # 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, 1293, __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, 1330, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_plugin_manager = __pyx_t_1;
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1295
+ /* "_pydevd_sys_monitoring_cython.pyx":1332
* 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 ( # <<<<<<<<<<<<<<
@@ -22306,56 +23106,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, 1295, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1332, __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, 1295, __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, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1332, __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, 1295, __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, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1332, __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, 1295, __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, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1332, __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, 1295, __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, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_7 < 0))) __PYX_ERR(0, 1332, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_4 = __pyx_t_7;
__pyx_L6_bool_binop_done:;
@@ -22366,60 +23166,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, 1295, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1332, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- /* "_pydevd_sys_monitoring_cython.pyx":1296
+ /* "_pydevd_sys_monitoring_cython.pyx":1333
* # 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, 1296, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1333, __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, 1295, __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, 1332, __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":1295
+ /* "_pydevd_sys_monitoring_cython.pyx":1332
* 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, 1295, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1332, __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, 1295, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1332, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":1297
+ /* "_pydevd_sys_monitoring_cython.pyx":1334
* 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, 1297, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_CMD_STEP_RETURN_MY_CODE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1334, __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, 1295, __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, 1332, __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":1295
+ /* "_pydevd_sys_monitoring_cython.pyx":1332
* 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, 1295, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1332, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_7 = __pyx_t_4;
__pyx_L10_bool_binop_done:;
@@ -22428,19 +23228,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":1299
+ /* "_pydevd_sys_monitoring_cython.pyx":1336
* 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, 1299, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1336, __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":1300
+ /* "_pydevd_sys_monitoring_cython.pyx":1337
* ):
* stop_info = {}
* stop = False # <<<<<<<<<<<<<<
@@ -22449,16 +23249,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1301
+ /* "_pydevd_sys_monitoring_cython.pyx":1338
* 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, 1301, __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, 1338, __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, 1301, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1338, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -22479,24 +23279,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, 1301, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1338, __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":1302
+ /* "_pydevd_sys_monitoring_cython.pyx":1339
* 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, 1302, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1339, __pyx_L1_error)
if (__pyx_t_2) {
- /* "_pydevd_sys_monitoring_cython.pyx":1303
+ /* "_pydevd_sys_monitoring_cython.pyx":1340
* 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 # <<<<<<<<<<<<<<
@@ -22509,7 +23309,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, 1303, __pyx_L1_error)
+ __PYX_ERR(0, 1340, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -22522,21 +23322,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, 1303, __pyx_L1_error)
+ __pyx_t_1 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1340, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1303, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1340, __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, 1303, __pyx_L1_error)
+ __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1340, __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, 1303, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_6), 2) < 0) __PYX_ERR(0, 1340, __pyx_L1_error)
__pyx_t_10 = NULL;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
goto __pyx_L14_unpacking_done;
@@ -22544,35 +23344,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, 1303, __pyx_L1_error)
+ __PYX_ERR(0, 1340, __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, 1303, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1340, __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":1304
+ /* "_pydevd_sys_monitoring_cython.pyx":1341
* 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, 1304, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1341, __pyx_L1_error)
if (__pyx_t_2) {
- /* "_pydevd_sys_monitoring_cython.pyx":1305
+ /* "_pydevd_sys_monitoring_cython.pyx":1342
* 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, 1305, __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, 1342, __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, 1305, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1342, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -22593,13 +23393,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, 1305, __pyx_L1_error)
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1342, __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":1306
+ /* "_pydevd_sys_monitoring_cython.pyx":1343
* if plugin_stop:
* plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd)
* return # <<<<<<<<<<<<<<
@@ -22610,7 +23410,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":1304
+ /* "_pydevd_sys_monitoring_cython.pyx":1341
* if result:
* stop, plugin_stop = result
* if plugin_stop: # <<<<<<<<<<<<<<
@@ -22619,7 +23419,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1302
+ /* "_pydevd_sys_monitoring_cython.pyx":1339
* stop = False
* result = plugin_manager.cmd_step_into(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop)
* if result: # <<<<<<<<<<<<<<
@@ -22628,7 +23428,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1295
+ /* "_pydevd_sys_monitoring_cython.pyx":1332
* 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 ( # <<<<<<<<<<<<<<
@@ -22638,7 +23438,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
goto __pyx_L3;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1308
+ /* "_pydevd_sys_monitoring_cython.pyx":1345
* return
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<<
@@ -22646,35 +23446,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, 1308, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1345, __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, 1308, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1345, __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, 1308, __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, 1345, __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, 1308, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1345, __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, 1308, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1345, __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, 1308, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1345, __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, 1308, __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, 1345, __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, 1308, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1345, __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":1309
+ /* "_pydevd_sys_monitoring_cython.pyx":1346
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):
* if plugin_manager is not None: # <<<<<<<<<<<<<<
@@ -22684,19 +23484,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":1310
+ /* "_pydevd_sys_monitoring_cython.pyx":1347
* 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, 1310, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1347, __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":1311
+ /* "_pydevd_sys_monitoring_cython.pyx":1348
* if plugin_manager is not None:
* stop_info = {}
* stop = False # <<<<<<<<<<<<<<
@@ -22705,16 +23505,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1312
+ /* "_pydevd_sys_monitoring_cython.pyx":1349
* 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, 1312, __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, 1349, __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, 1312, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyBool_FromLong(__pyx_v_stop); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1349, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -22735,24 +23535,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, 1312, __pyx_L1_error)
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1349, __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":1313
+ /* "_pydevd_sys_monitoring_cython.pyx":1350
* 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, 1313, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1350, __pyx_L1_error)
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1314
+ /* "_pydevd_sys_monitoring_cython.pyx":1351
* 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 # <<<<<<<<<<<<<<
@@ -22765,7 +23565,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, 1314, __pyx_L1_error)
+ __PYX_ERR(0, 1351, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -22778,21 +23578,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, 1314, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1351, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1314, __pyx_L1_error)
+ __pyx_t_1 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1351, __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, 1314, __pyx_L1_error)
+ __pyx_t_6 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1351, __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, 1314, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_6), 2) < 0) __PYX_ERR(0, 1351, __pyx_L1_error)
__pyx_t_10 = NULL;
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
goto __pyx_L21_unpacking_done;
@@ -22800,35 +23600,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, 1314, __pyx_L1_error)
+ __PYX_ERR(0, 1351, __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, 1314, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1351, __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":1315
+ /* "_pydevd_sys_monitoring_cython.pyx":1352
* 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, 1315, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_plugin_stop); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1352, __pyx_L1_error)
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1316
+ /* "_pydevd_sys_monitoring_cython.pyx":1353
* 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, 1316, __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, 1353, __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, 1316, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1353, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -22849,13 +23649,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, 1316, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1353, __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":1317
+ /* "_pydevd_sys_monitoring_cython.pyx":1354
* if plugin_stop:
* plugin_manager.stop(py_db, frame, event, thread_info.thread, stop_info, None, step_cmd)
* return # <<<<<<<<<<<<<<
@@ -22866,7 +23666,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":1315
+ /* "_pydevd_sys_monitoring_cython.pyx":1352
* if result:
* stop, plugin_stop = result
* if plugin_stop: # <<<<<<<<<<<<<<
@@ -22875,7 +23675,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1313
+ /* "_pydevd_sys_monitoring_cython.pyx":1350
* stop = False
* result = plugin_manager.cmd_step_over(py_db, frame, event, thread_info.additional_info, thread_info.thread, stop_info, stop)
* if result: # <<<<<<<<<<<<<<
@@ -22884,7 +23684,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1309
+ /* "_pydevd_sys_monitoring_cython.pyx":1346
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE):
* if plugin_manager is not None: # <<<<<<<<<<<<<<
@@ -22893,7 +23693,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1308
+ /* "_pydevd_sys_monitoring_cython.pyx":1345
* return
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<<
@@ -22903,7 +23703,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
}
__pyx_L3:;
- /* "_pydevd_sys_monitoring_cython.pyx":1286
+ /* "_pydevd_sys_monitoring_cython.pyx":1323
* # 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): # <<<<<<<<<<<<<<
@@ -22931,7 +23731,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__plugin_stepping(PyObje
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1322
+/* "_pydevd_sys_monitoring_cython.pyx":1359
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _jump_event(code, int from_offset, int to_offset): # <<<<<<<<<<<<<<
@@ -22966,7 +23766,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":1334
+ /* "_pydevd_sys_monitoring_cython.pyx":1371
* # everything is global, yet, when we start tracing something for stepping that
* # needs to be per-thread.
* try: # <<<<<<<<<<<<<<
@@ -22982,23 +23782,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":1335
+ /* "_pydevd_sys_monitoring_cython.pyx":1372
* # 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, 1335, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1372, __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, 1335, __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, 1372, __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, 1335, __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, 1372, __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":1334
+ /* "_pydevd_sys_monitoring_cython.pyx":1371
* # everything is global, yet, when we start tracing something for stepping that
* # needs to be per-thread.
* try: # <<<<<<<<<<<<<<
@@ -23014,7 +23814,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":1336
+ /* "_pydevd_sys_monitoring_cython.pyx":1373
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -23023,25 +23823,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, 1336, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1373, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":1337
+ /* "_pydevd_sys_monitoring_cython.pyx":1374
* 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, 1337, __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, 1374, __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, 1337, __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, 1374, __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":1338
+ /* "_pydevd_sys_monitoring_cython.pyx":1375
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -23051,7 +23851,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":1339
+ /* "_pydevd_sys_monitoring_cython.pyx":1376
* thread_info = _get_thread_info(True, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -23065,7 +23865,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":1338
+ /* "_pydevd_sys_monitoring_cython.pyx":1375
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -23079,7 +23879,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
goto __pyx_L4_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1334
+ /* "_pydevd_sys_monitoring_cython.pyx":1371
* # everything is global, yet, when we start tracing something for stepping that
* # needs to be per-thread.
* try: # <<<<<<<<<<<<<<
@@ -23106,22 +23906,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
__pyx_L8_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1341
+ /* "_pydevd_sys_monitoring_cython.pyx":1378
* 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, 1341, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1378, __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, 1341, __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, 1378, __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":1342
+ /* "_pydevd_sys_monitoring_cython.pyx":1379
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -23134,15 +23934,15 @@ 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, 1342, __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, 1379, __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, 1342, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1379, __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":1343
+ /* "_pydevd_sys_monitoring_cython.pyx":1380
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed:
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -23150,16 +23950,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
* # 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, 1343, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1380, __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, 1343, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1380, __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":1342
+ /* "_pydevd_sys_monitoring_cython.pyx":1379
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -23168,32 +23968,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1346
+ /* "_pydevd_sys_monitoring_cython.pyx":1383
*
* # 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_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1383, __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_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, 1383, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1347
+ /* "_pydevd_sys_monitoring_cython.pyx":1384
* # 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 not is_thread_alive(thread_info.thread):
+ * if not thread_info.trace or not thread_info.is_thread_alive():
*/
- __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1347, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1384, __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)
+ if (__Pyx_PyObject_DelAttrStr(__pyx_t_6, __pyx_n_s_f_disable_next_line_if_match) < 0) __PYX_ERR(0, 1384, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1346
+ /* "_pydevd_sys_monitoring_cython.pyx":1383
*
* # 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"): # <<<<<<<<<<<<<<
@@ -23202,52 +24002,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1349
+ /* "_pydevd_sys_monitoring_cython.pyx":1386
* del _thread_local_info.f_disable_next_line_if_match
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # 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, 1349, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1386, __pyx_L1_error)
__pyx_t_10 = (!__pyx_t_9);
if (!__pyx_t_10) {
} else {
__pyx_t_8 = __pyx_t_10;
goto __pyx_L17_bool_binop_done;
}
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_is_thread_alive); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1349, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_4);
- __pyx_t_5 = NULL;
- __pyx_t_11 = 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_11 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_v_thread_info->thread};
- __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1349, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_6);
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- }
- __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_10 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1386, __pyx_L1_error)
__pyx_t_9 = (!__pyx_t_10);
__pyx_t_8 = __pyx_t_9;
__pyx_L17_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1352
+ /* "_pydevd_sys_monitoring_cython.pyx":1389
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
* return # <<<<<<<<<<<<<<
@@ -23258,28 +24033,28 @@ 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":1349
+ /* "_pydevd_sys_monitoring_cython.pyx":1386
* del _thread_local_info.f_disable_next_line_if_match
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1354
+ /* "_pydevd_sys_monitoring_cython.pyx":1391
* 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, 1354, __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, 1391, __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":1355
+ /* "_pydevd_sys_monitoring_cython.pyx":1392
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<<
@@ -23295,7 +24070,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
__pyx_L20_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1356
+ /* "_pydevd_sys_monitoring_cython.pyx":1393
* 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 # <<<<<<<<<<<<<<
@@ -23303,16 +24078,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, 1356, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1393, __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, 1356, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1393, __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":1355
+ /* "_pydevd_sys_monitoring_cython.pyx":1392
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<<
@@ -23321,7 +24096,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1362
+ /* "_pydevd_sys_monitoring_cython.pyx":1399
* # Ignore forward jump.
* # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset)
* if to_offset > from_offset: # <<<<<<<<<<<<<<
@@ -23331,7 +24106,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":1363
+ /* "_pydevd_sys_monitoring_cython.pyx":1400
* # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset)
* if to_offset > from_offset:
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -23339,16 +24114,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
* from_line = func_code_info.get_line_of_offset(from_offset or 0)
*/
__Pyx_XDECREF(__pyx_r);
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1363, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1400, __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, 1363, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1400, __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":1362
+ /* "_pydevd_sys_monitoring_cython.pyx":1399
* # Ignore forward jump.
* # print('jump event', code.co_name, 'from offset', from_offset, 'to offset', to_offset)
* if to_offset > from_offset: # <<<<<<<<<<<<<<
@@ -23357,24 +24132,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1365
+ /* "_pydevd_sys_monitoring_cython.pyx":1402
* return monitor.DISABLE
*
* from_line = func_code_info.get_line_of_offset(from_offset or 0) # <<<<<<<<<<<<<<
* to_line = func_code_info.get_line_of_offset(to_offset or 0)
- * # 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, 1365, __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, 1402, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
if (!__pyx_v_from_offset) {
} else {
- __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_from_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1365, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_from_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1402, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = __pyx_t_7;
__pyx_t_7 = 0;
goto __pyx_L23_bool_binop_done;
}
- __pyx_t_7 = __Pyx_PyInt_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1365, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1402, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = __pyx_t_7;
__pyx_t_7 = 0;
@@ -23398,32 +24173,32 @@ 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, 1365, __pyx_L1_error)
+ if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1402, __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, 1365, __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, 1402, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_v_from_line = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1366
+ /* "_pydevd_sys_monitoring_cython.pyx":1403
*
* from_line = func_code_info.get_line_of_offset(from_offset or 0)
* to_line = func_code_info.get_line_of_offset(to_offset or 0) # <<<<<<<<<<<<<<
- * # 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, 1366, __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, 1403, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
if (!__pyx_v_to_offset) {
} else {
- __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_to_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1366, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_to_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1403, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = __pyx_t_7;
__pyx_t_7 = 0;
goto __pyx_L25_bool_binop_done;
}
- __pyx_t_7 = __Pyx_PyInt_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1366, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_long(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1403, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = __pyx_t_7;
__pyx_t_7 = 0;
@@ -23447,16 +24222,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, 1366, __pyx_L1_error)
+ 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_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_t_12 = __Pyx_PyInt_As_int(__pyx_t_6); if (unlikely((__pyx_t_12 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1403, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
__pyx_v_to_line = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1369
- * # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line)
+ /* "_pydevd_sys_monitoring_cython.pyx":1405
+ * to_line = func_code_info.get_line_of_offset(to_offset or 0)
*
* if from_line != to_line: # <<<<<<<<<<<<<<
* # I.e.: use case: "yield from [j for j in a if j % 2 == 0]"
@@ -23465,7 +24240,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":1371
+ /* "_pydevd_sys_monitoring_cython.pyx":1407
* if from_line != to_line:
* # I.e.: use case: "yield from [j for j in a if j % 2 == 0]"
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -23473,17 +24248,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, 1371, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); 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_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1371, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); 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;
__pyx_r = __pyx_t_4;
__pyx_t_4 = 0;
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":1369
- * # print('jump event', code.co_name, 'from line', from_line, 'to line', to_line)
+ /* "_pydevd_sys_monitoring_cython.pyx":1405
+ * to_line = func_code_info.get_line_of_offset(to_offset or 0)
*
* if from_line != to_line: # <<<<<<<<<<<<<<
* # I.e.: use case: "yield from [j for j in a if j % 2 == 0]"
@@ -23491,7 +24266,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1374
+ /* "_pydevd_sys_monitoring_cython.pyx":1410
*
* # We know the frame depth.
* frame = _getframe(1) # <<<<<<<<<<<<<<
@@ -23500,53 +24275,53 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
*/
__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, 1374, __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, 1410, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_frame = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1377
+ /* "_pydevd_sys_monitoring_cython.pyx":1413
*
* # 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) # <<<<<<<<<<<<<<
+ * # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', 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, 1377, __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, 1413, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1377, __pyx_L1_error)
+ __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1413, __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, 1377, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_v_func_code_info->co_filename)) __PYX_ERR(0, 1413, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_4);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1377, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_4)) __PYX_ERR(0, 1413, __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, 1377, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1413, __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, 1377, __pyx_L1_error)
+ if (__Pyx_PyObject_SetAttrStr(__pyx_t_4, __pyx_n_s_f_disable_next_line_if_match, __pyx_t_6) < 0) __PYX_ERR(0, 1413, __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":1379
- * _thread_local_info.f_disable_next_line_if_match = (func_code_info.co_filename, frame.f_lineno)
+ /* "_pydevd_sys_monitoring_cython.pyx":1416
+ * # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', 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, 1379, __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, 1416, __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, 1379, __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, 1416, __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, 1379, __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, 1416, __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":1322
+ /* "_pydevd_sys_monitoring_cython.pyx":1359
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _jump_event(code, int from_offset, int to_offset): # <<<<<<<<<<<<<<
@@ -23572,7 +24347,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__jump_event(PyObject *_
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1384
+/* "_pydevd_sys_monitoring_cython.pyx":1421
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _line_event(code, int line): # <<<<<<<<<<<<<<
@@ -23598,16 +24373,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;
- unsigned int __pyx_t_11;
- PyObject *(*__pyx_t_12)(PyObject *);
- struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_13;
+ 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":1395
+ /* "_pydevd_sys_monitoring_cython.pyx":1432
* # everything is global, yet, when we start tracing something for stepping that
* # needs to be per-thread.
* try: # <<<<<<<<<<<<<<
@@ -23623,23 +24397,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":1396
+ /* "_pydevd_sys_monitoring_cython.pyx":1433
* # 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, 1396, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1433, __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, 1396, __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, 1433, __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, 1396, __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, 1433, __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":1395
+ /* "_pydevd_sys_monitoring_cython.pyx":1432
* # everything is global, yet, when we start tracing something for stepping that
* # needs to be per-thread.
* try: # <<<<<<<<<<<<<<
@@ -23655,7 +24429,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":1397
+ /* "_pydevd_sys_monitoring_cython.pyx":1434
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -23664,25 +24438,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, 1397, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1434, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":1398
+ /* "_pydevd_sys_monitoring_cython.pyx":1435
* 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, 1398, __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, 1435, __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, 1398, __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, 1435, __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":1399
+ /* "_pydevd_sys_monitoring_cython.pyx":1436
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -23692,7 +24466,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":1400
+ /* "_pydevd_sys_monitoring_cython.pyx":1437
* thread_info = _get_thread_info(True, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -23706,7 +24480,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":1399
+ /* "_pydevd_sys_monitoring_cython.pyx":1436
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -23720,7 +24494,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
goto __pyx_L4_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1395
+ /* "_pydevd_sys_monitoring_cython.pyx":1432
* # everything is global, yet, when we start tracing something for stepping that
* # needs to be per-thread.
* try: # <<<<<<<<<<<<<<
@@ -23747,22 +24521,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
__pyx_L8_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1402
+ /* "_pydevd_sys_monitoring_cython.pyx":1439
* 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, 1402, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1439, __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, 1402, __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, 1439, __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":1403
+ /* "_pydevd_sys_monitoring_cython.pyx":1440
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -23775,32 +24549,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, 1403, __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, 1440, __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, 1403, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1440, __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":1404
+ /* "_pydevd_sys_monitoring_cython.pyx":1441
* 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 not is_thread_alive(thread_info.thread):
+ * # 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, 1404, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1441, __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, 1404, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1441, __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":1403
+ /* "_pydevd_sys_monitoring_cython.pyx":1440
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -23809,94 +24583,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1406
- * return monitor.DISABLE
- *
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
- * # 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, 1406, __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_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_is_thread_alive); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1406, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_4);
- __pyx_t_5 = NULL;
- __pyx_t_11 = 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_11 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_v_thread_info->thread};
- __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1406, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_6);
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- }
- __pyx_t_10 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_10 < 0))) __PYX_ERR(0, 1406, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
- __pyx_t_9 = (!__pyx_t_10);
- __pyx_t_8 = __pyx_t_9;
- __pyx_L16_bool_binop_done:;
- if (__pyx_t_8) {
-
- /* "_pydevd_sys_monitoring_cython.pyx":1409
- * # For thread-related stuff we can't disable the code tracing because other
- * # threads may still want it...
- * return # <<<<<<<<<<<<<<
- *
- * if hasattr(_thread_local_info, "f_disable_next_line_if_match"):
- */
- __Pyx_XDECREF(__pyx_r);
- __pyx_r = Py_None; __Pyx_INCREF(Py_None);
- goto __pyx_L0;
-
- /* "_pydevd_sys_monitoring_cython.pyx":1406
- * return monitor.DISABLE
- *
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
- * # For thread-related stuff we can't disable the code tracing because other
- * # threads may still want it...
- */
- }
-
- /* "_pydevd_sys_monitoring_cython.pyx":1411
- * return
+ /* "_pydevd_sys_monitoring_cython.pyx":1444
*
+ * # 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, 1411, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1444, __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, 1411, __pyx_L1_error)
+ __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, 1444, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1412
- *
+ /* "_pydevd_sys_monitoring_cython.pyx":1445
+ * # 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, 1412, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1445, __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, 1412, __pyx_L1_error)
+ __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, 1445, __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))) {
@@ -23905,7 +24614,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
if (unlikely(size != 2)) {
if (size > 2) __Pyx_RaiseTooManyValuesError(2);
else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size);
- __PYX_ERR(0, 1412, __pyx_L1_error)
+ __PYX_ERR(0, 1445, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -23918,118 +24627,158 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
__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, 1412, __pyx_L1_error)
+ __pyx_t_6 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1445, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
- __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1412, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1445, __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, 1412, __pyx_L1_error)
+ __pyx_t_7 = PyObject_GetIter(__pyx_t_4); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1445, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- __pyx_t_12 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7);
- index = 0; __pyx_t_6 = __pyx_t_12(__pyx_t_7); if (unlikely(!__pyx_t_6)) goto __pyx_L19_unpacking_failed;
+ __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_12(__pyx_t_7); if (unlikely(!__pyx_t_5)) goto __pyx_L19_unpacking_failed;
+ 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_12(__pyx_t_7), 2) < 0) __PYX_ERR(0, 1412, __pyx_L1_error)
- __pyx_t_12 = NULL;
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_10(__pyx_t_7), 2) < 0) __PYX_ERR(0, 1445, __pyx_L1_error)
+ __pyx_t_10 = NULL;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- goto __pyx_L20_unpacking_done;
- __pyx_L19_unpacking_failed:;
+ goto __pyx_L17_unpacking_done;
+ __pyx_L16_unpacking_failed:;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- __pyx_t_12 = NULL;
+ __pyx_t_10 = NULL;
if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index);
- __PYX_ERR(0, 1412, __pyx_L1_error)
- __pyx_L20_unpacking_done:;
+ __PYX_ERR(0, 1445, __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":1413
+ /* "_pydevd_sys_monitoring_cython.pyx":1446
* 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:
- * # If we're in a jump, we should skip this line event. The jump would have
+ * # 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, 1413, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1446, __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, 1413, __pyx_L1_error)
+ if (__Pyx_PyObject_DelAttrStr(__pyx_t_4, __pyx_n_s_f_disable_next_line_if_match) < 0) __PYX_ERR(0, 1446, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1414
+ /* "_pydevd_sys_monitoring_cython.pyx":1447
* (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: # <<<<<<<<<<<<<<
- * # If we're in a jump, we should skip this line event. The jump would have
- * # been considered a line event for this same line and we don't want to
+ * # 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, 1414, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_line); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1447, __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_L22_bool_binop_done;
+ 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, 1414, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_code, __pyx_n_s_co_filename); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1447, __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, 1414, __pyx_L1_error)
+ __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, 1447, __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, 1414, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1447, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_8 = __pyx_t_9;
- __pyx_L22_bool_binop_done:;
+ __pyx_L19_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1417
- * # If we're in a jump, we should skip this line event. The jump would have
- * # been considered a line event for this same line and we don't want to
+ /* "_pydevd_sys_monitoring_cython.pyx":1451
+ * # line events or jumps since then. We don't want to consider this line twice
+ * # pydev_log.debug('_line_event skipped', line)
* return # <<<<<<<<<<<<<<
*
- * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
+ * if not thread_info.trace or not thread_info.is_thread_alive():
*/
__Pyx_XDECREF(__pyx_r);
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":1414
+ /* "_pydevd_sys_monitoring_cython.pyx":1447
* (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: # <<<<<<<<<<<<<<
- * # If we're in a jump, we should skip this line event. The jump would have
- * # been considered a line event for this same line and we don't want to
+ * # 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":1411
- * return
+ /* "_pydevd_sys_monitoring_cython.pyx":1444
*
+ * # 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":1419
+ /* "_pydevd_sys_monitoring_cython.pyx":1453
+ * return
+ *
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
+ * # 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, 1453, __pyx_L1_error)
+ __pyx_t_11 = (!__pyx_t_9);
+ if (!__pyx_t_11) {
+ } else {
+ __pyx_t_8 = __pyx_t_11;
+ goto __pyx_L22_bool_binop_done;
+ }
+ __pyx_t_11 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1453, __pyx_L1_error)
+ __pyx_t_9 = (!__pyx_t_11);
+ __pyx_t_8 = __pyx_t_9;
+ __pyx_L22_bool_binop_done:;
+ if (__pyx_t_8) {
+
+ /* "_pydevd_sys_monitoring_cython.pyx":1456
+ * # For thread-related stuff we can't disable the code tracing because other
+ * # threads may still want it...
+ * return # <<<<<<<<<<<<<<
+ *
+ * func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __pyx_r = Py_None; __Pyx_INCREF(Py_None);
+ goto __pyx_L0;
+
+ /* "_pydevd_sys_monitoring_cython.pyx":1453
* return
*
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
+ * # For thread-related stuff we can't disable the code tracing because other
+ * # threads may still want it...
+ */
+ }
+
+ /* "_pydevd_sys_monitoring_cython.pyx":1458
+ * 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_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_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, 1458, __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":1420
+ /* "_pydevd_sys_monitoring_cython.pyx":1459
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<<
@@ -24045,24 +24794,24 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
__pyx_L25_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1421
+ /* "_pydevd_sys_monitoring_cython.pyx":1460
* 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 # <<<<<<<<<<<<<<
*
- * # print('line event', code.co_name, line)
+ * # pydev_log.debug('_line_event', code.co_name, line)
*/
__Pyx_XDECREF(__pyx_r);
- __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1421, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1460, __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_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1460, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__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":1420
+ /* "_pydevd_sys_monitoring_cython.pyx":1459
*
* func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
* if func_code_info.always_skip_code or func_code_info.always_filtered_out: # <<<<<<<<<<<<<<
@@ -24071,21 +24820,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1426
+ /* "_pydevd_sys_monitoring_cython.pyx":1465
*
* # We know the frame depth.
* frame = _getframe(1) # <<<<<<<<<<<<<<
* return _internal_line_event(func_code_info, frame, line)
*
*/
- __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, 1426, __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, 1465, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_frame = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1427
+ /* "_pydevd_sys_monitoring_cython.pyx":1466
* # We know the frame depth.
* frame = _getframe(1)
* return _internal_line_event(func_code_info, frame, line) # <<<<<<<<<<<<<<
@@ -24093,13 +24842,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, 1427, __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, 1466, __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":1384
+ /* "_pydevd_sys_monitoring_cython.pyx":1421
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _line_event(code, int line): # <<<<<<<<<<<<<<
@@ -24127,7 +24876,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__line_event(PyObject *_
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1432
+/* "_pydevd_sys_monitoring_cython.pyx":1471
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line): # <<<<<<<<<<<<<<
@@ -24178,38 +24927,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":1444
+ /* "_pydevd_sys_monitoring_cython.pyx":1483
* # 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, 1444, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1483, __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, 1444, __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, 1483, __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":1445
+ /* "_pydevd_sys_monitoring_cython.pyx":1484
* # 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, 1445, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1484, __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, 1445, __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, 1484, __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, 1445, __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, 1484, __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":1446
+ /* "_pydevd_sys_monitoring_cython.pyx":1485
* py_db: object = GlobalDebuggerHolder.global_dbg
* thread_info = _thread_local_info.thread_info
* info = thread_info.additional_info # <<<<<<<<<<<<<<
@@ -24221,7 +24970,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":1448
+ /* "_pydevd_sys_monitoring_cython.pyx":1487
* info = thread_info.additional_info
*
* step_cmd = info.pydev_step_cmd # <<<<<<<<<<<<<<
@@ -24231,7 +24980,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":1454
+ /* "_pydevd_sys_monitoring_cython.pyx":1493
* # If we reached here, it was not filtered out.
*
* if func_code_info.breakpoint_found: # <<<<<<<<<<<<<<
@@ -24240,7 +24989,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":1455
+ /* "_pydevd_sys_monitoring_cython.pyx":1494
*
* if func_code_info.breakpoint_found:
* bp = None # <<<<<<<<<<<<<<
@@ -24250,7 +24999,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":1456
+ /* "_pydevd_sys_monitoring_cython.pyx":1495
* if func_code_info.breakpoint_found:
* bp = None
* stop = False # <<<<<<<<<<<<<<
@@ -24259,7 +25008,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1457
+ /* "_pydevd_sys_monitoring_cython.pyx":1496
* bp = None
* stop = False
* stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<<
@@ -24268,32 +25017,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":1459
+ /* "_pydevd_sys_monitoring_cython.pyx":1498
* 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, 1459, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1498, __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":1460
+ /* "_pydevd_sys_monitoring_cython.pyx":1499
*
* 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, 1460, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1499, __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, 1460, __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, 1499, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_v_stop_reason = __pyx_t_3;
- /* "_pydevd_sys_monitoring_cython.pyx":1461
+ /* "_pydevd_sys_monitoring_cython.pyx":1500
* stop_info = {}
* stop_reason = CMD_SET_BREAK
* bp_type = None # <<<<<<<<<<<<<<
@@ -24303,7 +25052,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":1463
+ /* "_pydevd_sys_monitoring_cython.pyx":1502
* bp_type = None
*
* bp = func_code_info.bp_line_to_breakpoint.get(line) # <<<<<<<<<<<<<<
@@ -24312,17 +25061,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, 1463, __pyx_L1_error)
+ __PYX_ERR(0, 1502, __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_t_1 = __Pyx_PyInt_From_int(__pyx_v_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1502, __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, 1463, __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, 1502, __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":1464
+ /* "_pydevd_sys_monitoring_cython.pyx":1503
*
* bp = func_code_info.bp_line_to_breakpoint.get(line)
* if bp is not None: # <<<<<<<<<<<<<<
@@ -24332,7 +25081,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":1465
+ /* "_pydevd_sys_monitoring_cython.pyx":1504
* bp = func_code_info.bp_line_to_breakpoint.get(line)
* if bp is not None:
* new_frame = frame # <<<<<<<<<<<<<<
@@ -24342,7 +25091,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":1466
+ /* "_pydevd_sys_monitoring_cython.pyx":1505
* if bp is not None:
* new_frame = frame
* stop = True # <<<<<<<<<<<<<<
@@ -24351,7 +25100,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 1;
- /* "_pydevd_sys_monitoring_cython.pyx":1464
+ /* "_pydevd_sys_monitoring_cython.pyx":1503
*
* bp = func_code_info.bp_line_to_breakpoint.get(line)
* if bp is not None: # <<<<<<<<<<<<<<
@@ -24360,31 +25109,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1468
+ /* "_pydevd_sys_monitoring_cython.pyx":1507
* 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, 1468, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_bp); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1507, __pyx_L1_error)
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1469
+ /* "_pydevd_sys_monitoring_cython.pyx":1508
*
* 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, 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)
+ if (unlikely(!__pyx_v_new_frame)) { __Pyx_RaiseUnboundLocalError("new_frame"); __PYX_ERR(0, 1508, __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, 1508, __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, 1469, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1508, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1470
+ /* "_pydevd_sys_monitoring_cython.pyx":1509
* if bp:
* if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"):
* return # <<<<<<<<<<<<<<
@@ -24395,7 +25144,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":1508
*
* if bp:
* if _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-line"): # <<<<<<<<<<<<<<
@@ -24404,7 +25153,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1468
+ /* "_pydevd_sys_monitoring_cython.pyx":1507
* stop = True
*
* if bp: # <<<<<<<<<<<<<<
@@ -24413,7 +25162,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1454
+ /* "_pydevd_sys_monitoring_cython.pyx":1493
* # If we reached here, it was not filtered out.
*
* if func_code_info.breakpoint_found: # <<<<<<<<<<<<<<
@@ -24422,7 +25171,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":1511
* return
*
* if func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<<
@@ -24431,16 +25180,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":1473
+ /* "_pydevd_sys_monitoring_cython.pyx":1512
*
* 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, 1473, __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, 1512, __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, 1473, __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, 1512, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -24461,37 +25210,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, 1473, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1512, __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":1474
+ /* "_pydevd_sys_monitoring_cython.pyx":1513
* 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, 1474, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1513, __pyx_L1_error)
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1475
+ /* "_pydevd_sys_monitoring_cython.pyx":1514
* 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, 1475, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1514, __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, 1475, __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, 1514, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_v_stop_reason = __pyx_t_3;
- /* "_pydevd_sys_monitoring_cython.pyx":1476
+ /* "_pydevd_sys_monitoring_cython.pyx":1515
* if result:
* stop_reason = CMD_SET_BREAK
* stop = False # <<<<<<<<<<<<<<
@@ -24500,7 +25249,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1477
+ /* "_pydevd_sys_monitoring_cython.pyx":1516
* stop_reason = CMD_SET_BREAK
* stop = False
* stop_on_plugin_breakpoint = True # <<<<<<<<<<<<<<
@@ -24509,7 +25258,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":1478
+ /* "_pydevd_sys_monitoring_cython.pyx":1517
* stop = False
* stop_on_plugin_breakpoint = True
* bp, new_frame, bp_type = result # <<<<<<<<<<<<<<
@@ -24522,7 +25271,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, 1478, __pyx_L1_error)
+ __PYX_ERR(0, 1517, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -24538,16 +25287,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, 1478, __pyx_L1_error)
+ __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1517, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1478, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1517, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
- __pyx_t_1 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1478, __pyx_L1_error)
+ __pyx_t_1 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1517, __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, 1478, __pyx_L1_error)
+ __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1517, __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;
@@ -24556,7 +25305,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, 1478, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_8(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1517, __pyx_L1_error)
__pyx_t_8 = NULL;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
goto __pyx_L10_unpacking_done;
@@ -24564,7 +25313,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, 1478, __pyx_L1_error)
+ __PYX_ERR(0, 1517, __pyx_L1_error)
__pyx_L10_unpacking_done:;
}
__Pyx_XDECREF_SET(__pyx_v_bp, __pyx_t_2);
@@ -24574,19 +25323,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":1479
+ /* "_pydevd_sys_monitoring_cython.pyx":1518
* 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, 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)
+ if (!(likely(PyString_CheckExact(__pyx_v_bp_type))||((__pyx_v_bp_type) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_v_bp_type))) __PYX_ERR(0, 1518, __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, 1518, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1480
+ /* "_pydevd_sys_monitoring_cython.pyx":1519
* 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 # <<<<<<<<<<<<<<
@@ -24597,7 +25346,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":1474
+ /* "_pydevd_sys_monitoring_cython.pyx":1513
* if func_code_info.plugin_line_breakpoint_found:
* result = py_db.plugin.get_breakpoint(py_db, frame, "line", info)
* if result: # <<<<<<<<<<<<<<
@@ -24606,7 +25355,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":1511
* return
*
* if func_code_info.plugin_line_breakpoint_found: # <<<<<<<<<<<<<<
@@ -24615,32 +25364,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1482
+ /* "_pydevd_sys_monitoring_cython.pyx":1521
* 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, 1482, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_state); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1521, __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, 1482, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_STATE_SUSPEND); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1521, __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, 1482, __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, 1521, __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, 1482, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1521, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1485
+ /* "_pydevd_sys_monitoring_cython.pyx":1524
* # 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, 1485, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1524, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_1 = NULL;
__pyx_t_6 = 0;
@@ -24660,13 +25409,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, 1485, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1524, __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":1486
+ /* "_pydevd_sys_monitoring_cython.pyx":1525
* # print('suspend (pause)...')
* _do_wait_suspend(py_db, thread_info, frame, "line", None)
* return # <<<<<<<<<<<<<<
@@ -24677,7 +25426,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":1482
+ /* "_pydevd_sys_monitoring_cython.pyx":1521
* return
*
* if info.pydev_state == STATE_SUSPEND: # <<<<<<<<<<<<<<
@@ -24686,7 +25435,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1489
+ /* "_pydevd_sys_monitoring_cython.pyx":1528
*
* # Ok, did not suspend due to a breakpoint, let's see if we're stepping.
* stop_frame = info.pydev_step_stop # <<<<<<<<<<<<<<
@@ -24698,7 +25447,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":1490
+ /* "_pydevd_sys_monitoring_cython.pyx":1529
* # 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: # <<<<<<<<<<<<<<
@@ -24708,7 +25457,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":1491
+ /* "_pydevd_sys_monitoring_cython.pyx":1530
* 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(): # <<<<<<<<<<<<<<
@@ -24725,12 +25474,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, 1491, __pyx_L1_error)
+ __pyx_t_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1530, __pyx_L1_error)
__pyx_t_4 = __pyx_t_9;
__pyx_L14_bool_binop_done:;
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1492
+ /* "_pydevd_sys_monitoring_cython.pyx":1531
* if step_cmd == -1:
* if func_code_info.breakpoint_found or func_code_info.plugin_line_breakpoint_found or any_thread_stepping():
* return None # <<<<<<<<<<<<<<
@@ -24741,7 +25490,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":1491
+ /* "_pydevd_sys_monitoring_cython.pyx":1530
* 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(): # <<<<<<<<<<<<<<
@@ -24750,7 +25499,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1494
+ /* "_pydevd_sys_monitoring_cython.pyx":1533
* return None
*
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -24758,16 +25507,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, 1494, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1533, __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, 1494, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1533, __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":1490
+ /* "_pydevd_sys_monitoring_cython.pyx":1529
* # 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: # <<<<<<<<<<<<<<
@@ -24776,25 +25525,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1496
+ /* "_pydevd_sys_monitoring_cython.pyx":1535
* 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, 1496, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1535, __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, 1496, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1535, __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, 1496, __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, 1535, __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, 1496, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1535, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1498
+ /* "_pydevd_sys_monitoring_cython.pyx":1537
* if info.suspend_type != PYTHON_SUSPEND:
* # Plugin stepping
* if func_code_info.plugin_line_stepping: # <<<<<<<<<<<<<<
@@ -24803,18 +25552,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":1499
+ /* "_pydevd_sys_monitoring_cython.pyx":1538
* # 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, 1499, __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, 1538, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1498
+ /* "_pydevd_sys_monitoring_cython.pyx":1537
* if info.suspend_type != PYTHON_SUSPEND:
* # Plugin stepping
* if func_code_info.plugin_line_stepping: # <<<<<<<<<<<<<<
@@ -24823,7 +25572,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1500
+ /* "_pydevd_sys_monitoring_cython.pyx":1539
* if func_code_info.plugin_line_stepping:
* _plugin_stepping(py_db, step_cmd, "line", frame, thread_info)
* return # <<<<<<<<<<<<<<
@@ -24834,7 +25583,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":1496
+ /* "_pydevd_sys_monitoring_cython.pyx":1535
* return monitor.DISABLE
*
* if info.suspend_type != PYTHON_SUSPEND: # <<<<<<<<<<<<<<
@@ -24843,7 +25592,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1503
+ /* "_pydevd_sys_monitoring_cython.pyx":1542
*
* # Python stepping now
* if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): # <<<<<<<<<<<<<<
@@ -24851,67 +25600,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, 1503, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1542, __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, 1503, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1542, __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, 1503, __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, 1542, __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, 1503, __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;
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, 1503, __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_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1503, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1542, __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, 1503, __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, 1542, __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, 1503, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1542, __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, 1503, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1542, __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, 1503, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_COROUTINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1542, __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, 1503, __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, 1542, __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, 1503, __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_L20_bool_binop_done:;
__pyx_t_9 = __pyx_t_4;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1504
+ /* "_pydevd_sys_monitoring_cython.pyx":1543
* # 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, 1504, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1543, __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, 1504, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_CMD_STEP_INTO_MY_CODE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1543, __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, 1504, __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, 1543, __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, 1504, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_9 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1543, __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":1505
+ /* "_pydevd_sys_monitoring_cython.pyx":1544
* 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: # <<<<<<<<<<<<<<
@@ -24921,7 +25670,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":1506
+ /* "_pydevd_sys_monitoring_cython.pyx":1545
* 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): # <<<<<<<<<<<<<<
@@ -24942,7 +25691,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":1507
+ /* "_pydevd_sys_monitoring_cython.pyx":1546
* 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 # <<<<<<<<<<<<<<
@@ -24953,7 +25702,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":1506
+ /* "_pydevd_sys_monitoring_cython.pyx":1545
* 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): # <<<<<<<<<<<<<<
@@ -24962,46 +25711,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1509
+ /* "_pydevd_sys_monitoring_cython.pyx":1548
* 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, 1509, __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, 1548, __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, 1509, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1548, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1509, __pyx_L1_error)
+ __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1548, __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, 1509, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1548, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_2);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0, 1548, __pyx_L1_error);
__pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1509, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1548, __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, 1509, __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, 1548, __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, 1509, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_original_step_cmd, __pyx_t_7) < 0) __PYX_ERR(0, 1548, __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, 1509, __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, 1548, __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":1510
+ /* "_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
* else:
*/
- __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1510, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1549, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -25021,13 +25770,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, 1510, __pyx_L1_error)
+ if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1549, __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":1511
+ /* "_pydevd_sys_monitoring_cython.pyx":1550
* 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 # <<<<<<<<<<<<<<
@@ -25038,7 +25787,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":1505
+ /* "_pydevd_sys_monitoring_cython.pyx":1544
* 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: # <<<<<<<<<<<<<<
@@ -25047,7 +25796,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1514
+ /* "_pydevd_sys_monitoring_cython.pyx":1553
* 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): # <<<<<<<<<<<<<<
@@ -25069,7 +25818,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":1515
+ /* "_pydevd_sys_monitoring_cython.pyx":1554
* # 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 # <<<<<<<<<<<<<<
@@ -25080,7 +25829,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":1514
+ /* "_pydevd_sys_monitoring_cython.pyx":1553
* 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): # <<<<<<<<<<<<<<
@@ -25089,7 +25838,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1517
+ /* "_pydevd_sys_monitoring_cython.pyx":1556
* return
*
* stop = False # <<<<<<<<<<<<<<
@@ -25098,29 +25847,29 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1519
+ /* "_pydevd_sys_monitoring_cython.pyx":1558
* 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, 1519, __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, 1558, __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, 1519, __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, 1558, __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":1520
+ /* "_pydevd_sys_monitoring_cython.pyx":1559
* # 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, 1520, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_endswith); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1559, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -25140,27 +25889,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, 1520, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1559, __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, 1520, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1559, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1521
+ /* "_pydevd_sys_monitoring_cython.pyx":1560
* 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__17, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1521, __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, 1560, __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":1520
+ /* "_pydevd_sys_monitoring_cython.pyx":1559
* # We can only stop inside the ipython call.
* filename = frame.f_code.co_filename
* if filename.endswith(".pyc"): # <<<<<<<<<<<<<<
@@ -25169,18 +25918,18 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1523
+ /* "_pydevd_sys_monitoring_cython.pyx":1562
* 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, 1523, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_filename, __pyx_n_s_endswith); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1562, __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, 1523, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1562, __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, 1523, __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, 1562, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_5 = NULL;
@@ -25202,28 +25951,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, 1523, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1562, __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, 1523, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1562, __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":1524
+ /* "_pydevd_sys_monitoring_cython.pyx":1563
*
* 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, 1524, __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, 1563, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_v_f = __pyx_t_2;
__pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1525
+ /* "_pydevd_sys_monitoring_cython.pyx":1564
* if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]):
* f = frame.f_back
* while f is not None: # <<<<<<<<<<<<<<
@@ -25234,43 +25983,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":1526
+ /* "_pydevd_sys_monitoring_cython.pyx":1565
* 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, 1526, __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, 1565, __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, 1526, __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, 1565, __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, 1526, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1565, __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, 1526, __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, 1565, __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, 1526, __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, 1565, __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, 1526, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(0, 1565, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (__pyx_t_4) {
- /* "_pydevd_sys_monitoring_cython.pyx":1527
+ /* "_pydevd_sys_monitoring_cython.pyx":1566
* 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, 1527, __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, 1566, __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":1528
+ /* "_pydevd_sys_monitoring_cython.pyx":1567
* 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]: # <<<<<<<<<<<<<<
@@ -25283,35 +26032,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, 1528, __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, 1567, __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, 1528, __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, 1567, __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, 1528, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1567, __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, 1528, __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, 1567, __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, 1528, __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, 1567, __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, 1528, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1567, __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":1529
+ /* "_pydevd_sys_monitoring_cython.pyx":1568
* 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, 1529, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_pydev_log); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1568, __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, 1529, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_debug); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1568, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -25332,45 +26081,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, 1529, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1568, __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":1530
+ /* "_pydevd_sys_monitoring_cython.pyx":1569
* 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, 1530, __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, 1569, __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, 1530, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1530, __pyx_L1_error)
+ __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1569, __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, 1530, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1569, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_1);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1569, __pyx_L1_error);
__pyx_t_1 = 0;
- __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1530, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1569, __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, 1530, __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, 1569, __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, 1530, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_5) < 0) __PYX_ERR(0, 1569, __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, 1530, __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, 1569, __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":1531
+ /* "_pydevd_sys_monitoring_cython.pyx":1570
* 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" # <<<<<<<<<<<<<<
@@ -25383,14 +26132,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":1532
+ /* "_pydevd_sys_monitoring_cython.pyx":1571
* 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, 1532, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1571, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_7 = NULL;
__pyx_t_6 = 0;
@@ -25410,13 +26159,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, 1532, __pyx_L1_error)
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1571, __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":1533
+ /* "_pydevd_sys_monitoring_cython.pyx":1572
* thread_info.additional_info.trace_suspend_type = "sys_monitor"
* _do_wait_suspend(py_db, thread_info, frame, "line", None)
* break # <<<<<<<<<<<<<<
@@ -25425,7 +26174,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
goto __pyx_L35_break;
- /* "_pydevd_sys_monitoring_cython.pyx":1528
+ /* "_pydevd_sys_monitoring_cython.pyx":1567
* 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]: # <<<<<<<<<<<<<<
@@ -25434,7 +26183,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1526
+ /* "_pydevd_sys_monitoring_cython.pyx":1565
* f = frame.f_back
* while f is not None:
* if f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[1]: # <<<<<<<<<<<<<<
@@ -25443,21 +26192,21 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1534
+ /* "_pydevd_sys_monitoring_cython.pyx":1573
* _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, 1534, __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, 1573, __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":1536
+ /* "_pydevd_sys_monitoring_cython.pyx":1575
* f = f.f_back
*
* del f # <<<<<<<<<<<<<<
@@ -25466,7 +26215,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":1523
+ /* "_pydevd_sys_monitoring_cython.pyx":1562
* filename = filename[:-1]
*
* if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]): # <<<<<<<<<<<<<<
@@ -25476,7 +26225,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
}
}
- /* "_pydevd_sys_monitoring_cython.pyx":1540
+ /* "_pydevd_sys_monitoring_cython.pyx":1579
* # In scoped mode if step in didn't work in this context it won't work
* # afterwards anyways.
* return # <<<<<<<<<<<<<<
@@ -25487,7 +26236,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":1503
+ /* "_pydevd_sys_monitoring_cython.pyx":1542
*
* # Python stepping now
* if step_cmd in (CMD_STEP_INTO, CMD_STEP_INTO_MY_CODE, CMD_STEP_INTO_COROUTINE): # <<<<<<<<<<<<<<
@@ -25496,7 +26245,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1542
+ /* "_pydevd_sys_monitoring_cython.pyx":1581
* return
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<<
@@ -25504,87 +26253,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, 1542, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1581, __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, 1542, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1581, __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, 1542, __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, 1581, __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, 1542, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1581, __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, 1542, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1581, __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, 1542, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_STEP_OVER_MY_CODE); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1581, __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, 1542, __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, 1581, __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, 1542, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1581, __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":1546
+ /* "_pydevd_sys_monitoring_cython.pyx":1585
* # 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, 1546, __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, 1585, __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, 1546, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1585, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1547
+ /* "_pydevd_sys_monitoring_cython.pyx":1586
* # 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, 1547, __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, 1586, __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, 1547, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1586, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1547, __pyx_L1_error)
+ __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1586, __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, 1547, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1586, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_1);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1547, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1586, __pyx_L1_error);
__pyx_t_1 = 0;
- __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1547, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1586, __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, 1547, __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, 1586, __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, 1547, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_2) < 0) __PYX_ERR(0, 1586, __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, 1547, __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, 1586, __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":1548
+ /* "_pydevd_sys_monitoring_cython.pyx":1587
* 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, 1548, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1587, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_7 = NULL;
__pyx_t_6 = 0;
@@ -25604,13 +26353,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, 1548, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1587, __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":1549
+ /* "_pydevd_sys_monitoring_cython.pyx":1588
* 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 # <<<<<<<<<<<<<<
@@ -25621,7 +26370,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":1546
+ /* "_pydevd_sys_monitoring_cython.pyx":1585
* # 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): # <<<<<<<<<<<<<<
@@ -25630,7 +26379,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1542
+ /* "_pydevd_sys_monitoring_cython.pyx":1581
* return
*
* elif step_cmd in (CMD_STEP_OVER, CMD_STEP_OVER_MY_CODE): # <<<<<<<<<<<<<<
@@ -25640,25 +26389,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
goto __pyx_L19;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1551
+ /* "_pydevd_sys_monitoring_cython.pyx":1590
* 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, 1551, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1590, __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, 1551, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_CMD_SMART_STEP_INTO); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1590, __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, 1551, __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, 1590, __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, 1551, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1590, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1552
+ /* "_pydevd_sys_monitoring_cython.pyx":1591
*
* elif step_cmd == CMD_SMART_STEP_INTO:
* stop = False # <<<<<<<<<<<<<<
@@ -25667,32 +26416,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1553
+ /* "_pydevd_sys_monitoring_cython.pyx":1592
* 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, 1553, __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, 1592, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_v_back = __pyx_t_7;
__pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1554
+ /* "_pydevd_sys_monitoring_cython.pyx":1593
* 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, 1554, __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, 1593, __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, 1554, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_7); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1593, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
if (__pyx_t_9) {
- /* "_pydevd_sys_monitoring_cython.pyx":1555
+ /* "_pydevd_sys_monitoring_cython.pyx":1594
* back = frame.f_back
* if _is_same_frame(info, stop_frame, back):
* if info.pydev_smart_child_offset != -1: # <<<<<<<<<<<<<<
@@ -25702,7 +26451,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":1558
+ /* "_pydevd_sys_monitoring_cython.pyx":1597
* # 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 # <<<<<<<<<<<<<<
@@ -25711,7 +26460,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1555
+ /* "_pydevd_sys_monitoring_cython.pyx":1594
* back = frame.f_back
* if _is_same_frame(info, stop_frame, back):
* if info.pydev_smart_child_offset != -1: # <<<<<<<<<<<<<<
@@ -25721,7 +26470,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
goto __pyx_L44;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1561
+ /* "_pydevd_sys_monitoring_cython.pyx":1600
*
* else:
* pydev_smart_parent_offset = info.pydev_smart_parent_offset # <<<<<<<<<<<<<<
@@ -25732,7 +26481,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":1563
+ /* "_pydevd_sys_monitoring_cython.pyx":1602
* pydev_smart_parent_offset = info.pydev_smart_parent_offset
*
* pydev_smart_step_into_variants = info.pydev_smart_step_into_variants # <<<<<<<<<<<<<<
@@ -25744,7 +26493,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":1564
+ /* "_pydevd_sys_monitoring_cython.pyx":1603
*
* pydev_smart_step_into_variants = info.pydev_smart_step_into_variants
* if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<<
@@ -25762,24 +26511,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":1567
+ /* "_pydevd_sys_monitoring_cython.pyx":1606
* # 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, 1567, __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, 1606, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- /* "_pydevd_sys_monitoring_cython.pyx":1568
+ /* "_pydevd_sys_monitoring_cython.pyx":1607
* # 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, 1568, __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, 1607, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -25800,21 +26549,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, 1567, __pyx_L1_error)
+ if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1606, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1569
+ /* "_pydevd_sys_monitoring_cython.pyx":1608
* 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, 1569, __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, 1608, __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, 1569, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1608, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_10 = NULL;
__pyx_t_6 = 0;
@@ -25835,7 +26584,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, 1569, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1608, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
}
@@ -25844,7 +26593,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":1564
+ /* "_pydevd_sys_monitoring_cython.pyx":1603
*
* pydev_smart_step_into_variants = info.pydev_smart_step_into_variants
* if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<<
@@ -25854,7 +26603,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
goto __pyx_L45;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1573
+ /* "_pydevd_sys_monitoring_cython.pyx":1612
* else:
* # Only the name/line is available, so, check that.
* curr_func_name = frame.f_code.co_name # <<<<<<<<<<<<<<
@@ -25862,15 +26611,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, 1573, __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, 1612, __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, 1573, __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, 1612, __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":1576
+ /* "_pydevd_sys_monitoring_cython.pyx":1615
*
* # global context is set with an empty name
* if curr_func_name in ("?", "") or curr_func_name is None: # <<<<<<<<<<<<<<
@@ -25879,13 +26628,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__18, Py_EQ)); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1576, __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, 1615, __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, 1576, __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, 1615, __pyx_L1_error)
__pyx_t_4 = __pyx_t_11;
__pyx_L51_bool_binop_done:;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
@@ -25900,7 +26649,7 @@ 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":1577
+ /* "_pydevd_sys_monitoring_cython.pyx":1616
* # global context is set with an empty name
* if curr_func_name in ("?", "") or curr_func_name is None:
* curr_func_name = "" # <<<<<<<<<<<<<<
@@ -25910,7 +26659,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
__Pyx_INCREF(__pyx_kp_s__15);
__Pyx_DECREF_SET(__pyx_v_curr_func_name, __pyx_kp_s__15);
- /* "_pydevd_sys_monitoring_cython.pyx":1576
+ /* "_pydevd_sys_monitoring_cython.pyx":1615
*
* # global context is set with an empty name
* if curr_func_name in ("?", "") or curr_func_name is None: # <<<<<<<<<<<<<<
@@ -25919,33 +26668,33 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1578
+ /* "_pydevd_sys_monitoring_cython.pyx":1617
* 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, 1578, __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, 1617, __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, 1578, __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, 1617, __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, 1578, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_info->pydev_next_line); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1617, __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, 1578, __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, 1617, __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, 1578, __pyx_L1_error)
+ __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1617, __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":1579
+ /* "_pydevd_sys_monitoring_cython.pyx":1618
* curr_func_name = ""
* if curr_func_name == info.pydev_func_name and stop_frame.f_lineno == info.pydev_next_line:
* stop = True # <<<<<<<<<<<<<<
@@ -25954,7 +26703,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 1;
- /* "_pydevd_sys_monitoring_cython.pyx":1578
+ /* "_pydevd_sys_monitoring_cython.pyx":1617
* 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: # <<<<<<<<<<<<<<
@@ -25967,7 +26716,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
}
__pyx_L44:;
- /* "_pydevd_sys_monitoring_cython.pyx":1581
+ /* "_pydevd_sys_monitoring_cython.pyx":1620
* stop = True
*
* if not stop: # <<<<<<<<<<<<<<
@@ -25977,7 +26726,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":1584
+ /* "_pydevd_sys_monitoring_cython.pyx":1623
* # 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 # <<<<<<<<<<<<<<
@@ -25988,7 +26737,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":1581
+ /* "_pydevd_sys_monitoring_cython.pyx":1620
* stop = True
*
* if not stop: # <<<<<<<<<<<<<<
@@ -25997,7 +26746,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1554
+ /* "_pydevd_sys_monitoring_cython.pyx":1593
* stop = False
* back = frame.f_back
* if _is_same_frame(info, stop_frame, back): # <<<<<<<<<<<<<<
@@ -26007,7 +26756,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
goto __pyx_L43;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1586
+ /* "_pydevd_sys_monitoring_cython.pyx":1625
* return
*
* elif back is not None and _is_same_frame(info, stop_frame, back.f_back): # <<<<<<<<<<<<<<
@@ -26020,18 +26769,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, 1586, __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, 1625, __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, 1586, __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, 1625, __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, 1586, __pyx_L1_error)
+ __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1625, __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":1590
+ /* "_pydevd_sys_monitoring_cython.pyx":1629
* # 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 # <<<<<<<<<<<<<<
@@ -26041,7 +26790,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":1591
+ /* "_pydevd_sys_monitoring_cython.pyx":1630
* # 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 # <<<<<<<<<<<<<<
@@ -26051,7 +26800,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":1595
+ /* "_pydevd_sys_monitoring_cython.pyx":1634
* # print('parent f_lasti', back.f_back.f_lasti)
* # print('child f_lasti', back.f_lasti)
* stop = False # <<<<<<<<<<<<<<
@@ -26060,7 +26809,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1596
+ /* "_pydevd_sys_monitoring_cython.pyx":1635
* # print('child f_lasti', back.f_lasti)
* stop = False
* if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: # <<<<<<<<<<<<<<
@@ -26078,7 +26827,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":1597
+ /* "_pydevd_sys_monitoring_cython.pyx":1636
* 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 # <<<<<<<<<<<<<<
@@ -26090,7 +26839,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":1599
+ /* "_pydevd_sys_monitoring_cython.pyx":1638
* pydev_smart_step_into_variants = info.pydev_smart_step_into_variants
*
* if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<<
@@ -26108,24 +26857,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":1604
+ /* "_pydevd_sys_monitoring_cython.pyx":1643
* # 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, 1604, __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, 1643, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- /* "_pydevd_sys_monitoring_cython.pyx":1605
+ /* "_pydevd_sys_monitoring_cython.pyx":1644
* # 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, 1605, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_parent_offset); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1644, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -26146,49 +26895,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, 1604, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1643, __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":1609
+ /* "_pydevd_sys_monitoring_cython.pyx":1648
* # 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, 1609, __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, 1648, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_v_children_variants = __pyx_t_1;
__pyx_t_1 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1610
+ /* "_pydevd_sys_monitoring_cython.pyx":1649
* # 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, 1610, __pyx_L1_error)
+ __pyx_t_11 = __Pyx_PyObject_IsTrue(__pyx_v_children_variants); if (unlikely((__pyx_t_11 < 0))) __PYX_ERR(0, 1649, __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":1611
+ /* "_pydevd_sys_monitoring_cython.pyx":1650
* 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, 1611, __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, 1650, __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, 1611, __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, 1650, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
__pyx_t_5 = NULL;
__pyx_t_6 = 0;
@@ -26209,21 +26958,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, 1611, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1650, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1612
+ /* "_pydevd_sys_monitoring_cython.pyx":1651
* 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, 1612, __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, 1651, __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, 1612, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_pydev_smart_child_offset); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1651, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_10 = NULL;
__pyx_t_6 = 0;
@@ -26244,7 +26993,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, 1612, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1651, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
}
@@ -26255,7 +27004,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":1599
+ /* "_pydevd_sys_monitoring_cython.pyx":1638
* pydev_smart_step_into_variants = info.pydev_smart_step_into_variants
*
* if pydev_smart_parent_offset >= 0 and pydev_smart_step_into_variants: # <<<<<<<<<<<<<<
@@ -26264,7 +27013,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1596
+ /* "_pydevd_sys_monitoring_cython.pyx":1635
* # print('child f_lasti', back.f_lasti)
* stop = False
* if pydev_smart_child_offset >= 0 and pydev_smart_child_offset >= 0: # <<<<<<<<<<<<<<
@@ -26273,7 +27022,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1616
+ /* "_pydevd_sys_monitoring_cython.pyx":1655
* # print('stop at child', stop)
*
* if not stop: # <<<<<<<<<<<<<<
@@ -26283,7 +27032,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":1619
+ /* "_pydevd_sys_monitoring_cython.pyx":1658
* # 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 # <<<<<<<<<<<<<<
@@ -26294,7 +27043,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":1616
+ /* "_pydevd_sys_monitoring_cython.pyx":1655
* # print('stop at child', stop)
*
* if not stop: # <<<<<<<<<<<<<<
@@ -26303,7 +27052,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1586
+ /* "_pydevd_sys_monitoring_cython.pyx":1625
* return
*
* elif back is not None and _is_same_frame(info, stop_frame, back.f_back): # <<<<<<<<<<<<<<
@@ -26313,7 +27062,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
}
__pyx_L43:;
- /* "_pydevd_sys_monitoring_cython.pyx":1621
+ /* "_pydevd_sys_monitoring_cython.pyx":1660
* return
*
* if stop: # <<<<<<<<<<<<<<
@@ -26322,46 +27071,46 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
*/
if (__pyx_v_stop) {
- /* "_pydevd_sys_monitoring_cython.pyx":1622
+ /* "_pydevd_sys_monitoring_cython.pyx":1661
*
* 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, 1622, __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, 1661, __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, 1622, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_step_cmd); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1661, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1622, __pyx_L1_error)
+ __pyx_t_7 = PyTuple_New(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1661, __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, 1622, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 0, __pyx_v_thread_info->thread)) __PYX_ERR(0, 1661, __pyx_L1_error);
__Pyx_GIVEREF(__pyx_t_1);
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1622, __pyx_L1_error);
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_7, 1, __pyx_t_1)) __PYX_ERR(0, 1661, __pyx_L1_error);
__pyx_t_1 = 0;
- __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1622, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1661, __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, 1622, __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, 1661, __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, 1622, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_original_step_cmd, __pyx_t_5) < 0) __PYX_ERR(0, 1661, __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, 1622, __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, 1661, __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":1623
+ /* "_pydevd_sys_monitoring_cython.pyx":1662
* 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, 1623, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_do_wait_suspend); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1662, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_7 = NULL;
__pyx_t_6 = 0;
@@ -26381,13 +27130,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, 1623, __pyx_L1_error)
+ if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1662, __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":1624
+ /* "_pydevd_sys_monitoring_cython.pyx":1663
* 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 # <<<<<<<<<<<<<<
@@ -26398,7 +27147,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":1621
+ /* "_pydevd_sys_monitoring_cython.pyx":1660
* return
*
* if stop: # <<<<<<<<<<<<<<
@@ -26407,7 +27156,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":1590
* return
*
* elif step_cmd == CMD_SMART_STEP_INTO: # <<<<<<<<<<<<<<
@@ -26417,7 +27166,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
}
__pyx_L19:;
- /* "_pydevd_sys_monitoring_cython.pyx":1432
+ /* "_pydevd_sys_monitoring_cython.pyx":1471
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _internal_line_event(FuncCodeInfo func_code_info, frame, int line): # <<<<<<<<<<<<<<
@@ -26459,7 +27208,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__internal_line_event(st
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1629
+/* "_pydevd_sys_monitoring_cython.pyx":1668
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _start_method_event(code, instruction_offset): # <<<<<<<<<<<<<<
@@ -26495,16 +27244,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
int __pyx_t_8;
int __pyx_t_9;
int __pyx_t_10;
- unsigned int __pyx_t_11;
- struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_12;
- int __pyx_t_13;
+ struct __pyx_opt_args_29_pydevd_sys_monitoring_cython__getframe __pyx_t_11;
+ int __pyx_t_12;
+ unsigned int __pyx_t_13;
PyObject *(*__pyx_t_14)(PyObject *);
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("_start_method_event", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":1642
+ /* "_pydevd_sys_monitoring_cython.pyx":1681
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -26520,23 +27269,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":1643
+ /* "_pydevd_sys_monitoring_cython.pyx":1682
* # 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, 1643, __pyx_L3_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1682, __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, 1643, __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, 1682, __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, 1643, __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, 1682, __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":1642
+ /* "_pydevd_sys_monitoring_cython.pyx":1681
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -26552,7 +27301,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":1644
+ /* "_pydevd_sys_monitoring_cython.pyx":1683
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -26561,25 +27310,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, 1644, __pyx_L5_except_error)
+ if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_6) < 0) __PYX_ERR(0, 1683, __pyx_L5_except_error)
__Pyx_XGOTREF(__pyx_t_5);
__Pyx_XGOTREF(__pyx_t_4);
__Pyx_XGOTREF(__pyx_t_6);
- /* "_pydevd_sys_monitoring_cython.pyx":1645
+ /* "_pydevd_sys_monitoring_cython.pyx":1684
* 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, 1645, __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, 1684, __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, 1645, __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, 1684, __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":1646
+ /* "_pydevd_sys_monitoring_cython.pyx":1685
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -26589,7 +27338,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":1647
+ /* "_pydevd_sys_monitoring_cython.pyx":1686
* thread_info = _get_thread_info(True, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -26603,7 +27352,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":1646
+ /* "_pydevd_sys_monitoring_cython.pyx":1685
* except:
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -26617,7 +27366,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
goto __pyx_L4_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1642
+ /* "_pydevd_sys_monitoring_cython.pyx":1681
* # ENDIF
* # fmt: on
* try: # <<<<<<<<<<<<<<
@@ -26644,22 +27393,22 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
__pyx_L8_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1649
+ /* "_pydevd_sys_monitoring_cython.pyx":1688
* 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, 1649, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1688, __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, 1649, __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, 1688, __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":1650
+ /* "_pydevd_sys_monitoring_cython.pyx":1689
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -26672,32 +27421,32 @@ 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, 1650, __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, 1689, __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, 1650, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1689, __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":1651
+ /* "_pydevd_sys_monitoring_cython.pyx":1690
* 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 not is_thread_alive(thread_info.thread):
+ * if not thread_info.trace or not thread_info.is_thread_alive():
*/
__Pyx_XDECREF(__pyx_r);
- __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1651, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1690, __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, 1651, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1690, __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":1650
+ /* "_pydevd_sys_monitoring_cython.pyx":1689
*
* py_db: object = GlobalDebuggerHolder.global_dbg
* if py_db is None or py_db.pydb_disposed: # <<<<<<<<<<<<<<
@@ -26706,52 +27455,27 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1653
+ /* "_pydevd_sys_monitoring_cython.pyx":1692
* return monitor.DISABLE
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # 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, 1653, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_v_thread_info->trace); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1692, __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_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_is_thread_alive); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1653, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_4);
- __pyx_t_5 = NULL;
- __pyx_t_11 = 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_11 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[2] = {__pyx_t_5, __pyx_v_thread_info->thread};
- __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11);
- __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
- if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1653, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_6);
- __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- }
- __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_10 = ((struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo *)__pyx_v_thread_info->__pyx_vtab)->is_thread_alive(__pyx_v_thread_info); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1692, __pyx_L1_error)
__pyx_t_9 = (!__pyx_t_10);
__pyx_t_8 = __pyx_t_9;
__pyx_L16_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1656
+ /* "_pydevd_sys_monitoring_cython.pyx":1695
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
* return # <<<<<<<<<<<<<<
@@ -26762,42 +27486,42 @@ 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":1653
+ /* "_pydevd_sys_monitoring_cython.pyx":1692
* return monitor.DISABLE
*
- * if not thread_info.trace or not is_thread_alive(thread_info.thread): # <<<<<<<<<<<<<<
+ * if not thread_info.trace or not thread_info.is_thread_alive(): # <<<<<<<<<<<<<<
* # For thread-related stuff we can't disable the code tracing because other
* # threads may still want it...
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1659
+ /* "_pydevd_sys_monitoring_cython.pyx":1698
*
*
* frame = _getframe(1) # <<<<<<<<<<<<<<
* func_code_info = _get_func_code_info(code, frame)
* if func_code_info.always_skip_code:
*/
- __pyx_t_12.__pyx_n = 1;
- __pyx_t_12.depth = __pyx_int_1;
- __pyx_t_6 = __pyx_f_29_pydevd_sys_monitoring_cython__getframe(&__pyx_t_12); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1659, __pyx_L1_error)
+ __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, 1698, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_v_frame = __pyx_t_6;
__pyx_t_6 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1660
+ /* "_pydevd_sys_monitoring_cython.pyx":1699
*
* 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, 1660, __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, 1699, __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":1661
+ /* "_pydevd_sys_monitoring_cython.pyx":1700
* frame = _getframe(1)
* func_code_info = _get_func_code_info(code, frame)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -26806,7 +27530,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":1664
+ /* "_pydevd_sys_monitoring_cython.pyx":1703
* # if DEBUG:
* # print('disable (always skip)')
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -26814,16 +27538,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, 1664, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_monitor); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1703, __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, 1664, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1703, __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":1661
+ /* "_pydevd_sys_monitoring_cython.pyx":1700
* frame = _getframe(1)
* func_code_info = _get_func_code_info(code, frame)
* if func_code_info.always_skip_code: # <<<<<<<<<<<<<<
@@ -26832,7 +27556,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1666
+ /* "_pydevd_sys_monitoring_cython.pyx":1705
* return monitor.DISABLE
*
* keep_enabled: bool = _enable_code_tracing(py_db, thread_info.additional_info, func_code_info, code, frame, True) # <<<<<<<<<<<<<<
@@ -26841,11 +27565,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, 1666, __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, 1705, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_v_keep_enabled = __pyx_t_8;
- /* "_pydevd_sys_monitoring_cython.pyx":1668
+ /* "_pydevd_sys_monitoring_cython.pyx":1707
* 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: # <<<<<<<<<<<<<<
@@ -26854,7 +27578,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":1669
+ /* "_pydevd_sys_monitoring_cython.pyx":1708
*
* if func_code_info.function_breakpoint_found:
* bp = func_code_info.function_breakpoint # <<<<<<<<<<<<<<
@@ -26866,7 +27590,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":1670
+ /* "_pydevd_sys_monitoring_cython.pyx":1709
* if func_code_info.function_breakpoint_found:
* bp = func_code_info.function_breakpoint
* stop = True # <<<<<<<<<<<<<<
@@ -26875,7 +27599,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
__pyx_v_stop = 1;
- /* "_pydevd_sys_monitoring_cython.pyx":1671
+ /* "_pydevd_sys_monitoring_cython.pyx":1710
* bp = func_code_info.function_breakpoint
* stop = True
* new_frame = frame # <<<<<<<<<<<<<<
@@ -26885,20 +27609,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":1672
+ /* "_pydevd_sys_monitoring_cython.pyx":1711
* 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, 1672, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SET_FUNCTION_BREAK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1711, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_13 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_13 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1672, __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, 1711, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- __pyx_v_stop_reason = __pyx_t_13;
+ __pyx_v_stop_reason = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1673
+ /* "_pydevd_sys_monitoring_cython.pyx":1712
* new_frame = frame
* stop_reason = CMD_SET_FUNCTION_BREAK
* stop_on_plugin_breakpoint = False # <<<<<<<<<<<<<<
@@ -26907,18 +27631,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":1675
+ /* "_pydevd_sys_monitoring_cython.pyx":1714
* 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, 1675, __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, 1714, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1676
+ /* "_pydevd_sys_monitoring_cython.pyx":1715
*
* _stop_on_breakpoint(py_db, thread_info, stop_reason, bp, frame, new_frame, stop, stop_on_plugin_breakpoint, "python-function")
* return # <<<<<<<<<<<<<<
@@ -26929,7 +27653,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":1668
+ /* "_pydevd_sys_monitoring_cython.pyx":1707
* 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: # <<<<<<<<<<<<<<
@@ -26938,32 +27662,32 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1678
+ /* "_pydevd_sys_monitoring_cython.pyx":1717
* 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, 1678, __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, 1717, __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, 1678, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1717, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1679
+ /* "_pydevd_sys_monitoring_cython.pyx":1718
*
* 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, 1679, __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, 1718, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_v_plugin_manager = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1682
+ /* "_pydevd_sys_monitoring_cython.pyx":1721
*
* # Check breaking on breakpoints in a 'call'
* info = thread_info.additional_info # <<<<<<<<<<<<<<
@@ -26975,7 +27699,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":1683
+ /* "_pydevd_sys_monitoring_cython.pyx":1722
* # Check breaking on breakpoints in a 'call'
* info = thread_info.additional_info
* if func_code_info.plugin_call_breakpoint_found: # <<<<<<<<<<<<<<
@@ -26984,17 +27708,17 @@ 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":1684
+ /* "_pydevd_sys_monitoring_cython.pyx":1723
* 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, 1684, __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, 1723, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_5 = NULL;
- __pyx_t_11 = 0;
+ __pyx_t_13 = 0;
#if CYTHON_UNPACK_METHODS
if (likely(PyMethod_Check(__pyx_t_6))) {
__pyx_t_5 = PyMethod_GET_SELF(__pyx_t_6);
@@ -27003,45 +27727,45 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
__Pyx_INCREF(__pyx_t_5);
__Pyx_INCREF(function);
__Pyx_DECREF_SET(__pyx_t_6, function);
- __pyx_t_11 = 1;
+ __pyx_t_13 = 1;
}
}
#endif
{
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_11, 4+__pyx_t_11);
+ __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, 1684, __pyx_L1_error)
+ if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1723, __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":1685
+ /* "_pydevd_sys_monitoring_cython.pyx":1724
* 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, 1685, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_IsTrue(__pyx_v_result); if (unlikely((__pyx_t_8 < 0))) __PYX_ERR(0, 1724, __pyx_L1_error)
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1686
+ /* "_pydevd_sys_monitoring_cython.pyx":1725
* 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, 1686, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_CMD_SET_BREAK); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1725, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_13 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_13 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 1686, __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, 1725, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- __pyx_v_stop_reason = __pyx_t_13;
+ __pyx_v_stop_reason = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1687
+ /* "_pydevd_sys_monitoring_cython.pyx":1726
* if result:
* stop_reason = CMD_SET_BREAK
* stop = False # <<<<<<<<<<<<<<
@@ -27050,7 +27774,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
__pyx_v_stop = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1688
+ /* "_pydevd_sys_monitoring_cython.pyx":1727
* stop_reason = CMD_SET_BREAK
* stop = False
* stop_on_plugin_breakpoint = True # <<<<<<<<<<<<<<
@@ -27059,7 +27783,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":1689
+ /* "_pydevd_sys_monitoring_cython.pyx":1728
* stop = False
* stop_on_plugin_breakpoint = True
* bp, new_frame, bp_type = result # <<<<<<<<<<<<<<
@@ -27072,7 +27796,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, 1689, __pyx_L1_error)
+ __PYX_ERR(0, 1728, __pyx_L1_error)
}
#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS
if (likely(PyTuple_CheckExact(sequence))) {
@@ -27088,16 +27812,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, 1689, __pyx_L1_error)
+ __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1728, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
- __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1689, __pyx_L1_error)
+ __pyx_t_6 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1728, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
- __pyx_t_5 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1689, __pyx_L1_error)
+ __pyx_t_5 = PySequence_ITEM(sequence, 2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1728, __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, 1689, __pyx_L1_error)
+ __pyx_t_7 = PyObject_GetIter(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1728, __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;
@@ -27106,7 +27830,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, 1689, __pyx_L1_error)
+ if (__Pyx_IternextUnpackEndCheck(__pyx_t_14(__pyx_t_7), 3) < 0) __PYX_ERR(0, 1728, __pyx_L1_error)
__pyx_t_14 = NULL;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
goto __pyx_L24_unpacking_done;
@@ -27114,7 +27838,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, 1689, __pyx_L1_error)
+ __PYX_ERR(0, 1728, __pyx_L1_error)
__pyx_L24_unpacking_done:;
}
__pyx_v_bp = __pyx_t_4;
@@ -27124,19 +27848,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":1690
+ /* "_pydevd_sys_monitoring_cython.pyx":1729
* 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, 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)
+ if (!(likely(PyString_CheckExact(__pyx_v_bp_type))||((__pyx_v_bp_type) == Py_None) || __Pyx_RaiseUnexpectedTypeError("str", __pyx_v_bp_type))) __PYX_ERR(0, 1729, __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, 1729, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1691
+ /* "_pydevd_sys_monitoring_cython.pyx":1730
* 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 # <<<<<<<<<<<<<<
@@ -27147,7 +27871,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":1685
+ /* "_pydevd_sys_monitoring_cython.pyx":1724
* if func_code_info.plugin_call_breakpoint_found:
* result = plugin_manager.get_breakpoint(py_db, frame, "call", info)
* if result: # <<<<<<<<<<<<<<
@@ -27156,7 +27880,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1693
+ /* "_pydevd_sys_monitoring_cython.pyx":1732
* return
*
* keep_enabled = True # <<<<<<<<<<<<<<
@@ -27165,7 +27889,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
__pyx_v_keep_enabled = 1;
- /* "_pydevd_sys_monitoring_cython.pyx":1683
+ /* "_pydevd_sys_monitoring_cython.pyx":1722
* # Check breaking on breakpoints in a 'call'
* info = thread_info.additional_info
* if func_code_info.plugin_call_breakpoint_found: # <<<<<<<<<<<<<<
@@ -27174,17 +27898,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1696
+ /* "_pydevd_sys_monitoring_cython.pyx":1735
*
* # 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:
* _plugin_stepping(py_db, step_cmd, "call", frame, thread_info)
*/
- __pyx_t_13 = __pyx_v_info->pydev_step_cmd;
- __pyx_v_step_cmd = __pyx_t_13;
+ __pyx_t_12 = __pyx_v_info->pydev_step_cmd;
+ __pyx_v_step_cmd = __pyx_t_12;
- /* "_pydevd_sys_monitoring_cython.pyx":1697
+ /* "_pydevd_sys_monitoring_cython.pyx":1736
* # 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: # <<<<<<<<<<<<<<
@@ -27202,31 +27926,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, 1697, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_info->suspend_type); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1736, __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, 1697, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1736, __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, 1697, __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, 1736, __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, 1697, __pyx_L1_error)
+ __pyx_t_9 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_9 < 0))) __PYX_ERR(0, 1736, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_8 = __pyx_t_9;
__pyx_L26_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1698
+ /* "_pydevd_sys_monitoring_cython.pyx":1737
* 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, 1698, __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, 1737, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1699
+ /* "_pydevd_sys_monitoring_cython.pyx":1738
* 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 # <<<<<<<<<<<<<<
@@ -27237,7 +27961,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":1697
+ /* "_pydevd_sys_monitoring_cython.pyx":1736
* # 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: # <<<<<<<<<<<<<<
@@ -27246,7 +27970,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1678
+ /* "_pydevd_sys_monitoring_cython.pyx":1717
* return
*
* if py_db.plugin: # <<<<<<<<<<<<<<
@@ -27255,7 +27979,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1701
+ /* "_pydevd_sys_monitoring_cython.pyx":1740
* return
*
* if keep_enabled or any_thread_stepping(): # <<<<<<<<<<<<<<
@@ -27267,12 +27991,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_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1701, __pyx_L1_error)
+ __pyx_t_9 = __pyx_f_14_pydevd_bundle_13pydevd_cython_any_thread_stepping(0); if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1740, __pyx_L1_error)
__pyx_t_8 = __pyx_t_9;
__pyx_L30_bool_binop_done:;
if (__pyx_t_8) {
- /* "_pydevd_sys_monitoring_cython.pyx":1702
+ /* "_pydevd_sys_monitoring_cython.pyx":1741
*
* if keep_enabled or any_thread_stepping():
* return None # <<<<<<<<<<<<<<
@@ -27283,7 +28007,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":1701
+ /* "_pydevd_sys_monitoring_cython.pyx":1740
* return
*
* if keep_enabled or any_thread_stepping(): # <<<<<<<<<<<<<<
@@ -27292,7 +28016,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1704
+ /* "_pydevd_sys_monitoring_cython.pyx":1743
* return None
*
* return monitor.DISABLE # <<<<<<<<<<<<<<
@@ -27300,16 +28024,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
* # fmt: off
*/
__Pyx_XDECREF(__pyx_r);
- __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, 1743, __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, 1704, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_DISABLE); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 1743, __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":1629
+ /* "_pydevd_sys_monitoring_cython.pyx":1668
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _start_method_event(code, instruction_offset): # <<<<<<<<<<<<<<
@@ -27341,7 +28065,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__start_method_event(PyO
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1708
+/* "_pydevd_sys_monitoring_cython.pyx":1747
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef _ensure_monitoring(): # <<<<<<<<<<<<<<
@@ -27365,31 +28089,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("_ensure_monitoring", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":1713
+ /* "_pydevd_sys_monitoring_cython.pyx":1752
* # 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_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1752, __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_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1752, __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
+ /* "_pydevd_sys_monitoring_cython.pyx":1753
* # 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_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1753, __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_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_get_tool); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1753, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -27410,25 +28134,25 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH
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)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1753, __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_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1753, __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
+ /* "_pydevd_sys_monitoring_cython.pyx":1754
* 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_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1754, __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_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_use_tool_id); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1754, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = NULL;
@@ -27449,20 +28173,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH
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)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1754, __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
+ /* "_pydevd_sys_monitoring_cython.pyx":1755
* 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_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_update_monitor_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1755, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -27482,20 +28206,20 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH
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)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1755, __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
+ /* "_pydevd_sys_monitoring_cython.pyx":1756
* 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_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1756, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -27515,13 +28239,13 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH
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)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1756, __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
+ /* "_pydevd_sys_monitoring_cython.pyx":1753
* # fmt: on
* DEBUGGER_ID = monitor.DEBUGGER_ID
* if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<<
@@ -27530,7 +28254,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(CYTH
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1708
+ /* "_pydevd_sys_monitoring_cython.pyx":1747
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef _ensure_monitoring(): # <<<<<<<<<<<<<<
@@ -27579,7 +28303,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8_ensure_monitoring(CY
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_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython__ensure_monitoring(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1747, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
@@ -27596,7 +28320,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_8_ensure_monitoring(CY
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1722
+/* "_pydevd_sys_monitoring_cython.pyx":1761
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<<
@@ -27637,7 +28361,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
}
}
- /* "_pydevd_sys_monitoring_cython.pyx":1728
+ /* "_pydevd_sys_monitoring_cython.pyx":1767
* # ENDIF
* # fmt: on
* if all_threads: # <<<<<<<<<<<<<<
@@ -27646,31 +28370,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
*/
if (__pyx_v_all_threads) {
- /* "_pydevd_sys_monitoring_cython.pyx":1730
+ /* "_pydevd_sys_monitoring_cython.pyx":1769
* 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, 1730, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1769, __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, 1730, __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, 1769, __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":1731
+ /* "_pydevd_sys_monitoring_cython.pyx":1770
* # 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, 1731, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1770, __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, 1731, __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, 1770, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -27691,25 +28415,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, 1731, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1770, __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, 1731, __pyx_L1_error)
+ __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 1770, __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":1732
+ /* "_pydevd_sys_monitoring_cython.pyx":1771
* 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, 1732, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1771, __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, 1732, __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, 1771, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = NULL;
@@ -27730,20 +28454,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, 1732, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1771, __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":1733
+ /* "_pydevd_sys_monitoring_cython.pyx":1772
* 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, 1733, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_update_monitor_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1772, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -27763,20 +28487,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, 1733, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1772, __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":1734
+ /* "_pydevd_sys_monitoring_cython.pyx":1773
* 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, 1734, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_restart_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1773, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -27796,13 +28520,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, 1734, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1773, __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":1731
+ /* "_pydevd_sys_monitoring_cython.pyx":1770
* # print('start monitoring, all_threads=', all_threads)
* DEBUGGER_ID = monitor.DEBUGGER_ID
* if not monitor.get_tool(DEBUGGER_ID): # <<<<<<<<<<<<<<
@@ -27811,7 +28535,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1728
+ /* "_pydevd_sys_monitoring_cython.pyx":1767
* # ENDIF
* # fmt: on
* if all_threads: # <<<<<<<<<<<<<<
@@ -27821,7 +28545,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
goto __pyx_L3;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1736
+ /* "_pydevd_sys_monitoring_cython.pyx":1775
* restart_events()
* else:
* try: # <<<<<<<<<<<<<<
@@ -27838,23 +28562,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
__Pyx_XGOTREF(__pyx_t_9);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":1737
+ /* "_pydevd_sys_monitoring_cython.pyx":1776
* 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, 1737, __pyx_L5_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1776, __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, 1737, __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, 1776, __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, 1737, __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, 1776, __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":1736
+ /* "_pydevd_sys_monitoring_cython.pyx":1775
* restart_events()
* else:
* try: # <<<<<<<<<<<<<<
@@ -27871,7 +28595,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":1738
+ /* "_pydevd_sys_monitoring_cython.pyx":1777
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -27880,25 +28604,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, 1738, __pyx_L7_except_error)
+ if (__Pyx_GetException(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3) < 0) __PYX_ERR(0, 1777, __pyx_L7_except_error)
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_3);
- /* "_pydevd_sys_monitoring_cython.pyx":1740
+ /* "_pydevd_sys_monitoring_cython.pyx":1779
* 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, 1740, __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, 1779, __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, 1740, __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, 1779, __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":1741
+ /* "_pydevd_sys_monitoring_cython.pyx":1780
* # code=None means we can already get the threading.current_thread.
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -27908,7 +28632,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":1743
+ /* "_pydevd_sys_monitoring_cython.pyx":1782
* if thread_info is None:
* # print('start monitoring, thread=', None)
* return # <<<<<<<<<<<<<<
@@ -27922,7 +28646,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":1741
+ /* "_pydevd_sys_monitoring_cython.pyx":1780
* # code=None means we can already get the threading.current_thread.
* thread_info = _get_thread_info(True, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -27936,7 +28660,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
goto __pyx_L6_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1736
+ /* "_pydevd_sys_monitoring_cython.pyx":1775
* restart_events()
* else:
* try: # <<<<<<<<<<<<<<
@@ -27963,7 +28687,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
__pyx_L10_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1745
+ /* "_pydevd_sys_monitoring_cython.pyx":1784
* return
* # print('start monitoring, thread=', thread_info.thread)
* thread_info.trace = True # <<<<<<<<<<<<<<
@@ -27978,7 +28702,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_start_monitoring(CYTHON
}
__pyx_L3:;
- /* "_pydevd_sys_monitoring_cython.pyx":1722
+ /* "_pydevd_sys_monitoring_cython.pyx":1761
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef start_monitoring(bint all_threads=False): # <<<<<<<<<<<<<<
@@ -28056,12 +28780,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, 1722, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1761, __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, 1722, __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, 1761, __pyx_L3_error)
}
} else {
switch (__pyx_nargs) {
@@ -28072,14 +28796,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, 1722, __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, 1761, __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, 1722, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("start_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1761, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -28118,7 +28842,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10start_monitoring(CYT
__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, 1722, __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, 1761, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
@@ -28135,7 +28859,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_10start_monitoring(CYT
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1750
+/* "_pydevd_sys_monitoring_cython.pyx":1789
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<<
@@ -28175,31 +28899,31 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
}
}
- /* "_pydevd_sys_monitoring_cython.pyx":1756
+ /* "_pydevd_sys_monitoring_cython.pyx":1795
* # 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, 1756, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_all_threads); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1795, __pyx_L1_error)
if (__pyx_t_1) {
- /* "_pydevd_sys_monitoring_cython.pyx":1758
+ /* "_pydevd_sys_monitoring_cython.pyx":1797
* 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, 1758, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __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, 1758, __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, 1797, __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, 1758, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1797, __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, 1758, __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, 1797, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__pyx_t_3 = NULL;
@@ -28221,29 +28945,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, 1758, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1797, __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, 1758, __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, 1797, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (__pyx_t_1) {
- /* "_pydevd_sys_monitoring_cython.pyx":1759
+ /* "_pydevd_sys_monitoring_cython.pyx":1798
* # 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, 1759, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1798, __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, 1759, __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, 1798, __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, 1759, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1798, __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, 1759, __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, 1798, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__pyx_t_4 = NULL;
@@ -28265,32 +28989,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, 1759, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1798, __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":1760
+ /* "_pydevd_sys_monitoring_cython.pyx":1799
* 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, 1760, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1799, __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, 1760, __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, 1799, __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, 1760, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1799, __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, 1760, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1799, __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, 1760, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1799, __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, 1760, __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, 1799, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -28313,32 +29037,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, 1760, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1799, __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":1761
+ /* "_pydevd_sys_monitoring_cython.pyx":1800
* 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, 1761, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1800, __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, 1761, __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, 1800, __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, 1761, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1800, __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, 1761, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1800, __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, 1761, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1800, __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, 1761, __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, 1800, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -28361,32 +29085,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, 1761, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1800, __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":1762
+ /* "_pydevd_sys_monitoring_cython.pyx":1801
* 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, 1762, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1801, __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, 1762, __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, 1801, __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, 1762, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1801, __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, 1762, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1801, __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, 1762, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1801, __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, 1762, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_LINE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1801, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -28409,32 +29133,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, 1762, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1801, __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":1763
+ /* "_pydevd_sys_monitoring_cython.pyx":1802
* 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, 1763, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1802, __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, 1763, __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, 1802, __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, 1763, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1802, __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, 1763, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1802, __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, 1763, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1802, __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, 1763, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1802, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -28457,32 +29181,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, 1763, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1802, __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":1764
+ /* "_pydevd_sys_monitoring_cython.pyx":1803
* 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, 1764, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1803, __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, 1764, __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, 1803, __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, 1764, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1803, __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, 1764, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1803, __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, 1764, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1803, __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, 1764, __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, 1803, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -28505,32 +29229,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, 1764, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1803, __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":1765
+ /* "_pydevd_sys_monitoring_cython.pyx":1804
* 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, 1765, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1804, __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, 1765, __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, 1804, __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, 1765, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1804, __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, 1765, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1804, __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, 1765, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1804, __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, 1765, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1804, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
__pyx_t_7 = NULL;
@@ -28553,27 +29277,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, 1765, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1804, __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":1766
+ /* "_pydevd_sys_monitoring_cython.pyx":1805
* 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, 1766, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1805, __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, 1766, __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, 1805, __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, 1766, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_monitor); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1805, __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, 1766, __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, 1805, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
__pyx_t_5 = NULL;
@@ -28595,13 +29319,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, 1766, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1805, __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":1758
+ /* "_pydevd_sys_monitoring_cython.pyx":1797
* if all_threads:
* # print('stop monitoring, all_threads=', all_threads)
* if monitor.get_tool(monitor.DEBUGGER_ID) == "pydevd": # <<<<<<<<<<<<<<
@@ -28610,7 +29334,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1756
+ /* "_pydevd_sys_monitoring_cython.pyx":1795
* # ENDIF
* # fmt: on
* if all_threads: # <<<<<<<<<<<<<<
@@ -28620,7 +29344,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
goto __pyx_L3;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1768
+ /* "_pydevd_sys_monitoring_cython.pyx":1807
* monitor.free_tool_id(monitor.DEBUGGER_ID)
* else:
* try: # <<<<<<<<<<<<<<
@@ -28637,23 +29361,23 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
__Pyx_XGOTREF(__pyx_t_10);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":1769
+ /* "_pydevd_sys_monitoring_cython.pyx":1808
* 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, 1769, __pyx_L5_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_thread_local_info); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1808, __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, 1769, __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, 1808, __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, 1769, __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, 1808, __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":1768
+ /* "_pydevd_sys_monitoring_cython.pyx":1807
* monitor.free_tool_id(monitor.DEBUGGER_ID)
* else:
* try: # <<<<<<<<<<<<<<
@@ -28672,7 +29396,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":1770
+ /* "_pydevd_sys_monitoring_cython.pyx":1809
* try:
* thread_info = _thread_local_info.thread_info
* except: # <<<<<<<<<<<<<<
@@ -28681,25 +29405,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, 1770, __pyx_L7_except_error)
+ if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_2, &__pyx_t_4) < 0) __PYX_ERR(0, 1809, __pyx_L7_except_error)
__Pyx_XGOTREF(__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_4);
- /* "_pydevd_sys_monitoring_cython.pyx":1771
+ /* "_pydevd_sys_monitoring_cython.pyx":1810
* 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, 1771, __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, 1810, __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, 1771, __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, 1810, __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":1772
+ /* "_pydevd_sys_monitoring_cython.pyx":1811
* except:
* thread_info = _get_thread_info(False, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -28709,7 +29433,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":1773
+ /* "_pydevd_sys_monitoring_cython.pyx":1812
* thread_info = _get_thread_info(False, 1)
* if thread_info is None:
* return # <<<<<<<<<<<<<<
@@ -28723,7 +29447,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":1772
+ /* "_pydevd_sys_monitoring_cython.pyx":1811
* except:
* thread_info = _get_thread_info(False, 1)
* if thread_info is None: # <<<<<<<<<<<<<<
@@ -28737,7 +29461,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
goto __pyx_L6_exception_handled;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1768
+ /* "_pydevd_sys_monitoring_cython.pyx":1807
* monitor.free_tool_id(monitor.DEBUGGER_ID)
* else:
* try: # <<<<<<<<<<<<<<
@@ -28764,7 +29488,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
__pyx_L10_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1775
+ /* "_pydevd_sys_monitoring_cython.pyx":1814
* return
* # print('stop monitoring, thread=', thread_info.thread)
* thread_info.trace = False # <<<<<<<<<<<<<<
@@ -28779,7 +29503,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython_stop_monitoring(CYTHON_
}
__pyx_L3:;
- /* "_pydevd_sys_monitoring_cython.pyx":1750
+ /* "_pydevd_sys_monitoring_cython.pyx":1789
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef stop_monitoring(all_threads=False): # <<<<<<<<<<<<<<
@@ -28858,12 +29582,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, 1750, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1789, __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, 1750, __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, 1789, __pyx_L3_error)
}
} else {
switch (__pyx_nargs) {
@@ -28877,7 +29601,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, 1750, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("stop_monitoring", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1789, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -28916,7 +29640,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12stop_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, 1750, __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, 1789, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
@@ -28933,7 +29657,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_12stop_monitoring(CYTH
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1778
+/* "_pydevd_sys_monitoring_cython.pyx":1817
*
*
* def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<<
@@ -28995,12 +29719,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, 1778, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1817, __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, 1778, __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, 1817, __pyx_L3_error)
}
} else {
switch (__pyx_nargs) {
@@ -29014,7 +29738,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, 1778, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("update_monitor_events", 0, 0, 1, __pyx_nargs); __PYX_ERR(0, 1817, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -29076,21 +29800,21 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_RefNannySetupContext("update_monitor_events", 0);
__Pyx_INCREF(__pyx_v_suspend_requested);
- /* "_pydevd_sys_monitoring_cython.pyx":1784
+ /* "_pydevd_sys_monitoring_cython.pyx":1823
* :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, 1784, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1823, __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, 1784, __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, 1823, __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, 1784, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1823, __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, 1784, __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, 1823, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -29112,15 +29836,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1784, __pyx_L1_error)
+ 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_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_t_6 = (__Pyx_PyString_Equals(__pyx_t_1, __pyx_n_s_pydevd, Py_NE)); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1823, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1786
+ /* "_pydevd_sys_monitoring_cython.pyx":1825
* if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd":
* # It is still not initialized.
* return # <<<<<<<<<<<<<<
@@ -29131,7 +29855,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":1784
+ /* "_pydevd_sys_monitoring_cython.pyx":1823
* :param suspend: means the user requested threads to be suspended
* """
* if monitor.get_tool(monitor.DEBUGGER_ID) != "pydevd": # <<<<<<<<<<<<<<
@@ -29140,22 +29864,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1790
+ /* "_pydevd_sys_monitoring_cython.pyx":1829
* # 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, 1790, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1829, __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, 1790, __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, 1829, __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":1791
+ /* "_pydevd_sys_monitoring_cython.pyx":1830
* # on the breakpoints.
* py_db = GlobalDebuggerHolder.global_dbg
* if py_db is None: # <<<<<<<<<<<<<<
@@ -29165,7 +29889,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_t_6 = (__pyx_v_py_db == Py_None);
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1792
+ /* "_pydevd_sys_monitoring_cython.pyx":1831
* py_db = GlobalDebuggerHolder.global_dbg
* if py_db is None:
* return # <<<<<<<<<<<<<<
@@ -29176,7 +29900,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
- /* "_pydevd_sys_monitoring_cython.pyx":1791
+ /* "_pydevd_sys_monitoring_cython.pyx":1830
* # on the breakpoints.
* py_db = GlobalDebuggerHolder.global_dbg
* if py_db is None: # <<<<<<<<<<<<<<
@@ -29185,7 +29909,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1794
+ /* "_pydevd_sys_monitoring_cython.pyx":1833
* return
*
* if suspend_requested is None: # <<<<<<<<<<<<<<
@@ -29195,7 +29919,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_t_6 = (__pyx_v_suspend_requested == Py_None);
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1795
+ /* "_pydevd_sys_monitoring_cython.pyx":1834
*
* if suspend_requested is None:
* suspend_requested = False # <<<<<<<<<<<<<<
@@ -29205,16 +29929,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_INCREF(Py_False);
__Pyx_DECREF_SET(__pyx_v_suspend_requested, Py_False);
- /* "_pydevd_sys_monitoring_cython.pyx":1797
+ /* "_pydevd_sys_monitoring_cython.pyx":1836
* 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, 1797, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_threading); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1836, __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, 1797, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_enumerate); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1836, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -29235,7 +29959,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1797, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1836, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
@@ -29244,9 +29968,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1797, __pyx_L1_error)
+ __pyx_t_7 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1836, __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, 1797, __pyx_L1_error)
+ __pyx_t_8 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 1836, __pyx_L1_error)
}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
for (;;) {
@@ -29255,28 +29979,28 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1797, __pyx_L1_error)
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1836, __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, 1797, __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, 1836, __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, 1797, __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, 1836, __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, 1797, __pyx_L1_error)
+ if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 1836, __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, 1797, __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, 1836, __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, 1797, __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, 1836, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
#endif
}
@@ -29286,7 +30010,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1797, __pyx_L1_error)
+ else __PYX_ERR(0, 1836, __pyx_L1_error)
}
break;
}
@@ -29295,20 +30019,20 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_XDECREF_SET(__pyx_v_t, __pyx_t_3);
__pyx_t_3 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1798
+ /* "_pydevd_sys_monitoring_cython.pyx":1837
*
* 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, 1798, __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, 1837, __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, 1798, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1837, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1799
+ /* "_pydevd_sys_monitoring_cython.pyx":1838
* for t in threading.enumerate():
* if getattr(t, "pydev_do_not_trace", False):
* continue # <<<<<<<<<<<<<<
@@ -29317,7 +30041,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
goto __pyx_L6_continue;
- /* "_pydevd_sys_monitoring_cython.pyx":1798
+ /* "_pydevd_sys_monitoring_cython.pyx":1837
*
* for t in threading.enumerate():
* if getattr(t, "pydev_do_not_trace", False): # <<<<<<<<<<<<<<
@@ -29326,7 +30050,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1800
+ /* "_pydevd_sys_monitoring_cython.pyx":1839
* if getattr(t, "pydev_do_not_trace", False):
* continue
* try: # <<<<<<<<<<<<<<
@@ -29342,19 +30066,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_XGOTREF(__pyx_t_11);
/*try:*/ {
- /* "_pydevd_sys_monitoring_cython.pyx":1801
+ /* "_pydevd_sys_monitoring_cython.pyx":1840
* 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, 1801, __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, 1840, __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":1802
+ /* "_pydevd_sys_monitoring_cython.pyx":1841
* try:
* additional_info = t.additional_info
* if additional_info is None: # <<<<<<<<<<<<<<
@@ -29364,7 +30088,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_t_6 = (__pyx_v_additional_info == Py_None);
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1804
+ /* "_pydevd_sys_monitoring_cython.pyx":1843
* 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 # <<<<<<<<<<<<<<
@@ -29373,7 +30097,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
goto __pyx_L15_try_continue;
- /* "_pydevd_sys_monitoring_cython.pyx":1802
+ /* "_pydevd_sys_monitoring_cython.pyx":1841
* try:
* additional_info = t.additional_info
* if additional_info is None: # <<<<<<<<<<<<<<
@@ -29382,7 +30106,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1800
+ /* "_pydevd_sys_monitoring_cython.pyx":1839
* if getattr(t, "pydev_do_not_trace", False):
* continue
* try: # <<<<<<<<<<<<<<
@@ -29399,7 +30123,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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":1805
+ /* "_pydevd_sys_monitoring_cython.pyx":1844
* # 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: # <<<<<<<<<<<<<<
@@ -29409,12 +30133,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1805, __pyx_L11_except_error)
+ if (__Pyx_GetException(&__pyx_t_3, &__pyx_t_1, &__pyx_t_2) < 0) __PYX_ERR(0, 1844, __pyx_L11_except_error)
__Pyx_XGOTREF(__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
- /* "_pydevd_sys_monitoring_cython.pyx":1806
+ /* "_pydevd_sys_monitoring_cython.pyx":1845
* continue
* except AttributeError:
* continue # <<<<<<<<<<<<<<
@@ -29430,7 +30154,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
}
goto __pyx_L11_except_error;
- /* "_pydevd_sys_monitoring_cython.pyx":1800
+ /* "_pydevd_sys_monitoring_cython.pyx":1839
* if getattr(t, "pydev_do_not_trace", False):
* continue
* try: # <<<<<<<<<<<<<<
@@ -29452,31 +30176,31 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_L16_try_end:;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1807
+ /* "_pydevd_sys_monitoring_cython.pyx":1846
* 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, 1807, __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, 1846, __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, 1807, __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, 1846, __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, 1807, __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, 1846, __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, 1807, __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, 1846, __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":1808
+ /* "_pydevd_sys_monitoring_cython.pyx":1847
* continue
* if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2:
* suspend_requested = True # <<<<<<<<<<<<<<
@@ -29486,7 +30210,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_INCREF(Py_True);
__Pyx_DECREF_SET(__pyx_v_suspend_requested, Py_True);
- /* "_pydevd_sys_monitoring_cython.pyx":1809
+ /* "_pydevd_sys_monitoring_cython.pyx":1848
* if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2:
* suspend_requested = True
* break # <<<<<<<<<<<<<<
@@ -29495,7 +30219,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
goto __pyx_L7_break;
- /* "_pydevd_sys_monitoring_cython.pyx":1807
+ /* "_pydevd_sys_monitoring_cython.pyx":1846
* except AttributeError:
* continue
* if additional_info.pydev_step_cmd != -1 or additional_info.pydev_state == 2: # <<<<<<<<<<<<<<
@@ -29504,7 +30228,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1797
+ /* "_pydevd_sys_monitoring_cython.pyx":1836
* suspend_requested = False
*
* for t in threading.enumerate(): # <<<<<<<<<<<<<<
@@ -29520,7 +30244,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
goto __pyx_L23_for_end;
__pyx_L23_for_end:;
- /* "_pydevd_sys_monitoring_cython.pyx":1794
+ /* "_pydevd_sys_monitoring_cython.pyx":1833
* return
*
* if suspend_requested is None: # <<<<<<<<<<<<<<
@@ -29529,7 +30253,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1811
+ /* "_pydevd_sys_monitoring_cython.pyx":1850
* break
*
* required_events = 0 # <<<<<<<<<<<<<<
@@ -29539,16 +30263,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_INCREF(__pyx_int_0);
__pyx_v_required_events = __pyx_int_0;
- /* "_pydevd_sys_monitoring_cython.pyx":1814
+ /* "_pydevd_sys_monitoring_cython.pyx":1853
*
* 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, 1814, __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, 1853, __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, 1814, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1853, __pyx_L1_error)
if (!__pyx_t_6) {
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else {
@@ -29557,9 +30281,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1814, __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, 1853, __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, 1814, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_2); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1853, __pyx_L1_error)
if (!__pyx_t_6) {
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
} else {
@@ -29568,7 +30292,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1814, __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, 1853, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_t_2);
__pyx_t_4 = __pyx_t_2;
@@ -29577,84 +30301,84 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__pyx_v_has_caught_exception_breakpoint_in_pydb = __pyx_t_4;
__pyx_t_4 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1817
+ /* "_pydevd_sys_monitoring_cython.pyx":1856
* )
*
* 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, 1817, __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, 1856, __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":1819
+ /* "_pydevd_sys_monitoring_cython.pyx":1858
* 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, 1819, __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, 1858, __pyx_L1_error)
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1820
+ /* "_pydevd_sys_monitoring_cython.pyx":1859
*
* 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, 1820, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1859, __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, 1820, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1859, __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, 1820, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1859, __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, 1820, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1859, __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, 1820, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1859, __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, 1820, __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, 1859, __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, 1820, __pyx_L1_error)
+ __pyx_t_1 = PyNumber_Or(__pyx_t_4, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1859, __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, 1820, __pyx_L1_error)
+ __pyx_t_2 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1859, __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":1822
+ /* "_pydevd_sys_monitoring_cython.pyx":1861
* 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, 1822, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1861, __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, 1822, __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, 1861, __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, 1822, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1861, __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, 1822, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1861, __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, 1822, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1861, __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, 1822, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1861, __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, 1822, __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, 1861, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
__pyx_t_15 = NULL;
__pyx_t_5 = 0;
@@ -29677,35 +30401,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1822, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1861, __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":1823
+ /* "_pydevd_sys_monitoring_cython.pyx":1862
* # 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, 1823, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1862, __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, 1823, __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, 1862, __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, 1823, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1862, __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, 1823, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1862, __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, 1823, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1862, __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, 1823, __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, 1862, __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, 1823, __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, 1862, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_15 = NULL;
__pyx_t_5 = 0;
@@ -29728,13 +30452,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1823, __pyx_L1_error)
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1862, __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":1819
+ /* "_pydevd_sys_monitoring_cython.pyx":1858
* break_on_uncaught_exceptions = py_db.break_on_uncaught_exceptions
*
* if has_caught_exception_breakpoint_in_pydb: # <<<<<<<<<<<<<<
@@ -29744,7 +30468,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
goto __pyx_L27;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1825
+ /* "_pydevd_sys_monitoring_cython.pyx":1864
* monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event)
* else:
* if break_on_uncaught_exceptions: # <<<<<<<<<<<<<<
@@ -29752,53 +30476,53 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1825, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_break_on_uncaught_exceptions); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1864, __pyx_L1_error)
if (__pyx_t_6) {
- /* "_pydevd_sys_monitoring_cython.pyx":1826
+ /* "_pydevd_sys_monitoring_cython.pyx":1865
* 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, 1826, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1865, __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, 1826, __pyx_L1_error)
+ __pyx_t_14 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1865, __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, 1826, __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, 1865, __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, 1826, __pyx_L1_error)
+ __pyx_t_14 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1865, __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":1827
+ /* "_pydevd_sys_monitoring_cython.pyx":1866
* 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, 1827, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1866, __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, 1827, __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, 1866, __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, 1827, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1866, __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, 1827, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1866, __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, 1827, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1866, __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, 1827, __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, 1866, __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, 1827, __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, 1866, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_15 = NULL;
__pyx_t_5 = 0;
@@ -29821,13 +30545,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1827, __pyx_L1_error)
+ if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1866, __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":1825
+ /* "_pydevd_sys_monitoring_cython.pyx":1864
* monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event)
* else:
* if break_on_uncaught_exceptions: # <<<<<<<<<<<<<<
@@ -29837,7 +30561,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
goto __pyx_L28;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1829
+ /* "_pydevd_sys_monitoring_cython.pyx":1868
* monitor.register_callback(DEBUGGER_ID, monitor.events.PY_UNWIND, _unwind_event)
* else:
* monitor.register_callback(DEBUGGER_ID, monitor.events.RAISE, None) # <<<<<<<<<<<<<<
@@ -29845,19 +30569,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*
*/
/*else*/ {
- __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1829, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1868, __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, 1829, __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, 1868, __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, 1829, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1868, __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, 1829, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1868, __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, 1829, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1868, __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, 1829, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_RAISE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1868, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -29880,32 +30604,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1829, __pyx_L1_error)
+ if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1868, __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":1830
+ /* "_pydevd_sys_monitoring_cython.pyx":1869
* 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, 1830, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1869, __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, 1830, __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, 1869, __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, 1830, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1869, __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, 1830, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1869, __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, 1830, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1869, __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, 1830, __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, 1869, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -29928,7 +30652,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1830, __pyx_L1_error)
+ if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1869, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
}
@@ -29938,43 +30662,43 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
}
__pyx_L27:;
- /* "_pydevd_sys_monitoring_cython.pyx":1832
+ /* "_pydevd_sys_monitoring_cython.pyx":1871
* 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, 1832, __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, 1871, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
__pyx_v_has_breaks = __pyx_t_14;
__pyx_t_14 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1833
+ /* "_pydevd_sys_monitoring_cython.pyx":1872
*
* 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, 1833, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1872, __pyx_L1_error)
__pyx_t_13 = (!__pyx_t_6);
if (__pyx_t_13) {
- /* "_pydevd_sys_monitoring_cython.pyx":1834
+ /* "_pydevd_sys_monitoring_cython.pyx":1873
* 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, 1834, __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, 1873, __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, 1834, __pyx_L1_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1873, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
if (__pyx_t_13) {
- /* "_pydevd_sys_monitoring_cython.pyx":1835
+ /* "_pydevd_sys_monitoring_cython.pyx":1874
* if not has_breaks:
* if py_db.function_breakpoint_name_to_breakpoint:
* has_breaks = True # <<<<<<<<<<<<<<
@@ -29984,7 +30708,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_INCREF(Py_True);
__Pyx_DECREF_SET(__pyx_v_has_breaks, Py_True);
- /* "_pydevd_sys_monitoring_cython.pyx":1834
+ /* "_pydevd_sys_monitoring_cython.pyx":1873
* has_breaks = py_db.has_plugin_line_breaks
* if not has_breaks:
* if py_db.function_breakpoint_name_to_breakpoint: # <<<<<<<<<<<<<<
@@ -29994,7 +30718,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
goto __pyx_L30;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1837
+ /* "_pydevd_sys_monitoring_cython.pyx":1876
* has_breaks = True
* else:
* file_to_line_to_breakpoints = py_db.breakpoints # <<<<<<<<<<<<<<
@@ -30002,12 +30726,12 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1837, __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, 1876, __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":1838
+ /* "_pydevd_sys_monitoring_cython.pyx":1877
* else:
* file_to_line_to_breakpoints = py_db.breakpoints
* for line_to_breakpoints in file_to_line_to_breakpoints.values(): # <<<<<<<<<<<<<<
@@ -30017,9 +30741,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1838, __pyx_L1_error)
+ __PYX_ERR(0, 1877, __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_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, 1877, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_14);
__pyx_t_14 = __pyx_t_3;
@@ -30027,22 +30751,22 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1838, __pyx_L1_error)
+ if (unlikely(__pyx_t_17 == -1)) __PYX_ERR(0, 1877, __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":1839
+ /* "_pydevd_sys_monitoring_cython.pyx":1878
* 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, 1839, __pyx_L1_error)
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_v_line_to_breakpoints); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1878, __pyx_L1_error)
if (__pyx_t_13) {
- /* "_pydevd_sys_monitoring_cython.pyx":1840
+ /* "_pydevd_sys_monitoring_cython.pyx":1879
* for line_to_breakpoints in file_to_line_to_breakpoints.values():
* if line_to_breakpoints:
* has_breaks = True # <<<<<<<<<<<<<<
@@ -30052,7 +30776,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
__Pyx_INCREF(Py_True);
__Pyx_DECREF_SET(__pyx_v_has_breaks, Py_True);
- /* "_pydevd_sys_monitoring_cython.pyx":1841
+ /* "_pydevd_sys_monitoring_cython.pyx":1880
* if line_to_breakpoints:
* has_breaks = True
* break # <<<<<<<<<<<<<<
@@ -30061,7 +30785,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
goto __pyx_L32_break;
- /* "_pydevd_sys_monitoring_cython.pyx":1839
+ /* "_pydevd_sys_monitoring_cython.pyx":1878
* file_to_line_to_breakpoints = py_db.breakpoints
* for line_to_breakpoints in file_to_line_to_breakpoints.values():
* if line_to_breakpoints: # <<<<<<<<<<<<<<
@@ -30075,7 +30799,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
}
__pyx_L30:;
- /* "_pydevd_sys_monitoring_cython.pyx":1833
+ /* "_pydevd_sys_monitoring_cython.pyx":1872
*
* has_breaks = py_db.has_plugin_line_breaks
* if not has_breaks: # <<<<<<<<<<<<<<
@@ -30084,80 +30808,80 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1843
+ /* "_pydevd_sys_monitoring_cython.pyx":1882
* 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, 1843, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_has_breaks); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1882, __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, 1843, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_v_suspend_requested); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 1882, __pyx_L1_error)
__pyx_t_13 = __pyx_t_6;
__pyx_L35_bool_binop_done:;
if (__pyx_t_13) {
- /* "_pydevd_sys_monitoring_cython.pyx":1845
+ /* "_pydevd_sys_monitoring_cython.pyx":1884
* 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, 1845, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1884, __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, 1845, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1884, __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, 1845, __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, 1884, __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, 1845, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_monitor); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1884, __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, 1845, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1884, __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, 1845, __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, 1884, __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, 1845, __pyx_L1_error)
+ __pyx_t_1 = PyNumber_Or(__pyx_t_14, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1884, __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, 1845, __pyx_L1_error)
+ __pyx_t_3 = PyNumber_InPlaceOr(__pyx_v_required_events, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1884, __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":1847
+ /* "_pydevd_sys_monitoring_cython.pyx":1886
* 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, 1847, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1886, __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, 1847, __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, 1886, __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, 1847, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1886, __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, 1847, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1886, __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, 1847, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1886, __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, 1847, __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, 1886, __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, 1847, __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, 1886, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_15 = NULL;
__pyx_t_5 = 0;
@@ -30180,35 +30904,35 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1847, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1886, __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":1849
+ /* "_pydevd_sys_monitoring_cython.pyx":1888
* 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)
+ * if not IS_PY313_OR_GREATER:
+ * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every
*/
- __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1849, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1888, __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, 1849, __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, 1888, __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, 1849, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1888, __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, 1849, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1888, __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, 1849, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1888, __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, 1849, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_LINE); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1888, __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, 1849, __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, 1888, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_15 = NULL;
__pyx_t_5 = 0;
@@ -30231,86 +30955,109 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1849, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1888, __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":1850
+ /* "_pydevd_sys_monitoring_cython.pyx":1889
* # 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) # <<<<<<<<<<<<<<
+ * if not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<<
+ * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every
+ * # jump location.
+ */
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1889, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 1889, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_6 = (!__pyx_t_13);
+ if (__pyx_t_6) {
+
+ /* "_pydevd_sys_monitoring_cython.pyx":1892
+ * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every
+ * # jump location.
+ * 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, 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, 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, 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, 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, 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, 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, 1850, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_14);
- __pyx_t_15 = NULL;
- __pyx_t_5 = 0;
- #if CYTHON_UNPACK_METHODS
- if (unlikely(PyMethod_Check(__pyx_t_1))) {
- __pyx_t_15 = PyMethod_GET_SELF(__pyx_t_1);
- if (likely(__pyx_t_15)) {
- PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
- __Pyx_INCREF(__pyx_t_15);
- __Pyx_INCREF(function);
- __Pyx_DECREF_SET(__pyx_t_1, function);
- __pyx_t_5 = 1;
- }
- }
- #endif
- {
- PyObject *__pyx_callargs[4] = {__pyx_t_15, __pyx_t_2, __pyx_t_4, __pyx_t_14};
- __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 3+__pyx_t_5);
- __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0;
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1892, __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, 1892, __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, 1892, __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, 1892, __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, 1892, __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, 1892, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
- 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;
+ __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, 1892, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_14);
+ __pyx_t_15 = NULL;
+ __pyx_t_5 = 0;
+ #if CYTHON_UNPACK_METHODS
+ if (unlikely(PyMethod_Check(__pyx_t_1))) {
+ __pyx_t_15 = PyMethod_GET_SELF(__pyx_t_1);
+ if (likely(__pyx_t_15)) {
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_15);
+ __Pyx_INCREF(function);
+ __Pyx_DECREF_SET(__pyx_t_1, function);
+ __pyx_t_5 = 1;
+ }
+ }
+ #endif
+ {
+ PyObject *__pyx_callargs[4] = {__pyx_t_15, __pyx_t_2, __pyx_t_4, __pyx_t_14};
+ __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_5, 3+__pyx_t_5);
+ __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0;
+ __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, 1892, __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":1851
+ /* "_pydevd_sys_monitoring_cython.pyx":1889
+ * # 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)
+ * if not IS_PY313_OR_GREATER: # <<<<<<<<<<<<<<
+ * # In Python 3.13+ jump_events aren't necessary as we have a line_event for every
+ * # jump location.
+ */
+ }
+
+ /* "_pydevd_sys_monitoring_cython.pyx":1893
+ * # jump location.
+ * 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, 1851, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_monitor); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1893, __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, 1851, __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, 1893, __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, 1851, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1893, __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, 1851, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1893, __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, 1851, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1893, __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, 1851, __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, 1893, __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, 1851, __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, 1893, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_15 = NULL;
__pyx_t_5 = 0;
@@ -30333,13 +31080,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1851, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1893, __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":1843
+ /* "_pydevd_sys_monitoring_cython.pyx":1882
* break
*
* if has_breaks or suspend_requested: # <<<<<<<<<<<<<<
@@ -30349,7 +31096,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
goto __pyx_L34;
}
- /* "_pydevd_sys_monitoring_cython.pyx":1854
+ /* "_pydevd_sys_monitoring_cython.pyx":1896
*
* else:
* monitor.register_callback(DEBUGGER_ID, monitor.events.PY_START, None) # <<<<<<<<<<<<<<
@@ -30357,19 +31104,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1854, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1896, __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, 1854, __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, 1896, __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, 1854, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1896, __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, 1854, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1896, __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, 1854, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1896, __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, 1854, __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, 1896, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -30392,32 +31139,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1854, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1896, __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":1855
+ /* "_pydevd_sys_monitoring_cython.pyx":1897
* 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, 1855, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1897, __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, 1855, __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, 1897, __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, 1855, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1897, __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, 1855, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1897, __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, 1855, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1897, __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, 1855, __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, 1897, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -30440,32 +31187,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1855, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1897, __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":1856
+ /* "_pydevd_sys_monitoring_cython.pyx":1898
* 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, 1856, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1898, __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, 1856, __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, 1898, __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, 1856, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1898, __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, 1856, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1898, __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, 1856, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1898, __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, 1856, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_LINE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1898, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -30488,32 +31235,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1856, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1898, __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":1857
+ /* "_pydevd_sys_monitoring_cython.pyx":1899
* 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, 1857, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1899, __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, 1857, __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, 1899, __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, 1857, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1899, __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, 1857, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1899, __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, 1857, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1899, __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, 1857, __pyx_L1_error)
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_JUMP); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1899, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -30536,32 +31283,32 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1857, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1899, __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":1858
+ /* "_pydevd_sys_monitoring_cython.pyx":1900
* 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, 1858, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1900, __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, 1858, __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, 1900, __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, 1858, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1900, __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, 1858, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_14, __pyx_n_s_monitor); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 1900, __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, 1858, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_14, __pyx_n_s_events); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1900, __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, 1858, __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, 1900, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_14);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = NULL;
@@ -30584,7 +31331,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1858, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1900, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
}
@@ -30592,19 +31339,19 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
}
__pyx_L34:;
- /* "_pydevd_sys_monitoring_cython.pyx":1860
+ /* "_pydevd_sys_monitoring_cython.pyx":1902
* 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, 1860, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_monitor); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1902, __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, 1860, __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, 1902, __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, 1860, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_DEBUGGER_ID); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1902, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_4);
__pyx_t_2 = NULL;
__pyx_t_5 = 0;
@@ -30625,13 +31372,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_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, 1860, __pyx_L1_error)
+ if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1902, __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":1778
+ /* "_pydevd_sys_monitoring_cython.pyx":1817
*
*
* def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<<
@@ -30667,7 +31414,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_14update_monitor_event
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1863
+/* "_pydevd_sys_monitoring_cython.pyx":1905
*
*
* def restart_events() -> None: # <<<<<<<<<<<<<<
@@ -30703,16 +31450,16 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16restart_events(CYTHO
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("restart_events", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":1867
+ /* "_pydevd_sys_monitoring_cython.pyx":1909
* # 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, 1867, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_monitor); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1909, __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, 1867, __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, 1909, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_2 = NULL;
@@ -30733,13 +31480,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16restart_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, 1867, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1909, __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":1863
+ /* "_pydevd_sys_monitoring_cython.pyx":1905
*
*
* def restart_events() -> None: # <<<<<<<<<<<<<<
@@ -30762,7 +31509,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_16restart_events(CYTHO
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1872
+/* "_pydevd_sys_monitoring_cython.pyx":1914
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame): # <<<<<<<<<<<<<<
@@ -30784,7 +31531,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":1877
+ /* "_pydevd_sys_monitoring_cython.pyx":1919
* # ENDIF
* # fmt: on
* if target_frame is current_frame: # <<<<<<<<<<<<<<
@@ -30794,7 +31541,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":1878
+ /* "_pydevd_sys_monitoring_cython.pyx":1920
* # fmt: on
* if target_frame is current_frame:
* return True # <<<<<<<<<<<<<<
@@ -30806,7 +31553,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":1877
+ /* "_pydevd_sys_monitoring_cython.pyx":1919
* # ENDIF
* # fmt: on
* if target_frame is current_frame: # <<<<<<<<<<<<<<
@@ -30815,7 +31562,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1880
+ /* "_pydevd_sys_monitoring_cython.pyx":1922
* return True
*
* if info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<<
@@ -30824,7 +31571,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":1883
+ /* "_pydevd_sys_monitoring_cython.pyx":1925
* # 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: # <<<<<<<<<<<<<<
@@ -30842,43 +31589,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":1884
+ /* "_pydevd_sys_monitoring_cython.pyx":1926
* # 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, 1884, __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, 1926, __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, 1884, __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, 1926, __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, 1884, __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, 1926, __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, 1884, __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, 1926, __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, 1884, __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, 1926, __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, 1884, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 1926, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_1) {
- /* "_pydevd_sys_monitoring_cython.pyx":1887
+ /* "_pydevd_sys_monitoring_cython.pyx":1929
* # 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, 1887, __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, 1929, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_v_f = __pyx_t_3;
__pyx_t_3 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1888
+ /* "_pydevd_sys_monitoring_cython.pyx":1930
* # 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]: # <<<<<<<<<<<<<<
@@ -30891,38 +31638,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, 1888, __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, 1930, __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, 1888, __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, 1930, __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, 1888, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1930, __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, 1888, __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, 1930, __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, 1888, __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, 1930, __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, 1888, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1930, __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":1889
+ /* "_pydevd_sys_monitoring_cython.pyx":1931
* 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, 1889, __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, 1931, __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":1890
+ /* "_pydevd_sys_monitoring_cython.pyx":1932
* 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]: # <<<<<<<<<<<<<<
@@ -30935,26 +31682,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, 1890, __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, 1932, __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, 1890, __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, 1932, __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, 1890, __pyx_L1_error)
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1932, __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, 1890, __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, 1932, __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, 1890, __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, 1932, __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, 1890, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 1932, __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":1891
+ /* "_pydevd_sys_monitoring_cython.pyx":1933
* f = f.f_back
* if f is not None and f.f_code.co_name == PYDEVD_IPYTHON_CONTEXT[2]:
* return True # <<<<<<<<<<<<<<
@@ -30966,7 +31713,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":1890
+ /* "_pydevd_sys_monitoring_cython.pyx":1932
* 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]: # <<<<<<<<<<<<<<
@@ -30975,7 +31722,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1888
+ /* "_pydevd_sys_monitoring_cython.pyx":1930
* # 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]: # <<<<<<<<<<<<<<
@@ -30984,7 +31731,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1884
+ /* "_pydevd_sys_monitoring_cython.pyx":1926
* # 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: # <<<<<<<<<<<<<<
@@ -30993,7 +31740,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1883
+ /* "_pydevd_sys_monitoring_cython.pyx":1925
* # 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: # <<<<<<<<<<<<<<
@@ -31002,7 +31749,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1880
+ /* "_pydevd_sys_monitoring_cython.pyx":1922
* return True
*
* if info.pydev_use_scoped_step_frame: # <<<<<<<<<<<<<<
@@ -31011,7 +31758,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
*/
}
- /* "_pydevd_sys_monitoring_cython.pyx":1893
+ /* "_pydevd_sys_monitoring_cython.pyx":1935
* return True
*
* return False # <<<<<<<<<<<<<<
@@ -31023,7 +31770,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":1872
+ /* "_pydevd_sys_monitoring_cython.pyx":1914
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cdef _is_same_frame(PyDBAdditionalThreadInfo info, target_frame, current_frame): # <<<<<<<<<<<<<<
@@ -31045,7 +31792,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython__is_same_frame(struct _
return __pyx_r;
}
-/* "_pydevd_sys_monitoring_cython.pyx":1898
+/* "_pydevd_sys_monitoring_cython.pyx":1940
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<<
@@ -31118,7 +31865,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1940, __pyx_L3_error)
else goto __pyx_L5_argtuple_error;
CYTHON_FALLTHROUGH;
case 1:
@@ -31126,9 +31873,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1940, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 1); __PYX_ERR(0, 1898, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 1); __PYX_ERR(0, 1940, __pyx_L3_error)
}
CYTHON_FALLTHROUGH;
case 2:
@@ -31136,9 +31883,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[2]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1940, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 2); __PYX_ERR(0, 1898, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 2); __PYX_ERR(0, 1940, __pyx_L3_error)
}
CYTHON_FALLTHROUGH;
case 3:
@@ -31146,9 +31893,9 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[3]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1940, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 3); __PYX_ERR(0, 1898, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 3); __PYX_ERR(0, 1940, __pyx_L3_error)
}
CYTHON_FALLTHROUGH;
case 4:
@@ -31156,14 +31903,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
(void)__Pyx_Arg_NewRef_FASTCALL(values[4]);
kw_args--;
}
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1898, __pyx_L3_error)
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1940, __pyx_L3_error)
else {
- __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 4); __PYX_ERR(0, 1898, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, 4); __PYX_ERR(0, 1940, __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, 1898, __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, 1940, __pyx_L3_error)
}
} else if (unlikely(__pyx_nargs != 5)) {
goto __pyx_L5_argtuple_error;
@@ -31182,7 +31929,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, 1898, __pyx_L3_error)
+ __Pyx_RaiseArgtupleInvalid("_do_wait_suspend", 1, 5, 5, __pyx_nargs); __PYX_ERR(0, 1940, __pyx_L3_error)
__pyx_L6_skip:;
goto __pyx_L4_argument_unpacking_done;
__pyx_L3_error:;
@@ -31196,7 +31943,7 @@ 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, 1898, __pyx_L1_error)
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_thread_info), __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, 1, "thread_info", 0))) __PYX_ERR(0, 1940, __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 */
@@ -31226,7 +31973,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18_do_wait_suspend(CYT
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("_do_wait_suspend", 1);
- /* "_pydevd_sys_monitoring_cython.pyx":1903
+ /* "_pydevd_sys_monitoring_cython.pyx":1945
* # ENDIF
* # fmt: on
* thread_info.additional_info.trace_suspend_type = "sys_monitor" # <<<<<<<<<<<<<<
@@ -31239,14 +31986,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18_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":1904
+ /* "_pydevd_sys_monitoring_cython.pyx":1946
* # 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, 1904, __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, 1946, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = NULL;
__pyx_t_4 = 0;
@@ -31266,13 +32013,13 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_18_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, 1904, __pyx_L1_error)
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1946, __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":1898
+ /* "_pydevd_sys_monitoring_cython.pyx":1940
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* def _do_wait_suspend(py_db, ThreadInfo thread_info, frame, event, arg): # <<<<<<<<<<<<<<
@@ -31445,9 +32192,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
/* "(tree fragment)":4
* cdef object __pyx_PickleError
* cdef object __pyx_result
- * if __pyx_checksum not in (0xd625bfa, 0xfdc1f18, 0x57c379d): # <<<<<<<<<<<<<<
+ * if __pyx_checksum not in (0x4dea5f4, 0x3d65484, 0xf9220dc): # <<<<<<<<<<<<<<
* 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
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
*/
__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);
@@ -31457,9 +32204,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
/* "(tree fragment)":5
* cdef object __pyx_result
- * if __pyx_checksum not in (0xd625bfa, 0xfdc1f18, 0x57c379d):
+ * if __pyx_checksum not in (0x4dea5f4, 0x3d65484, 0xf9220dc):
* 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
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
* __pyx_result = ThreadInfo.__new__(__pyx_type)
*/
__pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error)
@@ -31478,9 +32225,9 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
/* "(tree fragment)":6
- * if __pyx_checksum not in (0xd625bfa, 0xfdc1f18, 0x57c379d):
+ * if __pyx_checksum not in (0x4dea5f4, 0x3d65484, 0xf9220dc):
* 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 # <<<<<<<<<<<<<<
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum # <<<<<<<<<<<<<<
* __pyx_result = ThreadInfo.__new__(__pyx_type)
* if __pyx_state is not None:
*/
@@ -31496,15 +32243,15 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
/* "(tree fragment)":4
* cdef object __pyx_PickleError
* cdef object __pyx_result
- * if __pyx_checksum not in (0xd625bfa, 0xfdc1f18, 0x57c379d): # <<<<<<<<<<<<<<
+ * if __pyx_checksum not in (0x4dea5f4, 0x3d65484, 0xf9220dc): # <<<<<<<<<<<<<<
* 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
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
*/
}
/* "(tree fragment)":7
* 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
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
* __pyx_result = ThreadInfo.__new__(__pyx_type) # <<<<<<<<<<<<<<
* if __pyx_state is not None:
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
@@ -31537,7 +32284,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
__pyx_t_1 = 0;
/* "(tree fragment)":8
- * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0xd625bfa, 0xfdc1f18, 0x57c379d) = (additional_info, thread, thread_ident, trace))" % __pyx_checksum
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
* __pyx_result = ThreadInfo.__new__(__pyx_type)
* if __pyx_state is not None: # <<<<<<<<<<<<<<
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
@@ -31559,7 +32306,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
/* "(tree fragment)":8
- * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0xd625bfa, 0xfdc1f18, 0x57c379d) = (additional_info, thread, thread_ident, trace))" % __pyx_checksum
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
* __pyx_result = ThreadInfo.__new__(__pyx_type)
* if __pyx_state is not None: # <<<<<<<<<<<<<<
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
@@ -31572,7 +32319,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
* return __pyx_result # <<<<<<<<<<<<<<
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state):
- * __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]
+ * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v___pyx_result);
@@ -31604,8 +32351,8 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_20__pyx_unpickle_Threa
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
* return __pyx_result
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
- * __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_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'):
*/
static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) {
@@ -31628,9 +32375,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
/* "(tree fragment)":12
* return __pyx_result
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state):
- * __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_result.__dict__.update(__pyx_state[4])
+ * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4] # <<<<<<<<<<<<<<
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'):
+ * __pyx_result.__dict__.update(__pyx_state[5])
*/
if (unlikely(__pyx_v___pyx_state == Py_None)) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
@@ -31638,6 +32385,17 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
}
__pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->_use_is_stopped);
+ __Pyx_DECREF(__pyx_v___pyx_result->_use_is_stopped);
+ __pyx_v___pyx_result->_use_is_stopped = __pyx_t_1;
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo))))) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GIVEREF(__pyx_t_1);
__Pyx_GOTREF((PyObject *)__pyx_v___pyx_result->additional_info);
@@ -31648,7 +32406,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 12, __pyx_L1_error)
}
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_GIVEREF(__pyx_t_1);
__Pyx_GOTREF(__pyx_v___pyx_result->thread);
@@ -31659,7 +32417,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 12, __pyx_L1_error)
}
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_2 = __Pyx_PyInt_As_unsigned_long(__pyx_t_1); if (unlikely((__pyx_t_2 == (unsigned long)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
@@ -31668,7 +32426,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 12, __pyx_L1_error)
}
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_GIVEREF(__pyx_t_1);
__Pyx_GOTREF(__pyx_v___pyx_result->trace);
@@ -31678,16 +32436,16 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
/* "(tree fragment)":13
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state):
- * __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_result.__dict__.update(__pyx_state[4])
+ * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
+ * __pyx_result.__dict__.update(__pyx_state[5])
*/
if (unlikely(__pyx_v___pyx_state == Py_None)) {
PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
__PYX_ERR(1, 13, __pyx_L1_error)
}
__pyx_t_4 = __Pyx_PyTuple_GET_SIZE(__pyx_v___pyx_state); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(1, 13, __pyx_L1_error)
- __pyx_t_5 = (__pyx_t_4 > 4);
+ __pyx_t_5 = (__pyx_t_4 > 5);
if (__pyx_t_5) {
} else {
__pyx_t_3 = __pyx_t_5;
@@ -31699,9 +32457,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
if (__pyx_t_3) {
/* "(tree fragment)":14
- * __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_result.__dict__.update(__pyx_state[4]) # <<<<<<<<<<<<<<
+ * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'):
+ * __pyx_result.__dict__.update(__pyx_state[5]) # <<<<<<<<<<<<<<
*/
__pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
@@ -31712,7 +32470,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 14, __pyx_L1_error)
}
- __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -31741,9 +32499,9 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
/* "(tree fragment)":13
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state):
- * __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_result.__dict__.update(__pyx_state[4])
+ * __pyx_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
+ * __pyx_result.__dict__.update(__pyx_state[5])
*/
}
@@ -31751,8 +32509,8 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_ThreadIn
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
* return __pyx_result
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
- * __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_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'):
*/
/* function exit code */
@@ -32013,42 +32771,667 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncC
__pyx_t_1 = 0;
/* "(tree fragment)":8
- * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x3f403d2, 0x5f5636f, 0xb44aa80) = (abs_path_filename, always_filtered_out, always_skip_code, bp_line_to_breakpoint, breakpoint_found, canonical_normalized_filename, co_filename, co_name, code_obj, filtered_out_force_checked, function_breakpoint, function_breakpoint_found, plugin_call_breakpoint_found, plugin_call_stepping, plugin_line_breakpoint_found, plugin_line_stepping, plugin_return_stepping, pydb_mtime, try_except_container_obj))" % __pyx_checksum
- * __pyx_result = FuncCodeInfo.__new__(__pyx_type)
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x3f403d2, 0x5f5636f, 0xb44aa80) = (abs_path_filename, always_filtered_out, always_skip_code, bp_line_to_breakpoint, breakpoint_found, canonical_normalized_filename, co_filename, co_name, code_obj, filtered_out_force_checked, function_breakpoint, function_breakpoint_found, plugin_call_breakpoint_found, plugin_call_stepping, plugin_line_breakpoint_found, plugin_line_stepping, plugin_return_stepping, pydb_mtime, try_except_container_obj))" % __pyx_checksum
+ * __pyx_result = FuncCodeInfo.__new__(__pyx_type)
+ * if __pyx_state is not None: # <<<<<<<<<<<<<<
+ * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * return __pyx_result
+ */
+ __pyx_t_2 = (__pyx_v___pyx_state != Py_None);
+ if (__pyx_t_2) {
+
+ /* "(tree fragment)":9
+ * __pyx_result = FuncCodeInfo.__new__(__pyx_type)
+ * if __pyx_state is not None:
+ * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state) # <<<<<<<<<<<<<<
+ * return __pyx_result
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
+ */
+ if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_v___pyx_state))) __PYX_ERR(1, 9, __pyx_L1_error)
+ __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "(tree fragment)":8
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x3f403d2, 0x5f5636f, 0xb44aa80) = (abs_path_filename, always_filtered_out, always_skip_code, bp_line_to_breakpoint, breakpoint_found, canonical_normalized_filename, co_filename, co_name, code_obj, filtered_out_force_checked, function_breakpoint, function_breakpoint_found, plugin_call_breakpoint_found, plugin_call_stepping, plugin_line_breakpoint_found, plugin_line_stepping, plugin_return_stepping, pydb_mtime, try_except_container_obj))" % __pyx_checksum
+ * __pyx_result = FuncCodeInfo.__new__(__pyx_type)
+ * if __pyx_state is not None: # <<<<<<<<<<<<<<
+ * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * return __pyx_result
+ */
+ }
+
+ /* "(tree fragment)":10
+ * if __pyx_state is not None:
+ * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * return __pyx_result # <<<<<<<<<<<<<<
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ */
+ __Pyx_XDECREF(__pyx_r);
+ __Pyx_INCREF(__pyx_v___pyx_result);
+ __pyx_r = __pyx_v___pyx_result;
+ goto __pyx_L0;
+
+ /* "(tree fragment)":1
+ * def __pyx_unpickle_FuncCodeInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<<
+ * cdef object __pyx_PickleError
+ * cdef object __pyx_result
+ */
+
+ /* function exit code */
+ __pyx_L1_error:;
+ __Pyx_XDECREF(__pyx_t_1);
+ __Pyx_XDECREF(__pyx_t_3);
+ __Pyx_XDECREF(__pyx_t_4);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle_FuncCodeInfo", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = NULL;
+ __pyx_L0:;
+ __Pyx_XDECREF(__pyx_v___pyx_PickleError);
+ __Pyx_XDECREF(__pyx_v___pyx_result);
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "(tree fragment)":11
+ * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * return __pyx_result
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
+ */
+
+static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) {
+ PyObject *__pyx_r = NULL;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ int __pyx_t_3;
+ Py_ssize_t __pyx_t_4;
+ int __pyx_t_5;
+ PyObject *__pyx_t_6 = NULL;
+ PyObject *__pyx_t_7 = NULL;
+ PyObject *__pyx_t_8 = NULL;
+ unsigned int __pyx_t_9;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__pyx_unpickle_FuncCodeInfo__set_state", 1);
+
+ /* "(tree fragment)":12
+ * return __pyx_result
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18] # <<<<<<<<<<<<<<
+ * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
+ * __pyx_result.__dict__.update(__pyx_state[19])
+ */
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->abs_path_filename);
+ __Pyx_DECREF(__pyx_v___pyx_result->abs_path_filename);
+ __pyx_v___pyx_result->abs_path_filename = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->always_filtered_out = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->always_skip_code = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->bp_line_to_breakpoint);
+ __Pyx_DECREF(__pyx_v___pyx_result->bp_line_to_breakpoint);
+ __pyx_v___pyx_result->bp_line_to_breakpoint = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->breakpoint_found = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->canonical_normalized_filename);
+ __Pyx_DECREF(__pyx_v___pyx_result->canonical_normalized_filename);
+ __pyx_v___pyx_result->canonical_normalized_filename = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 6, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->co_filename);
+ __Pyx_DECREF(__pyx_v___pyx_result->co_filename);
+ __pyx_v___pyx_result->co_filename = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->co_name);
+ __Pyx_DECREF(__pyx_v___pyx_result->co_name);
+ __pyx_v___pyx_result->co_name = ((PyObject*)__pyx_t_1);
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 8, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->code_obj);
+ __Pyx_DECREF(__pyx_v___pyx_result->code_obj);
+ __pyx_v___pyx_result->code_obj = __pyx_t_1;
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 9, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->filtered_out_force_checked = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 10, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->function_breakpoint);
+ __Pyx_DECREF(__pyx_v___pyx_result->function_breakpoint);
+ __pyx_v___pyx_result->function_breakpoint = __pyx_t_1;
+ __pyx_t_1 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 11, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->function_breakpoint_found = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 12, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->plugin_call_breakpoint_found = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 13, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->plugin_call_stepping = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 14, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->plugin_line_breakpoint_found = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 15, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->plugin_line_stepping = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 16, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->plugin_return_stepping = __pyx_t_2;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 17, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->pydb_mtime = __pyx_t_3;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 12, __pyx_L1_error)
+ }
+ __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 18, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_GIVEREF(__pyx_t_1);
+ __Pyx_GOTREF(__pyx_v___pyx_result->try_except_container_obj);
+ __Pyx_DECREF(__pyx_v___pyx_result->try_except_container_obj);
+ __pyx_v___pyx_result->try_except_container_obj = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "(tree fragment)":13
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
+ * __pyx_result.__dict__.update(__pyx_state[19])
+ */
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
+ __PYX_ERR(1, 13, __pyx_L1_error)
+ }
+ __pyx_t_4 = __Pyx_PyTuple_GET_SIZE(__pyx_v___pyx_state); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(1, 13, __pyx_L1_error)
+ __pyx_t_5 = (__pyx_t_4 > 19);
+ if (__pyx_t_5) {
+ } else {
+ __pyx_t_2 = __pyx_t_5;
+ goto __pyx_L4_bool_binop_done;
+ }
+ __pyx_t_5 = __Pyx_HasAttr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error)
+ __pyx_t_2 = __pyx_t_5;
+ __pyx_L4_bool_binop_done:;
+ if (__pyx_t_2) {
+
+ /* "(tree fragment)":14
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
+ * __pyx_result.__dict__.update(__pyx_state[19]) # <<<<<<<<<<<<<<
+ */
+ __pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_update); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 14, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0;
+ if (unlikely(__pyx_v___pyx_state == Py_None)) {
+ PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
+ __PYX_ERR(1, 14, __pyx_L1_error)
+ }
+ __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 19, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_6);
+ __pyx_t_8 = NULL;
+ __pyx_t_9 = 0;
+ #if CYTHON_UNPACK_METHODS
+ if (likely(PyMethod_Check(__pyx_t_7))) {
+ __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_7);
+ if (likely(__pyx_t_8)) {
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7);
+ __Pyx_INCREF(__pyx_t_8);
+ __Pyx_INCREF(function);
+ __Pyx_DECREF_SET(__pyx_t_7, function);
+ __pyx_t_9 = 1;
+ }
+ }
+ #endif
+ {
+ PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_6};
+ __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_9, 1+__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(1, 14, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ }
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+
+ /* "(tree fragment)":13
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
+ * __pyx_result.__dict__.update(__pyx_state[19])
+ */
+ }
+
+ /* "(tree fragment)":11
+ * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * return __pyx_result
+ * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
+ */
+
+ /* 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_6);
+ __Pyx_XDECREF(__pyx_t_7);
+ __Pyx_XDECREF(__pyx_t_8);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle_FuncCodeInfo__set_state", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __pyx_r = 0;
+ __pyx_L0:;
+ __Pyx_XGIVEREF(__pyx_r);
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+/* "(tree fragment)":1
+ * def __pyx_unpickle__CodeLineInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<<
+ * cdef object __pyx_PickleError
+ * cdef object __pyx_result
+ */
+
+/* Python wrapper */
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__CodeLineInfo(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_25__pyx_unpickle__CodeLineInfo = {"__pyx_unpickle__CodeLineInfo", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__CodeLineInfo, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__CodeLineInfo(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
+) {
+ PyObject *__pyx_v___pyx_type = 0;
+ long __pyx_v___pyx_checksum;
+ PyObject *__pyx_v___pyx_state = 0;
+ #if !CYTHON_METH_FASTCALL
+ CYTHON_UNUSED Py_ssize_t __pyx_nargs;
+ #endif
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
+ PyObject* values[3] = {0,0,0};
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ PyObject *__pyx_r = 0;
+ __Pyx_RefNannyDeclarations
+ __Pyx_RefNannySetupContext("__pyx_unpickle__CodeLineInfo (wrapper)", 0);
+ #if !CYTHON_METH_FASTCALL
+ #if CYTHON_ASSUME_SAFE_MACROS
+ __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
+ #else
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
+ #endif
+ #endif
+ __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
+ {
+ PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_type,&__pyx_n_s_pyx_checksum,&__pyx_n_s_pyx_state,0};
+ if (__pyx_kwds) {
+ Py_ssize_t kw_args;
+ switch (__pyx_nargs) {
+ case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2);
+ CYTHON_FALLTHROUGH;
+ case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1);
+ CYTHON_FALLTHROUGH;
+ case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
+ CYTHON_FALLTHROUGH;
+ case 0: break;
+ default: goto __pyx_L5_argtuple_error;
+ }
+ kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds);
+ switch (__pyx_nargs) {
+ case 0:
+ if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_type)) != 0)) {
+ (void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error)
+ else goto __pyx_L5_argtuple_error;
+ CYTHON_FALLTHROUGH;
+ case 1:
+ if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_checksum)) != 0)) {
+ (void)__Pyx_Arg_NewRef_FASTCALL(values[1]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error)
+ else {
+ __Pyx_RaiseArgtupleInvalid("__pyx_unpickle__CodeLineInfo", 1, 3, 3, 1); __PYX_ERR(1, 1, __pyx_L3_error)
+ }
+ CYTHON_FALLTHROUGH;
+ case 2:
+ if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) {
+ (void)__Pyx_Arg_NewRef_FASTCALL(values[2]);
+ kw_args--;
+ }
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error)
+ else {
+ __Pyx_RaiseArgtupleInvalid("__pyx_unpickle__CodeLineInfo", 1, 3, 3, 2); __PYX_ERR(1, 1, __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, "__pyx_unpickle__CodeLineInfo") < 0)) __PYX_ERR(1, 1, __pyx_L3_error)
+ }
+ } else if (unlikely(__pyx_nargs != 3)) {
+ 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);
+ }
+ __pyx_v___pyx_type = values[0];
+ __pyx_v___pyx_checksum = __Pyx_PyInt_As_long(values[1]); if (unlikely((__pyx_v___pyx_checksum == (long)-1) && PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error)
+ __pyx_v___pyx_state = values[2];
+ }
+ goto __pyx_L6_skip;
+ __pyx_L5_argtuple_error:;
+ __Pyx_RaiseArgtupleInvalid("__pyx_unpickle__CodeLineInfo", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error)
+ __pyx_L6_skip:;
+ goto __pyx_L4_argument_unpacking_done;
+ __pyx_L3_error:;
+ {
+ Py_ssize_t __pyx_temp;
+ for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
+ __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]);
+ }
+ }
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle__CodeLineInfo", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_RefNannyFinishContext();
+ return NULL;
+ __pyx_L4_argument_unpacking_done:;
+ __pyx_r = __pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__CodeLineInfo(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state);
+
+ /* function exit code */
+ {
+ Py_ssize_t __pyx_temp;
+ for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
+ __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]);
+ }
+ }
+ __Pyx_RefNannyFinishContext();
+ return __pyx_r;
+}
+
+static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__CodeLineInfo(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;
+ __Pyx_RefNannyDeclarations
+ PyObject *__pyx_t_1 = NULL;
+ int __pyx_t_2;
+ PyObject *__pyx_t_3 = NULL;
+ PyObject *__pyx_t_4 = NULL;
+ unsigned int __pyx_t_5;
+ int __pyx_lineno = 0;
+ const char *__pyx_filename = NULL;
+ int __pyx_clineno = 0;
+ __Pyx_RefNannySetupContext("__pyx_unpickle__CodeLineInfo", 1);
+
+ /* "(tree fragment)":4
+ * cdef object __pyx_PickleError
+ * cdef object __pyx_result
+ * if __pyx_checksum not in (0x5a9bcd5, 0x0267473, 0x3fbbd02): # <<<<<<<<<<<<<<
+ * from pickle import PickleError as __pyx_PickleError
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum
+ */
+ __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__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) {
+
+ /* "(tree fragment)":5
+ * cdef object __pyx_result
+ * if __pyx_checksum not in (0x5a9bcd5, 0x0267473, 0x3fbbd02):
+ * from pickle import PickleError as __pyx_PickleError # <<<<<<<<<<<<<<
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum
+ * __pyx_result = _CodeLineInfo.__new__(__pyx_type)
+ */
+ __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_n_s_PickleError);
+ __Pyx_GIVEREF(__pyx_n_s_PickleError);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_PickleError)) __PYX_ERR(1, 5, __pyx_L1_error);
+ __pyx_t_3 = __Pyx_Import(__pyx_n_s_pickle, __pyx_t_1, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PickleError); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_INCREF(__pyx_t_1);
+ __pyx_v___pyx_PickleError = __pyx_t_1;
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+
+ /* "(tree fragment)":6
+ * if __pyx_checksum not in (0x5a9bcd5, 0x0267473, 0x3fbbd02):
+ * from pickle import PickleError as __pyx_PickleError
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum # <<<<<<<<<<<<<<
+ * __pyx_result = _CodeLineInfo.__new__(__pyx_type)
+ * if __pyx_state is not None:
+ */
+ __pyx_t_3 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __Pyx_Raise(__pyx_v___pyx_PickleError, __pyx_t_1, 0, 0);
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __PYX_ERR(1, 6, __pyx_L1_error)
+
+ /* "(tree fragment)":4
+ * cdef object __pyx_PickleError
+ * cdef object __pyx_result
+ * if __pyx_checksum not in (0x5a9bcd5, 0x0267473, 0x3fbbd02): # <<<<<<<<<<<<<<
+ * from pickle import PickleError as __pyx_PickleError
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum
+ */
+ }
+
+ /* "(tree fragment)":7
+ * from pickle import PickleError as __pyx_PickleError
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum
+ * __pyx_result = _CodeLineInfo.__new__(__pyx_type) # <<<<<<<<<<<<<<
+ * if __pyx_state is not None:
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
+ */
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo), __pyx_n_s_new); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 7, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_4 = NULL;
+ __pyx_t_5 = 0;
+ #if CYTHON_UNPACK_METHODS
+ if (likely(PyMethod_Check(__pyx_t_3))) {
+ __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3);
+ if (likely(__pyx_t_4)) {
+ PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3);
+ __Pyx_INCREF(__pyx_t_4);
+ __Pyx_INCREF(function);
+ __Pyx_DECREF_SET(__pyx_t_3, function);
+ __pyx_t_5 = 1;
+ }
+ }
+ #endif
+ {
+ PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v___pyx_type};
+ __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(1, 7, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_1);
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ }
+ __pyx_v___pyx_result = __pyx_t_1;
+ __pyx_t_1 = 0;
+
+ /* "(tree fragment)":8
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum
+ * __pyx_result = _CodeLineInfo.__new__(__pyx_type)
* if __pyx_state is not None: # <<<<<<<<<<<<<<
- * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
* return __pyx_result
*/
__pyx_t_2 = (__pyx_v___pyx_state != Py_None);
if (__pyx_t_2) {
/* "(tree fragment)":9
- * __pyx_result = FuncCodeInfo.__new__(__pyx_type)
+ * __pyx_result = _CodeLineInfo.__new__(__pyx_type)
* if __pyx_state is not None:
- * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state) # <<<<<<<<<<<<<<
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state) # <<<<<<<<<<<<<<
* return __pyx_result
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state):
*/
if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_v___pyx_state))) __PYX_ERR(1, 9, __pyx_L1_error)
- __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
+ __pyx_t_1 = __pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
/* "(tree fragment)":8
- * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x3f403d2, 0x5f5636f, 0xb44aa80) = (abs_path_filename, always_filtered_out, always_skip_code, bp_line_to_breakpoint, breakpoint_found, canonical_normalized_filename, co_filename, co_name, code_obj, filtered_out_force_checked, function_breakpoint, function_breakpoint_found, plugin_call_breakpoint_found, plugin_call_stepping, plugin_line_breakpoint_found, plugin_line_stepping, plugin_return_stepping, pydb_mtime, try_except_container_obj))" % __pyx_checksum
- * __pyx_result = FuncCodeInfo.__new__(__pyx_type)
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x5a9bcd5, 0x0267473, 0x3fbbd02) = (first_line, last_line, line_to_offset))" % __pyx_checksum
+ * __pyx_result = _CodeLineInfo.__new__(__pyx_type)
* if __pyx_state is not None: # <<<<<<<<<<<<<<
- * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
* return __pyx_result
*/
}
/* "(tree fragment)":10
* if __pyx_state is not None:
- * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
* return __pyx_result # <<<<<<<<<<<<<<
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_v___pyx_result);
@@ -32056,7 +33439,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncC
goto __pyx_L0;
/* "(tree fragment)":1
- * def __pyx_unpickle_FuncCodeInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<<
+ * def __pyx_unpickle__CodeLineInfo(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<<
* cdef object __pyx_PickleError
* cdef object __pyx_result
*/
@@ -32066,7 +33449,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncC
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
- __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle_FuncCodeInfo", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle__CodeLineInfo", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
__pyx_L0:;
__Pyx_XDECREF(__pyx_v___pyx_PickleError);
@@ -32077,14 +33460,14 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_22__pyx_unpickle_FuncC
}
/* "(tree fragment)":11
- * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
* return __pyx_result
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
- * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'):
*/
-static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCodeInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) {
+static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__CodeLineInfo__set_state(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
@@ -32099,14 +33482,14 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
- __Pyx_RefNannySetupContext("__pyx_unpickle_FuncCodeInfo__set_state", 1);
+ __Pyx_RefNannySetupContext("__pyx_unpickle__CodeLineInfo__set_state", 1);
/* "(tree fragment)":12
* return __pyx_result
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18] # <<<<<<<<<<<<<<
- * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
- * __pyx_result.__dict__.update(__pyx_state[19])
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2] # <<<<<<<<<<<<<<
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'):
+ * __pyx_result.__dict__.update(__pyx_state[3])
*/
if (unlikely(__pyx_v___pyx_state == Py_None)) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
@@ -32114,219 +33497,57 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode
}
__pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->abs_path_filename);
- __Pyx_DECREF(__pyx_v___pyx_result->abs_path_filename);
- __pyx_v___pyx_result->abs_path_filename = ((PyObject*)__pyx_t_1);
- __pyx_t_1 = 0;
+ __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
+ __pyx_v___pyx_result->first_line = __pyx_t_2;
if (unlikely(__pyx_v___pyx_state == Py_None)) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 12, __pyx_L1_error)
}
__pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyInt_As_int(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->always_filtered_out = __pyx_t_2;
+ __pyx_v___pyx_result->last_line = __pyx_t_2;
if (unlikely(__pyx_v___pyx_state == Py_None)) {
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 12, __pyx_L1_error)
}
__pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 2, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->always_skip_code = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
if (!(likely(PyDict_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("dict", __pyx_t_1))) __PYX_ERR(1, 12, __pyx_L1_error)
__Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->bp_line_to_breakpoint);
- __Pyx_DECREF(__pyx_v___pyx_result->bp_line_to_breakpoint);
- __pyx_v___pyx_result->bp_line_to_breakpoint = ((PyObject*)__pyx_t_1);
- __pyx_t_1 = 0;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 4, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->breakpoint_found = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 5, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->canonical_normalized_filename);
- __Pyx_DECREF(__pyx_v___pyx_result->canonical_normalized_filename);
- __pyx_v___pyx_result->canonical_normalized_filename = ((PyObject*)__pyx_t_1);
- __pyx_t_1 = 0;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 6, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->co_filename);
- __Pyx_DECREF(__pyx_v___pyx_result->co_filename);
- __pyx_v___pyx_result->co_filename = ((PyObject*)__pyx_t_1);
- __pyx_t_1 = 0;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 7, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->co_name);
- __Pyx_DECREF(__pyx_v___pyx_result->co_name);
- __pyx_v___pyx_result->co_name = ((PyObject*)__pyx_t_1);
- __pyx_t_1 = 0;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 8, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->code_obj);
- __Pyx_DECREF(__pyx_v___pyx_result->code_obj);
- __pyx_v___pyx_result->code_obj = __pyx_t_1;
- __pyx_t_1 = 0;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 9, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->filtered_out_force_checked = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 10, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->function_breakpoint);
- __Pyx_DECREF(__pyx_v___pyx_result->function_breakpoint);
- __pyx_v___pyx_result->function_breakpoint = __pyx_t_1;
- __pyx_t_1 = 0;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 11, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->function_breakpoint_found = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 12, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->plugin_call_breakpoint_found = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 13, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->plugin_call_stepping = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 14, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->plugin_line_breakpoint_found = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 15, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->plugin_line_stepping = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 16, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_2 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->plugin_return_stepping = __pyx_t_2;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 17, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __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(1, 12, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
- __pyx_v___pyx_result->pydb_mtime = __pyx_t_3;
- if (unlikely(__pyx_v___pyx_state == Py_None)) {
- PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
- __PYX_ERR(1, 12, __pyx_L1_error)
- }
- __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 18, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_1);
- __Pyx_GIVEREF(__pyx_t_1);
- __Pyx_GOTREF(__pyx_v___pyx_result->try_except_container_obj);
- __Pyx_DECREF(__pyx_v___pyx_result->try_except_container_obj);
- __pyx_v___pyx_result->try_except_container_obj = __pyx_t_1;
+ __Pyx_GOTREF(__pyx_v___pyx_result->line_to_offset);
+ __Pyx_DECREF(__pyx_v___pyx_result->line_to_offset);
+ __pyx_v___pyx_result->line_to_offset = ((PyObject*)__pyx_t_1);
__pyx_t_1 = 0;
/* "(tree fragment)":13
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
- * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
- * __pyx_result.__dict__.update(__pyx_state[19])
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
+ * __pyx_result.__dict__.update(__pyx_state[3])
*/
if (unlikely(__pyx_v___pyx_state == Py_None)) {
PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
__PYX_ERR(1, 13, __pyx_L1_error)
}
__pyx_t_4 = __Pyx_PyTuple_GET_SIZE(__pyx_v___pyx_state); if (unlikely(__pyx_t_4 == ((Py_ssize_t)-1))) __PYX_ERR(1, 13, __pyx_L1_error)
- __pyx_t_5 = (__pyx_t_4 > 19);
+ __pyx_t_5 = (__pyx_t_4 > 3);
if (__pyx_t_5) {
} else {
- __pyx_t_2 = __pyx_t_5;
+ __pyx_t_3 = __pyx_t_5;
goto __pyx_L4_bool_binop_done;
}
__pyx_t_5 = __Pyx_HasAttr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error)
- __pyx_t_2 = __pyx_t_5;
+ __pyx_t_3 = __pyx_t_5;
__pyx_L4_bool_binop_done:;
- if (__pyx_t_2) {
+ if (__pyx_t_3) {
/* "(tree fragment)":14
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
- * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
- * __pyx_result.__dict__.update(__pyx_state[19]) # <<<<<<<<<<<<<<
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'):
+ * __pyx_result.__dict__.update(__pyx_state[3]) # <<<<<<<<<<<<<<
*/
__pyx_t_6 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
@@ -32337,7 +33558,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode
PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
__PYX_ERR(1, 14, __pyx_L1_error)
}
- __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 19, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
+ __pyx_t_6 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 3, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_6);
__pyx_t_8 = NULL;
__pyx_t_9 = 0;
@@ -32365,19 +33586,19 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
/* "(tree fragment)":13
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state):
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
- * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
- * __pyx_result.__dict__.update(__pyx_state[19])
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state):
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<<
+ * __pyx_result.__dict__.update(__pyx_state[3])
*/
}
/* "(tree fragment)":11
- * __pyx_unpickle_FuncCodeInfo__set_state( __pyx_result, __pyx_state)
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
* return __pyx_result
- * cdef __pyx_unpickle_FuncCodeInfo__set_state(FuncCodeInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
- * __pyx_result.abs_path_filename = __pyx_state[0]; __pyx_result.always_filtered_out = __pyx_state[1]; __pyx_result.always_skip_code = __pyx_state[2]; __pyx_result.bp_line_to_breakpoint = __pyx_state[3]; __pyx_result.breakpoint_found = __pyx_state[4]; __pyx_result.canonical_normalized_filename = __pyx_state[5]; __pyx_result.co_filename = __pyx_state[6]; __pyx_result.co_name = __pyx_state[7]; __pyx_result.code_obj = __pyx_state[8]; __pyx_result.filtered_out_force_checked = __pyx_state[9]; __pyx_result.function_breakpoint = __pyx_state[10]; __pyx_result.function_breakpoint_found = __pyx_state[11]; __pyx_result.plugin_call_breakpoint_found = __pyx_state[12]; __pyx_result.plugin_call_stepping = __pyx_state[13]; __pyx_result.plugin_line_breakpoint_found = __pyx_state[14]; __pyx_result.plugin_line_stepping = __pyx_state[15]; __pyx_result.plugin_return_stepping = __pyx_state[16]; __pyx_result.pydb_mtime = __pyx_state[17]; __pyx_result.try_except_container_obj = __pyx_state[18]
- * if len(__pyx_state) > 19 and hasattr(__pyx_result, '__dict__'):
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'):
*/
/* function exit code */
@@ -32388,7 +33609,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
__Pyx_XDECREF(__pyx_t_8);
- __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle_FuncCodeInfo__set_state", __pyx_clineno, __pyx_lineno, __pyx_filename);
+ __Pyx_AddTraceback("_pydevd_sys_monitoring_cython.__pyx_unpickle__CodeLineInfo__set_state", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
@@ -32403,15 +33624,15 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle_FuncCode
*/
/* Python wrapper */
-static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self,
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_27__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_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,
+static PyMethodDef __pyx_mdef_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__TryExceptContainerObj = {"__pyx_unpickle__TryExceptContainerObj", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__TryExceptContainerObj, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0};
+static PyObject *__pyx_pw_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__TryExceptContainerObj(PyObject *__pyx_self,
#if CYTHON_METH_FASTCALL
PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
#else
@@ -32515,7 +33736,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_24__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_26__pyx_unpickle__TryExceptContainerObj(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state);
/* function exit code */
{
@@ -32528,7 +33749,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
return __pyx_r;
}
-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) {
+static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_26__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;
@@ -32552,7 +33773,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__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__22, 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__23, 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) {
@@ -32587,7 +33808,7 @@ static PyObject *__pyx_pf_29_pydevd_sys_monitoring_cython_24__pyx_unpickle__TryE
*/
__pyx_t_3 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error)
+ __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_Raise(__pyx_v___pyx_PickleError, __pyx_t_1, 0, 0);
@@ -32839,6 +34060,7 @@ static PyObject *__pyx_f_29_pydevd_sys_monitoring_cython___pyx_unpickle__TryExce
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
+static struct __pyx_vtabstruct_29_pydevd_sys_monitoring_cython_ThreadInfo __pyx_vtable_29_pydevd_sys_monitoring_cython_ThreadInfo;
static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *p;
@@ -32855,9 +34077,11 @@ static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_ThreadInfo(PyTypeO
if (unlikely(!o)) return 0;
#endif
p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *)o);
+ p->__pyx_vtab = __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo;
p->additional_info = ((struct __pyx_obj_14_pydevd_bundle_13pydevd_cython_PyDBAdditionalThreadInfo *)Py_None); Py_INCREF(Py_None);
p->thread = Py_None; Py_INCREF(Py_None);
p->trace = Py_None; Py_INCREF(Py_None);
+ p->_use_is_stopped = Py_None; Py_INCREF(Py_None);
return o;
}
@@ -32874,6 +34098,7 @@ static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject
Py_CLEAR(p->additional_info);
Py_CLEAR(p->thread);
Py_CLEAR(p->trace);
+ Py_CLEAR(p->_use_is_stopped);
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
(*Py_TYPE(o)->tp_free)(o);
#else
@@ -32896,6 +34121,9 @@ static int __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject
if (p->trace) {
e = (*v)(p->trace, a); if (e) return e;
}
+ if (p->_use_is_stopped) {
+ e = (*v)(p->_use_is_stopped, a); if (e) return e;
+ }
return 0;
}
@@ -32911,6 +34139,9 @@ static int __pyx_tp_clear_29_pydevd_sys_monitoring_cython_ThreadInfo(PyObject *o
tmp = ((PyObject*)p->trace);
p->trace = Py_None; Py_INCREF(Py_None);
Py_XDECREF(tmp);
+ tmp = ((PyObject*)p->_use_is_stopped);
+ p->_use_is_stopped = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
return 0;
}
@@ -33023,8 +34254,208 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_ThreadInfo = {
};
#endif
-static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
- struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p;
+static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p;
+ PyObject *o;
+ #if CYTHON_COMPILING_IN_LIMITED_API
+ allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc);
+ o = alloc_func(t, 0);
+ #else
+ if (likely(!__Pyx_PyType_HasFeature(t, Py_TPFLAGS_IS_ABSTRACT))) {
+ o = (*t->tp_alloc)(t, 0);
+ } else {
+ o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0);
+ }
+ if (unlikely(!o)) return 0;
+ #endif
+ p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o);
+ p->co_filename = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ p->canonical_normalized_filename = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ p->abs_path_filename = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ p->bp_line_to_breakpoint = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ p->function_breakpoint = Py_None; Py_INCREF(Py_None);
+ p->try_except_container_obj = Py_None; Py_INCREF(Py_None);
+ p->code_obj = Py_None; Py_INCREF(Py_None);
+ p->co_name = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ return o;
+}
+
+static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o) {
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o;
+ #if CYTHON_USE_TP_FINALIZE
+ if (unlikely((PY_VERSION_HEX >= 0x03080000 || __Pyx_PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE)) && __Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
+ if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo) {
+ if (PyObject_CallFinalizerFromDealloc(o)) return;
+ }
+ }
+ #endif
+ PyObject_GC_UnTrack(o);
+ Py_CLEAR(p->co_filename);
+ Py_CLEAR(p->canonical_normalized_filename);
+ Py_CLEAR(p->abs_path_filename);
+ Py_CLEAR(p->bp_line_to_breakpoint);
+ Py_CLEAR(p->function_breakpoint);
+ Py_CLEAR(p->try_except_container_obj);
+ Py_CLEAR(p->code_obj);
+ Py_CLEAR(p->co_name);
+ #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
+ (*Py_TYPE(o)->tp_free)(o);
+ #else
+ {
+ freefunc tp_free = (freefunc)PyType_GetSlot(Py_TYPE(o), Py_tp_free);
+ if (tp_free) tp_free(o);
+ }
+ #endif
+}
+
+static int __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o, visitproc v, void *a) {
+ int e;
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o;
+ if (p->bp_line_to_breakpoint) {
+ e = (*v)(p->bp_line_to_breakpoint, a); if (e) return e;
+ }
+ if (p->function_breakpoint) {
+ e = (*v)(p->function_breakpoint, a); if (e) return e;
+ }
+ if (p->try_except_container_obj) {
+ e = (*v)(p->try_except_container_obj, a); if (e) return e;
+ }
+ if (p->code_obj) {
+ e = (*v)(p->code_obj, a); if (e) return e;
+ }
+ return 0;
+}
+
+static int __pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o) {
+ PyObject* tmp;
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o;
+ tmp = ((PyObject*)p->bp_line_to_breakpoint);
+ p->bp_line_to_breakpoint = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ tmp = ((PyObject*)p->function_breakpoint);
+ p->function_breakpoint = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ tmp = ((PyObject*)p->try_except_container_obj);
+ p->try_except_container_obj = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ tmp = ((PyObject*)p->code_obj);
+ p->code_obj = Py_None; Py_INCREF(Py_None);
+ Py_XDECREF(tmp);
+ return 0;
+}
+
+static PyMethodDef __pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo[] = {
+ {"get_line_of_offset", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
+ {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
+ {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
+ {0, 0, 0, 0}
+};
+#if CYTHON_USE_TYPE_SPECS
+static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_slots[] = {
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
+ {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
+ {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
+ {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
+ {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__},
+ {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
+ {0, 0},
+};
+static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec = {
+ "_pydevd_sys_monitoring_cython.FuncCodeInfo",
+ sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo),
+ 0,
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
+ __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_slots,
+};
+#else
+
+static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = {
+ PyVarObject_HEAD_INIT(0, 0)
+ "_pydevd_sys_monitoring_cython.""FuncCodeInfo", /*tp_name*/
+ sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo), /*tp_basicsize*/
+ 0, /*tp_itemsize*/
+ __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_dealloc*/
+ #if PY_VERSION_HEX < 0x030800b4
+ 0, /*tp_print*/
+ #endif
+ #if PY_VERSION_HEX >= 0x030800b4
+ 0, /*tp_vectorcall_offset*/
+ #endif
+ 0, /*tp_getattr*/
+ 0, /*tp_setattr*/
+ #if PY_MAJOR_VERSION < 3
+ 0, /*tp_compare*/
+ #endif
+ #if PY_MAJOR_VERSION >= 3
+ 0, /*tp_as_async*/
+ #endif
+ 0, /*tp_repr*/
+ 0, /*tp_as_number*/
+ 0, /*tp_as_sequence*/
+ 0, /*tp_as_mapping*/
+ 0, /*tp_hash*/
+ 0, /*tp_call*/
+ 0, /*tp_str*/
+ 0, /*tp_getattro*/
+ 0, /*tp_setattro*/
+ 0, /*tp_as_buffer*/
+ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
+ 0, /*tp_doc*/
+ __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_traverse*/
+ __pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_clear*/
+ 0, /*tp_richcompare*/
+ 0, /*tp_weaklistoffset*/
+ 0, /*tp_iter*/
+ 0, /*tp_iternext*/
+ __pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_methods*/
+ 0, /*tp_members*/
+ 0, /*tp_getset*/
+ 0, /*tp_base*/
+ 0, /*tp_dict*/
+ 0, /*tp_descr_get*/
+ 0, /*tp_descr_set*/
+ #if !CYTHON_USE_TYPE_SPECS
+ 0, /*tp_dictoffset*/
+ #endif
+ __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__, /*tp_init*/
+ 0, /*tp_alloc*/
+ __pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_new*/
+ 0, /*tp_free*/
+ 0, /*tp_is_gc*/
+ 0, /*tp_bases*/
+ 0, /*tp_mro*/
+ 0, /*tp_cache*/
+ 0, /*tp_subclasses*/
+ 0, /*tp_weaklist*/
+ 0, /*tp_del*/
+ 0, /*tp_version_tag*/
+ #if PY_VERSION_HEX >= 0x030400a1
+ #if CYTHON_USE_TP_FINALIZE
+ 0, /*tp_finalize*/
+ #else
+ NULL, /*tp_finalize*/
+ #endif
+ #endif
+ #if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800)
+ 0, /*tp_vectorcall*/
+ #endif
+ #if __PYX_NEED_TP_PRINT_SLOT == 1
+ 0, /*tp_print*/
+ #endif
+ #if PY_VERSION_HEX >= 0x030C0000
+ 0, /*tp_watched*/
+ #endif
+ #if PY_VERSION_HEX >= 0x030d00A4
+ 0, /*tp_versions_used*/
+ #endif
+ #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000
+ 0, /*tp_pypy_flags*/
+ #endif
+};
+#endif
+
+static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) {
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p;
PyObject *o;
#if CYTHON_COMPILING_IN_LIMITED_API
allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc);
@@ -33037,36 +34468,22 @@ static PyObject *__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyTyp
}
if (unlikely(!o)) return 0;
#endif
- p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o);
- p->co_filename = ((PyObject*)Py_None); Py_INCREF(Py_None);
- p->canonical_normalized_filename = ((PyObject*)Py_None); Py_INCREF(Py_None);
- p->abs_path_filename = ((PyObject*)Py_None); Py_INCREF(Py_None);
- p->bp_line_to_breakpoint = ((PyObject*)Py_None); Py_INCREF(Py_None);
- p->function_breakpoint = Py_None; Py_INCREF(Py_None);
- p->try_except_container_obj = Py_None; Py_INCREF(Py_None);
- p->code_obj = Py_None; Py_INCREF(Py_None);
- p->co_name = ((PyObject*)Py_None); Py_INCREF(Py_None);
+ p = ((struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o);
+ p->line_to_offset = ((PyObject*)Py_None); Py_INCREF(Py_None);
return o;
}
-static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o) {
- struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o;
+static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o) {
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o;
#if CYTHON_USE_TP_FINALIZE
if (unlikely((PY_VERSION_HEX >= 0x03080000 || __Pyx_PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE)) && __Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) {
- if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo) {
+ if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython__CodeLineInfo) {
if (PyObject_CallFinalizerFromDealloc(o)) return;
}
}
#endif
PyObject_GC_UnTrack(o);
- Py_CLEAR(p->co_filename);
- Py_CLEAR(p->canonical_normalized_filename);
- Py_CLEAR(p->abs_path_filename);
- Py_CLEAR(p->bp_line_to_breakpoint);
- Py_CLEAR(p->function_breakpoint);
- Py_CLEAR(p->try_except_container_obj);
- Py_CLEAR(p->code_obj);
- Py_CLEAR(p->co_name);
+ Py_CLEAR(p->line_to_offset);
#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY
(*Py_TYPE(o)->tp_free)(o);
#else
@@ -33077,73 +34494,54 @@ static void __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObje
#endif
}
-static int __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o, visitproc v, void *a) {
+static int __pyx_tp_traverse_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o, visitproc v, void *a) {
int e;
- struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o;
- if (p->bp_line_to_breakpoint) {
- e = (*v)(p->bp_line_to_breakpoint, a); if (e) return e;
- }
- if (p->function_breakpoint) {
- e = (*v)(p->function_breakpoint, a); if (e) return e;
- }
- if (p->try_except_container_obj) {
- e = (*v)(p->try_except_container_obj, a); if (e) return e;
- }
- if (p->code_obj) {
- e = (*v)(p->code_obj, a); if (e) return e;
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o;
+ if (p->line_to_offset) {
+ e = (*v)(p->line_to_offset, a); if (e) return e;
}
return 0;
}
-static int __pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo(PyObject *o) {
+static int __pyx_tp_clear_29_pydevd_sys_monitoring_cython__CodeLineInfo(PyObject *o) {
PyObject* tmp;
- struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo *)o;
- tmp = ((PyObject*)p->bp_line_to_breakpoint);
- p->bp_line_to_breakpoint = ((PyObject*)Py_None); Py_INCREF(Py_None);
- Py_XDECREF(tmp);
- tmp = ((PyObject*)p->function_breakpoint);
- p->function_breakpoint = Py_None; Py_INCREF(Py_None);
- Py_XDECREF(tmp);
- tmp = ((PyObject*)p->try_except_container_obj);
- p->try_except_container_obj = Py_None; Py_INCREF(Py_None);
- Py_XDECREF(tmp);
- tmp = ((PyObject*)p->code_obj);
- p->code_obj = Py_None; Py_INCREF(Py_None);
+ struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *p = (struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo *)o;
+ tmp = ((PyObject*)p->line_to_offset);
+ p->line_to_offset = ((PyObject*)Py_None); Py_INCREF(Py_None);
Py_XDECREF(tmp);
return 0;
}
-static PyMethodDef __pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo[] = {
- {"get_line_of_offset", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_3get_line_of_offset, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
- {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_5__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
- {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_7__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
+static PyMethodDef __pyx_methods_29_pydevd_sys_monitoring_cython__CodeLineInfo[] = {
+ {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
+ {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0},
{0, 0, 0, 0}
};
#if CYTHON_USE_TYPE_SPECS
-static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_slots[] = {
- {Py_tp_dealloc, (void *)__pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
- {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
- {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
- {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
- {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__},
- {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo},
+static PyType_Slot __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_slots[] = {
+ {Py_tp_dealloc, (void *)__pyx_tp_dealloc_29_pydevd_sys_monitoring_cython__CodeLineInfo},
+ {Py_tp_traverse, (void *)__pyx_tp_traverse_29_pydevd_sys_monitoring_cython__CodeLineInfo},
+ {Py_tp_clear, (void *)__pyx_tp_clear_29_pydevd_sys_monitoring_cython__CodeLineInfo},
+ {Py_tp_methods, (void *)__pyx_methods_29_pydevd_sys_monitoring_cython__CodeLineInfo},
+ {Py_tp_init, (void *)__pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__},
+ {Py_tp_new, (void *)__pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo},
{0, 0},
};
-static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_spec = {
- "_pydevd_sys_monitoring_cython.FuncCodeInfo",
- sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo),
+static PyType_Spec __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec = {
+ "_pydevd_sys_monitoring_cython._CodeLineInfo",
+ sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo),
0,
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC,
- __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo_slots,
+ __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_slots,
};
#else
-static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = {
+static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo = {
PyVarObject_HEAD_INIT(0, 0)
- "_pydevd_sys_monitoring_cython.""FuncCodeInfo", /*tp_name*/
- sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython_FuncCodeInfo), /*tp_basicsize*/
+ "_pydevd_sys_monitoring_cython.""_CodeLineInfo", /*tp_name*/
+ sizeof(struct __pyx_obj_29_pydevd_sys_monitoring_cython__CodeLineInfo), /*tp_basicsize*/
0, /*tp_itemsize*/
- __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_dealloc*/
+ __pyx_tp_dealloc_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_dealloc*/
#if PY_VERSION_HEX < 0x030800b4
0, /*tp_print*/
#endif
@@ -33170,13 +34568,13 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = {
0, /*tp_as_buffer*/
Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/
0, /*tp_doc*/
- __pyx_tp_traverse_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_traverse*/
- __pyx_tp_clear_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_clear*/
+ __pyx_tp_traverse_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_traverse*/
+ __pyx_tp_clear_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_clear*/
0, /*tp_richcompare*/
0, /*tp_weaklistoffset*/
0, /*tp_iter*/
0, /*tp_iternext*/
- __pyx_methods_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_methods*/
+ __pyx_methods_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_methods*/
0, /*tp_members*/
0, /*tp_getset*/
0, /*tp_base*/
@@ -33186,9 +34584,9 @@ static PyTypeObject __pyx_type_29_pydevd_sys_monitoring_cython_FuncCodeInfo = {
#if !CYTHON_USE_TYPE_SPECS
0, /*tp_dictoffset*/
#endif
- __pyx_pw_29_pydevd_sys_monitoring_cython_12FuncCodeInfo_1__init__, /*tp_init*/
+ __pyx_pw_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_1__init__, /*tp_init*/
0, /*tp_alloc*/
- __pyx_tp_new_29_pydevd_sys_monitoring_cython_FuncCodeInfo, /*tp_new*/
+ __pyx_tp_new_29_pydevd_sys_monitoring_cython__CodeLineInfo, /*tp_new*/
0, /*tp_free*/
0, /*tp_is_gc*/
0, /*tp_bases*/
@@ -34172,6 +35570,8 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_CMD_STEP_RETURN, __pyx_k_CMD_STEP_RETURN, sizeof(__pyx_k_CMD_STEP_RETURN), 0, 0, 1, 1},
{&__pyx_n_s_CMD_STEP_RETURN_MY_CODE, __pyx_k_CMD_STEP_RETURN_MY_CODE, sizeof(__pyx_k_CMD_STEP_RETURN_MY_CODE), 0, 0, 1, 1},
{&__pyx_n_s_CodeLineInfo, __pyx_k_CodeLineInfo, sizeof(__pyx_k_CodeLineInfo), 0, 0, 1, 1},
+ {&__pyx_n_s_CodeLineInfo___reduce_cython, __pyx_k_CodeLineInfo___reduce_cython, sizeof(__pyx_k_CodeLineInfo___reduce_cython), 0, 0, 1, 1},
+ {&__pyx_n_s_CodeLineInfo___setstate_cython, __pyx_k_CodeLineInfo___setstate_cython, sizeof(__pyx_k_CodeLineInfo___setstate_cython), 0, 0, 1, 1},
{&__pyx_n_s_CodeType, __pyx_k_CodeType, sizeof(__pyx_k_CodeType), 0, 0, 1, 1},
{&__pyx_n_s_DEBUGGER_ID, __pyx_k_DEBUGGER_ID, sizeof(__pyx_k_DEBUGGER_ID), 0, 0, 1, 1},
{&__pyx_n_s_DEBUG_START, __pyx_k_DEBUG_START, sizeof(__pyx_k_DEBUG_START), 0, 0, 1, 1},
@@ -34193,11 +35593,13 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_GlobalDebuggerHolder, __pyx_k_GlobalDebuggerHolder, sizeof(__pyx_k_GlobalDebuggerHolder), 0, 0, 1, 1},
{&__pyx_kp_s_Helper_class_to_remove_a_dummy, __pyx_k_Helper_class_to_remove_a_dummy, sizeof(__pyx_k_Helper_class_to_remove_a_dummy), 0, 0, 1, 0},
{&__pyx_n_s_IGNORE_EXCEPTION_TAG, __pyx_k_IGNORE_EXCEPTION_TAG, sizeof(__pyx_k_IGNORE_EXCEPTION_TAG), 0, 0, 1, 1},
+ {&__pyx_n_s_IS_PY313_OR_GREATER, __pyx_k_IS_PY313_OR_GREATER, sizeof(__pyx_k_IS_PY313_OR_GREATER), 0, 0, 1, 1},
{&__pyx_kp_s_IgnoreException, __pyx_k_IgnoreException, sizeof(__pyx_k_IgnoreException), 0, 0, 1, 0},
{&__pyx_n_s_ImportError, __pyx_k_ImportError, sizeof(__pyx_k_ImportError), 0, 0, 1, 1},
{&__pyx_kp_s_Incompatible_checksums_0x_x_vs_0, __pyx_k_Incompatible_checksums_0x_x_vs_0, sizeof(__pyx_k_Incompatible_checksums_0x_x_vs_0), 0, 0, 1, 0},
{&__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_2, __pyx_k_Incompatible_checksums_0x_x_vs_0_2, sizeof(__pyx_k_Incompatible_checksums_0x_x_vs_0_2), 0, 0, 1, 0},
{&__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_3, __pyx_k_Incompatible_checksums_0x_x_vs_0_3, sizeof(__pyx_k_Incompatible_checksums_0x_x_vs_0_3), 0, 0, 1, 0},
+ {&__pyx_kp_s_Incompatible_checksums_0x_x_vs_0_4, __pyx_k_Incompatible_checksums_0x_x_vs_0_4, sizeof(__pyx_k_Incompatible_checksums_0x_x_vs_0_4), 0, 0, 1, 0},
{&__pyx_n_s_JUMP, __pyx_k_JUMP, sizeof(__pyx_k_JUMP), 0, 0, 1, 1},
{&__pyx_n_s_LINE, __pyx_k_LINE, sizeof(__pyx_k_LINE), 0, 0, 1, 1},
{&__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER, __pyx_k_NORM_PATHS_AND_BASE_CONTAINER, sizeof(__pyx_k_NORM_PATHS_AND_BASE_CONTAINER), 0, 0, 1, 1},
@@ -34206,7 +35608,6 @@ 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},
@@ -34235,7 +35636,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__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__24, __pyx_k__24, sizeof(__pyx_k__24), 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},
@@ -34313,6 +35714,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_f_unhandled_frame, __pyx_k_f_unhandled_frame, sizeof(__pyx_k_f_unhandled_frame), 0, 0, 1, 1},
{&__pyx_n_s_file_to_line_to_breakpoints, __pyx_k_file_to_line_to_breakpoints, sizeof(__pyx_k_file_to_line_to_breakpoints), 0, 0, 1, 1},
{&__pyx_n_s_findlinestarts, __pyx_k_findlinestarts, sizeof(__pyx_k_findlinestarts), 0, 0, 1, 1},
+ {&__pyx_n_s_first_line, __pyx_k_first_line, sizeof(__pyx_k_first_line), 0, 0, 1, 1},
{&__pyx_n_s_frame, __pyx_k_frame, sizeof(__pyx_k_frame), 0, 0, 1, 1},
{&__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},
@@ -34339,6 +35741,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_global_dbg, __pyx_k_global_dbg, sizeof(__pyx_k_global_dbg), 0, 0, 1, 1},
{&__pyx_n_s_global_notify_skipped_step_in, __pyx_k_global_notify_skipped_step_in, sizeof(__pyx_k_global_notify_skipped_step_in), 0, 0, 1, 1},
{&__pyx_n_s_global_notify_skipped_step_in_l, __pyx_k_global_notify_skipped_step_in_l, sizeof(__pyx_k_global_notify_skipped_step_in_l), 0, 0, 1, 1},
+ {&__pyx_n_s_handle, __pyx_k_handle, sizeof(__pyx_k_handle), 0, 0, 1, 1},
{&__pyx_n_s_handle_breakpoint_condition, __pyx_k_handle_breakpoint_condition, sizeof(__pyx_k_handle_breakpoint_condition), 0, 0, 1, 1},
{&__pyx_n_s_handle_breakpoint_expression, __pyx_k_handle_breakpoint_expression, sizeof(__pyx_k_handle_breakpoint_expression), 0, 0, 1, 1},
{&__pyx_n_s_handle_exception, __pyx_k_handle_exception, sizeof(__pyx_k_handle_exception), 0, 0, 1, 1},
@@ -34357,20 +35760,21 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_is_alive, __pyx_k_is_alive, sizeof(__pyx_k_is_alive), 0, 0, 1, 1},
{&__pyx_n_s_is_bootstrap_frame_internal, __pyx_k_is_bootstrap_frame_internal, sizeof(__pyx_k_is_bootstrap_frame_internal), 0, 0, 1, 1},
{&__pyx_n_s_is_coroutine, __pyx_k_is_coroutine, sizeof(__pyx_k_is_coroutine), 0, 0, 1, 1},
+ {&__pyx_n_s_is_done, __pyx_k_is_done, sizeof(__pyx_k_is_done), 0, 0, 1, 1},
{&__pyx_n_s_is_files_filter_enabled, __pyx_k_is_files_filter_enabled, sizeof(__pyx_k_is_files_filter_enabled), 0, 0, 1, 1},
{&__pyx_n_s_is_logpoint, __pyx_k_is_logpoint, sizeof(__pyx_k_is_logpoint), 0, 0, 1, 1},
{&__pyx_n_s_is_pydev_daemon_thread, __pyx_k_is_pydev_daemon_thread, sizeof(__pyx_k_is_pydev_daemon_thread), 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_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},
+ {&__pyx_n_s_last_line, __pyx_k_last_line, sizeof(__pyx_k_last_line), 0, 0, 1, 1},
{&__pyx_n_s_line, __pyx_k_line, sizeof(__pyx_k_line), 0, 0, 1, 1},
{&__pyx_n_s_line_to_breakpoints, __pyx_k_line_to_breakpoints, sizeof(__pyx_k_line_to_breakpoints), 0, 0, 1, 1},
{&__pyx_n_s_line_to_offset, __pyx_k_line_to_offset, sizeof(__pyx_k_line_to_offset), 0, 0, 1, 1},
- {&__pyx_kp_s_line_to_offset_first_line_last_l, __pyx_k_line_to_offset_first_line_last_l, sizeof(__pyx_k_line_to_offset_first_line_last_l), 0, 0, 1, 0},
{&__pyx_n_s_linesep, __pyx_k_linesep, sizeof(__pyx_k_linesep), 0, 0, 1, 1},
{&__pyx_n_s_local, __pyx_k_local, sizeof(__pyx_k_local), 0, 0, 1, 1},
{&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1},
@@ -34401,7 +35805,6 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_pydb_disposed, __pyx_k_pydb_disposed, sizeof(__pyx_k_pydb_disposed), 0, 0, 1, 1},
{&__pyx_n_s_pydev_bundle, __pyx_k_pydev_bundle, sizeof(__pyx_k_pydev_bundle), 0, 0, 1, 1},
{&__pyx_n_s_pydev_bundle__pydev_saved_modul, __pyx_k_pydev_bundle__pydev_saved_modul, sizeof(__pyx_k_pydev_bundle__pydev_saved_modul), 0, 0, 1, 1},
- {&__pyx_n_s_pydev_bundle_pydev_is_thread_al, __pyx_k_pydev_bundle_pydev_is_thread_al, sizeof(__pyx_k_pydev_bundle_pydev_is_thread_al), 0, 0, 1, 1},
{&__pyx_n_s_pydev_do_not_trace, __pyx_k_pydev_do_not_trace, sizeof(__pyx_k_pydev_do_not_trace), 0, 0, 1, 1},
{&__pyx_kp_s_pydev_execfile_py, __pyx_k_pydev_execfile_py, sizeof(__pyx_k_pydev_execfile_py), 0, 0, 1, 0},
{&__pyx_n_s_pydev_log, __pyx_k_pydev_log, sizeof(__pyx_k_pydev_log), 0, 0, 1, 1},
@@ -34413,7 +35816,6 @@ 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},
@@ -34432,6 +35834,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
{&__pyx_n_s_pyx_type, __pyx_k_pyx_type, sizeof(__pyx_k_pyx_type), 0, 0, 1, 1},
{&__pyx_n_s_pyx_unpickle_FuncCodeInfo, __pyx_k_pyx_unpickle_FuncCodeInfo, sizeof(__pyx_k_pyx_unpickle_FuncCodeInfo), 0, 0, 1, 1},
{&__pyx_n_s_pyx_unpickle_ThreadInfo, __pyx_k_pyx_unpickle_ThreadInfo, sizeof(__pyx_k_pyx_unpickle_ThreadInfo), 0, 0, 1, 1},
+ {&__pyx_n_s_pyx_unpickle__CodeLineInfo, __pyx_k_pyx_unpickle__CodeLineInfo, sizeof(__pyx_k_pyx_unpickle__CodeLineInfo), 0, 0, 1, 1},
{&__pyx_n_s_pyx_unpickle__TryExceptContain, __pyx_k_pyx_unpickle__TryExceptContain, sizeof(__pyx_k_pyx_unpickle__TryExceptContain), 0, 0, 1, 1},
{&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
{&__pyx_n_s_qualname, __pyx_k_qualname, sizeof(__pyx_k_qualname), 0, 0, 1, 1},
@@ -34511,10 +35914,10 @@ 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, 55, __pyx_L1_error)
- __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 193, __pyx_L1_error)
- __pyx_builtin_min = __Pyx_GetBuiltinName(__pyx_n_s_min); if (!__pyx_builtin_min) __PYX_ERR(0, 470, __pyx_L1_error)
- __pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_n_s_max); if (!__pyx_builtin_max) __PYX_ERR(0, 471, __pyx_L1_error)
- __pyx_builtin_AssertionError = __Pyx_GetBuiltinName(__pyx_n_s_AssertionError); if (!__pyx_builtin_AssertionError) __PYX_ERR(0, 559, __pyx_L1_error)
+ __pyx_builtin_AttributeError = __Pyx_GetBuiltinName(__pyx_n_s_AttributeError); if (!__pyx_builtin_AttributeError) __PYX_ERR(0, 191, __pyx_L1_error)
+ __pyx_builtin_min = __Pyx_GetBuiltinName(__pyx_n_s_min); if (!__pyx_builtin_min) __PYX_ERR(0, 509, __pyx_L1_error)
+ __pyx_builtin_max = __Pyx_GetBuiltinName(__pyx_n_s_max); if (!__pyx_builtin_max) __PYX_ERR(0, 510, __pyx_L1_error)
+ __pyx_builtin_AssertionError = __Pyx_GetBuiltinName(__pyx_n_s_AssertionError); if (!__pyx_builtin_AssertionError) __PYX_ERR(0, 598, __pyx_L1_error)
return 0;
__pyx_L1_error:;
return -1;
@@ -34553,77 +35956,80 @@ 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":103
+ /* "_pydevd_sys_monitoring_cython.pyx":101
* 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, 103, __pyx_L1_error)
+ __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_GOTREF(__pyx_tuple__11);
__Pyx_GIVEREF(__pyx_tuple__11);
- /* "_pydevd_sys_monitoring_cython.pyx":146
+ /* "_pydevd_sys_monitoring_cython.pyx":144
* 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, 146, __pyx_L1_error)
+ __pyx_tuple__12 = PyTuple_Pack(2, Py_None, Py_False); if (unlikely(!__pyx_tuple__12)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_tuple__12);
__Pyx_GIVEREF(__pyx_tuple__12);
- /* "_pydevd_sys_monitoring_cython.pyx":193
+ /* "_pydevd_sys_monitoring_cython.pyx":191
* del _thread_local_info.f_unhandled_frame
* del _thread_local_info.f_unhandled_exc
* raise AttributeError('Not the same exception') # <<<<<<<<<<<<<<
* except:
* f_unhandled = _getframe(depth)
*/
- __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_s_Not_the_same_exception); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 193, __pyx_L1_error)
+ __pyx_tuple__13 = PyTuple_Pack(1, __pyx_kp_s_Not_the_same_exception); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 191, __pyx_L1_error)
__Pyx_GOTREF(__pyx_tuple__13);
__Pyx_GIVEREF(__pyx_tuple__13);
- /* "_pydevd_sys_monitoring_cython.pyx":217
+ /* "_pydevd_sys_monitoring_cython.pyx":215
*
* elif name == "pydevd_runpy":
* if f_back.f_code.co_name.startswith(("run", "_run")): # <<<<<<<<<<<<<<
* break
*
*/
- __pyx_tuple__14 = PyTuple_Pack(2, __pyx_n_s_run, __pyx_n_s_run_2); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(0, 217, __pyx_L1_error)
+ __pyx_tuple__14 = PyTuple_Pack(2, __pyx_n_s_run, __pyx_n_s_run_2); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(0, 215, __pyx_L1_error)
__Pyx_GOTREF(__pyx_tuple__14);
__Pyx_GIVEREF(__pyx_tuple__14);
- /* "_pydevd_sys_monitoring_cython.pyx":1521
+ /* "_pydevd_sys_monitoring_cython.pyx":1560
* filename = frame.f_code.co_filename
* if filename.endswith(".pyc"):
* filename = filename[:-1] # <<<<<<<<<<<<<<
*
* if not filename.endswith(PYDEVD_IPYTHON_CONTEXT[0]):
*/
- __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_slice__17 = PySlice_New(Py_None, __pyx_int_neg_1, Py_None); if (unlikely(!__pyx_slice__17)) __PYX_ERR(0, 1560, __pyx_L1_error)
__Pyx_GOTREF(__pyx_slice__17);
__Pyx_GIVEREF(__pyx_slice__17);
/* "(tree fragment)":4
* cdef object __pyx_PickleError
* cdef object __pyx_result
- * if __pyx_checksum not in (0xd625bfa, 0xfdc1f18, 0x57c379d): # <<<<<<<<<<<<<<
+ * if __pyx_checksum not in (0x4dea5f4, 0x3d65484, 0xf9220dc): # <<<<<<<<<<<<<<
* 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
+ * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x4dea5f4, 0x3d65484, 0xf9220dc) = (_use_is_stopped, additional_info, thread, thread_ident, trace))" % __pyx_checksum
*/
- __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_tuple__19 = PyTuple_Pack(3, __pyx_int_81700340, __pyx_int_64377988, __pyx_int_261234908); 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_tuple__22 = PyTuple_Pack(3, __pyx_int_95010005, __pyx_int_2520179, __pyx_int_66829570); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(1, 4, __pyx_L1_error)
__Pyx_GOTREF(__pyx_tuple__22);
__Pyx_GIVEREF(__pyx_tuple__22);
+ __pyx_tuple__23 = PyTuple_Pack(3, __pyx_int_230645316, __pyx_int_232881363, __pyx_int_210464433); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(1, 4, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__23);
+ __Pyx_GIVEREF(__pyx_tuple__23);
/* "_pydevd_sys_monitoring_cython.pyx":57
* except ImportError:
@@ -34632,107 +36038,107 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
* return None
*
*/
- __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)
+ __pyx_tuple__25 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(0, 57, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__25);
+ __Pyx_GIVEREF(__pyx_tuple__25);
+ __pyx_codeobj__26 = (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__25, __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__26)) __PYX_ERR(0, 57, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":85
+ /* "_pydevd_sys_monitoring_cython.pyx":83
* STATE_SUSPEND: int = 2
*
* IGNORE_EXCEPTION_TAG = re.compile("[^#]*#.*@IgnoreException") # <<<<<<<<<<<<<<
* DEBUG_START = ("pydevd.py", "run")
* DEBUG_START_PY3K = ("_pydev_execfile.py", "execfile")
*/
- __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);
+ __pyx_tuple__27 = PyTuple_Pack(1, __pyx_kp_s_IgnoreException); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(0, 83, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__27);
+ __Pyx_GIVEREF(__pyx_tuple__27);
- /* "_pydevd_sys_monitoring_cython.pyx":86
+ /* "_pydevd_sys_monitoring_cython.pyx":84
*
* 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_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);
+ __pyx_tuple__28 = PyTuple_Pack(2, __pyx_kp_s_pydevd_py, __pyx_n_s_run); if (unlikely(!__pyx_tuple__28)) __PYX_ERR(0, 84, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__28);
+ __Pyx_GIVEREF(__pyx_tuple__28);
- /* "_pydevd_sys_monitoring_cython.pyx":87
+ /* "_pydevd_sys_monitoring_cython.pyx":85
* 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__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);
+ __pyx_tuple__29 = PyTuple_Pack(2, __pyx_kp_s_pydev_execfile_py, __pyx_n_s_execfile); if (unlikely(!__pyx_tuple__29)) __PYX_ERR(0, 85, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__29);
+ __Pyx_GIVEREF(__pyx_tuple__29);
/* "(tree fragment)":1
* def __reduce_cython__(self): # <<<<<<<<<<<<<<
* cdef tuple state
* cdef object _dict
*/
- __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)
+ __pyx_tuple__30 = 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__30)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__30);
+ __Pyx_GIVEREF(__pyx_tuple__30);
+ __pyx_codeobj__31 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 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_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__31)) __PYX_ERR(1, 1, __pyx_L1_error)
/* "(tree fragment)":16
* else:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state)
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state)
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
* __pyx_unpickle_ThreadInfo__set_state(self, __pyx_state)
*/
- __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)
+ __pyx_tuple__32 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_pyx_state); if (unlikely(!__pyx_tuple__32)) __PYX_ERR(1, 16, __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_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__33)) __PYX_ERR(1, 16, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":272
+ /* "_pydevd_sys_monitoring_cython.pyx":284
* """
*
* def __init__(self, dummy_thread): # <<<<<<<<<<<<<<
* self._dummy_thread = dummy_thread
* self._tident = dummy_thread.ident
*/
- __pyx_tuple__33 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_dummy_thread); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 272, __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, 272, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(0, 272, __pyx_L1_error)
+ __pyx_tuple__34 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_dummy_thread); if (unlikely(!__pyx_tuple__34)) __PYX_ERR(0, 284, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__34);
+ __Pyx_GIVEREF(__pyx_tuple__34);
+ __pyx_codeobj__35 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 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_init, 284, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__35)) __PYX_ERR(0, 284, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":283
+ /* "_pydevd_sys_monitoring_cython.pyx":295
* _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__35 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(0, 283, __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, 283, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__36)) __PYX_ERR(0, 283, __pyx_L1_error)
+ __pyx_tuple__36 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(0, 295, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__36);
+ __Pyx_GIVEREF(__pyx_tuple__36);
+ __pyx_codeobj__37 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 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_del, 295, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__37)) __PYX_ERR(0, 295, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":413
+ /* "_pydevd_sys_monitoring_cython.pyx":425
* 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:
+ * if start is not None and end is not None and line is not None:
*/
- __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, 413, __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, 413, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__38)) __PYX_ERR(0, 413, __pyx_L1_error)
+ __pyx_tuple__38 = 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__38)) __PYX_ERR(0, 425, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__38);
+ __Pyx_GIVEREF(__pyx_tuple__38);
+ __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__38, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_get_line_of_offset, 425, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(0, 425, __pyx_L1_error)
/* "(tree fragment)":1
* def __reduce_cython__(self): # <<<<<<<<<<<<<<
* cdef tuple state
* cdef object _dict
*/
- __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)
+ __pyx_codeobj__40 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 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_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__40)) __PYX_ERR(1, 1, __pyx_L1_error)
/* "(tree fragment)":16
* else:
@@ -34740,61 +36146,65 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
* __pyx_unpickle_FuncCodeInfo__set_state(self, __pyx_state)
*/
- __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)
+ __pyx_codeobj__41 = (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_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(1, 16, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":447
- *
- *
- * _CodeLineInfo = namedtuple("_CodeLineInfo", "line_to_offset, first_line, last_line") # <<<<<<<<<<<<<<
- *
- *
+ /* "(tree fragment)":1
+ * def __reduce_cython__(self): # <<<<<<<<<<<<<<
+ * cdef tuple state
+ * cdef object _dict
+ */
+ __pyx_codeobj__42 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 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_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__42)) __PYX_ERR(1, 1, __pyx_L1_error)
+
+ /* "(tree fragment)":16
+ * else:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state)
+ * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state)
*/
- __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, 447, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_tuple__41);
- __Pyx_GIVEREF(__pyx_tuple__41);
+ __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__32, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(1, 16, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":482
+ /* "_pydevd_sys_monitoring_cython.pyx":521
* # 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__42 = PyTuple_Pack(2, __pyx_n_s_code_obj, __pyx_n_s_frame_or_depth); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(0, 482, __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, 482, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(0, 482, __pyx_L1_error)
+ __pyx_tuple__44 = PyTuple_Pack(2, __pyx_n_s_code_obj, __pyx_n_s_frame_or_depth); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(0, 521, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__44);
+ __Pyx_GIVEREF(__pyx_tuple__44);
+ __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 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_get_func_code_info, 521, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 521, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":676
+ /* "_pydevd_sys_monitoring_cython.pyx":715
* # 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__44 = PyTuple_Pack(1, __pyx_n_s_code); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(0, 676, __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, 676, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 676, __pyx_L1_error)
+ __pyx_tuple__46 = PyTuple_Pack(1, __pyx_n_s_code); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(0, 715, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__46);
+ __Pyx_GIVEREF(__pyx_tuple__46);
+ __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 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_disable_code_tracing, 715, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 715, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":687
+ /* "_pydevd_sys_monitoring_cython.pyx":726
* # 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__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, 687, __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, 687, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 687, __pyx_L1_error)
+ __pyx_tuple__48 = PyTuple_Pack(3, __pyx_n_s_thread_ident, __pyx_n_s_code, __pyx_n_s_frame); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(0, 726, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__48);
+ __Pyx_GIVEREF(__pyx_tuple__48);
+ __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_enable_code_tracing, 726, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(0, 726, __pyx_L1_error)
/* "(tree fragment)":1
* def __reduce_cython__(self): # <<<<<<<<<<<<<<
* cdef tuple state
* cdef object _dict
*/
- __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)
+ __pyx_codeobj__50 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 4, 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_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__50)) __PYX_ERR(1, 1, __pyx_L1_error)
/* "(tree fragment)":16
* else:
@@ -34802,91 +36212,92 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
* def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
* __pyx_unpickle__TryExceptContainerObj__set_state(self, __pyx_state)
*/
- __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)
+ __pyx_codeobj__51 = (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_stringsource, __pyx_n_s_setstate_cython, 16, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__51)) __PYX_ERR(1, 16, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":1708
+ /* "_pydevd_sys_monitoring_cython.pyx":1747
* # 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)
+ __pyx_codeobj__52 = (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, 1747, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__52)) __PYX_ERR(0, 1747, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":1722
+ /* "_pydevd_sys_monitoring_cython.pyx":1761
* # 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__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_tuple__53 = PyTuple_Pack(1, __pyx_n_s_all_threads); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(0, 1761, __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__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_start_monitoring, 1761, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__54)) __PYX_ERR(0, 1761, __pyx_L1_error)
+ __pyx_tuple__55 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(0, 1761, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__55);
+ __Pyx_GIVEREF(__pyx_tuple__55);
- /* "_pydevd_sys_monitoring_cython.pyx":1750
+ /* "_pydevd_sys_monitoring_cython.pyx":1789
* # 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__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);
+ __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 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_sys_monitoring__pydevd_s, __pyx_n_s_stop_monitoring, 1789, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) __PYX_ERR(0, 1789, __pyx_L1_error)
+ __pyx_tuple__57 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(0, 1789, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__57);
+ __Pyx_GIVEREF(__pyx_tuple__57);
- /* "_pydevd_sys_monitoring_cython.pyx":1778
+ /* "_pydevd_sys_monitoring_cython.pyx":1817
*
*
* def update_monitor_events(suspend_requested: Optional[bool] = None) -> None: # <<<<<<<<<<<<<<
* """
* This should be called when breakpoints change.
*/
- __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_tuple__58 = 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__58)) __PYX_ERR(0, 1817, __pyx_L1_error)
__Pyx_GOTREF(__pyx_tuple__58);
__Pyx_GIVEREF(__pyx_tuple__58);
+ __pyx_codeobj__59 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 10, 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_update_monitor_events, 1817, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__59)) __PYX_ERR(0, 1817, __pyx_L1_error)
+ __pyx_tuple__60 = PyTuple_Pack(1, Py_None); if (unlikely(!__pyx_tuple__60)) __PYX_ERR(0, 1817, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__60);
+ __Pyx_GIVEREF(__pyx_tuple__60);
- /* "_pydevd_sys_monitoring_cython.pyx":1863
+ /* "_pydevd_sys_monitoring_cython.pyx":1905
*
*
* 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__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)
+ __pyx_codeobj__61 = (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, 1905, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__61)) __PYX_ERR(0, 1905, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":1898
+ /* "_pydevd_sys_monitoring_cython.pyx":1940
* # 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__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)
+ __pyx_tuple__62 = 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__62)) __PYX_ERR(0, 1940, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__62);
+ __Pyx_GIVEREF(__pyx_tuple__62);
+ __pyx_codeobj__63 = (PyObject*)__Pyx_PyCode_New(5, 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_pydevd_sys_monitoring__pydevd_s, __pyx_n_s_do_wait_suspend, 1940, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__63)) __PYX_ERR(0, 1940, __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__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_tuple__64 = 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__64)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_tuple__64);
+ __Pyx_GIVEREF(__pyx_tuple__64);
+ __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__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_ThreadInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__65)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __pyx_codeobj__66 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_FuncCodeInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__66)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __pyx_codeobj__67 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle__CodeLineInfo, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__67)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __pyx_codeobj__68 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__64, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle__TryExceptContain, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__68)) __PYX_ERR(1, 1, __pyx_L1_error)
__Pyx_RefNannyFinishContext();
return 0;
__pyx_L1_error:;
@@ -34912,15 +36323,18 @@ static CYTHON_SMALL_CODE int __Pyx_InitConstants(void) {
__pyx_int_160 = PyInt_FromLong(160); if (unlikely(!__pyx_int_160)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_206 = PyInt_FromLong(206); if (unlikely(!__pyx_int_206)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_208 = PyInt_FromLong(208); if (unlikely(!__pyx_int_208)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __pyx_int_2520179 = PyInt_FromLong(2520179L); if (unlikely(!__pyx_int_2520179)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __pyx_int_64377988 = PyInt_FromLong(64377988L); if (unlikely(!__pyx_int_64377988)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_66323410 = PyInt_FromLong(66323410L); if (unlikely(!__pyx_int_66323410)) __PYX_ERR(0, 1, __pyx_L1_error)
- __pyx_int_92026781 = PyInt_FromLong(92026781L); if (unlikely(!__pyx_int_92026781)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __pyx_int_66829570 = PyInt_FromLong(66829570L); if (unlikely(!__pyx_int_66829570)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __pyx_int_81700340 = PyInt_FromLong(81700340L); if (unlikely(!__pyx_int_81700340)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __pyx_int_95010005 = PyInt_FromLong(95010005L); if (unlikely(!__pyx_int_95010005)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_99967855 = PyInt_FromLong(99967855L); if (unlikely(!__pyx_int_99967855)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_189049472 = PyInt_FromLong(189049472L); if (unlikely(!__pyx_int_189049472)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_210464433 = PyInt_FromLong(210464433L); if (unlikely(!__pyx_int_210464433)) __PYX_ERR(0, 1, __pyx_L1_error)
- __pyx_int_224549882 = PyInt_FromLong(224549882L); if (unlikely(!__pyx_int_224549882)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_230645316 = PyInt_FromLong(230645316L); if (unlikely(!__pyx_int_230645316)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_232881363 = PyInt_FromLong(232881363L); if (unlikely(!__pyx_int_232881363)) __PYX_ERR(0, 1, __pyx_L1_error)
- __pyx_int_266084120 = PyInt_FromLong(266084120L); if (unlikely(!__pyx_int_266084120)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __pyx_int_261234908 = PyInt_FromLong(261234908L); if (unlikely(!__pyx_int_261234908)) __PYX_ERR(0, 1, __pyx_L1_error)
__pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) __PYX_ERR(0, 1, __pyx_L1_error)
return 0;
__pyx_L1_error:;
@@ -34979,16 +36393,18 @@ static int __Pyx_modinit_type_init_code(void) {
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0);
/*--- Type init code ---*/
+ __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo = &__pyx_vtable_29_pydevd_sys_monitoring_cython_ThreadInfo;
+ __pyx_vtable_29_pydevd_sys_monitoring_cython_ThreadInfo.is_thread_alive = (int (*)(struct __pyx_obj_29_pydevd_sys_monitoring_cython_ThreadInfo *))__pyx_f_29_pydevd_sys_monitoring_cython_10ThreadInfo_is_thread_alive;
#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, 240, __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, 240, __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, 238, __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, 238, __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, 240, __pyx_L1_error)
+ if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 238, __pyx_L1_error)
#endif
#if PY_MAJOR_VERSION < 3
__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo->tp_print = 0;
@@ -34998,20 +36414,24 @@ 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, 240, __pyx_L1_error)
+ if (__Pyx_SetVtable(__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo, __pyx_vtabptr_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 238, __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, 240, __pyx_L1_error)
+ if (__Pyx_MergeVtables(__pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 238, __pyx_L1_error)
+ #endif
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ThreadInfo, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_ThreadInfo) < 0) __PYX_ERR(0, 238, __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, 238, __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, 348, __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, 348, __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, 360, __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, 360, __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, 348, __pyx_L1_error)
+ if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 360, __pyx_L1_error)
#endif
#if PY_MAJOR_VERSION < 3
__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo->tp_print = 0;
@@ -35021,20 +36441,43 @@ 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, 348, __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, 360, __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, 348, __pyx_L1_error)
+ if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo) < 0) __PYX_ERR(0, 360, __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, 799, __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, 799, __pyx_L1_error)
+ __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec, NULL); if (unlikely(!__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo)) __PYX_ERR(0, 462, __pyx_L1_error)
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo_spec, __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < 0) __PYX_ERR(0, 462, __pyx_L1_error)
+ #else
+ __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo = &__pyx_type_29_pydevd_sys_monitoring_cython__CodeLineInfo;
+ #endif
+ #if !CYTHON_COMPILING_IN_LIMITED_API
+ #endif
+ #if !CYTHON_USE_TYPE_SPECS
+ if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < 0) __PYX_ERR(0, 462, __pyx_L1_error)
+ #endif
+ #if PY_MAJOR_VERSION < 3
+ __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo->tp_print = 0;
+ #endif
+ #if !CYTHON_COMPILING_IN_LIMITED_API
+ if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo->tp_dictoffset && __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo->tp_getattro == PyObject_GenericGetAttr)) {
+ __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo->tp_getattro = __Pyx_PyObject_GenericGetAttr;
+ }
+ #endif
+ if (PyObject_SetAttr(__pyx_m, __pyx_n_s_CodeLineInfo, (PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < 0) __PYX_ERR(0, 462, __pyx_L1_error)
+ #if !CYTHON_COMPILING_IN_LIMITED_API
+ if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo) < 0) __PYX_ERR(0, 462, __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, 838, __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, 838, __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, 799, __pyx_L1_error)
+ if (__Pyx_PyType_Ready(__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 838, __pyx_L1_error)
#endif
#if PY_MAJOR_VERSION < 3
__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj->tp_print = 0;
@@ -35044,9 +36487,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, 799, __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, 838, __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, 799, __pyx_L1_error)
+ if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj) < 0) __PYX_ERR(0, 838, __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)
@@ -35677,8 +37120,8 @@ if (!__Pyx_RefNanny) {
* from os.path import basename, splitext
*
* from _pydev_bundle import pydev_log # <<<<<<<<<<<<<<
- * from _pydev_bundle.pydev_is_thread_alive import is_thread_alive
* from _pydevd_bundle import pydevd_dont_trace
+ * from _pydevd_bundle.pydevd_constants import (
*/
__pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 21, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
@@ -35697,108 +37140,94 @@ if (!__Pyx_RefNanny) {
/* "_pydevd_sys_monitoring_cython.pyx":22
*
* from _pydev_bundle import pydev_log
- * from _pydev_bundle.pydev_is_thread_alive import is_thread_alive # <<<<<<<<<<<<<<
- * from _pydevd_bundle import pydevd_dont_trace
+ * from _pydevd_bundle import pydevd_dont_trace # <<<<<<<<<<<<<<
* from _pydevd_bundle.pydevd_constants import (
+ * IS_PY313_OR_GREATER,
*/
__pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 22, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- __Pyx_INCREF(__pyx_n_s_is_thread_alive);
- __Pyx_GIVEREF(__pyx_n_s_is_thread_alive);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_is_thread_alive)) __PYX_ERR(0, 22, __pyx_L1_error);
- __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydev_bundle_pydev_is_thread_al, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 22, __pyx_L1_error)
+ __Pyx_INCREF(__pyx_n_s_pydevd_dont_trace);
+ __Pyx_GIVEREF(__pyx_n_s_pydevd_dont_trace);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_pydevd_dont_trace)) __PYX_ERR(0, 22, __pyx_L1_error);
+ __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 22, __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_is_thread_alive); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 22, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 22, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_is_thread_alive, __pyx_t_2) < 0) __PYX_ERR(0, 22, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_pydevd_dont_trace, __pyx_t_2) < 0) __PYX_ERR(0, 22, __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":23
- * from _pydev_bundle import pydev_log
- * from _pydev_bundle.pydev_is_thread_alive import is_thread_alive
- * from _pydevd_bundle import pydevd_dont_trace # <<<<<<<<<<<<<<
- * from _pydevd_bundle.pydevd_constants import (
- * GlobalDebuggerHolder,
- */
- __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
- __Pyx_INCREF(__pyx_n_s_pydevd_dont_trace);
- __Pyx_GIVEREF(__pyx_n_s_pydevd_dont_trace);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_pydevd_dont_trace)) __PYX_ERR(0, 23, __pyx_L1_error);
- __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 23, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_pydevd_dont_trace); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_pydevd_dont_trace, __pyx_t_3) < 0) __PYX_ERR(0, 23, __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":25
+ /* "_pydevd_sys_monitoring_cython.pyx":24
* from _pydevd_bundle import pydevd_dont_trace
* from _pydevd_bundle.pydevd_constants import (
- * GlobalDebuggerHolder, # <<<<<<<<<<<<<<
+ * IS_PY313_OR_GREATER, # <<<<<<<<<<<<<<
+ * GlobalDebuggerHolder,
* ForkSafeLock,
- * PYDEVD_IPYTHON_CONTEXT,
*/
- __pyx_t_2 = PyList_New(6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 25, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyList_New(7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 24, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ __Pyx_INCREF(__pyx_n_s_IS_PY313_OR_GREATER);
+ __Pyx_GIVEREF(__pyx_n_s_IS_PY313_OR_GREATER);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_IS_PY313_OR_GREATER)) __PYX_ERR(0, 24, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_GlobalDebuggerHolder);
__Pyx_GIVEREF(__pyx_n_s_GlobalDebuggerHolder);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_GlobalDebuggerHolder)) __PYX_ERR(0, 25, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 1, __pyx_n_s_GlobalDebuggerHolder)) __PYX_ERR(0, 24, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_ForkSafeLock);
__Pyx_GIVEREF(__pyx_n_s_ForkSafeLock);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_ForkSafeLock)) __PYX_ERR(0, 25, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 2, __pyx_n_s_ForkSafeLock)) __PYX_ERR(0, 24, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_PYDEVD_IPYTHON_CONTEXT);
__Pyx_GIVEREF(__pyx_n_s_PYDEVD_IPYTHON_CONTEXT);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT)) __PYX_ERR(0, 25, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT)) __PYX_ERR(0, 24, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED);
__Pyx_GIVEREF(__pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 3, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED)) __PYX_ERR(0, 25, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 4, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED)) __PYX_ERR(0, 24, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_RETURN_VALUES_DICT);
__Pyx_GIVEREF(__pyx_n_s_RETURN_VALUES_DICT);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 4, __pyx_n_s_RETURN_VALUES_DICT)) __PYX_ERR(0, 25, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 5, __pyx_n_s_RETURN_VALUES_DICT)) __PYX_ERR(0, 24, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_PYTHON_SUSPEND);
__Pyx_GIVEREF(__pyx_n_s_PYTHON_SUSPEND);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 5, __pyx_n_s_PYTHON_SUSPEND)) __PYX_ERR(0, 25, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 6, __pyx_n_s_PYTHON_SUSPEND)) __PYX_ERR(0, 24, __pyx_L1_error);
- /* "_pydevd_sys_monitoring_cython.pyx":24
- * from _pydev_bundle.pydev_is_thread_alive import is_thread_alive
+ /* "_pydevd_sys_monitoring_cython.pyx":23
+ * from _pydev_bundle import pydev_log
* from _pydevd_bundle import pydevd_dont_trace
* from _pydevd_bundle.pydevd_constants import ( # <<<<<<<<<<<<<<
+ * IS_PY313_OR_GREATER,
* GlobalDebuggerHolder,
- * ForkSafeLock,
*/
- __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_constants, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 24, __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_GlobalDebuggerHolder); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 24, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_GlobalDebuggerHolder, __pyx_t_2) < 0) __PYX_ERR(0, 25, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_ForkSafeLock); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 24, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_ForkSafeLock, __pyx_t_2) < 0) __PYX_ERR(0, 26, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 24, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_constants, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 23, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT, __pyx_t_2) < 0) __PYX_ERR(0, 27, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 24, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED, __pyx_t_2) < 0) __PYX_ERR(0, 28, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 24, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_RETURN_VALUES_DICT, __pyx_t_2) < 0) __PYX_ERR(0, 29, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 24, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_PYTHON_SUSPEND, __pyx_t_2) < 0) __PYX_ERR(0, 30, __pyx_L1_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_IS_PY313_OR_GREATER); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_IS_PY313_OR_GREATER, __pyx_t_3) < 0) __PYX_ERR(0, 24, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_GlobalDebuggerHolder); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_GlobalDebuggerHolder, __pyx_t_3) < 0) __PYX_ERR(0, 25, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_ForkSafeLock); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_ForkSafeLock, __pyx_t_3) < 0) __PYX_ERR(0, 26, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_PYDEVD_IPYTHON_CONTEXT, __pyx_t_3) < 0) __PYX_ERR(0, 27, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_EXCEPTION_TYPE_USER_UNHANDLED, __pyx_t_3) < 0) __PYX_ERR(0, 28, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_RETURN_VALUES_DICT); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_RETURN_VALUES_DICT, __pyx_t_3) < 0) __PYX_ERR(0, 29, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_PYTHON_SUSPEND); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 23, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_PYTHON_SUSPEND, __pyx_t_3) < 0) __PYX_ERR(0, 30, __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":33
* )
@@ -35807,17 +37236,17 @@ if (!__Pyx_RefNanny) {
* get_abs_path_real_path_and_base_from_file,
* get_abs_path_real_path_and_base_from_frame,
*/
- __pyx_t_3 = PyList_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 33, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyList_New(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 33, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER);
__Pyx_GIVEREF(__pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER)) __PYX_ERR(0, 33, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER)) __PYX_ERR(0, 33, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_get_abs_path_real_path_and_base);
__Pyx_GIVEREF(__pyx_n_s_get_abs_path_real_path_and_base);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 1, __pyx_n_s_get_abs_path_real_path_and_base)) __PYX_ERR(0, 33, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_get_abs_path_real_path_and_base)) __PYX_ERR(0, 33, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_get_abs_path_real_path_and_base_2);
__Pyx_GIVEREF(__pyx_n_s_get_abs_path_real_path_and_base_2);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 2, __pyx_n_s_get_abs_path_real_path_and_base_2)) __PYX_ERR(0, 33, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 2, __pyx_n_s_get_abs_path_real_path_and_base_2)) __PYX_ERR(0, 33, __pyx_L1_error);
/* "_pydevd_sys_monitoring_cython.pyx":32
* PYTHON_SUSPEND,
@@ -35826,22 +37255,22 @@ if (!__Pyx_RefNanny) {
* NORM_PATHS_AND_BASE_CONTAINER,
* get_abs_path_real_path_and_base_from_file,
*/
- __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_file_utils, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 32, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 32, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_file_utils, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 32, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER, __pyx_t_3) < 0) __PYX_ERR(0, 33, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 32, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_abs_path_real_path_and_base, __pyx_t_3) < 0) __PYX_ERR(0, 34, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_get_abs_path_real_path_and_base_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 32, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_abs_path_real_path_and_base_2, __pyx_t_3) < 0) __PYX_ERR(0, 35, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 32, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_NORM_PATHS_AND_BASE_CONTAINER, __pyx_t_2) < 0) __PYX_ERR(0, 33, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_get_abs_path_real_path_and_base); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 32, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_abs_path_real_path_and_base, __pyx_t_2) < 0) __PYX_ERR(0, 34, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_get_abs_path_real_path_and_base_2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 32, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_abs_path_real_path_and_base_2, __pyx_t_2) < 0) __PYX_ERR(0, 35, __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":37
* get_abs_path_real_path_and_base_from_frame,
@@ -35850,26 +37279,26 @@ if (!__Pyx_RefNanny) {
* from _pydevd_bundle.pydevd_constants import EXCEPTION_TYPE_HANDLED
* from _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception
*/
- __pyx_t_2 = PyList_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 37, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyList_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 37, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
__Pyx_INCREF(__pyx_n_s_should_stop_on_exception);
__Pyx_GIVEREF(__pyx_n_s_should_stop_on_exception);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_should_stop_on_exception)) __PYX_ERR(0, 37, __pyx_L1_error);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_should_stop_on_exception)) __PYX_ERR(0, 37, __pyx_L1_error);
__Pyx_INCREF(__pyx_n_s_handle_exception);
__Pyx_GIVEREF(__pyx_n_s_handle_exception);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 1, __pyx_n_s_handle_exception)) __PYX_ERR(0, 37, __pyx_L1_error);
- __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_trace_disp, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 37, __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_should_stop_on_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 37, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_should_stop_on_exception, __pyx_t_2) < 0) __PYX_ERR(0, 37, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 37, __pyx_L1_error)
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 1, __pyx_n_s_handle_exception)) __PYX_ERR(0, 37, __pyx_L1_error);
+ __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_trace_disp, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 37, __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, 37, __pyx_L1_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_should_stop_on_exception); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 37, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_should_stop_on_exception, __pyx_t_3) < 0) __PYX_ERR(0, 37, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_handle_exception); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 37, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_handle_exception, __pyx_t_3) < 0) __PYX_ERR(0, 37, __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":38
* )
@@ -35878,19 +37307,19 @@ if (!__Pyx_RefNanny) {
* from _pydevd_bundle.pydevd_trace_dispatch import is_unhandled_exception
* from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception
*/
- __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 38, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 38, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_n_s_EXCEPTION_TYPE_HANDLED);
__Pyx_GIVEREF(__pyx_n_s_EXCEPTION_TYPE_HANDLED);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_EXCEPTION_TYPE_HANDLED)) __PYX_ERR(0, 38, __pyx_L1_error);
- __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_constants, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 38, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 38, __pyx_L1_error)
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_EXCEPTION_TYPE_HANDLED)) __PYX_ERR(0, 38, __pyx_L1_error);
+ __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_constants, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 38, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_EXCEPTION_TYPE_HANDLED, __pyx_t_3) < 0) __PYX_ERR(0, 38, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_EXCEPTION_TYPE_HANDLED); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 38, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_EXCEPTION_TYPE_HANDLED, __pyx_t_2) < 0) __PYX_ERR(0, 38, __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":39
* from _pydevd_bundle.pydevd_trace_dispatch import should_stop_on_exception, handle_exception
@@ -35899,80 +37328,59 @@ if (!__Pyx_RefNanny) {
* from _pydevd_bundle.pydevd_breakpoints import stop_on_unhandled_exception
* from _pydevd_bundle.pydevd_utils import get_clsname_for_code
*/
- __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 39, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
+ __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 39, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
__Pyx_INCREF(__pyx_n_s_is_unhandled_exception);
__Pyx_GIVEREF(__pyx_n_s_is_unhandled_exception);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_is_unhandled_exception)) __PYX_ERR(0, 39, __pyx_L1_error);
- __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_trace_disp, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 39, __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_is_unhandled_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 39, __pyx_L1_error)
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_is_unhandled_exception)) __PYX_ERR(0, 39, __pyx_L1_error);
+ __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_trace_disp, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 39, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_is_unhandled_exception, __pyx_t_2) < 0) __PYX_ERR(0, 39, __pyx_L1_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_is_unhandled_exception); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 39, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_3);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_is_unhandled_exception, __pyx_t_3) < 0) __PYX_ERR(0, 39, __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":40
* 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
+ *
*/
- __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 40, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_3);
+ __pyx_t_2 = PyList_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 40, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
__Pyx_INCREF(__pyx_n_s_stop_on_unhandled_exception);
__Pyx_GIVEREF(__pyx_n_s_stop_on_unhandled_exception);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_stop_on_unhandled_exception)) __PYX_ERR(0, 40, __pyx_L1_error);
- __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_breakpoint, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 40, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_stop_on_unhandled_exception); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 40, __pyx_L1_error)
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_stop_on_unhandled_exception)) __PYX_ERR(0, 40, __pyx_L1_error);
+ __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_breakpoint, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 40, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_stop_on_unhandled_exception, __pyx_t_3) < 0) __PYX_ERR(0, 40, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_stop_on_unhandled_exception); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 40, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_stop_on_unhandled_exception, __pyx_t_2) < 0) __PYX_ERR(0, 40, __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":41
* 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, 41, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __Pyx_INCREF(__pyx_n_s_get_clsname_for_code);
- __Pyx_GIVEREF(__pyx_n_s_get_clsname_for_code);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_2, 0, __pyx_n_s_get_clsname_for_code)) __PYX_ERR(0, 41, __pyx_L1_error);
- __pyx_t_3 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_utils, __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_get_clsname_for_code); 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_get_clsname_for_code, __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":42
- * 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, 42, __pyx_L1_error)
+ __pyx_t_3 = PyList_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 41, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- __Pyx_INCREF(__pyx_n_s_PYDEV_FILE);
- __Pyx_GIVEREF(__pyx_n_s_PYDEV_FILE);
- if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_PYDEV_FILE)) __PYX_ERR(0, 42, __pyx_L1_error);
- __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_dont_trace, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 42, __pyx_L1_error)
+ __Pyx_INCREF(__pyx_n_s_get_clsname_for_code);
+ __Pyx_GIVEREF(__pyx_n_s_get_clsname_for_code);
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_3, 0, __pyx_n_s_get_clsname_for_code)) __PYX_ERR(0, 41, __pyx_L1_error);
+ __pyx_t_2 = __Pyx_Import(__pyx_n_s_pydevd_bundle_pydevd_utils, __pyx_t_3, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 41, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
- __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_PYDEV_FILE); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 42, __pyx_L1_error)
+ __pyx_t_3 = __Pyx_ImportFrom(__pyx_t_2, __pyx_n_s_get_clsname_for_code); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 41, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_PYDEV_FILE, __pyx_t_3) < 0) __PYX_ERR(0, 42, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_clsname_for_code, __pyx_t_3) < 0) __PYX_ERR(0, 41, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
@@ -36051,7 +37459,7 @@ if (!__Pyx_RefNanny) {
* 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__25)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 57, __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__26)); 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, 57, __pyx_L4_except_error)
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
@@ -36176,7 +37584,7 @@ if (!__Pyx_RefNanny) {
* _get_ident = threading.get_ident
* _thread_active = threading._active # noqa # <<<<<<<<<<<<<<
*
- * STATE_SUSPEND: int = 2
+ * CMD_STEP_INTO: int = 107
*/
__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);
@@ -36189,205 +37597,187 @@ if (!__Pyx_RefNanny) {
/* "_pydevd_sys_monitoring_cython.pyx":69
* _thread_active = threading._active # noqa
*
- * STATE_SUSPEND: int = 2 # <<<<<<<<<<<<<<
- * CMD_STEP_INTO: int = 107
+ * CMD_STEP_INTO: int = 107 # <<<<<<<<<<<<<<
* CMD_STEP_OVER: int = 108
+ * CMD_STEP_INTO_MY_CODE: int = 144
*/
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_SUSPEND, __pyx_int_2) < 0) __PYX_ERR(0, 69, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO, __pyx_int_107) < 0) __PYX_ERR(0, 69, __pyx_L1_error)
/* "_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, 70, __pyx_L1_error)
-
- /* "_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, 71, __pyx_L1_error)
-
- /* "_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, 72, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER, __pyx_int_108) < 0) __PYX_ERR(0, 70, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":73
+ /* "_pydevd_sys_monitoring_cython.pyx":71
+ * 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
* 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, 73, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO_MY_CODE, __pyx_int_144) < 0) __PYX_ERR(0, 71, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":74
- * CMD_STEP_OVER_MY_CODE: int = 159
+ /* "_pydevd_sys_monitoring_cython.pyx":72
+ * CMD_STEP_OVER: int = 108
* 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, 74, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_INTO_COROUTINE, __pyx_int_206) < 0) __PYX_ERR(0, 72, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":75
+ /* "_pydevd_sys_monitoring_cython.pyx":73
* 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, 75, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SMART_STEP_INTO, __pyx_int_128) < 0) __PYX_ERR(0, 73, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":76
+ /* "_pydevd_sys_monitoring_cython.pyx":74
* 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, 76, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_can_skip, Py_True) < 0) __PYX_ERR(0, 74, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":77
+ /* "_pydevd_sys_monitoring_cython.pyx":75
* 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, 77, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_RETURN, __pyx_int_109) < 0) __PYX_ERR(0, 75, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":78
+ /* "_pydevd_sys_monitoring_cython.pyx":76
* 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, 78, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_OVER_MY_CODE, __pyx_int_159) < 0) __PYX_ERR(0, 76, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":79
+ /* "_pydevd_sys_monitoring_cython.pyx":77
* 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, 79, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_STEP_RETURN_MY_CODE, __pyx_int_160) < 0) __PYX_ERR(0, 77, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":80
+ /* "_pydevd_sys_monitoring_cython.pyx":78
* 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, 80, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SET_BREAK, __pyx_int_111) < 0) __PYX_ERR(0, 78, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":81
+ /* "_pydevd_sys_monitoring_cython.pyx":79
* 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, 81, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_CMD_SET_FUNCTION_BREAK, __pyx_int_208) < 0) __PYX_ERR(0, 79, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":82
+ /* "_pydevd_sys_monitoring_cython.pyx":80
* 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, 82, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_RUN, __pyx_int_1) < 0) __PYX_ERR(0, 80, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":83
+ /* "_pydevd_sys_monitoring_cython.pyx":81
* 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, 83, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_STATE_SUSPEND, __pyx_int_2) < 0) __PYX_ERR(0, 81, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":85
+ /* "_pydevd_sys_monitoring_cython.pyx":83
* 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, 85, __pyx_L1_error)
+ __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, 85, __pyx_L1_error)
+ __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_GOTREF(__pyx_t_7);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__26, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 85, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__27, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 83, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__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, 85, __pyx_L1_error)
+ 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;
- /* "_pydevd_sys_monitoring_cython.pyx":86
+ /* "_pydevd_sys_monitoring_cython.pyx":84
*
* 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__27) < 0) __PYX_ERR(0, 86, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUG_START, __pyx_tuple__28) < 0) __PYX_ERR(0, 84, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":87
+ /* "_pydevd_sys_monitoring_cython.pyx":85
* 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__28) < 0) __PYX_ERR(0, 87, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_DEBUG_START_PY3K, __pyx_tuple__29) < 0) __PYX_ERR(0, 85, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":88
+ /* "_pydevd_sys_monitoring_cython.pyx":86
* 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, 88, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_TRACE_PROPERTY, __pyx_kp_s_pydevd_traceproperty_py) < 0) __PYX_ERR(0, 86, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":90
+ /* "_pydevd_sys_monitoring_cython.pyx":88
* 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, 90, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_global_notify_skipped_step_in, Py_False) < 0) __PYX_ERR(0, 88, __pyx_L1_error)
- /* "_pydevd_sys_monitoring_cython.pyx":91
+ /* "_pydevd_sys_monitoring_cython.pyx":89
*
* _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, 91, __pyx_L1_error)
+ __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, 91, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_PyObject_CallNoArg(__pyx_t_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 89, __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, 91, __pyx_L1_error)
+ 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_7); __pyx_t_7 = 0;
/* "(tree fragment)":1
@@ -36395,7 +37785,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__30)); 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__31)); 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;
@@ -36403,73 +37793,73 @@ if (!__Pyx_RefNanny) {
/* "(tree fragment)":16
* else:
- * return __pyx_unpickle_ThreadInfo, (type(self), 0xd625bfa, state)
+ * return __pyx_unpickle_ThreadInfo, (type(self), 0x4dea5f4, state)
* 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__32)); 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__33)); 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":267
+ /* "_pydevd_sys_monitoring_cython.pyx":279
*
*
* 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, 267, __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, 279, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- /* "_pydevd_sys_monitoring_cython.pyx":272
+ /* "_pydevd_sys_monitoring_cython.pyx":284
* """
*
* 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__34)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 272, __pyx_L1_error)
+ __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__35)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 284, __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, 272, __pyx_L1_error)
+ if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_init, __pyx_t_2) < 0) __PYX_ERR(0, 284, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":283
+ /* "_pydevd_sys_monitoring_cython.pyx":295
* _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__36)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 283, __pyx_L1_error)
+ __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__37)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 295, __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, 283, __pyx_L1_error)
+ if (__Pyx_SetNameInClass(__pyx_t_7, __pyx_n_s_del, __pyx_t_2) < 0) __PYX_ERR(0, 295, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":267
+ /* "_pydevd_sys_monitoring_cython.pyx":279
*
*
* 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, 267, __pyx_L1_error)
+ __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, 279, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeleteDummyThreadOnDel, __pyx_t_2) < 0) __PYX_ERR(0, 267, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_DeleteDummyThreadOnDel, __pyx_t_2) < 0) __PYX_ERR(0, 279, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":413
+ /* "_pydevd_sys_monitoring_cython.pyx":425
* 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:
+ * if start is not None and end is not None and line is not None:
*/
- __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, 413, __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__39)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 425, __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, 413, __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, 425, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython_FuncCodeInfo);
@@ -36478,7 +37868,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__39)); 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__40)); 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;
@@ -36490,97 +37880,105 @@ 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__40)); 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__41)); 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":447
- *
- *
- * _CodeLineInfo = namedtuple("_CodeLineInfo", "line_to_offset, first_line, last_line") # <<<<<<<<<<<<<<
- *
- *
+ /* "(tree fragment)":1
+ * def __reduce_cython__(self): # <<<<<<<<<<<<<<
+ * cdef tuple state
+ * cdef object _dict
*/
- __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_namedtuple); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 447, __pyx_L1_error)
+ __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_3__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_CodeLineInfo___reduce_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__42)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_7, __pyx_tuple__41, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 447, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo, __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;
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_CodeLineInfo, __pyx_t_2) < 0) __PYX_ERR(0, 447, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython__CodeLineInfo);
+
+ /* "(tree fragment)":16
+ * else:
+ * return __pyx_unpickle__CodeLineInfo, (type(self), 0x5a9bcd5, state)
+ * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_unpickle__CodeLineInfo__set_state(self, __pyx_state)
+ */
+ __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_13_CodeLineInfo_5__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_CodeLineInfo___setstate_cython, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__43)); 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__CodeLineInfo, __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__CodeLineInfo);
- /* "_pydevd_sys_monitoring_cython.pyx":453
+ /* "_pydevd_sys_monitoring_cython.pyx":492
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
- * cdef _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
+ * cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}): # <<<<<<<<<<<<<<
* # ELSE
- * # def _get_code_line_info(code_obj, _cache={}):
+ * # def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:
*/
- __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 453, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __pyx_k__16 = __pyx_t_2;
- __Pyx_GIVEREF(__pyx_t_2);
- __pyx_t_2 = 0;
+ __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 492, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ __pyx_k__16 = __pyx_t_7;
+ __Pyx_GIVEREF(__pyx_t_7);
+ __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":477
+ /* "_pydevd_sys_monitoring_cython.pyx":516
*
*
* _code_to_func_code_info_cache: Dict[CodeType, "FuncCodeInfo"] = {} # <<<<<<<<<<<<<<
*
*
*/
- __pyx_t_2 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 477, __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, 477, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 516, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_code_to_func_code_info_cache, __pyx_t_7) < 0) __PYX_ERR(0, 516, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":482
+ /* "_pydevd_sys_monitoring_cython.pyx":521
* # 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__43)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 482, __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, 482, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__45)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 521, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_get_func_code_info, __pyx_t_7) < 0) __PYX_ERR(0, 521, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":676
+ /* "_pydevd_sys_monitoring_cython.pyx":715
* # 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__45)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 676, __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, 676, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__47)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 715, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_disable_code_tracing, __pyx_t_7) < 0) __PYX_ERR(0, 715, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":687
+ /* "_pydevd_sys_monitoring_cython.pyx":726
* # 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__47)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 687, __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, 687, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__49)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 726, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_enable_code_tracing, __pyx_t_7) < 0) __PYX_ERR(0, 726, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 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__48)); 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_7 = __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__50)); 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__TryExceptContainerObj, __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;
PyType_Modified(__pyx_ptype_29_pydevd_sys_monitoring_cython__TryExceptContainerObj);
/* "(tree fragment)":16
@@ -36589,139 +37987,151 @@ 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__49)); 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_7 = __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__51)); 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__TryExceptContainerObj, __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__TryExceptContainerObj);
- /* "_pydevd_sys_monitoring_cython.pyx":1708
+ /* "_pydevd_sys_monitoring_cython.pyx":1747
* # fmt: off
* # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
* cpdef _ensure_monitoring(): # <<<<<<<<<<<<<<
* # ELSE
* # def _ensure_monitoring():
*/
- __pyx_t_2 = __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_2)) __PYX_ERR(0, 1708, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_ensure_monitoring, __pyx_t_2) < 0) __PYX_ERR(0, 1708, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__52)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1747, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_ensure_monitoring, __pyx_t_7) < 0) __PYX_ERR(0, 1747, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1722
+ /* "_pydevd_sys_monitoring_cython.pyx":1761
* # 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_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_2)) __PYX_ERR(0, 1722, __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_start_monitoring, __pyx_t_2) < 0) __PYX_ERR(0, 1722, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__54)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1761, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_7, __pyx_tuple__55);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_start_monitoring, __pyx_t_7) < 0) __PYX_ERR(0, 1761, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1750
+ /* "_pydevd_sys_monitoring_cython.pyx":1789
* # 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_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_2)) __PYX_ERR(0, 1750, __pyx_L1_error)
- __Pyx_GOTREF(__pyx_t_2);
- __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_tuple__55);
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_stop_monitoring, __pyx_t_2) < 0) __PYX_ERR(0, 1750, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__56)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1789, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_7, __pyx_tuple__57);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_stop_monitoring, __pyx_t_7) < 0) __PYX_ERR(0, 1789, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1778
+ /* "_pydevd_sys_monitoring_cython.pyx":1817
*
*
* 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, 1778, __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, 1778, __pyx_L1_error)
- if (PyDict_SetItem(__pyx_t_2, __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_t_7 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1817, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_7);
- __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_7, __pyx_tuple__58);
- __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, 1778, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_suspend_requested, __pyx_kp_s_Optional_bool) < 0) __PYX_ERR(0, 1817, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_7, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 1817, __pyx_L1_error)
+ __pyx_t_2 = __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__59)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1817, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_2);
+ __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_2, __pyx_tuple__60);
+ __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_2, __pyx_t_7);
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_update_monitor_events, __pyx_t_2) < 0) __PYX_ERR(0, 1817, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1863
+ /* "_pydevd_sys_monitoring_cython.pyx":1905
*
*
* 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, 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, 1863, __pyx_L1_error)
- __pyx_t_2 = __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_2)) __PYX_ERR(0, 1863, __pyx_L1_error)
+ __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 1905, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
- __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_2, __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, 1863, __pyx_L1_error)
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_n_s_None) < 0) __PYX_ERR(0, 1905, __pyx_L1_error)
+ __pyx_t_7 = __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__61)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1905, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ __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_restart_events, __pyx_t_7) < 0) __PYX_ERR(0, 1905, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
- /* "_pydevd_sys_monitoring_cython.pyx":1898
+ /* "_pydevd_sys_monitoring_cython.pyx":1940
* # 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_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_2)) __PYX_ERR(0, 1898, __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, 1898, __pyx_L1_error)
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
+ __pyx_t_7 = __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__63)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1940, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_do_wait_suspend, __pyx_t_7) < 0) __PYX_ERR(0, 1940, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 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_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_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_7 = __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__65)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_ThreadInfo, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
/* "(tree fragment)":11
* __pyx_unpickle_ThreadInfo__set_state( __pyx_result, __pyx_state)
* return __pyx_result
* cdef __pyx_unpickle_ThreadInfo__set_state(ThreadInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
- * __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_result._use_is_stopped = __pyx_state[0]; __pyx_result.additional_info = __pyx_state[1]; __pyx_result.thread = __pyx_state[2]; __pyx_result.thread_ident = __pyx_state[3]; __pyx_result.trace = __pyx_state[4]
+ * if len(__pyx_state) > 5 and hasattr(__pyx_result, '__dict__'):
*/
- __pyx_t_2 = __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_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_7 = __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__66)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_FuncCodeInfo, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
/* "(tree fragment)":1
- * def __pyx_unpickle__TryExceptContainerObj(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<<
+ * def __pyx_unpickle__CodeLineInfo(__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_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_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_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_25__pyx_unpickle__CodeLineInfo, 0, __pyx_n_s_pyx_unpickle__CodeLineInfo, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__67)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle__CodeLineInfo, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
+
+ /* "(tree fragment)":11
+ * __pyx_unpickle__CodeLineInfo__set_state(<_CodeLineInfo> __pyx_result, __pyx_state)
+ * return __pyx_result
+ * cdef __pyx_unpickle__CodeLineInfo__set_state(_CodeLineInfo __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<<
+ * __pyx_result.first_line = __pyx_state[0]; __pyx_result.last_line = __pyx_state[1]; __pyx_result.line_to_offset = __pyx_state[2]
+ * if len(__pyx_state) > 3 and hasattr(__pyx_result, '__dict__'):
+ */
+ __pyx_t_7 = __Pyx_CyFunction_New(&__pyx_mdef_29_pydevd_sys_monitoring_cython_27__pyx_unpickle__TryExceptContainerObj, 0, __pyx_n_s_pyx_unpickle__TryExceptContain, NULL, __pyx_n_s_pydevd_sys_monitoring_cython, __pyx_d, ((PyObject *)__pyx_codeobj__68)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle__TryExceptContain, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 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_7 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1, __pyx_L1_error)
+ __Pyx_GOTREF(__pyx_t_7);
+ if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_7) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
+ __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
/*--- Wrapped vars code ---*/
@@ -39519,6 +40929,37 @@ static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *nam
return 0;
}
+/* 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;
+ }
+}
+
/* GetAttr3 */
#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1
static PyObject *__Pyx_GetAttr3Default(PyObject *d) {
@@ -40140,37 +41581,6 @@ 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) {
@@ -40998,6 +42408,97 @@ static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_nam
}
#endif
+/* SetVTable */
+static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) {
+ PyObject *ob = PyCapsule_New(vtable, 0, 0);
+ if (unlikely(!ob))
+ goto bad;
+#if CYTHON_COMPILING_IN_LIMITED_API
+ if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_n_s_pyx_vtable, ob) < 0))
+#else
+ if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_n_s_pyx_vtable, ob) < 0))
+#endif
+ goto bad;
+ Py_DECREF(ob);
+ return 0;
+bad:
+ Py_XDECREF(ob);
+ return -1;
+}
+
+/* GetVTable */
+static void* __Pyx_GetVtable(PyTypeObject *type) {
+ void* ptr;
+#if CYTHON_COMPILING_IN_LIMITED_API
+ PyObject *ob = PyObject_GetAttr((PyObject *)type, __pyx_n_s_pyx_vtable);
+#else
+ PyObject *ob = PyObject_GetItem(type->tp_dict, __pyx_n_s_pyx_vtable);
+#endif
+ if (!ob)
+ goto bad;
+ ptr = PyCapsule_GetPointer(ob, 0);
+ if (!ptr && !PyErr_Occurred())
+ PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type");
+ Py_DECREF(ob);
+ return ptr;
+bad:
+ Py_XDECREF(ob);
+ return NULL;
+}
+
+/* MergeVTables */
+#if !CYTHON_COMPILING_IN_LIMITED_API
+static int __Pyx_MergeVtables(PyTypeObject *type) {
+ int i;
+ void** base_vtables;
+ __Pyx_TypeName tp_base_name;
+ __Pyx_TypeName base_name;
+ void* unknown = (void*)-1;
+ PyObject* bases = type->tp_bases;
+ int base_depth = 0;
+ {
+ PyTypeObject* base = type->tp_base;
+ while (base) {
+ base_depth += 1;
+ base = base->tp_base;
+ }
+ }
+ base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
+ base_vtables[0] = unknown;
+ for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
+ void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));
+ if (base_vtable != NULL) {
+ int j;
+ PyTypeObject* base = type->tp_base;
+ for (j = 0; j < base_depth; j++) {
+ if (base_vtables[j] == unknown) {
+ base_vtables[j] = __Pyx_GetVtable(base);
+ base_vtables[j + 1] = unknown;
+ }
+ if (base_vtables[j] == base_vtable) {
+ break;
+ } else if (base_vtables[j] == NULL) {
+ goto bad;
+ }
+ base = base->tp_base;
+ }
+ }
+ }
+ PyErr_Clear();
+ free(base_vtables);
+ return 0;
+bad:
+ tp_base_name = __Pyx_PyType_GetName(type->tp_base);
+ base_name = __Pyx_PyType_GetName((PyTypeObject*)PyTuple_GET_ITEM(bases, i));
+ PyErr_Format(PyExc_TypeError,
+ "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base_name, base_name);
+ __Pyx_DECREF_TypeName(tp_base_name);
+ __Pyx_DECREF_TypeName(base_name);
+ free(base_vtables);
+ return -1;
+}
+#endif
+
/* SetupReduce */
#if !CYTHON_COMPILING_IN_LIMITED_API
static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) {
@@ -41189,26 +42690,6 @@ static PyTypeObject *__Pyx_ImportType_3_0_11(PyObject *module, const char *modul
}
#endif
-/* GetVTable */
-static void* __Pyx_GetVtable(PyTypeObject *type) {
- void* ptr;
-#if CYTHON_COMPILING_IN_LIMITED_API
- PyObject *ob = PyObject_GetAttr((PyObject *)type, __pyx_n_s_pyx_vtable);
-#else
- PyObject *ob = PyObject_GetItem(type->tp_dict, __pyx_n_s_pyx_vtable);
-#endif
- if (!ob)
- goto bad;
- ptr = PyCapsule_GetPointer(ob, 0);
- if (!ptr && !PyErr_Occurred())
- PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type");
- Py_DECREF(ob);
- return ptr;
-bad:
- Py_XDECREF(ob);
- return NULL;
-}
-
/* ImportDottedModule */
#if PY_MAJOR_VERSION >= 3
static PyObject *__Pyx__ImportDottedModule_Error(PyObject *name, PyObject *parts_tuple, Py_ssize_t count) {
@@ -41287,7 +42768,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__23;
+ PyObject *module, *from_list, *star = __pyx_n_s__24;
CYTHON_UNUSED_VAR(parts_tuple);
from_list = PyList_New(1);
if (unlikely(!from_list))
diff --git a/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx b/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx
index cffa1fa01..7943d31d2 100644
--- a/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx
+++ b/src/debugpy/_vendored/pydevd/_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx
@@ -19,9 +19,9 @@ from typing import Dict, Optional, Tuple, Any
from os.path import basename, splitext
from _pydev_bundle import pydev_log
-from _pydev_bundle.pydev_is_thread_alive import is_thread_alive
from _pydevd_bundle import pydevd_dont_trace
from _pydevd_bundle.pydevd_constants import (
+ IS_PY313_OR_GREATER,
GlobalDebuggerHolder,
ForkSafeLock,
PYDEVD_IPYTHON_CONTEXT,
@@ -39,7 +39,7 @@ 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)
@@ -66,10 +66,8 @@ _thread_local_info = threading.local()
_get_ident = threading.get_ident
_thread_active = threading._active # noqa
-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
CMD_STEP_INTO_COROUTINE: int = 206
CMD_SMART_STEP_INTO: int = 128
@@ -242,6 +240,7 @@ cdef class ThreadInfo:
cdef PyDBAdditionalThreadInfo additional_info
thread: threading.Thread
trace: bool
+ _use_is_stopped: bool
# ELSE
# class ThreadInfo:
# additional_info: PyDBAdditionalThreadInfo
@@ -262,6 +261,19 @@ cdef class ThreadInfo:
self.thread_ident = thread_ident
self.additional_info = additional_info
self.trace = trace
+ self._use_is_stopped = hasattr(thread, '_is_stopped')
+
+ # fmt: off
+ # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ cdef bint is_thread_alive(self):
+ # ELSE
+# def is_thread_alive(self):
+ # ENDIF
+ # fmt: on
+ if self._use_is_stopped:
+ return not self.thread._is_stopped
+ else:
+ return not self.thread._handle.is_done()
class _DeleteDummyThreadOnDel:
@@ -325,7 +337,7 @@ cdef _create_thread_info(depth):
if t is None:
t = _thread_active.get(thread_ident)
- if isinstance(t, threading._DummyThread):
+ if isinstance(t, threading._DummyThread) and not IS_PY313_OR_GREATER:
_thread_local_info._ref = _DeleteDummyThreadOnDel(t)
if t is None:
@@ -412,8 +424,9 @@ cdef class FuncCodeInfo:
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
+ if start is not None and end is not None and line is not None:
+ if offset >= start and offset <= end:
+ return line
return -1
@@ -444,15 +457,41 @@ cdef _get_thread_info(bint create, int depth):
return _thread_local_info.thread_info
-_CodeLineInfo = namedtuple("_CodeLineInfo", "line_to_offset, first_line, last_line")
+# fmt: off
+# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+cdef class _CodeLineInfo:
+ cdef dict line_to_offset
+ cdef int first_line
+ cdef int last_line
+# ELSE
+# class _CodeLineInfo:
+# line_to_offset: Dict[int, Any]
+# first_line: int
+# last_line: int
+# ENDIF
+# fmt: on
+ # fmt: off
+ # IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
+ def __init__(self, dict line_to_offset, int first_line, int last_line):
+ self.line_to_offset = line_to_offset
+ self.first_line = first_line
+ self.last_line = last_line
+ # ELSE
+# def __init__(self, line_to_offset, first_line, last_line):
+# self.line_to_offset = line_to_offset
+# self.first_line = first_line
+# self.last_line = last_line
+#
+ # ENDIF
+ # fmt: on
# Note: this method has a version in cython too
# fmt: off
# IFDEF CYTHON -- DONT EDIT THIS FILE (it is automatically generated)
-cdef _get_code_line_info(code_obj, _cache={}):
+cdef _CodeLineInfo _get_code_line_info(code_obj, _cache={}):
# ELSE
-# def _get_code_line_info(code_obj, _cache={}):
+# def _get_code_line_info(code_obj, _cache={}) -> _CodeLineInfo:
# ENDIF
# fmt: on
try:
@@ -840,16 +879,16 @@ cdef _unwind_event(code, instruction, exc):
if py_db is None or py_db.pydb_disposed:
return
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
-
+
func_code_info: FuncCodeInfo = _get_func_code_info(code, 1)
if func_code_info.always_skip_code:
return
-
- # pydev_log.debug('_unwind_event', code, exc)
+
+ # print('_unwind_event', code, exc)
frame = _getframe(1)
arg = (type(exc), exc, exc.__traceback__)
@@ -874,7 +913,6 @@ cdef _unwind_event(code, instruction, exc):
)
if is_unhandled:
- # print('stop in user uncaught')
handle_exception(py_db, thread_info.thread, frame, user_uncaught_exc_info[0], EXCEPTION_TYPE_USER_UNHANDLED)
return
@@ -910,12 +948,12 @@ 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
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -926,7 +964,6 @@ cdef _raise_event(code, instruction, exc):
frame = _getframe(1)
arg = (type(exc), exc, exc.__traceback__)
- # pydev_log.debug('_raise_event', code, exc)
# Compute the previous exception info (if any). We use it to check if the exception
# should be stopped
@@ -1031,7 +1068,7 @@ cdef _return_event(code, instruction, retval):
if py_db is None or py_db.pydb_disposed:
return monitor.DISABLE
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -1346,7 +1383,7 @@ cdef _jump_event(code, int from_offset, int to_offset):
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 not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -1364,7 +1401,6 @@ cdef _jump_event(code, int from_offset, int to_offset):
from_line = func_code_info.get_line_of_offset(from_offset or 0)
to_line = func_code_info.get_line_of_offset(to_offset or 0)
- # 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]"
@@ -1375,6 +1411,7 @@ cdef _jump_event(code, int from_offset, int to_offset):
# 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)
+ # pydev_log.debug('_jump_event', code.co_name, 'from line', from_line, 'to line', frame.f_lineno)
return _internal_line_event(func_code_info, frame, frame.f_lineno)
@@ -1403,24 +1440,26 @@ cdef _line_event(code, int line):
if py_db is None or py_db.pydb_disposed:
return monitor.DISABLE
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
- # For thread-related stuff we can't disable the code tracing because other
- # threads may still want it...
- return
-
+ # 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:
- # If we're in a jump, we should skip this line event. The jump would have
- # been considered a line event for this same line and we don't want to
+ # 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
+ # pydev_log.debug('_line_event skipped', line)
return
+ if not thread_info.trace or not thread_info.is_thread_alive():
+ # For thread-related stuff we can't disable the code tracing because other
+ # threads may still want it...
+ 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
- # print('line event', code.co_name, line)
+ # pydev_log.debug('_line_event', code.co_name, line)
# We know the frame depth.
frame = _getframe(1)
@@ -1650,7 +1689,7 @@ cdef _start_method_event(code, instruction_offset):
if py_db is None or py_db.pydb_disposed:
return monitor.DISABLE
- if not thread_info.trace or not is_thread_alive(thread_info.thread):
+ if not thread_info.trace or not thread_info.is_thread_alive():
# For thread-related stuff we can't disable the code tracing because other
# threads may still want it...
return
@@ -1847,7 +1886,10 @@ def update_monitor_events(suspend_requested: Optional[bool] = None) -> None:
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)
+ if not IS_PY313_OR_GREATER:
+ # In Python 3.13+ jump_events aren't necessary as we have a line_event for every
+ # jump location.
+ monitor.register_callback(DEBUGGER_ID, monitor.events.JUMP, _jump_event)
monitor.register_callback(DEBUGGER_ID, monitor.events.PY_RETURN, _return_event)
else:
diff --git a/src/debugpy/_vendored/pydevd/build_tools/build.py b/src/debugpy/_vendored/pydevd/build_tools/build.py
index d8c52566a..9d6a5f5e3 100644
--- a/src/debugpy/_vendored/pydevd/build_tools/build.py
+++ b/src/debugpy/_vendored/pydevd/build_tools/build.py
@@ -7,6 +7,7 @@
Note that it's used in the CI to build the cython deps based on the PYDEVD_USE_CYTHON environment variable.
"""
+
from __future__ import print_function
import os
@@ -109,19 +110,24 @@ def build():
# set VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools
if "GITHUB_ACTION" not in os.environ:
- if sys.version_info[:2] in ((3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11), (3, 12)):
+ if sys.version_info[:2] in ((3, 6), (3, 7), (3, 8), (3, 9), (3, 10), (3, 11), (3, 12), (3, 13)):
FORCE_PYDEVD_VC_VARS = os.environ.get("FORCE_PYDEVD_VC_VARS")
if FORCE_PYDEVD_VC_VARS:
env.update(get_environment_from_batch_command([FORCE_PYDEVD_VC_VARS], initial=os.environ.copy()))
else:
- import setuptools # We have to import it first for the compiler to be found
- from distutils import msvc9compiler
-
- vcvarsall = msvc9compiler.find_vcvarsall(14.0)
+ try:
+ from setuptools._distutils._msvccompiler import _find_vcvarsall as find_vcvarsall
+ except Exception:
+ import setuptools # We have to import it first for the compiler to be found
+ from distutils.msvc9compiler import find_vcvarsall
+
+ vcvarsall = find_vcvarsall(14.0)
+ if isinstance(vcvarsall, tuple):
+ vcvarsall = vcvarsall[0]
if vcvarsall is None or not os.path.exists(vcvarsall):
msvc_version = msvc9compiler.get_build_version()
print("msvc_version", msvc_version)
- vcvarsall = msvc9compiler.find_vcvarsall(msvc_version)
+ vcvarsall = find_vcvarsall(msvc_version)
if vcvarsall is None or not os.path.exists(vcvarsall):
raise RuntimeError("Error finding vcvarsall.")
diff --git a/src/debugpy/_vendored/pydevd/build_tools/check_no_git_modifications.py b/src/debugpy/_vendored/pydevd/build_tools/check_no_git_modifications.py
index 78ce4bab9..811714dd4 100644
--- a/src/debugpy/_vendored/pydevd/build_tools/check_no_git_modifications.py
+++ b/src/debugpy/_vendored/pydevd/build_tools/check_no_git_modifications.py
@@ -42,6 +42,17 @@
-static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\_pydevd_sys_monitoring_cython.pyx";
- ".\\\\\\\\_pydevd_bundle\\\\\\\\pydevd_cython.pxd",
- ".\\\\_pydevd_bundle\\\\pydevd_cython.pxd",
+
+- "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx",
++ "_pydevd_sys_monitoring\\\\\\\\_pydevd_sys_monitoring_cython.pyx",
+- "./_pydevd_bundle/pydevd_cython.pxd",
++ ".\\\\\\\\_pydevd_bundle\\\\\\\\pydevd_cython.pxd",
+-static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring/_pydevd_sys_monitoring_cython.pyx";
++static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\\\_pydevd_sys_monitoring_cython.pyx";
+
++ "_pydevd_sys_monitoring\\\\_pydevd_sys_monitoring_cython.pyx",
++ ".\\\\_pydevd_bundle\\\\pydevd_cython.pxd",
++static const char __pyx_k_pydevd_sys_monitoring__pydevd_s[] = "_pydevd_sys_monitoring\\_pydevd_sys_monitoring_cython.pyx";
""".splitlines()
if line.strip()
)
diff --git a/src/debugpy/_vendored/pydevd/build_tools/pydevd_release_process.txt b/src/debugpy/_vendored/pydevd/build_tools/pydevd_release_process.txt
index 0c79a4c77..56d918ff7 100644
--- a/src/debugpy/_vendored/pydevd/build_tools/pydevd_release_process.txt
+++ b/src/debugpy/_vendored/pydevd/build_tools/pydevd_release_process.txt
@@ -7,7 +7,7 @@ Update cython-generated files (must update cython and then run build_tools/build
Create tag:
-----------
-git tag pydev_debugger_3_1_0 -a -m "PyDev.Debugger 3.1.0"
+git tag pydev_debugger_3_2_1 -a -m "PyDev.Debugger 3.2.1"
git push --tags
diff --git a/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py b/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py
index b9efa4304..d53c5f152 100644
--- a/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py
+++ b/src/debugpy/_vendored/pydevd/pydev_ipython/qt_loaders.py
@@ -130,7 +130,6 @@ def has_binding(api):
import importlib
try:
- import imp
# importing top level PyQt4/PySide module is ok...
mod = __import__(module_name)
# ...importing submodules is not
@@ -144,13 +143,13 @@ def has_binding(api):
return check_version(mod.__version__, "1.0.3")
else:
return True
-
+
except ModuleNotFoundError:
from importlib import machinery
-
+
# importing top level PyQt4/PySide module is ok...
mod = __import__(module_name)
-
+
# ...importing submodules is not
loader_details = (machinery.ExtensionFileLoader, machinery.EXTENSION_SUFFIXES)
submod_finder = machinery.FileFinder(mod.__path__[0], loader_details)
@@ -159,7 +158,7 @@ def has_binding(api):
and submod_finder.find_spec("QtGui") is not None
and submod_finder.find_spec("QtSvg") is not None
)
-
+
# we can also safely check PySide version
if api == QT_API_PYSIDE:
return check_version(mod.__version__, '1.0.3') and submod_check
diff --git a/src/debugpy/_vendored/pydevd/pydevd.py b/src/debugpy/_vendored/pydevd/pydevd.py
index 959ce4091..6eecb6c12 100644
--- a/src/debugpy/_vendored/pydevd/pydevd.py
+++ b/src/debugpy/_vendored/pydevd/pydevd.py
@@ -3,6 +3,7 @@
This module starts the debugger.
"""
+
import sys # @NoMove
if sys.version_info[:2] < (3, 6):
@@ -11,14 +12,11 @@
)
import os
-try:
- # Just empty packages to check if they're in the PYTHONPATH.
- import _pydev_bundle
-except ImportError:
- # On the first import of a pydevd module, add pydevd itself to the PYTHONPATH
- # if its dependencies cannot be imported.
- sys.path.append(os.path.dirname(os.path.abspath(__file__)))
- import _pydev_bundle
+# On the first import of a pydevd module, add pydevd itself to the PYTHONPATH
+this_dir = os.path.dirname(os.path.abspath(__file__))
+sys.path.insert(0, this_dir)
+
+import _pydev_bundle
# Import this first as it'll check for shadowed modules and will make sure that we import
# things as needed for gevent.
@@ -125,7 +123,7 @@
get_abs_path_real_path_and_base_from_file,
NORM_PATHS_AND_BASE_CONTAINER,
)
-from pydevd_file_utils import get_fullname, get_package_dir, is_pydevd_path
+from pydevd_file_utils import get_fullname, get_package_dir
from os.path import abspath as os_path_abspath
import pydevd_tracing
from _pydevd_bundle.pydevd_comm import InternalThreadCommand, InternalThreadCommandForAnyThread, create_server_socket, FSNotifyThread
@@ -175,7 +173,7 @@
if USE_CUSTOM_SYS_CURRENT_FRAMES_MAP:
from _pydevd_bundle.pydevd_constants import constructed_tid_to_last_frame
-__version_info__ = (3, 1, 0)
+__version_info__ = (3, 2, 2)
__version_info_str__ = []
for v in __version_info__:
__version_info_str__.append(str(v))
@@ -1075,13 +1073,6 @@ def get_file_type(self, frame, abs_real_path_and_basename=None, _cache_file_type
return _cache_file_type[cache_key]
except:
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 and is_pydevd_path(frame.f_back.f_code.co_filename):
- # Special case, this is a string coming from pydevd itself. However we have to skip this logic for other
- # files that are also marked as PYDEV_FILE (like external files marked this way)
- 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 (
@@ -1099,7 +1090,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
@@ -3701,5 +3692,13 @@ def main():
debugger.wait_for_commands(globals)
+try:
+ # Remove the entry we added: it should no longer be needed as
+ # what we need should've been imported already
+ if sys.path[:1] == [this_dir]:
+ sys.path.remove(this_dir)
+except Exception:
+ pass
+
if __name__ == "__main__":
main()
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
index a1a852a02..2e328f617 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
+++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/add_code_to_python_process.py
@@ -308,7 +308,7 @@ def run_python_code_windows(pid, python_code, connect_debugger_tracing=False, sh
args = [target_executable, str(pid), target_dll_run_on_dllmain]
subprocess.check_call(args)
- if not event.wait_for_event_set(30):
+ if not event.wait_for_event_set(15):
print("Timeout error: the attach may not have completed.")
sys.stdout.flush()
print("--- Finished dll injection ---\n")
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll
index e02510034..9cf73c3f2 100644
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.dll differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb
deleted file mode 100644
index 45225278a..000000000
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_amd64.pdb and /dev/null differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so
index efcd65851..4203c0ae4 100755
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_amd64.so differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so
index 4865512e4..862b81e1c 100755
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_linux_x86.so differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py
index eb5f8d0a7..852f99d99 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py
+++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_script.py
@@ -81,6 +81,10 @@ def fix_main_thread_id(on_warn=lambda msg: None, on_exception=lambda msg: None,
import sys
import threading
+ # This is no longer needed in Py 3.13 (as the related issue is already fixed).
+ if sys.version_info[:2] >= (3, 13):
+ return
+
try:
with threading._active_limbo_lock:
main_thread_instance = get_main_thread_instance(threading)
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll
index 516022c27..fc7cbd123 100644
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.dll differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb
deleted file mode 100644
index d14d3b163..000000000
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86.pdb and /dev/null differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib
old mode 100644
new mode 100755
index 581ac88a5..beef83e8e
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/attach_x86_64.dylib differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp
index eed23f25a..4f033f88a 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/common/py_settrace.hpp
+++ b/src/debugpy/_vendored/pydevd/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/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe
index 333b98e32..e3cc9388b 100644
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.exe differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb
deleted file mode 100644
index 7cf5e1e57..000000000
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_amd64.pdb and /dev/null differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe
index 3a0fc8140..8d19bd606 100644
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.exe differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb
deleted file mode 100644
index 7e9246be2..000000000
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/inject_dll_x86.pdb and /dev/null differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_linux.sh
old mode 100644
new mode 100755
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_mac.sh
old mode 100644
new mode 100755
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_manylinux.cmd b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_mac/compile_manylinux.cmd
old mode 100644
new mode 100755
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll
index 2332a97e4..4db69115e 100644
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.dll differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb
deleted file mode 100644
index c189ed4ec..000000000
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_amd64.pdb and /dev/null differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll
index f426c38e2..bcccc0de7 100644
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll and b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.dll differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb
deleted file mode 100644
index ca716cd76..000000000
Binary files a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/run_code_on_dllmain_x86.pdb and /dev/null differ
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp
index 6ce81c173..cafd69f0d 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp
+++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/attach.cpp
@@ -108,8 +108,8 @@ struct InitializeThreadingInfo {
PyEval_Lock* initThreads;
CRITICAL_SECTION cs;
- HANDLE initedEvent; // Note: only access with cs locked (and check if not already nullptr).
- bool completed; // Note: only access with cs locked
+ HANDLE initedEvent; // Note: only access with mutex locked (and check if not already nullptr).
+ bool completed; // Note: only access with mutex locked
};
@@ -322,7 +322,6 @@ extern "C"
return -240;
}
-
// Either _Py_CheckInterval or _PyEval_[GS]etSwitchInterval are useful, but not required
DEFINE_PROC_NO_CHECK(intervalCheck, int*, "_Py_CheckInterval", -250); // optional
DEFINE_PROC_NO_CHECK(getSwitchInterval, _PyEval_GetSwitchInterval*, "_PyEval_GetSwitchInterval", -260); // optional
@@ -375,7 +374,6 @@ extern "C"
initializeThreadingInfo->initedEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr);
InitializeCriticalSection(&initializeThreadingInfo->cs);
-
// Add the call to initialize threading.
addPendingCall(&AttachCallback, initializeThreadingInfo);
diff --git a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat
index c88628224..59ffcc0b3 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat
+++ b/src/debugpy/_vendored/pydevd/pydevd_attach_to_process/windows/compile_windows.bat
@@ -1,6 +1,4 @@
:: This script compiles the attach and inject DLLs for x86 and x64 architectures.
-:: It runs as part of the PR checks in the debugpy repo, AND the artifacts are uploaded to github,
-:: so you don't have to run it locally.
setlocal
@cd /d %~dp0
diff --git a/src/debugpy/_vendored/pydevd/pydevd_file_utils.py b/src/debugpy/_vendored/pydevd/pydevd_file_utils.py
index f10948ea5..b9fbe4d26 100644
--- a/src/debugpy/_vendored/pydevd/pydevd_file_utils.py
+++ b/src/debugpy/_vendored/pydevd/pydevd_file_utils.py
@@ -1,44 +1,44 @@
r"""
- This module provides utilities to get the absolute filenames so that we can be sure that:
- - The case of a file will match the actual file in the filesystem (otherwise breakpoints won't be hit).
- - Providing means for the user to make path conversions when doing a remote debugging session in
- one machine and debugging in another.
+This module provides utilities to get the absolute filenames so that we can be sure that:
+ - The case of a file will match the actual file in the filesystem (otherwise breakpoints won't be hit).
+ - Providing means for the user to make path conversions when doing a remote debugging session in
+ one machine and debugging in another.
- To do that, the PATHS_FROM_ECLIPSE_TO_PYTHON constant must be filled with the appropriate paths.
+To do that, the PATHS_FROM_ECLIPSE_TO_PYTHON constant must be filled with the appropriate paths.
- @note:
- in this context, the server is where your python process is running
- and the client is where eclipse is running.
+@note:
+ in this context, the server is where your python process is running
+ and the client is where eclipse is running.
- E.g.:
- If the server (your python process) has the structure
- /user/projects/my_project/src/package/module1.py
+E.g.:
+ If the server (your python process) has the structure
+ /user/projects/my_project/src/package/module1.py
- and the client has:
- c:\my_project\src\package\module1.py
+ and the client has:
+ c:\my_project\src\package\module1.py
- the PATHS_FROM_ECLIPSE_TO_PYTHON would have to be:
- PATHS_FROM_ECLIPSE_TO_PYTHON = [(r'c:\my_project\src', r'/user/projects/my_project/src')]
+ the PATHS_FROM_ECLIPSE_TO_PYTHON would have to be:
+ PATHS_FROM_ECLIPSE_TO_PYTHON = [(r'c:\my_project\src', r'/user/projects/my_project/src')]
- alternatively, this can be set with an environment variable from the command line:
- set PATHS_FROM_ECLIPSE_TO_PYTHON=[['c:\my_project\src','/user/projects/my_project/src']]
+ alternatively, this can be set with an environment variable from the command line:
+ set PATHS_FROM_ECLIPSE_TO_PYTHON=[['c:\my_project\src','/user/projects/my_project/src']]
- @note: DEBUG_CLIENT_SERVER_TRANSLATION can be set to True to debug the result of those translations
+@note: DEBUG_CLIENT_SERVER_TRANSLATION can be set to True to debug the result of those translations
- @note: the case of the paths is important! Note that this can be tricky to get right when one machine
- uses a case-independent filesystem and the other uses a case-dependent filesystem (if the system being
- debugged is case-independent, 'normcase()' should be used on the paths defined in PATHS_FROM_ECLIPSE_TO_PYTHON).
+@note: the case of the paths is important! Note that this can be tricky to get right when one machine
+uses a case-independent filesystem and the other uses a case-dependent filesystem (if the system being
+debugged is case-independent, 'normcase()' should be used on the paths defined in PATHS_FROM_ECLIPSE_TO_PYTHON).
- @note: all the paths with breakpoints must be translated (otherwise they won't be found in the server)
+@note: all the paths with breakpoints must be translated (otherwise they won't be found in the server)
- @note: to enable remote debugging in the target machine (pydev extensions in the eclipse installation)
- import pydevd;pydevd.settrace(host, stdoutToServer, stderrToServer, port, suspend)
+@note: to enable remote debugging in the target machine (pydev extensions in the eclipse installation)
+ import pydevd;pydevd.settrace(host, stdoutToServer, stderrToServer, port, suspend)
- see parameter docs on pydevd.py
+ see parameter docs on pydevd.py
- @note: for doing a remote debugging session, all the pydevd_ files must be on the server accessible
- through the PYTHONPATH (and the PATHS_FROM_ECLIPSE_TO_PYTHON only needs to be set on the target
- machine for the paths that'll actually have breakpoints).
+@note: for doing a remote debugging session, all the pydevd_ files must be on the server accessible
+ through the PYTHONPATH (and the PATHS_FROM_ECLIPSE_TO_PYTHON only needs to be set on the target
+ machine for the paths that'll actually have breakpoints).
"""
from _pydev_bundle import pydev_log
@@ -71,7 +71,6 @@
# realpath is a no-op on systems without islink support
os_path_real_path = os.path.abspath
-PYDEVD_ROOT_PATH = os_path_real_path(os.path.dirname(__file__))
def _get_library_dir():
library_dir = None
@@ -964,9 +963,3 @@ def get_package_dir(mod_name):
if os.path.isdir(mod_path):
return mod_path
return None
-
-def is_pydevd_path(path):
- # Return true if this file is rooted in the pydevd directory.
- dir: str = os_path_real_path(os.path.dirname(path))
- return dir.startswith(PYDEVD_ROOT_PATH)
-
diff --git a/src/debugpy/_vendored/pydevd/pyproject.toml b/src/debugpy/_vendored/pydevd/pyproject.toml
index 79c68d11e..45f3a072a 100644
--- a/src/debugpy/_vendored/pydevd/pyproject.toml
+++ b/src/debugpy/_vendored/pydevd/pyproject.toml
@@ -7,6 +7,7 @@
before-build = """
pydevd_attach_to_process/linux_and_mac/compile_linux.sh
pip install cython
+pip install setuptools
python build_tools/build.py
"""
diff --git a/src/debugpy/_vendored/pydevd/tests/test_file_utils.py b/src/debugpy/_vendored/pydevd/tests/test_file_utils.py
deleted file mode 100644
index b362158bd..000000000
--- a/src/debugpy/_vendored/pydevd/tests/test_file_utils.py
+++ /dev/null
@@ -1,11 +0,0 @@
-import unittest
-import pydevd_file_utils
-
-class TestFileUtils(unittest.TestCase):
- def test_path_search(self):
- self.assertTrue(pydevd_file_utils.contains_dir("foo/bar/inspect.py", "inspect.py"))
- self.assertTrue(pydevd_file_utils.contains_dir("foo/bar/inspect.py", "foo"))
- self.assertTrue(pydevd_file_utils.contains_dir("foo/bar/inspect.py", "bar"))
- self.assertFalse(pydevd_file_utils.contains_dir("foo/bar/inspect.py", "boo"))
- self.assertFalse(pydevd_file_utils.contains_dir("foo/bar/inspect.py", "foo/bar"))
- self.assertFalse(pydevd_file_utils.contains_dir("", "path"))
\ No newline at end of file
diff --git a/src/debugpy/_vendored/pydevd/tests/test_pyserver.py b/src/debugpy/_vendored/pydevd/tests/test_pyserver.py
index fa1696920..d7fccfc5b 100644
--- a/src/debugpy/_vendored/pydevd/tests/test_pyserver.py
+++ b/src/debugpy/_vendored/pydevd/tests/test_pyserver.py
@@ -1,5 +1,6 @@
import sys
from _pydev_bundle._pydev_saved_modules import thread
+from _pydevd_bundle.pydevd_constants import IS_PY313_OR_GREATER
import pycompletionserver
import socket
from urllib.parse import quote_plus
@@ -71,6 +72,8 @@ def read_msg(self):
return msg
+ @unittest.skipIf(IS_PY313_OR_GREATER and sys.platform == "linux",
+ "Flakey on Linux")
def test_completion_sockets_and_messages(self):
t, socket = self.create_connections()
self.socket = socket
diff --git a/src/debugpy/_vendored/pydevd/tests/test_simpleTipper.py b/src/debugpy/_vendored/pydevd/tests/test_simpleTipper.py
index 5719a6346..85dbad093 100644
--- a/src/debugpy/_vendored/pydevd/tests/test_simpleTipper.py
+++ b/src/debugpy/_vendored/pydevd/tests/test_simpleTipper.py
@@ -1,6 +1,7 @@
"""
@author Fabio Zadrozny
"""
+
from _pydev_bundle import _pydev_imports_tipper
import inspect
import pytest
@@ -176,7 +177,13 @@ def test_imports(self):
self.assert_in("parseFile", tip)
else:
self.assert_args(
- "parse", ["(source, filename, mode)", "(source, filename, mode, type_comments=False, feature_version=None)"], tip
+ "parse",
+ [
+ "(source, filename, mode)",
+ "(source, filename, mode, type_comments=False, feature_version=None)",
+ "(source, filename, mode, type_comments=False, feature_version=None, optimize=-1)",
+ ],
+ tip,
)
self.assert_args("walk", "(node)", tip)
self.assert_in("parse", tip)
diff --git a/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py b/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py
index e5ef74e97..1dfa12ec1 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/debugger_unittest.py
@@ -146,7 +146,7 @@ def wrapper(func):
return wrapper
-TIMEOUT = 60
+TIMEOUT = 20
try:
TimeoutError = TimeoutError # @ReservedAssignment
@@ -647,7 +647,7 @@ def run_process(self, args, writer):
except:
traceback.print_exc()
finish[0] = True
- # print("Log on success: " + self.get_log_contents())
+ print("Log on success: " + self.get_log_contents())
def get_log_contents(self):
log_contents = ""
@@ -1656,7 +1656,9 @@ def get_step_into_variants(self, thread_id, frame_id, start_line, end_line):
def wait_for_thread_join(self, main_thread_id):
def condition():
- return self.get_frame_names(main_thread_id) in (
+ names = self.get_frame_names(main_thread_id)
+ return names in (
+ ["join", ""],
["wait", "join", ""],
["_wait_for_tstate_lock", "join", ""],
["_wait_for_tstate_lock", "join", "", "_run_code", "_run_module_code", "run_path"],
diff --git a/src/debugpy/_vendored/pydevd/tests_python/flask1/.project b/src/debugpy/_vendored/pydevd/tests_python/flask1/.project
new file mode 100644
index 000000000..b4528d4a9
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/flask1/.project
@@ -0,0 +1,17 @@
+
+
+ flask1
+
+
+
+
+
+ org.python.pydev.PyDevBuilder
+
+
+
+
+
+ org.python.pydev.pythonNature
+
+
diff --git a/src/debugpy/_vendored/pydevd/tests_python/flask1/.pydevproject b/src/debugpy/_vendored/pydevd/tests_python/flask1/.pydevproject
new file mode 100644
index 000000000..ad74947d0
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/flask1/.pydevproject
@@ -0,0 +1,8 @@
+
+
+
+/${PROJECT_DIR_NAME}
+
+python interpreter
+Default
+
diff --git a/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_17/.project b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_17/.project
new file mode 100644
index 000000000..00c3a2c6b
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_17/.project
@@ -0,0 +1,18 @@
+
+
+ my_django_proj_17
+
+
+
+
+
+ org.python.pydev.PyDevBuilder
+
+
+
+
+
+ org.python.pydev.pythonNature
+ org.python.pydev.django.djangoNature
+
+
diff --git a/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_17/.pydevproject b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_17/.pydevproject
new file mode 100644
index 000000000..6e842d015
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_17/.pydevproject
@@ -0,0 +1,12 @@
+
+
+
+DJANGO_MANAGE_LOCATION
+manage.py
+
+
+/${PROJECT_DIR_NAME}
+
+python 2.7
+Default
+
diff --git a/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.project b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.project
new file mode 100644
index 000000000..0109ff29d
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.project
@@ -0,0 +1,18 @@
+
+
+ my_django_proj_21
+
+
+
+
+
+ org.python.pydev.PyDevBuilder
+
+
+
+
+
+ org.python.pydev.pythonNature
+ org.python.pydev.django.djangoNature
+
+
diff --git a/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.pydevproject b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.pydevproject
new file mode 100644
index 000000000..7b25ac2bf
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.pydevproject
@@ -0,0 +1,14 @@
+
+
+
+DJANGO_MANAGE_LOCATION
+manage.py
+DJANGO_SETTINGS_MODULE
+my_django_proj_21.settings
+
+python interpreter
+Default
+
+/${PROJECT_DIR_NAME}
+
+
diff --git a/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.settings/org.eclipse.core.resources.prefs b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 000000000..922acb321
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,27 @@
+eclipse.preferences.version=1
+encoding//.settings/org.python.pydev.yaml=UTF-8
+encoding//_pydevd_bundle/_debug_adapter/pydevd_schema.py=utf-8
+encoding//pydev_ipython/inputhook.py=utf-8
+encoding//pydev_ipython/inputhookglut.py=utf-8
+encoding//pydev_ipython/inputhookpyglet.py=utf-8
+encoding//pydev_ipython/inputhookqt4.py=utf-8
+encoding//pydev_ipython/inputhookqt5.py=utf-8
+encoding//pydev_ipython/inputhookwx.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/breakpoint.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/crash.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/interactive.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/plugins/do_exploitable.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/process.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/__init__.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/defines.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/kernel32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/user32.py=utf-8
+encoding//pydevd_attach_to_process/winappdbg/win32/version.py=utf-8
+encoding//tests_python/debugger_fixtures.py=utf-8
+encoding//tests_python/test_collect_bytecode_info.py=utf-8
+encoding//tests_python/test_convert_utilities.py=utf-8
+encoding//tests_python/test_debugger.py=utf-8
+encoding//tests_python/test_debugger_json.py=utf-8
+encoding//tests_python/test_extract_token.py=utf-8
+encoding//tests_python/test_pydev_monkey.py=utf-8
+encoding//tests_python/test_safe_repr.py=utf-8
diff --git a/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.settings/org.python.pydev.yaml b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.settings/org.python.pydev.yaml
new file mode 100644
index 000000000..4a90160e0
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/my_django_proj_21/.settings/org.python.pydev.yaml
@@ -0,0 +1,47 @@
+ADD_NEW_LINE_AT_END_OF_FILE: true
+AUTOPEP8_PARAMETERS: ''
+AUTO_ADD_SELF: true
+AUTO_BRACES: true
+AUTO_COLON: true
+AUTO_DEDENT_ELSE: true
+AUTO_INDENT_AFTER_PAR_WIDTH: 1
+AUTO_INDENT_TO_PAR_LEVEL: false
+AUTO_LINK: false
+AUTO_LITERALS: true
+AUTO_PAR: true
+AUTO_WRITE_IMPORT_STR: true
+BLACK_PARAMETERS: ''
+BLANK_LINES_INNER: 1
+BLANK_LINES_TOP_LEVEL: 2
+BREAK_IMPORTS_MODE: PARENTHESIS
+DATE_FIELD_FORMAT: yyyy-MM-dd
+DATE_FIELD_NAME: __updated__
+DELETE_UNUSED_IMPORTS: false
+ENABLE_DATE_FIELD_ACTION: false
+FORMATTER_STYLE: PYDEVF
+FORMAT_BEFORE_SAVING: true
+FORMAT_ONLY_CHANGED_LINES: false
+FORMAT_WITH_AUTOPEP8: false
+FROM_IMPORTS_FIRST: false
+GROUP_IMPORTS: true
+IMPORT_ENGINE: IMPORT_ENGINE_PEP_8
+INDENT_AFTER_PAR_AS_PEP8: false
+MANAGE_BLANK_LINES: true
+MULTILINE_IMPORTS: true
+PEP8_IMPORTS: true
+PYDEV_TEST_RUNNER: '2'
+PYDEV_TEST_RUNNER_DEFAULT_PARAMETERS: --capture=no -vv --tb=native -n 0
+PYDEV_USE_PYUNIT_VIEW: true
+SAVE_ACTIONS_ONLY_ON_WORKSPACE_FILES: true
+SMART_INDENT_PAR: true
+SMART_LINE_MOVE: false
+SORT_IMPORTS_ON_SAVE: false
+SORT_NAMES_GROUPED: false
+SPACES_BEFORE_COMMENT: '2'
+SPACES_IN_START_COMMENT: '1'
+TRIM_EMPTY_LINES: true
+TRIM_MULTILINE_LITERALS: true
+USE_ASSIGN_WITH_PACES_INSIDER_PARENTESIS: false
+USE_OPERATORS_WITH_SPACE: true
+USE_SPACE_AFTER_COMMA: true
+USE_SPACE_FOR_PARENTESIS: false
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case20.py b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case20.py
index e18e048fe..93b0d521f 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case20.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case20.py
@@ -1,38 +1,99 @@
import pydevd
import threading
+import sys
original = pydevd.PyDB.notify_thread_created
found = set()
+
def new_notify_thread_created(self, thread_id, thread, *args, **kwargs):
found.add(thread)
return original(self, thread_id, thread, *args, **kwargs)
-pydevd.PyDB.notify_thread_created = new_notify_thread_created
+
+pydevd.PyDB.notify_thread_created = new_notify_thread_created
ok = []
+
+
class MyThread(threading.Thread):
-
def run(self):
if self not in found:
ok.append(False)
else:
ok.append(True)
-
-if __name__ == '__main__':
- threads = []
+
+
+class ManualCreatedThreadPy313:
+ def __init__(self):
+ self.ev = threading.Event()
+
+ def run(self):
+ try:
+ if threading.current_thread() not in found:
+ ok.append(False)
+ else:
+ ok.append(True)
+ finally:
+ self.ev.set()
+
+ def start(self):
+ import _thread
+
+ _thread.start_joinable_thread(self.run)
+
+ def join(self):
+ self.ev.wait()
+
+
+class ManualCreatedThreadFromThreadModule:
+ def __init__(self):
+ self.ev = threading.Event()
+
+ def run(self):
+ try:
+ if threading.current_thread() not in found:
+ ok.append(False)
+ else:
+ ok.append(True)
+ finally:
+ self.ev.set()
+
+ def start(self):
+ try:
+ import thread
+ except Exception:
+ import _thread as thread
+
+ thread.start_new_thread(self.run)
+
+ def join(self):
+ self.ev.wait()
+
+
+if __name__ == "__main__":
+ threads: list = []
+
+ if sys.version_info[:2] >= (3, 13):
+ t1 = ManualCreatedThreadPy313()
+ t1.start()
+ threads.append(t1)
+
+ t2 = ManualCreatedThreadFromThreadModule()
+ t2.start()
+ threads.append(t2)
+
for i in range(15):
t = MyThread()
t.start()
threads.append(t)
-
+
for t in threads:
t.join()
-
+
assert len(ok) == len(threads)
- assert all(ok), 'Expected all threads to be notified of their creation before starting to run. Found: %s' % (ok,)
-
+ assert all(ok), "Expected all threads to be notified of their creation before starting to run. Found: %s" % (ok,)
+
found.clear()
- print('TEST SUCEEDED')
-
+ print("TEST SUCEEDED")
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_exceptions.py b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_exceptions.py
index f4a7be2d8..c5cf590b4 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_exceptions.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_exceptions.py
@@ -14,7 +14,8 @@ def method1():
method2() # handle on method1
except:
pass # Ok, handled
- assert '__exception__' not in sys._getframe().f_locals
+ exc = sys._getframe().f_locals.get('__exception__', None)
+ assert exc is None
if __name__ == '__main__':
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_local_variables.py b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_local_variables.py
index 47f8f169e..e5c0d1ffa 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_local_variables.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_local_variables.py
@@ -4,7 +4,7 @@ def Call():
variable_for_test_1 = 10 # Break here
variable_for_test_2 = 20
variable_for_test_3 = {'a':30, 'b':20}
- locals()[u'\u16A0'] = u'\u16A1' # unicode variable (would be syntax error on py2).
+ áš = u'\u16A1'
all_vars_set = True # Break 2 here
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_break.py b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_break.py
new file mode 100644
index 000000000..d64f91d4d
--- /dev/null
+++ b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_break.py
@@ -0,0 +1,7 @@
+import time
+
+wait = True
+while wait:
+ time.sleep(1) # break here
+
+print('attached')
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py
index 6add75fd4..1892b1e0f 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case_sysexit_unhandled_launcher.py
@@ -1,11 +1,6 @@
-import time
import os
-wait = True
-while wait:
- time.sleep(1) # break here
-
-print('attached')
+import _debugger_case_sysexit_unhandled_break
# Raise an exception in a system module.
def raise_exception():
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/_pydevd_test_find_main_thread_id.py b/src/debugpy/_vendored/pydevd/tests_python/resources/_pydevd_test_find_main_thread_id.py
index f78454f4e..a30bb5b57 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/_pydevd_test_find_main_thread_id.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/resources/_pydevd_test_find_main_thread_id.py
@@ -2,38 +2,40 @@
# imported and having no other threads running).
-def wait_for_condition(condition, msg=None, timeout=5, sleep=.05):
+def wait_for_condition(condition, msg=None, timeout=5, sleep=0.05):
import time
+
curtime = time.time()
while True:
if condition():
break
if time.time() - curtime > timeout:
- error_msg = 'Condition not reached in %s seconds' % (timeout,)
+ error_msg = "Condition not reached in %s seconds" % (timeout,)
if msg is not None:
- error_msg += '\n'
+ error_msg += "\n"
if callable(msg):
error_msg += msg()
else:
error_msg += str(msg)
- raise AssertionError('Timeout: %s' % (error_msg,))
+ raise AssertionError("Timeout: %s" % (error_msg,))
time.sleep(sleep)
def check_main_thread_id_simple():
import attach_script
import sys
- assert 'threading' not in sys.modules
+
+ assert "threading" not in sys.modules
try:
import thread
except ImportError:
import _thread as thread
main_thread_id, log_msg = attach_script.get_main_thread_id(None)
- assert main_thread_id == thread.get_ident(), 'Found: %s, Expected: %s' % (main_thread_id, thread.get_ident())
+ assert main_thread_id == thread.get_ident(), "Found: %s, Expected: %s" % (main_thread_id, thread.get_ident())
assert not log_msg
- assert 'threading' not in sys.modules
+ assert "threading" not in sys.modules
wait_for_condition(lambda: len(sys._current_frames()) == 1)
@@ -41,7 +43,8 @@ def check_main_thread_id_multiple_threads():
import attach_script
import sys
import time
- assert 'threading' not in sys.modules
+
+ assert "threading" not in sys.modules
try:
import thread
except ImportError:
@@ -58,14 +61,14 @@ def method():
with lock:
thread.start_new_thread(method, ())
while not lock2.locked():
- time.sleep(.1)
+ time.sleep(0.1)
wait_for_condition(lambda: len(sys._current_frames()) == 2)
main_thread_id, log_msg = attach_script.get_main_thread_id(None)
- assert main_thread_id == thread.get_ident(), 'Found: %s, Expected: %s' % (main_thread_id, thread.get_ident())
+ assert main_thread_id == thread.get_ident(), "Found: %s, Expected: %s" % (main_thread_id, thread.get_ident())
assert not log_msg
- assert 'threading' not in sys.modules
+ # assert 'threading' not in sys.modules
wait_for_condition(lambda: len(sys._current_frames()) == 1)
@@ -73,7 +76,8 @@ def check_fix_main_thread_id_multiple_threads():
import attach_script
import sys
import time
- assert 'threading' not in sys.modules
+
+ assert "threading" not in sys.modules
try:
import thread
except ImportError:
@@ -85,13 +89,25 @@ def check_fix_main_thread_id_multiple_threads():
def method():
lock2.acquire()
import threading # Note: imported on wrong thread
- assert threading.current_thread().ident == thread.get_ident()
- assert threading.current_thread() is attach_script.get_main_thread_instance(threading)
- attach_script.fix_main_thread_id()
+ if sys.version_info[:2] >= (3, 13):
+ assert threading.current_thread().ident == thread.get_ident()
+
+ # yay, Python 3.13 fixed this (so, no patchis is actually needed)
+ assert threading.current_thread() is not attach_script.get_main_thread_instance(threading)
+
+ # Call it just to make sure it doesn't raise any error.
+ attach_script.fix_main_thread_id()
+ assert threading.current_thread() is not attach_script.get_main_thread_instance(threading)
- assert threading.current_thread().ident == thread.get_ident()
- assert threading.current_thread() is not attach_script.get_main_thread_instance(threading)
+ else:
+ assert threading.current_thread().ident == thread.get_ident()
+ assert threading.current_thread() is attach_script.get_main_thread_instance(threading)
+
+ attach_script.fix_main_thread_id()
+
+ assert threading.current_thread().ident == thread.get_ident()
+ assert threading.current_thread() is not attach_script.get_main_thread_instance(threading)
with lock:
pass # Will only finish when lock is released.
@@ -99,27 +115,30 @@ def method():
with lock:
thread.start_new_thread(method, ())
while not lock2.locked():
- time.sleep(.1)
+ time.sleep(0.1)
- wait_for_condition(lambda: len(sys._current_frames()) == 2)
+ wait_for_condition(lambda: len(sys._current_frames()) == 2, msg=(lambda: "Current frames: %s" % sys._current_frames()))
main_thread_id, log_msg = attach_script.get_main_thread_id(None)
- assert main_thread_id == thread.get_ident(), 'Found: %s, Expected: %s' % (main_thread_id, thread.get_ident())
+ assert main_thread_id == thread.get_ident(), "Found: %s, Expected: %s" % (main_thread_id, thread.get_ident())
assert not log_msg
- assert 'threading' in sys.modules
+ assert "threading" in sys.modules
import threading
+
assert threading.current_thread().ident == main_thread_id
wait_for_condition(lambda: len(sys._current_frames()) == 1)
def check_win_threads():
import sys
- if sys.platform != 'win32':
+
+ if sys.platform != "win32":
return
import attach_script
import time
- assert 'threading' not in sys.modules
+
+ assert "threading" not in sys.modules
try:
import thread
except ImportError:
@@ -141,18 +160,18 @@ def method(_):
with lock:
windll.kernel32.CreateThread(None, c_size_t(0), method, None, c_uint32(0), None)
while not lock2.locked():
- time.sleep(.1)
+ time.sleep(0.1)
wait_for_condition(lambda: len(sys._current_frames()) == 2)
main_thread_id, log_msg = attach_script.get_main_thread_id(None)
- assert main_thread_id == thread.get_ident(), 'Found: %s, Expected: %s' % (main_thread_id, thread.get_ident())
+ assert main_thread_id == thread.get_ident(), "Found: %s, Expected: %s" % (main_thread_id, thread.get_ident())
assert not log_msg
- assert 'threading' not in sys.modules
+ assert "threading" not in sys.modules
wait_for_condition(lambda: len(sys._current_frames()) == 1)
-if __name__ == '__main__':
+if __name__ == "__main__":
check_main_thread_id_simple()
check_main_thread_id_multiple_threads()
check_win_threads()
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/not_my_code/_pydevd_string_breakpoint.py b/src/debugpy/_vendored/pydevd/tests_python/resources/not_my_code/_pydevd_string_breakpoint.py
deleted file mode 100644
index 78d00ed93..000000000
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/not_my_code/_pydevd_string_breakpoint.py
+++ /dev/null
@@ -1,4 +0,0 @@
-def exec_breakpoint():
- # This exists so we can test that string frames from pydevd
- # don't get handled
- exec("breakpoint()")
\ No newline at end of file
diff --git a/src/debugpy/_vendored/pydevd/tests_python/resources/not_my_code/main_on_entry3.py b/src/debugpy/_vendored/pydevd/tests_python/resources/not_my_code/main_on_entry3.py
deleted file mode 100644
index 44ed4b55a..000000000
--- a/src/debugpy/_vendored/pydevd/tests_python/resources/not_my_code/main_on_entry3.py
+++ /dev/null
@@ -1,12 +0,0 @@
-if __name__ == '__main__':
- import sys
- import os
- sys.path.append(os.path.dirname(os.path.dirname(__file__)))
-
- # Create a breakpoint in a frame
- import _pydevd_string_breakpoint
- _pydevd_string_breakpoint.exec_breakpoint()
-
- # Now run the actual entry point
- import empty_file
- print('TEST SUCEEDED')
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_collect_bytecode_info.py b/src/debugpy/_vendored/pydevd/tests_python/test_collect_bytecode_info.py
index 353c50909..3dc692b9c 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_collect_bytecode_info.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_collect_bytecode_info.py
@@ -10,7 +10,6 @@
from _pydevd_bundle.pydevd_constants import IS_PY38_OR_GREATER, IS_JYTHON
from tests_python.debug_constants import IS_PY311_OR_GREATER, TODO_PYPY
-
def _method_call_with_error():
try:
_method_reraise()
@@ -161,7 +160,7 @@ def check(self, method, expected_as_str, expected_as_str_source_version=None, up
if update_try_except_infos is not None:
update_try_except_infos(try_except_infos)
- if sys.version_info[:2] not in ((3, 10), (3, 11), (3, 12)):
+ if sys.version_info[:2] not in ((3, 10), (3, 11), (3, 12), (3, 13)):
assert str(try_except_infos) == expected_as_str
from _pydevd_bundle.pydevd_collect_bytecode_info import collect_try_except_info_from_source
@@ -193,7 +192,7 @@ def test_collect_try_except_info(data_regression, pyfile):
info = collect_try_except_info(method.__code__, use_func_first_line=True)
method_to_info[key] = sorted(str(x) for x in info)
- if sys.version_info[:2] not in ((3, 10), (3, 11), (3, 12)):
+ if sys.version_info[:2] not in ((3, 10), (3, 11), (3, 12), (3, 13)):
data_regression.check(method_to_info)
data_regression.check(method_to_info_from_source)
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py b/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py
index b99ab4e0e..90c297f10 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_debugger.py
@@ -1,11 +1,12 @@
# coding: utf-8
"""
- The idea is that we record the commands sent to the debugger and reproduce them from this script
- (so, this works as the client, which spawns the debugger as a separate process and communicates
- to it as if it was run from the outside)
+The idea is that we record the commands sent to the debugger and reproduce them from this script
+(so, this works as the client, which spawns the debugger as a separate process and communicates
+to it as if it was run from the outside)
- Note that it's a python script but it'll spawn a process to run as jython, ironpython and as python.
+Note that it's a python script but it'll spawn a process to run as jython, ironpython and as python.
"""
+
import time
import pytest
@@ -1523,7 +1524,7 @@ def additional_output_checks(writer, stdout, stderr):
if unhandled:
writer.write_add_exception_breakpoint_with_policy("Exception", "0", "1", "0")
else:
- writer.write_add_exception_breakpoint_with_policy("Exception", "1", "0", "0")
+ writer.write_add_exception_breakpoint_with_policy("Exception", "1", "0", "1")
writer.write_make_initial_run()
@@ -1726,7 +1727,7 @@ def test_unhandled_exceptions_in_top_level4(case_setup_unhandled_exceptions):
EXPECTED_RETURNCODE=1,
) as writer:
# Handled and unhandled
- writer.write_add_exception_breakpoint_with_policy("Exception", "1", "1", "0")
+ writer.write_add_exception_breakpoint_with_policy("Exception", "1", "1", "1")
writer.write_make_initial_run()
# We have an exception thrown and handled and another which is thrown and is then unhandled.
@@ -2258,7 +2259,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")
@@ -3044,7 +3045,9 @@ 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 or IS_PY312_OR_GREATER, 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
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_debugger_json.py b/src/debugpy/_vendored/pydevd/tests_python/test_debugger_json.py
index 671542a14..f3962e17b 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_debugger_json.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_debugger_json.py
@@ -50,6 +50,7 @@
PYDEVD_USE_SYS_MONITORING,
IS_PY312_OR_GREATER,
SUPPORT_ATTACH_TO_PID,
+ IS_PY313_OR_GREATER,
)
from tests_python import debugger_unittest
from tests_python.debug_constants import TEST_CHERRYPY, TEST_DJANGO, TEST_FLASK, IS_CPYTHON, TEST_GEVENT, TEST_CYTHON, IS_PY311
@@ -1402,11 +1403,12 @@ def update_command_line_args(writer, args):
wait_for_condition(lambda: hasattr(writer, "reader_thread"))
json_facade = JsonFacade(writer)
+ json_facade.write_set_debugger_property([], ["_debugger_case_sysexit_unhandled_launcher.py"])
+ break_file = debugger_unittest._get_debugger_test_file("_debugger_case_sysexit_unhandled_break.py")
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")
+ bp_line = writer.get_line_index_with_content("break here", filename=break_file)
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
@@ -1421,21 +1423,21 @@ def _ignore_stderr_line(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"],
+ 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_set_breakpoints([bp_line], filename=break_file)
json_facade.write_make_initial_run()
- hit = json_facade.wait_for_thread_stopped(line=bp_line)
+ hit = json_facade.wait_for_thread_stopped(line=bp_line, file=break_file)
# 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):
@@ -1451,12 +1453,6 @@ def _ignore_stderr_line(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
@@ -4227,7 +4223,7 @@ def check_thread_events(json_facade):
json_facade.write_list_threads()
# Check that we have the started thread event (whenever we reconnect).
started_events = json_facade.mark_messages(ThreadEvent, lambda x: x.body.reason == "started")
- assert len(started_events) == 1
+ assert len(started_events) >= 1
def check_process_event(json_facade, start_method):
if start_method == "attach":
@@ -5742,24 +5738,6 @@ 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", "_pydevd_string_breakpoint.py"])
- json_facade.write_launch(
- justMyCode=True,
- stopOnEntry=True,
- showReturnValue=True,
- rules=[
- {"path": "**/main_on_entry3.py", "include": False},
- {"path": "**/_pydevd_string_breakpoint.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):
@@ -6257,11 +6235,14 @@ def get_environ(self):
@pytest.mark.skipif(
- not IS_WINDOWS
- or not IS_PY36_OR_GREATER
- or not IS_CPYTHON
- or not TEST_CYTHON
- or IS_PY311, # Requires frame-eval mode (not available for Python 3.11).
+ not (IS_PY312_OR_GREATER and IS_WINDOWS) # Always works with sys.monitoring (even without TEST_CYTHON)
+ and (
+ not IS_WINDOWS
+ or not IS_PY36_OR_GREATER
+ or not IS_CPYTHON
+ or not TEST_CYTHON
+ or IS_PY311 # Requires frame-eval mode (not available for Python 3.11).
+ ),
# Note that this works in Python 3.12 as it uses sys.monitoring.
reason="Windows only test and only Python 3.6 onwards.",
)
@@ -6300,6 +6281,41 @@ def method(_):
writer.finished_ok = True
+@pytest.mark.skipif(not IS_PY313_OR_GREATER, reason="3.13 onwards only test.")
+def test_internal_thread(case_setup_dap, pyfile):
+ @pyfile
+ def case_native_thread():
+ import _thread
+ import time
+
+ entered_thread = [False]
+
+ def method(*args, **kwargs):
+ entered_thread[0] = True # Break here
+ return 0
+
+ # Using it directly must still work!
+ _thread.start_joinable_thread(method)
+
+ while not entered_thread[0]:
+ time.sleep(0.1)
+
+ print("TEST SUCEEDED")
+
+ with case_setup_dap.test_file(case_native_thread) as writer:
+ json_facade = JsonFacade(writer)
+
+ line = writer.get_line_index_with_content("Break here")
+ json_facade.write_launch(justMyCode=False)
+ json_facade.write_set_breakpoints(line)
+ json_facade.write_make_initial_run()
+
+ json_facade.wait_for_thread_stopped(line=line)
+
+ json_facade.write_continue()
+ writer.finished_ok = True
+
+
def test_code_reload(case_setup_dap, pyfile):
@pyfile
def mod1():
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_evaluate_expression.py b/src/debugpy/_vendored/pydevd/tests_python/test_evaluate_expression.py
index e8cd62ec2..508ba559a 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_evaluate_expression.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_evaluate_expression.py
@@ -1,4 +1,4 @@
-from _pydevd_bundle.pydevd_constants import IS_PY38_OR_GREATER, NULL
+from _pydevd_bundle.pydevd_constants import IS_PY313_OR_GREATER, IS_PY38_OR_GREATER, NULL, IS_PY313_0
from _pydevd_bundle.pydevd_xml import ExceptionOnEvaluate
import sys
@@ -27,6 +27,7 @@ def disable_critical_log():
yield
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_basic(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -45,6 +46,7 @@ def check(frame):
assert "some_var" not in sys._getframe().f_globals
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_1(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -73,6 +75,7 @@ def check(frame):
del sys._getframe().f_globals[varname]
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_2(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -84,6 +87,7 @@ def check(frame):
check(global_frame)
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_3(disable_critical_log):
if not IS_PY38_OR_GREATER:
return
@@ -104,6 +108,7 @@ def check(frame):
assert "some_var" not in sys._getframe().f_globals
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_4(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -123,6 +128,7 @@ def check(frame):
assert "email" not in sys._getframe().f_globals
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_access_globals(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -137,6 +143,7 @@ def check(frame):
assert "global_variable" not in sys._getframe().f_locals
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_create_none(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -149,6 +156,7 @@ def check(frame):
check(next(iter(obtain_frame())))
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_delete_var(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -159,11 +167,15 @@ def check(frame):
eval_txt = "del x"
evaluate_expression(None, frame, eval_txt, is_exec=True)
- assert "x" not in frame.f_locals
+ if IS_PY313_0:
+ assert frame.f_locals["x"] == None
+ else:
+ assert "x" not in frame.f_locals
check(next(iter(obtain_frame())))
+@pytest.mark.skipif(IS_PY313_0, reason="Crashes on Python 3.13.0")
def test_evaluate_expression_5(disable_critical_log):
from _pydevd_bundle.pydevd_vars import evaluate_expression
@@ -243,7 +255,7 @@ async def main():
asyncio.run(main())
-@pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC, reason="Requires top-level async evaluation.")
+@pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC or IS_PY313_0, reason="Requires top-level async evaluation. Crashes on Python 3.13.0")
def test_evaluate_expression_async_exec_error(disable_critical_log):
py_db = _DummyPyDB()
@@ -266,7 +278,7 @@ async def main():
asyncio.run(main())
-@pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC, reason="Requires top-level async evaluation.")
+@pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC or IS_PY313_0, reason="Requires top-level async evaluation. Crashes on Python 3.13.0")
def test_evaluate_expression_async_eval(disable_critical_log):
py_db = _DummyPyDB()
@@ -290,7 +302,7 @@ async def main():
asyncio.run(main())
-@pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC, reason="Requires top-level async evaluation.")
+@pytest.mark.skipif(not CAN_EVALUATE_TOP_LEVEL_ASYNC or IS_PY313_0, reason="Requires top-level async evaluation. Crashes on Python 3.13.0")
def test_evaluate_expression_async_eval_error(disable_critical_log):
py_db = _DummyPyDB()
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py b/src/debugpy/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py
index 3c7c337ec..003340d86 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_frame_eval_and_tracing.py
@@ -6,7 +6,7 @@
from contextlib import contextmanager
from tests_python.debugger_unittest import IS_CPYTHON
from tests_python.debug_constants import TEST_CYTHON
-from _pydevd_bundle.pydevd_constants import IS_PY312_OR_GREATER, IS_PY311_OR_GREATER
+from _pydevd_bundle.pydevd_constants import IS_PY312_OR_GREATER, IS_PY311_OR_GREATER, IS_PY313_OR_GREATER, TODO_PY313_OR_GREATER
pytest_plugins = [
str("tests_python.debugger_fixtures"),
@@ -296,6 +296,7 @@ def test_frame_eval_change_breakpoints(case_setup_force_frame_eval):
writer.finished_ok = True
+@pytest.mark.skipif(TODO_PY313_OR_GREATER, reason="Flakey on python 3.13 or newer")
def test_generator_code_cache(case_setup_force_frame_eval):
with case_setup_force_frame_eval.test_file("_debugger_case_yield_from.py") as writer:
break1_line = writer.get_line_index_with_content("break1")
diff --git a/src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py b/src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py
index 9a2a20e57..707916f32 100644
--- a/src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py
+++ b/src/debugpy/_vendored/pydevd/tests_python/test_smart_step_into_bytecode.py
@@ -1,6 +1,6 @@
import sys
from _pydevd_bundle.pydevd_constants import IS_PY312_OR_GREATER, \
- IS_PY311_OR_GREATER
+ IS_PY311_OR_GREATER, IS_PY313_OR_GREATER
try:
from _pydevd_bundle import pydevd_bytecode_utils
except ImportError:
@@ -173,7 +173,9 @@ def function():
found = collect_smart_step_into_variants(
frame, 0, 99999, base=function.__code__.co_firstlineno)
- if IS_PY311_OR_GREATER:
+ if IS_PY313_OR_GREATER:
+ check_name_and_line(found, [('sys._getframe()', 1), ('foo.bar(\n Something(param1, param2=xxx.yyy),\n )', 2), ('call()', 5)])
+ elif IS_PY311_OR_GREATER:
check_name_and_line(found, [('sys._getframe()', 1), ('foo.bar(\n Something(param1, param2=xxx.yyy),\n )', 2), ('Something(param1, param2=xxx.yyy)', 3), ('call()', 5)])
else:
check_name_and_line(found, [('_getframe', 1), ('bar', 2), ('Something', 3), ('call', 5)])
@@ -194,7 +196,9 @@ def function():
found = collect_smart_step_into_variants(
frame, 0, 99999, base=function.__code__.co_firstlineno)
- if IS_PY311_OR_GREATER:
+ if IS_PY313_OR_GREATER:
+ check_name_and_line(found, [('sys._getframe()', 1), ('foo.bar(\n Something(param1, param2=xxx.yyy), {}\n )', 2), ('call()', 5)])
+ elif IS_PY311_OR_GREATER:
check_name_and_line(found, [('sys._getframe()', 1), ('foo.bar(\n Something(param1, param2=xxx.yyy), {}\n )', 2), ('Something(param1, param2=xxx.yyy)', 3), ('call()', 5)])
else:
check_name_and_line(found, [('_getframe', 1), ('bar', 2), ('Something', 3), ('call', 5)])
diff --git a/subrepo.py b/subrepo.py
new file mode 100644
index 000000000..4958251d8
--- /dev/null
+++ b/subrepo.py
@@ -0,0 +1,233 @@
+#!/usr/bin/env python
+
+# pyright: strict
+
+import argparse
+import os
+import shlex
+import subprocess
+import sys
+from contextlib import contextmanager
+from typing import Iterator
+
+_SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
+
+os.chdir(_SCRIPT_DIR)
+
+_GIT_SUBREPO_ROOT = os.path.join(_SCRIPT_DIR, "build", "git-subrepo")
+os.environ["GIT_SUBREPO_ROOT"] = _GIT_SUBREPO_ROOT
+os.environ["PATH"] = (
+ os.path.join(_GIT_SUBREPO_ROOT, "lib") + os.pathsep + os.environ["PATH"]
+)
+os.environ["FILTER_BRANCH_SQUELCH_WARNING"] = "1"
+
+_GIT_URL = "https://github.com/fabioz/PyDev.Debugger.git"
+_SUBREPO_NAME = "src/debugpy/_vendored/pydevd"
+_SUBREPO_TMP = ".git/tmp/subrepo/" + _SUBREPO_NAME
+
+
+@contextmanager
+def cwd(p: str) -> Iterator[None]:
+ old = os.getcwd()
+ os.chdir(p)
+ try:
+ yield
+ finally:
+ os.chdir(old)
+
+
+def invoke_call(*args: str) -> None:
+ print(f"== {shlex.join(args)} ==")
+ subprocess.check_call(args)
+
+
+def invoke_call_ok(*args: str) -> bool:
+ try:
+ subprocess.check_call(args)
+ return True
+ except:
+ return False
+
+
+def invoke_output(*args: str, no_log: bool = False) -> str:
+ if not no_log:
+ print(f"== {shlex.join(args)} ==")
+
+ return subprocess.check_output(args, text=True)
+
+
+def get_current_commit() -> str:
+ return invoke_output(
+ "git",
+ "config",
+ "--file",
+ f"{_SUBREPO_NAME}/.gitrepo",
+ "subrepo.commit",
+ no_log=True,
+ ).strip()
+
+
+def err_exit(message: str):
+ print(message, file=sys.stderr)
+ sys.exit(1)
+
+
+def clone() -> None:
+ # Clone the repo.
+ invoke_call("git", "subrepo", "clone", _GIT_URL, _SUBREPO_NAME)
+
+
+def reclone() -> None:
+ # Remove the temporary branch and worktree.
+ invoke_call("git", "subrepo", "clean", _SUBREPO_NAME)
+ # Force clone the repo.
+ invoke_call("git", "subrepo", "clone", "--force", _GIT_URL, _SUBREPO_NAME)
+
+
+def pull() -> None:
+ # Remove the temporary branch and worktree.
+ invoke_call("git", "subrepo", "clean", "--force", _SUBREPO_NAME)
+
+ invoke_call("git", "subrepo", "fetch", _SUBREPO_NAME)
+ with cwd(_SUBREPO_NAME):
+ new_commit = invoke_output("git", "rev-parse","--verify", "FETCH_HEAD").strip()
+
+ print(f"Updating to pydevd commit {new_commit}.")
+
+ # Pull changes and squash commit them.
+ invoke_call("git", "subrepo", "pull", _SUBREPO_NAME)
+
+ # Now, branch to see if there are any diffs. If not, then we can just reclone.
+ print("Branching to check if the pydevd tree is clean.")
+ invoke_call("git", "subrepo", "clean", _SUBREPO_NAME)
+ invoke_call("git", "subrepo", "branch", _SUBREPO_NAME)
+
+ with cwd(_SUBREPO_TMP):
+ no_diff = invoke_call_ok("git", "diff", "--quiet", new_commit)
+
+ if no_diff:
+ # No diff, so it's safe to manually move the subrepo parent to HEAD.
+ print("pydevd tree is clean, moving subrepo parent.")
+ new_parent = invoke_output("git", "rev-parse", "HEAD", no_log=True).strip()
+ invoke_call(
+ "git",
+ "config",
+ "--file",
+ "src/debugpy/_vendored/pydevd/.gitrepo",
+ "subrepo.parent",
+ new_parent,
+ )
+ invoke_call("git", "commit", "-am", "Update git-subrepo parent")
+ else:
+ print("pydevd tree has changes not pushed upstream.")
+
+
+def branch(message: str) -> None:
+ current_commit = get_current_commit()
+
+ # Remove the temporary branch and worktree.
+ invoke_call("git", "subrepo", "clean", _SUBREPO_NAME)
+ # Ensure we have all of the subrepo refs.
+ invoke_call("git", "subrepo", "fetch", _SUBREPO_NAME)
+ # Populate the subrepo/src/debugpy/_vendored/pydevd branch with new changes.
+ invoke_call("git", "subrepo", "branch", _SUBREPO_NAME)
+
+ # Enter worktree; changes here are applied to the subrepo/src/debugpy/_vendored/pydevd branch.
+ with cwd(_SUBREPO_TMP):
+ # Remove all commits after the last pull and restage the difference.
+ invoke_call("git", "reset", "--soft", current_commit)
+
+ hasModifiedFile = invoke_output("git", "status","-s").strip()
+
+ if hasModifiedFile:
+ # Commit changes with a new message.
+ invoke_call("git", "commit", "-m", message)
+
+
+def push_to_fork(fork_remote: str, fork_branch: str) -> None:
+ invoke_call("git", "push", fork_remote, f"subrepo/src/debugpy/_vendored/pydevd:{fork_branch}")
+
+
+def commit() -> None:
+ invoke_call("git", "subrepo", "commit", _SUBREPO_NAME)
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser(
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter
+ )
+ subparsers = parser.add_subparsers(dest="subcommand", required=True)
+
+ subparsers.add_parser(
+ "clone",
+ help="clones pydevd for the first time",
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
+ )
+ subparsers.add_parser(
+ "reclone",
+ help="force reclones pydevd",
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
+ )
+ subparsers.add_parser(
+ "pull",
+ help="pulls pydevd",
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
+ )
+
+ branch_parser = subparsers.add_parser(
+ "branch",
+ help="squashes changes to pydevd",
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
+ )
+ branch_parser.add_argument(
+ "-m",
+ "--message",
+ dest="message",
+ required=True,
+ help="message for the squashed commit",
+ )
+
+ ptf_parser = subparsers.add_parser(
+ "push-to-fork",
+ help="pushes the squashed changes to pydevd",
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
+ )
+ ptf_parser.add_argument(
+ "--fork-remote",
+ dest="fork_remote",
+ default="pydevd-fork",
+ help="pydevd remote",
+ )
+ ptf_parser.add_argument(
+ "--fork-branch",
+ dest="fork_branch",
+ required=True,
+ help="branch to push to on the remote",
+ )
+
+ subparsers.add_parser(
+ "commit",
+ help=f"runs 'git subrepo commit {_SUBREPO_NAME}'",
+ formatter_class=argparse.ArgumentDefaultsHelpFormatter,
+ )
+
+ args = parser.parse_args()
+
+ if args.subcommand == "clone":
+ clone()
+ elif args.subcommand == "reclone":
+ reclone()
+ elif args.subcommand == "pull":
+ pull()
+ elif args.subcommand == "branch":
+ branch(args.message)
+ elif args.subcommand == "push-to-fork":
+ push_to_fork(args.fork_remote, args.fork_branch)
+ elif args.subcommand == "commit":
+ commit()
+ else:
+ parser.print_help()
+
+
+if __name__ == "__main__":
+ main()