473,671 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4294
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******@hotma il.comwrote in message
news:4V5Pi.4340 $d2.2000@trnddc 08...
>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.nosp amwrote:
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...@hotma il.comwrote in message

news:4V5Pi.4340 $d2.2000@trnddc 08...
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...@yah oo.comwrote:
On Oct 10, 12:17 pm, "Scott M." <s-...@nospam.nosp amwrote:
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...@hotma il.comwrote in message
news:4V5Pi.4340 $d2.2000@trnddc 08...
>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*********@co mcast.netwrote in message
news:11******** **************@ o3g2000hsb.goog legroups.com...
On Oct 10, 10:38 am, rowe_newsgroups <rowe_em...@yah oo.comwrote:
>On Oct 10, 12:17 pm, "Scott M." <s-...@nospam.nosp amwrote:
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...@hotma il.comwrote in message
>news:4V5Pi.434 0$d2.2000@trndd c08...
>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
5092
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 fustrating than ever? --
4
2023
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
4066
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 steps: Configured DCOM Connected to database via Server Manager (I can see the SQL server and the stored procedure)
6
1121
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 correct. What is the potential bug in my program?
5
3340
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 lstPatientID_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstPatientID.SelectedIndexChanged txtDebug.Text &= lstPatientID.SelectedIndex.ToString txtDebug.Text &= lstPatientID.SelectedIndex.ToString
7
1822
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 event) that will catch it. For Win2003, I attach to the w3wp.exe process. I've made sure my project is building as DEBUG. I've made sure the breakpoint it reachable. I've made sure my web.config has debug=true. But when I run through the...
5
1199
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 what I might be doing wrong ? -- Best Regards - OHM O_H_M{at}BTInternet{dot}com -------------------- CODE BELOW ------------------
6
3394
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? Peter
3
7717
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 the following error below. I would appreciate any insight, direction or help regarding this. Thank-you!! Walid
0
8485
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8403
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8828
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8677
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7446
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5704
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4227
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4417
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2819
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.