473,396 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 473,396 developers and data experts.

Debugging in VBA - 2G) The Watch Pane

NeoPa
32,556 Expert Mod 16PB
Table of Contents - [Debugging in VBA]
Previous Chapter - [Debugging in VBA - 2F) The Locals Pane]
Next Chapter - [Debugging in VBA - 3] General Tips]
-----------------------------------------------------------------------------------------------
2G) The Watch Pane.
This allows you to view various variables and/or objects/properties as the code progresses. This can also be used to show results of calculations and even to cause the code to stop when certain conditions are met.

If there is a variable (even a property of an object) that is not immediately visible in the Locals Pane, then pretty well anything can be displayed here. It can also cause a breakpoint when a variable contains a particular value, or even changes its value. This can prove very helpful when something turns out wrong but you don't know where it's being changed in the code.

Attached Images
File Type: jpg VBAWatch.Jpg (12.9 KB, 968 views)
May 20 '07 #1
0 6288

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: MC | last post by:
Hi! I have noticed this strange problem I cannot explain when I connect to sql server using .net: I use a .NET app to connect to a sql server database. When I do so, two strange things...
1
by: KR.KIM | last post by:
Hi! When I compile my code and try to debugging, i met one trouble in watch window. i can't see some buffer values, it looks filled by 0x00(null) in watch window. but,buffer was filled by real...
11
by: serge | last post by:
When i debug a trigger is it possible to add a WATCH on the INSERTED or DELETED? I think not, at least I couldn't figure out a way to do so. Does someone have a suggestion on how I can see the...
0
by: Joseph S. | last post by:
hi all, debugging PHP applications interactively is possible, easy and free. I am talking about PHPEclipse and using it for debugging over several scripts or debugging through a session. Since I...
6
by: archana | last post by:
Hi all, I am facing some wierd problem in quick watch at a time of debugging my application. I have one variable of type string, say suppose i have code as below: string FileName;...
0
NeoPa
by: NeoPa | last post by:
VBA executes whenever the code is triggered from within your project. This can be from all sorts of object events from simply opening a form to clicking on a command button. When something doesn't...
0
NeoPa
by: NeoPa | last post by:
Table of Contents - Previous Chapter - ----------------------------------------------------------------------------------------------- 3) General Tips. The first and most important tip is...
0
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.