www.digitalmars.com         C & C++   DMDScript  

c++.idde - conditional watchpoints?

reply "Yochanan Spielberg" <yochanan bigfoot.com> writes:
bs"d

Is there some way to do a 'conditional watchpoint' in the IDDE?
I want the program to stop when it writes to the _crtBreakAlloc variable
say, on the 220th time, so as to debug a memory leak error.  This seems like
basic feature for a 'debugger'.

Thanks.

                Yochanan Spielberg
Oct 14 2001
next sibling parent "Walter" <walter digitalmars.com> writes:
Yochanan Spielberg wrote in message <9qbfci$1j78$1 digitaldaemon.com>...
Is there some way to do a 'conditional watchpoint' in the IDDE?
I want the program to stop when it writes to the _crtBreakAlloc variable
say, on the 220th time, so as to debug a memory leak error.  This seems

basic feature for a 'debugger'.

I don't know of a way to do that. -Walter
Oct 14 2001
prev sibling parent reply Jan Knepper <jan smartsoft.cc> writes:
Don't you have an earlier posting in this newsgroup where you explain how to do
it?

Jan
Oct 14 2001
parent "Yochanan Spielberg" <yochanan bigfoot.com> writes:
bs"d
I wish.   I just thought maybe I could setup a 'conditional breakpoint' and
check for the value I need-
i.e. 220, however, a watchpoint would be easier.  Thanks anyway, though.

            Yochanan


"Jan Knepper" <jan smartsoft.cc> wrote in message
news:3BC99F76.F9B9A690 smartsoft.cc...
 Don't you have an earlier posting in this newsgroup where you explain how

 it?

 Jan

Oct 16 2001