User forums > Help

After upgrade to Codeblocks svn 7932 debugging does not work

<< < (2/3) > >>

Jenna:
Did anybody (just linux users !!) test the patch I posted here ?
It should not break anything, but work if there is no uppercase -T in the call to the terminal.

Please test and report back, whether it works or not.

If there is no answer, I will commit it.

Folco:
I would be happy to test if I could get C::B working :D ( http://forums.codeblocks.org/index.php/topic,16232.0.html )

resander:
Here is a result summary: 


--- Code: ---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 work

xterm -t $TITLE -x:
  same as xterm -T $TITLE -x


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
   program did not run
 Debug menu Start F8: 
   no console window
   program runs to completion
 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

--- End code ---


The gnome-terminal works in part now.
This is odd, since I observed it not working for svn 7932 before, which made me start this thread. Tried many times then, even with a 10-line console main program as new project. Don't understand why it is working again.

The terminal emulator window does not always appear and that makes program command line IO impossible from codeblocks, i.e command-line programs cannot be tested.

Open Source projects are often designed for the command-line with thin GUI wrappers added afterwards, so command-line programs are still important.

Command line io was working fine before svn 7932. Hopefully it will soon be available again.

Ken

zergling:
Hi Guys,
Since I installed the svn 7932 the Debugging Windows Watches stays empty :(

Is this just happening to me? Jens, is your patch going to solve my issue? If so, how do I apply it?

I am running Debian Testing 64 Bit

Bye and thank you very much

oBFusCATed:
http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks#In_latest_nightly_builds

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version