@Larz60+, I know how to use GDB with command line but I don't know how to use with Python. I forgot to generalize my question to make it easier to answer.
The question should be:
"How to fix ImportError: No module named X (Python in C++)". So, it's not only about GDB but a general question on how to fix that error with Python in C++.
The question should be:
"How to fix ImportError: No module named X (Python in C++)". So, it's not only about GDB but a general question on how to fix that error with Python in C++.