This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: loops


Jonathan Shan <jonshan@winlab.rutgers.edu> writes:
> How do I "skip over" some iterations of a loop?
> I don't want to press 'continue' 50000 times.

You can set an "ignore count" on a breakpoint.  See the below, and
search for "ignore".

http://sources.redhat.com/gdb/current/onlinedocs/gdb_6.html#SEC38


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]