繁体   English   中英

如何在 Visual Studio 代码中调试从 f2py 接口调用共享库中的 c 函数的 python 程序

[英]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 代码进行调试时遇到问题。 我想将 GDB 附加到 C (.so) 共享库模块,该模块通过主 python 程序调用,该程序与带有 F2PY 的 C 共享库接口。

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

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM