how can i set de debugger to stop when some particular variable has a defined value?. For example i have a code that it crash that loops 10000 time to make some postprocessing. I know that the error could be produced from the 7000 iteration up, so i want to stop from there on, avoiding manual loop from the first 7000. Im using visual studio 2008 and 2010 with c#, i think that the solution will be the same for both.

Edit
Report