GDB and Pretty Printing
Posted: Mon Jul 02, 2018 6:06 pm
Hello,
I've spent so much time trying to do something as simple as getting pretty printing to work, but I'm stuck. I hope someone can help.
Setup:
MinGW (32-bit) from mingw.org
CodeLite 12.0.0
Windows 10
All works great except when I debug STL elements they don't pretty print. This is expected since the MinGW gdb doesn't include Python support.
So, I install:
gdb-python32.exe from the same MinGW distribution.
I also install Python (32-bit).
And I set gbd to the new gbd-python27.exe in Settings->Build Settings... (see image) Now rebuild and start the debugger and it appears that the STL elements are being pretty printed.
BUT std::string is NOT. (see image) I don't see any issues in the debugger output.
Does anyone have any idea how to solve this ?
Thanks!
I've spent so much time trying to do something as simple as getting pretty printing to work, but I'm stuck. I hope someone can help.
Setup:
MinGW (32-bit) from mingw.org
CodeLite 12.0.0
Windows 10
All works great except when I debug STL elements they don't pretty print. This is expected since the MinGW gdb doesn't include Python support.
So, I install:
gdb-python32.exe from the same MinGW distribution.
I also install Python (32-bit).
And I set gbd to the new gbd-python27.exe in Settings->Build Settings... (see image) Now rebuild and start the debugger and it appears that the STL elements are being pretty printed.
BUT std::string is NOT. (see image) I don't see any issues in the debugger output.
Does anyone have any idea how to solve this ?
Thanks!