[hellogcc] Re: 条件断点

  • From: Yao Qi <qiyaoltc@xxxxxxxxx>
  • To: hellogcc@xxxxxxxxxxxxx
  • Date: Fri, 18 Nov 2011 09:50:10 +0800

On Thu, Nov 17, 2011 at 03:59:59PM +0800, Mingjie Xing wrote:
> 各位:
> 
> gdb里,是否可以设置这样的条件断点,指定该断点在第n次遇到时才停住。可能没有什么用,只是偶然想到,随便问问。

ignore count is exactly what you need.

http://sourceware.org/gdb/onlinedocs/gdb/Conditions.html

-- 
Yao Qi <qiyaoltc AT gmail DOT com>

A kind of Batman of contemporary letters.
                -- Philip Larkin on Anthony Burgess

Other related posts: