On Fri, 22 Aug 2008 11:04:02 -0700, a <a@discussions.microsoft.comwrote:
Does anyone know if there is a way to force the studio debugging to
break at
any line of code when any string is initialized with a certain value?
I haven't tried the code downloading that Microsoft started allowing
earlier this year, but my recollection is that it provides source-level
debugging for the .NET Framework.
Assuming that's true, then you could install the .NET source download
stuff (however that works), and then set your conditional breakpoint in
the String class where it's initialized.
I think that's the only practical approach. Anything else is likely to be
too slow, as the debugger would have to single-step through each
statement. That's assuming you could configure the debugger to do that; I
don't know if it still supports that, not having done anything like that
in years myself.
Pete