Bug 55717 - problem wint integrated debugger
Summary: problem wint integrated debugger
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: CPP Debugger (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-09 00:22 UTC by mike
Modified: 2003-05-19 22:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mike 2003-03-09 00:22:11 UTC
Version:           2.1.5 (using KDE 3.1.0)
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)
OS:          Linux (i686) release 2.4.21pre4-10mdk

when i single step in the following program the program never receives the input ( scanf ) and never ends.


steps to reproduce :
1/set a breakpoint on main
2/try to single step until the end of the program

expected result : go beyond scanf 

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  char a[10];
  printf("Hello, world!\n");
  scanf("%s",a);
  printf("Hello, world!\n");

  return EXIT_SUCCESS;
}
Comment 1 John Birch 2003-05-19 22:35:43 UTC
scanf is waiting for input - To enter input you need to use the "separate terminal I/O" option. See 
the debugger options.