On 2 Jan 2007 14:03:42 -0800, "Architect" <(E-Mail Removed)>
wrote:
>Hi David
>
>You can't do that in managed code using Visual Studio only for win32
>projects.
>
>Regards,
>Valentin Ivanov.
>
>David C wrote:
>> One of the properties of my class changes unexpectedly, and I am trying
>> to find out when and how. It is driving me crazy.
>>
>> So I want the application to break anywhere in my class file when the
>> value of the variable changes.
>>
>> As a side note, when I used the gnu debugger for gcc in the UNIX
>> enviroment, I could do just that. Break anywhere in the class file (or
>> any code file for C) when the variable changes. It was helpful in
>> hunting down the culprit.
>>
>> I still use .NET 1.1. Thanks in advance.
If the data is only accessible through the property then why not just
put the breakpoint in the set{} property? If the data is public, then
make it private and add a set{} property.
rossum
|