VINOTHVIJAYA / morelinq

Automatically exported from code.google.com/p/morelinq
Apache License 2.0
0 stars 0 forks source link

Add BreakWhen method #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There are some nice Assert methods to simplify assertion but it would also 
be nice to specify breakpoints in a similar manner for use when debugging 
problems. It would certainly be easier than adding conditional breakpoints.

Original issue reported on code.google.com by jeffma...@gmail.com on 10 Mar 2009 at 10:11

GoogleCodeExporter commented 8 years ago
I realise this is slightly (okay, maybe grossly) outside the intentions of this 
project but it just seems like such a nice simple method to add that could aid 
in the 
debugging of some rather annoying collection problems that would otherwise 
require 
some stress with the breakpoint condition dialog.

Original comment by jeffma...@gmail.com on 11 Mar 2009 at 9:36

GoogleCodeExporter commented 8 years ago
In hindsight, I'm not convinced anymore.  I don't know why I didn't consider 
it, but 
is it really worth going to this effort when all one needs to write is:

from x in myCollection
where MyBreakpointCondition(x)
Debugger.Break()

?

Original comment by jeffma...@gmail.com on 17 Mar 2009 at 3:44

GoogleCodeExporter commented 8 years ago
> outside the intentions of this project

I would say so too.

> I'm not convinced anymore.

In that case, closing for now.

Original comment by azizatif on 4 Apr 2009 at 7:28