Let me preface this, I am very new to linux and to working on a non-IDE based setup.
I am trying to debug a very simple C program using vs code version 1.55 I unloaded all modules beforehand, so vs code can load appropriate default gcc & gdb versions (which it did, GCC 8.2) I am following the VS code getting started documentation for setting up and everything seems very straight forward until I try to debug. I use the default settings as instructed, the file builds successfully but then I get the below
/usr/bin/gdb: symbol lookup error: /usr/bin/gdb: undefined symbol: PyUnicodeUCS4_FromEncodedObject
please note that I cannot rebuild python with ucs4 enabled as suggested in another thread as I have no root access. however I can change VS code version to an earlier one if this will help.
Thanks.
ldd /user/gdbthenexportthen launch vs code but I still getting the same error message note: I tried toecho $LD_PRELOADbefore I launched vs code but it returned nothing. so maybe I am doing something wrong in setting it?