Cuda gdb is working pretty well tracing the program I want it to. However, when trying to sometimes print values/or results from a function call. Ie.
variable->value() where variable is some pointer, cuda-gdb just prints:
Python not initialized
I can confirm that when printing variable I get a meaningful output that I can follow to get value, but when I do just: *variable
I still get Python not initialized
It doesnt always do this which is strange to me. I found this thread [PATCH] Make "backtrace" doesn't print python stack if init python dir get fail and tried finding where gdb_python_initialized is initialized or used and just grepping /usr/local/cuda-10.1/share/gdb (which has the /python directory) for that name produces no results.
Any assistance would be appreciated!