These problems started after updating to svn 7932 in April and I posted a topic 'After upgrade to Codeblocks svn 7932 debugging does not work'.
Summary:
xterm -T $TITLE -x:
 Build menu Run or Build&Run: 
   no console window
   program runs to completion
 Debug menu Start F8:  
   no console window
 Debug menu Run to cursor F4:  
   no console window
   F4 program stops OK at cursor in source code window
   stepping with F7 and Shift F7 also work
gnome-terminal -t $TITLE -x
 Build menu Run or Build&Run: 
   console window with title <project name> appears and stays
   program runs to completion
 Debug menu Start F8:  
   no console window
   program runs to completion
 Debug menu Run to cursor F4:
   a blank window with title 'Program Console' appears
   cursor not stopping in source window (no yellow mark in left margin)  
   stepping with F7 does not work
gnome-terminal -T $TITLE -x
 Build menu Run or Build&Run: 
   no console window
 Debug menu Start F8:  
   no console window
 Debug menu Run to cursor F4:
   no console window
   F4 program stops OK at cursor in source code window
   stepping with F7 or Shift F7 works
Before svn7932 console and debugging worked fine.
I have just seen a thread 'help: no console in newer daily builds...' in the Using Codeblocks forum that also reports problems with command-line programs. Jens confirms and will fix the problem in svn8047.
I am using Ubuntu 10.04.03 LTS and Codeblocks svn7965. The Ubuntu Upgrade Manager showed that Codeblocks svn8032 was available. I tried upgrading but the update manager reported:
W: Failed to fetch 
http://apt.jenslody.de/pool/main/c/codeblocks/codeblocks_10.05svn8032-2_i386.deb  404  Not Found
W: Failed to fetch 
http://apt.jenslody.de/pool/main/c/codeblocks/codeblocks-common_10.05svn8032-2_all.deb  404  Not Found
I need to modify and use open source software that use input from the console, but I cannot do this when console and debugging is not working.
Hopefully, svn8047 will be with us soon. Approximately when?
Ken