PC Review


Reply
Thread Tools Rate Thread

conditonal breakpoint

 
 
David C
Guest
Posts: n/a
 
      2nd Jan 2007
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.

 
Reply With Quote
 
 
 
 
Architect
Guest
Posts: n/a
 
      2nd Jan 2007
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.


 
Reply With Quote
 
rossum
Guest
Posts: n/a
 
      2nd Jan 2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Really weird - Code acting as though breakpoint set, no breakpoint BlueWolverine Microsoft Access VBA Modules 6 13th Mar 2008 04:20 PM
Problem with the breakpoint hitting(at runtime breakpoint was disa Ranjit Microsoft Dot NET Compact Framework 0 23rd Feb 2008 06:56 AM
conditonal sum? eucarya Microsoft Access 0 26th Jun 2007 08:27 PM
Breakpoint ok, no breakpoint messes up... Vikxcel Microsoft Excel Programming 0 4th Jan 2006 09:18 PM
project stops at imaginary breakpoint, but no breakpoint exists Mark Microsoft ASP .NET 4 26th Apr 2004 05:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:04 PM.