I have created a Python module using Boost.Python. I want to debug this module using QtCreator. The module is simply a MyModule.so file.

In Python, I will do

import MyModule
a = MyModule.MyObject()
a.do_something()

The do_something method is implemented in C++ and I want to debug it. Does any have a recommendation on how to achieve this?