用pycharm调试idapython脚本

首先

python.exe -m pip install pydevd
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pydevd
  Downloading https://files.pythonhosted.org/packages/8c/72/0d3dd5e97de4cb8f85324db45b33fc30744b08bc889fd0c6bea5194a4b9b/pydevd-1.9.0-cp27-cp27m-win_amd64.whl (1.9MB)
     |████████████████████████████████| 1.9MB 609kB/s
Installing collected packages: pydevd
  WARNING: The script pydevd.exe is installed in 'C:\Python27\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pydevd-1.9.0
WARNING: You are using pip version 19.1.1, however version 20.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.

然后在pycharm中这样设置

然后设置

要调试的

这句话相当于插入一个断点

最后先运行pycharm 端的先等到起,然后打开ida即可。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
要在GISPRO 3.0中使用PyCharm调试Python,首先需要检查Python的安装路径。首先,我们需要找到Python的安装路径,可以在命令提示符或终端中输入"where python"(在Windows系统下)或"which python"(在Mac或Linux系统下)来查找Python的安装路径。一旦找到了Python的安装路径,我们可以在PyCharm中打开我们的项目并切换到“Run”菜单下的“Edit Configurations”。在弹出的窗口中,找到“Python”配置并选择对应的项目。然后在“Python Interpreter”下拉菜单中选择“Custom”,并在“Interpreter path”中填入Python的安装路径。完成后点击“OK”保存配置。现在我们就可以在PyCharm调试Python代码了。 另外,如果发现PyCharm无法找到Python的安装路径,可能是因为Python的环境变量没有正确设置。可以通过在系统环境变量中添加Python的安装路径来解决这个问题。在Windows系统下,可以通过“我的电脑”-“属性”-“高级系统设置”-“环境变量”来设置Python的环境变量;在Mac或Linux系统下,可以通过编辑.bash_profile或.bashrc文件来设置Python的环境变量。完成以上操作后,重新启动PyCharm,就能正确找到Python的安装路径了。 总之,要在GISPRO 3.0中使用PyCharm调试Python,首先需要找到Python的安装路径,然后在PyCharm中添加Python解释器的路径,最后确保Python的环境变量已经设置正确。这样就可以顺利在PyCharm调试Python代码了。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值