conditonal breakpoint

  • Thread starter Thread starter David C
  • Start date Start date
D

David C

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.
 
Hi David

You can't do that in managed code using Visual Studio only for win32
projects.

Regards,
Valentin Ivanov.
 
Hi David

You can't do that in managed code using Visual Studio only for win32
projects.

Regards,
Valentin Ivanov.

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top