python模式选择符_Python/C++ 混合模式调试的符号 - Visual Studio | Microsoft Docs

Visual Studio 的 Python 混合模式调试需要 Python 解释器的调试符号,如 python27.pdb 和 python36.pdb。Python 3.5 及更高版本可通过安装程序自动获取符号,而早期版本则需手动下载 .zip 文件。在 Visual Studio 中,通过“工具”>“选项”>“调试”>“符号”来指向符号文件。对于 Enthought Canopy,1.2 及更高版本提供符号,但需要手动添加到符号路径。
摘要由CSDN通过智能技术生成

安装用于 Python 解释器的调试符号Install debugging symbols for Python interpreters

11/12/2018

本文内容

为了提供完整的调试体验,Visual Studio 中的 Python 混合模式调试器需要 Python 解释器(正在用于分析大量内部数据结构)的调试符号。To provide a full debugging experience, the mixed-mode Python debugger in Visual Studio needs debug symbols for the Python interpreter being used to parse numerous internal data structures. 例如,对于 python27.dll,相应的符号文件是 python27.pdb;对于 python36.dll,符号文件是 python36.pdb 。For python27.dll, for example, the corresponding symbol file is python27.pdb; for python36.dll, the symbol file is python36.pdb. 解释器的每个版本都提供了各种模块的符号文件。Each version of the interpreter also supplies symbol files for a variety of modules.

对于 Visual Studio 2017 及更高版本,Python 3 和 Anaconda 3 解释器会自动安装各自的符号,Visual Studio 会自动找到这些符号。With Visual Studio 2017 and later, the Python 3 and Anaconda 3 interpreters automatically install their respective symbols and Visual Studio finds those symbols automatically. 对于 Visual Studio 2015 及更早版本,或使用其他解释器时,需要单独下载符号,然后通过“调试” > “符号”选项卡中的“工具” > “选项”对话框,将 Visual Studio 指向它们 。以下各节将详细介绍这些步骤。For Visual Studio 2015 and earlier, or when using other interpreters, you need to download symbols separately and then point Visual Studio to them through the Tools > Options dialog in the Debugging > Symbols tab. These steps are detailed in the followin

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值