【问题标题】:How do I debug in visual studio code a python program that calls c functions in a shared library from a f2py interface如何在 Visual Studio 代码中调试从 f2py 接口调用共享库中的 c 函数的 python 程序
【发布时间】:2020-03-20 19:54:10
【问题描述】:

我目前在使用 Visual Studio 代码进行调试时遇到问题。我想将 GDB 附加到一个 C (.so) 共享库模块,该模块通过一个主 python 程序调用,该程序与带有 F2PY 的 C 共享库接口。

如何在 vscode 中创建启动配置以供 gdb 调试该 C 共享库?

【问题讨论】:

    标签: python c visual-studio-code vscode-debugger f2py


    【解决方案1】:

    从 Python 到 C 的跨语言调试仅在 Visual Studio 中可用,在 VS Code 中不可用。

    【讨论】:

      猜你喜欢
      • 2017-10-21
      • 1970-01-01
      • 2023-03-27
      • 2022-10-22
      • 2011-03-22
      • 1970-01-01
      • 2023-03-11
      • 1970-01-01
      • 2011-02-02
      相关资源
      最近更新 更多