CodeLite 9.1.0 Problem "gdb failed to set controlling terminal operation not permitted"

Hi,

I have just upgraded CodeLite from 5.4 to 9.1.0, now when I attempt to debug my program (gcc console application) I get this message in the terminal window:-

“gdb failed to set controlling terminal operation not permitted”

Does anyone know how to fix this?

Thanks