(gdb) b <file_name.c:line_no> if i==50 replace <file_name.c:line_no> with the file name which has the for loop and line_no inside the loop.
On 9/6/07, ddd sh <[EMAIL PROTECTED]> wrote: > Hi all, > > > I am working on a c source code nearly 2000 line . it contains one big > for( i=0; i< 200 ; i++ ) loop of around 600 lines > could any tell me how to break the execution of prog when the value > of i is 50 in for loop so that i can check > inside the loop. > > > > Thanks.. > > -- Sincerely, Vamsi Kundeti
