Debug error in NetBeans
        Posted  
        
            by avd
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by avd
        
        
        
        Published on 2009-10-11T05:02:19Z
        Indexed on 
            2010/04/02
            22:03 UTC
        
        
        Read the original article
        Hit count: 274
        
I am running a C program in NetBeans (cygwin on windows). Generally for all C programs I have run in the past, while debugging, it stops and shows the line number of segmentation fault. But for this particular program, it does not show the line number and just stops and in the output tab, it shows prog stopped by SIGSEGV. I have tried conditional breakpoint, but it is not stopping. What could be the other conditions for error?
If u want have a look at my program, here it is.http://codepad.org/cujYTIeg
and the in.txt file from where it reads the input. http://codepad.org/vNySA6uh
© Stack Overflow or respective owner