User forums > Using Code::Blocks

no prompt for debug console app in windows

(1/1)

warnut:
hello, i'm a newbie here. i install c:b svn6709, vs2008, Microsoft(R) Debugging Tools 6.10 on my xp-sp3 computer. i make a console project, when i debugging, there is no console window for the program's output/input(watch windows is ok, i can see the variables), can any one fix this? thx

oBFusCATed:
Can you try the debuggers branch?
There are many improvements to the CDB handling in that branch.

warnut:
thanks oBFusCATed
i try 6608 debug branch(http://forums.codeblocks.org/index.php?topic=13337.0),but it does not prompt while debugging.  i config the debug branch as the original version. Is there something else i should config?
here is my simple code:

#include <iostream>
using namespace std;

int main()
{
    int data;
    cin >> data; 
    cout << data; // mark break point here
    return 0;
}

while debugging, the program waits my input at "cin>> data;", but no console window i can use.

oBFusCATed:
Hm, can you try this sample on gcc+gdb?

Navigation

[0] Message Index

Go to full version