Author Topic: no prompt for debug console app in windows  (Read 2800 times)

Offline warnut

  • Single posting newcomer
  • *
  • Posts: 2
no prompt for debug console app in windows
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: no prompt for debug console app in windows
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline warnut

  • Single posting newcomer
  • *
  • Posts: 2
Re: no prompt for debug console app in windows
« Reply #2 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: no prompt for debug console app in windows
« Reply #3 on: November 12, 2010, 12:50:25 pm »
Hm, can you try this sample on gcc+gdb?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]