You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
venv/PyCharm 2025.2.1.1/plugins/python-ce/helpers/pydev
王梁辉 e3c6c39059
初始化项目:添加 src(源代码)和 doc(文档)文件夹
5 months ago
..
_pydev_bundle 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
_pydev_comm 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
_pydev_imps 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
_pydev_runfiles 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
_pydevd_bundle 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
_pydevd_frame_eval 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
build_tools 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
ci-requirements 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydev_console 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydev_ipython 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydev_sitecustomize 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd_attach_to_process 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd_concurrency_analyser 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd_plugins 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
stubs 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
test-requirements 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
third_party 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
LICENSE 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
MANIFEST.in 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
README.md 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
interpreterInfo.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
merge_pydev_pycharm.txt 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pycharm-console.rst 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pycharm-readme.rst 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pycompletionserver.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydev_app_engine_debug_startup.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydev_coverage.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydev_pysrc.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevconsole.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd_file_utils.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd_pycharm.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pydevd_tracing.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pyproject.toml 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
pytest.ini 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
runfiles.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
setup_cython.py 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago
tox.ini 初始化项目:添加 src(源代码)和 doc(文档)文件夹 5 months ago

README.md

PyDev.Debugger

PyCharms' fork of PyDev.Debugger.

Installation

In general, the debugger backend should NOT be installed separately if you're using an IDE which already bundles it (such as PyDev or PyCharm).

Compatibility

It is however available in PyPi so that it can be installed for doing remote debugging with pip -- so, when debugging a process which runs in another machine, it's possible to pip install pydevd-pycharm and in the code use pydevd_pycharm.settrace(host='10.1.1.1') to connect the debugger backend to the debugger UI running in the IDE (whereas previously the sources had to be manually copied from the IDE installation).

It should be compatible with Python 2.6 onwards (as well as Jython 2.7, IronPython and PyPy -- and any other variant which properly supports the Python structure for debuggers -- i.e.: sys.settrace/threading.settrace).

Recent versions contain speedup modules using Cython, which are generated with a few changes in the regular files to cythonize the files. To update and compile the cython sources (and generate some other auto-generated files), build_tools/build.py should be run -- note that the resulting .pyx and .c files should be commited.

To generate a distribution with the precompiled binaries for the IDE, build_binaries_windows.py should be run ( note that the environments must be pre-created as specified in that file).

To generate a distribution to upload to PyPi, python setup.py sdist bdist_wheel should be run for each python version which should have a wheel and afterwards twine upload -s dist/pydevd-* should be run to actually upload the contents to PyPi.

Dependencies

CI dependencies are stored in ci-requirements/. These are high-level dependencies required to initialize tests execution. Basically tox and it's transient requirements.

Test dependencies are stored in test-requirements/. These dependencies are required for successful execution of all the tests.

For local development you only need CI dependencies. Test dependencies are completely handled by tox, assuming you are running tests through it.

Dependencies are pinned and split by supported Python version. It is done ...

  • to avoid rogue dependency update crashing the tests and consequently safe-push overnight if the test is in the aggregator,
  • to have reproducible builds,
  • to avoid finding a set of dependencies which satisfy all the supported Python version simultaneously.

For more details on the current dependency declaration approach see PCQA-914 and PCQA-904.

Tests

Tests are executed via tox with the help of pytest.

To run all tests ...

tox

To run test vs. a specific Python version, e.g., Python 3.13 ...

tox -e py313

To run a specific test vs. a specific Python version ...

tox -e py313 -- pydev_tests/test_pyserver.py::TestCPython::test_message