[Bug 55717] New: problem wint integrated debugger

mike penne296 at netscape.net
Sun Mar 9 00:23:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=55717     
           Summary: problem wint integrated debugger
           Product: kdevelop
           Version: unspecified
          Platform: Mandrake RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: penne296 at netscape.net


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;
}




More information about the KDevelop-devel mailing list