0

I'm using a python script which ultimately starts another C++ executable which in turn loads several other applications into memory for execution, along with other .so shared libraries using dlopen.

What GDB command should I be using to debug(run backtrace etc.) these dynamically loaded executables and libraries ?

I tried running it as gdb --args python3 py-script arg1 arg2 arg3... but after execution I tried the following two commands for debugging.

bt -full

thread apply all bt

but both of them throw the error No stack.

0 Answers0