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

vb data breakpoint?

I understand the VS2005 still doesn't support data breakpoints in VB. My
question is this.. does anybody know of a 3rd party product that DOES
support data breakpoints in VB?

As an aside, does anyone know why it seems to be so hard to impliment data
breakpoints in VB? It is such a valuable tool.

Thanks
Oct 10 '07 #1
4 4280
Are you talking about setting a breakpoint and then setting its properties
to conditional so that it only breaks when a particular value changes?
"JohnR" <Jo******@hotmail.comwrote in message
news:4V5Pi.4340$d2.2000@trnddc08...
>I understand the VS2005 still doesn't support data breakpoints in VB. My
question is this.. does anybody know of a 3rd party product that DOES
support data breakpoints in VB?

As an aside, does anyone know why it seems to be so hard to impliment data
breakpoints in VB? It is such a valuable tool.

Thanks

Oct 10 '07 #2
On Oct 10, 12:17 pm, "Scott M." <s-...@nospam.nospamwrote:
Are you talking about setting a breakpoint and then setting its properties
to conditional so that it only breaks when a particular value changes?

"JohnR" <JohnR...@hotmail.comwrote in message

news:4V5Pi.4340$d2.2000@trnddc08...
I understand the VS2005 still doesn't support data breakpoints in VB. My
question is this.. does anybody know of a 3rd party product that DOES
support data breakpoints in VB?
As an aside, does anyone know why it seems to be so hard to impliment data
breakpoints in VB? It is such a valuable tool.
Thanks
Data breakpoints are designed to break at any point in project. The
conditional breakpoints only will break on a certain line if the value
has changed, and not on any line the value changed. Essentially, a
data breakpoint is like a conditional breakpoint on every line in the
project.

As far as support goes, the only time that data breakpoints are
available are when writing native code, presumably in C++. I believe I
read somewhere this is because the managed Garbage Collector would
make true data breakpoints impossible (or at least super-hard) to
implement. Although I haven't looked at the Orcas betas yet, it's
possible they have added them in, but I wouldn't bet on it.

Thanks,

Seth Rowe

Oct 10 '07 #3
On Oct 10, 10:38 am, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Oct 10, 12:17 pm, "Scott M." <s-...@nospam.nospamwrote:
Are you talking about setting a breakpoint and then setting its properties
to conditional so that it only breaks when a particular value changes?
"JohnR" <JohnR...@hotmail.comwrote in message
news:4V5Pi.4340$d2.2000@trnddc08...
>I understand the VS2005 still doesn't support data breakpoints in VB. My
>question is this.. does anybody know of a 3rd party product that DOES
>support data breakpoints in VB?
As an aside, does anyone know why it seems to be so hard to impliment data
breakpoints in VB? It is such a valuable tool.
Thanks

Data breakpoints are designed to break at any point in project. The
conditional breakpoints only will break on a certain line if the value
has changed, and not on any line the value changed. Essentially, a
data breakpoint is like a conditional breakpoint on every line in the
project.

As far as support goes, the only time that data breakpoints are
available are when writing native code, presumably in C++. I believe I
read somewhere this is because the managed Garbage Collector would
make true data breakpoints impossible (or at least super-hard) to
implement. Although I haven't looked at the Orcas betas yet, it's
possible they have added them in, but I wouldn't bet on it.

Thanks,

Seth Rowe
While not ideal... A work around for this is to NEVER access your
variables directly. Always wrap them in a property - even if it's
private. Then you can set a breakpoint in the setter of the property,
and bling you break everytime something sets the property. Yes, it
means that you have to be a little disiplined in your codeing - but it
does give you a sort of solution :)

--
Tom Shelton

Oct 10 '07 #4
Hi Tom,

Now that's an innovative solution! I never thought of it... You
actually don't even have to be disciplined, you can temporarily create a
property on the fly when you need to track down a data breakpoint. Thanks
for a great tip.
"Tom Shelton" <to*********@comcast.netwrote in message
news:11**********************@o3g2000hsb.googlegro ups.com...
On Oct 10, 10:38 am, rowe_newsgroups <rowe_em...@yahoo.comwrote:
>On Oct 10, 12:17 pm, "Scott M." <s-...@nospam.nospamwrote:
Are you talking about setting a breakpoint and then setting its
properties
to conditional so that it only breaks when a particular value changes?
"JohnR" <JohnR...@hotmail.comwrote in message
>news:4V5Pi.4340$d2.2000@trnddc08...
>I understand the VS2005 still doesn't support data breakpoints in VB.
My
question is this.. does anybody know of a 3rd party product that DOES
support data breakpoints in VB?
As an aside, does anyone know why it seems to be so hard to impliment
data
breakpoints in VB? It is such a valuable tool.
Thanks

Data breakpoints are designed to break at any point in project. The
conditional breakpoints only will break on a certain line if the value
has changed, and not on any line the value changed. Essentially, a
data breakpoint is like a conditional breakpoint on every line in the
project.

As far as support goes, the only time that data breakpoints are
available are when writing native code, presumably in C++. I believe I
read somewhere this is because the managed Garbage Collector would
make true data breakpoints impossible (or at least super-hard) to
implement. Although I haven't looked at the Orcas betas yet, it's
possible they have added them in, but I wouldn't bet on it.

Thanks,

Seth Rowe

While not ideal... A work around for this is to NEVER access your
variables directly. Always wrap them in a property - even if it's
private. Then you can set a breakpoint in the setter of the property,
and bling you break everytime something sets the property. Yes, it
means that you have to be a little disiplined in your codeing - but it
does give you a sort of solution :)

--
Tom Shelton

Oct 11 '07 #5

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

Similar topics

5
by: Mark Broadbent | last post by:
Does anyone know why some genius decided that data based breakpoints are not supported in C#/ vb.net debugging? Is there some technical reason Or has it been done to make breakpointing more...
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)
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...
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...
5
by: david | last post by:
I have a question in the following. Any one could give me a help? Thanks David The dataset is declared and created at Class level. My source code is here: Private Sub...
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...
6
by: Peter | last post by:
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?...
3
by: =?Utf-8?B?V2FsaWQ=?= | last post by:
Hello: I have migrated a site from IIS5 to IIS6. The site is configured and the we app is installed on the new IIS site. I can get to the web page but when I try to login, this is what I get...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.