[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to stop execution in for loop
From: |
vamsi krishna |
Subject: |
Re: how to stop execution in for loop |
Date: |
Thu, 6 Sep 2007 08:00:45 -0400 |
(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 <address@hidden> 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