User forums > Help
GDB Python override environment variables
(1/1)
Wkerry:
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.
ssbssa:
You can tell gdb that python should ignore all python-specific environment variables with the following arguments:
--- Code: ---gdb -eiex "set python ignore-environment"
--- End code ---
stahta01:
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.
Navigation
[0] Message Index
Go to full version