Is there any way I can in CodeBlocks remove the default Windows Python environment variables as it is causing GDB to not start until I remove the Windows Python environment variables. I use Windows Python for use in a commercial product.
You can tell gdb that python should ignore all python-specific environment variables with the following arguments:
gdb -eiex "set python ignore-environment"
If there is a better value to change the variable to, I would suggest using CB Environmental Variable to set the new value.
I do not use the CB Debugger enough to know if this is a better or worse that the prior suggestion.
Tim S.