python - 什么 Cygwin 包允许我调试 Python 代码?
问题描述
还有其他类似的问题,但没有一个是我正在寻找的,而且没有任何答案。
我正在为 Cygwin 寻找一个 python 调试器。例如,我有用于调试 C++ 的 gdb 调试器。我找到了一个叫做 pdb 的东西,但是在 cygwin 包列表中我找不到它。我查看了 Python 部分和调试部分中的每个包,但找不到任何东西。如果有的话,我可以使用什么包?
解决方案
python 调试器是各种 python 包的一部分 https://docs.python.org/3/library/pdb.html
$ cygcheck -l python37 | grep pdb.py
/usr/lib/python3.7/pdb.py
或者也
$ cygcheck -p pdb.py
Found 35 matches for pdb.py
python2-test-2.7.14-1 - python2-test: Python 2 tests
python2-2.7.14-1 - python2: Python 2 language interpreter
python27-test-2.7.15-1 - python27-test: Python 2 tests
python27-test-2.7.16-1 - python27-test: Python 2 tests
python27-2.7.15-1 - python27: Python 2 language interpreter
python27-2.7.16-1 - python27: Python 2 language interpreter
python3-test-3.6.3-1 - python3-test: Py3K tests
python3-test-3.6.4-1 - python3-test: Py3K tests
python3-3.6.3-1 - python3: Py3K language interpreter
python3-3.6.4-1 - python3: Py3K language interpreter
python35-test-3.5.6-1 - python35-test: Py3K tests
python35-test-3.5.7-1 - python35-test: Py3K tests
python35-test-3.5.7-2 - python35-test: Py3K tests
python35-3.5.6-1 - python35: Py3K language interpreter
python35-3.5.7-1 - python35: Py3K language interpreter
python35-3.5.7-2 - python35: Py3K language interpreter
python36-test-3.6.8-1 - python36-test: Py3K tests
python36-test-3.6.9-1 - python36-test: Py3K tests
python36-3.6.8-1 - python36: Py3K language interpreter
python36-3.6.9-1 - python36: Py3K language interpreter
python37-test-3.7.3-1 - python37-test: Py3K tests
python37-test-3.7.4-1 - python37-test: Py3K tests
python37-test-3.7.7-1 - python37-test: Py3K tests
python37-3.7.3-1 - python37: Py3K language interpreter
python37-3.7.4-1 - python37: Py3K language interpreter
python37-3.7.7-1 - python37: Py3K language interpreter
python38-test-3.8.0-0.4.b2 - python38-test: Py3K tests
python38-test-3.8.0-0.5.b4 - python38-test: Py3K tests
python38-test-3.8.2-1 - python38-test: Py3K tests
python38-3.8.0-0.4.b2 - python38: Py3K language interpreter
python38-3.8.0-0.5.b4 - python38: Py3K language interpreter
python38-3.8.2-1 - python38: Py3K language interpreter
....
推荐阅读
- next.js - .woff 和 .woff2 版本都加载到现场版本的站点上,而不是本地主机上
- c# - 消耗过滤器如何与操作选择一起使用?
- core-data - NSPersistentCloudKitContainer “导入失败,因为应用累积的更改遇到未处理的异常。” 错误
- python - Django内置缓存还是在源码中使用Redis?
- javascript - 如何通过 JavaScript 将我的操作存储在 cookie 中?
- java - 如何在java中使用增强的for循环计算二维字符串数组中的字符总数?
- vue.js - 如何在最小化电子子窗口后显示控件
- swift - 上限 contentSizeCategory,UITableViewController 的 DynamicType 点大小
- android-studio - 如何在android studio的recyclerview中为每个项目添加倒数计时器
- flutter - 在 Flutter 有状态小部件中使用 FutureBuilder 和 RefreshIndicator