473,549 Members | 3,127 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Setting breakpoints in VB2005

In VB6 you could set a breakpoint when a variable had changed value. I can't
find this in VB2005. Is it there somewhere?

-Jerry
Sep 28 '06 #1
5 1538
GS
Probably not quite what you want but you can set watch on the variable
"Jerry Spence1" <je**********@s omewhere.comwro te in message
news:45******** *************** @ptn-nntp-reader01.plus.n et...
In VB6 you could set a breakpoint when a variable had changed value. I
can't
find this in VB2005. Is it there somewhere?

-Jerry


Sep 28 '06 #2
I believe you mean you set a watch point in VB6, and they're gone -
sort of. You can now set a conditional breakpoint (just add a
breakpoint and check out the breakpoint window) that does about the
same thing.

Thanks,

Seth Rowe

Jerry Spence1 wrote:
In VB6 you could set a breakpoint when a variable had changed value. I can't
find this in VB2005. Is it there somewhere?

-Jerry
Sep 28 '06 #3
Hi Jerry,
You can add a condtional breakpoint in VB 2005 by setting a
breakpoint on a line of code, right click the breakpoint dot and go to
conditions click 'Has Changed'

In the condition window you can then enter
My.Object.Text = "Hello World"

Be aware that if you are using VB Express 2005 then you won't be able
to set conditional breakpoint this way. It seems that they have missed
this out of the IDE, but I'm sure there are ways out there to
circumvent this.

Hope this answers your question.

Sep 28 '06 #4
When you are debugging your program in debug mode. There is a
"Breakpoint s" tab that you can view. If you don't see it click on the
Debug Windows Breakpoints menu (Shortcut: Ctrl+Alt+B). This will
let you view all the breakpoints you have set. Before you can create a
conditional breakpoint, you must first set a breakpoint. Then the
Breakpoints tab will give you an option to make it conditional.

Sep 28 '06 #5
Jerry,

It is something I am missing as well.

It would be glad to get the computer stop if a value change wherever in the
program and you don't have to set on all those possible places a breakpoint.

Cor

"Jerry Spence1" <je**********@s omewhere.comsch reef in bericht
news:45******** *************** @ptn-nntp-reader01.plus.n et...
In VB6 you could set a breakpoint when a variable had changed value. I
can't find this in VB2005. Is it there somewhere?

-Jerry

Sep 29 '06 #6

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

Similar topics

2
1557
by: Mortimer Schnurd | last post by:
Hi folks, I am just learning C# and need some help with setting debugger breakpoints. In VB 6, I could easily set breakpoints on variables which either change in value or evaluate to a specific value. It appears C# does not allow you to do this (at least not easily). This functionality was extremely useful in many instances of VB 6...
6
1117
by: guy | last post by:
is there a reason why VB2005 does not let me put a breakpoint on an end sub? guy
2
4205
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed .NET. I could not debug using breakpoints, breakpoints are not getting hit, but the application is working fine with out any issue.
1
2097
by: jeem | last post by:
I am using ActiveState Komodo 3.5 to work on a large python 2.4 application with an extensive UI... I am attempting to debug the application and am setting breakpoints in 4 different *.py files.. Breakpoints in the main file are working OK, but any breakpoints in imported files are not... The three imported files are open in Komodo and are...
1
1950
by: Jeff | last post by:
Hey How can I get a list of breakpoints in Visual Studio 2005, while the loaded solution is in Edit mode (not running or not debugging)... I'm trying to learn thousands of uncommented C# code and if I had some kind of bookmarks (breakpoints) I then could more easly scroll to those specific lines, instead of scrolling thousands of lines...
3
4715
by: Ronald Raygun | last post by:
I have some server side code I want to debug (coming from C++ background). I am using echo statements but for some reason, no output is being generated. It would be much simpler if I could set breakpoints to see the variable 'states' when a script is being run - is there any developement IDE/Tool out there that helps me do this? if the...
6
1974
by: PeteOlcott | last post by:
When I set a break point in a file that has both managed C++ and unmanaged C++ the debugger never sees the breakpoints in the managed code. What can be done to get the debugger to "see" the breakpoints in the managed code?
0
1153
by: PeteOlcott | last post by:
When I set a break point in a file that has both managed C++ and unmanaged C++ the debugger never sees the breakpoints in the managed code. What can be done to get the debugger to "see" the breakpoints in the managed code? I just tried enabling the mixed mode debugging option, and then marked the breakpoint. Visual Studio used a hollow red...
0
7446
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...
0
6041
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...
1
5368
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5088
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...
0
3498
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...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1936
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
1
1058
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.