473,406 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

conditonal breakpoint

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.

Jan 2 '07 #1
2 1095
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.
Jan 2 '07 #2
On 2 Jan 2007 14:03:42 -0800, "Architect" <Va**********@gmail.com>
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

Jan 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
3
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
4
by: Wal Turner | last post by:
Consider the following simple class: public class ClassA { public static string VAR = "hello"; } public void MethodA() { while(true)
4
by: Jay | last post by:
Guess this has probably been reported already. Seems if you don't use {} with for/while etc., the debugger stops at the wrong line. In the example below, I had a breakpoint at line 6 but the...
5
by: lawrencelee | last post by:
My purpose is to know which code reads value from a certain address. So I want to set a memory breakpoint and when cpu reads from the address, the breakpoint will be hit. But in the "Data breakpoint"...
2
by: Ash | last post by:
Hi all, I have a C# web application which calls a number of stored procedures. I wish to step into the stored procedures while debugging i.e "Mix-mode debugging": I have completed the following...
7
by: AC [MVP MCMS] | last post by:
Wierd situation here. Running ASP.NET 1.1 on Win2003. I have to manually attach the debugger to a process in order to debug. So I set a breakpoint in an obvious place (like within the Page.Load...
5
by: One Handed Man [ OHM# ] | last post by:
Pressing Button2 does cause the breakpoint shown in Button1's handler to be active the first time. After stopping the program and restarting it it break as soon as you start Button1, Any ideas...
5
by: Max2006 | last post by:
Hi, I am using Visual C# 2005 and I like to setup breakpoint that pause execution upon a class variable change. Is that possible?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.