Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: warnut on November 11, 2010, 07:45:27 am

Title: no prompt for debug console app in windows
Post by: warnut on November 11, 2010, 07:45:27 am
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
Title: Re: no prompt for debug console app in windows
Post by: oBFusCATed on November 11, 2010, 01:42:39 pm
Can you try the debuggers branch?
There are many improvements to the CDB handling in that branch.
Title: Re: no prompt for debug console app in windows
Post by: warnut on November 12, 2010, 12:05:49 pm
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.
Title: Re: no prompt for debug console app in windows
Post by: oBFusCATed on November 12, 2010, 12:50:25 pm
Hm, can you try this sample on gcc+gdb?