473,396 Members | 1,936 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,396 software developers and data experts.

When does VB.net have Data Breakpoint?

VB6 has a wonderful debug tool: You can create a breakpoint which will break
when a varible changes. This tool help me greatly. I wonder when does vb.net
have Data Breakpoint? Anyone can tell me?

Peter
Nov 21 '05 #1
6 3373
On 2005-06-08, Peter <zl*****@sina.com> wrote:
VB6 has a wonderful debug tool: You can create a breakpoint which will break
when a varible changes. This tool help me greatly. I wonder when does vb.net
have Data Breakpoint? Anyone can tell me?

Peter


Currently, it doesn't. You can fake it by putting exposing your
variable as a property, and then setting a break point in the properties
set accessor...

--
Tom Shelton [MVP]
Nov 21 '05 #2
If you right click the breakpoint and choose properties, and then click
the Condition button, you can set the breakpoint to break when a
variable changes. I tested with a small test program and it seemed to
work.

Nov 21 '05 #3
> If you right click the breakpoint and choose properties, and then
click the Condition button, you can set the breakpoint to break when
a variable changes. I tested with a small test program and it
seemed to work.


In VB6 you could set a breakpoint saying "break if this value changes", no
matter where. This could be useful to find out where it changes. In VB.Net
you have to set the breakpoint at a certain location - but the location is
what you don't know.

Armin

Nov 21 '05 #4

"Armin Zingler"
In VB6 you could set a breakpoint saying "break if this value changes", no
matter where. This could be useful to find out where it changes. In VB.Net
you have to set the breakpoint at a certain location - but the location is
what you don't know.


This is an option that I am too very much missing. Much more than edit and
continue.

Cor
Nov 21 '05 #5
"Cor Ligthert" <no************@planet.nl> schrieb

"Armin Zingler"
In VB6 you could set a breakpoint saying "break if this value
changes", no matter where. This could be useful to find out where
it changes. In VB.Net you have to set the breakpoint at a certain
location - but the location is what you don't know.


This is an option that I am too very much missing. Much more than
edit and continue.


I used the data break points above all in earlier VB times when a lot of
(chaotic) global variables had been used. ("Where the f... has this been
changed?". Now I know it must be in the encapsulating class...)

Armin

Nov 21 '05 #6
> I used the data break points above all in earlier VB times when a lot of
(chaotic) global variables had been used. ("Where the f... has this been
changed?". Now I know it must be in the encapsulating class...)

Armin


This will force us to code much more OOP.

Peter
Nov 21 '05 #7

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

Similar topics

4
by: hinrich | last post by:
Hello, I have a completely new system (windows xp prof.), office xp 2002 with sp 3. When I create a new and empty Accesss database, create an empty table and then create a new form using a...
0
by: Frans Bouma | last post by:
Hello, It seems VS.NET 2003 locks up itself and the complete shell (mouse locks also) when entering a breakpoint in a special situation. Below is the code to reproduce this behavior. It...
0
by: Elaine | last post by:
I have a truly curious problem with HtmlHelp and Sibling Mode in Visual C++ ..Net 2003 in an MFC app. Sibling mode allows the help viewer to display on top of the app, but if the app is clicked,...
6
by: Tom | last post by:
Hi, I built an aspx page with c#. There are many textbox and a submit button. When I input data in form and click submit, I saw their values are null in debug window. I checked namespace is...
8
by: bidllc | last post by:
I have a funtion that works fine and dandy when called from anywhere in my app. It will NOT work when called from inside the class in which it resides. This is the function I'm calling:...
4
by: Rodger Dusatko | last post by:
In VB .NET I am having problems setting breaks. I want the break to be independant of any single function: for example: err.number or global variables When I try to set a break with the 'Data'...
5
by: DCC-700 | last post by:
I am using ASP.Net with VB on the 1.1 Framework running on Win XP Pro. I am trying to gauge the time it takes to sort a datagrid using different code sets. But when I am debugging the page there...
9
by: Rea | last post by:
Hi eb I set some 'Stop' statements and also visual breakpoints in asp code (vbscript). I am doing that in Microsoft Script debugger. Than I refresh the original page and expect execution to halt...
5
by: =?Utf-8?B?cmF1bGF2aQ==?= | last post by:
vs2008 c# add-in TestMatrix 2.0 nUnit 2.4.7 apologize for trying here to get answers to my problem but i might be lucky if some one can give me a hint or tip. I trying to start debugging my...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.