Of course, you could also use Debug.Assert to do the same thing.

On 1/25/06, Dean Fiala <[EMAIL PROTECTED]> wrote:
> That would be good, I always ended up writing something like:
> If x = 250 then
>     Debug.WriteLine("Here's Trouble")
> End if
>
> and setting a breakpoint on the Debug.WriteLine, so I could step
> through from that point.
>
> I'll see if I find the functionality.
>
> On 1/25/06, Ainsley, Robert, ISD <[EMAIL PROTECTED]> wrote:
> > Dean,
> >
> > Now that I've read the link, I think it is a good addition to the
> > debugger tools.
> >
> > I'm more interested in seeing if MS gave us the ability to set
> > conditional breakpoints when developing in VB.
> > For example, let's say I know things go off into the weeds when a
> > variable gets set to a certain value, but that could take hundreds of
> > iterations through a loop. In VS2003 all you can do is set the
> > breakpoint and hit F5 several hundred times, and woe is me if I hit F5
> > one too many times. I'd like to be able to set a breakpoint that looks
> > something like: Break When x = 250. I run the code and after 249 times
> > through the loop, it breaks for me.
> >
> > Bob
> >
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
> > Of Dean Fiala
> > Sent: Wednesday, January 25, 2006 10:17 AM
> > To: [email protected]
> > Subject: [AspNet2] Tracepoints in VS 2005
> >
> > Is anyone else as excited about these as I am?
> >
> > http://msdn2.microsoft.com/232dxah7.aspx
> >
> >
> > --
> > Dean Fiala
> > Very Practical Software, Inc
> > http://www.vpsw.com
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> > *****************************************************************************
> > If you are not the intended recipient of this e-mail, please notify
> > the sender immediately. The contents of this e-mail do not amend
> > any existing disclosures or agreements unless expressly stated.
> > *****************************************************************************
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Dean Fiala
> Very Practical Software, Inc
> http://www.vpsw.com
>


--
Dean Fiala
Very Practical Software, Inc
http://www.vpsw.com


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNet2/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to