By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,550 Members | 918 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,550 IT Pros & Developers. It's quick & easy.

When does VB.net have Data Breakpoint?

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
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

P: n/a
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

P: n/a
> 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

P: n/a

"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

P: n/a
"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

P: n/a
> 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 discussion thread is closed

Replies have been disabled for this discussion.