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

Debugging variables = nothing

This is probably something small but when i am debugging my vb.net
class library code im not able to see the values of any of the
variables when i hover my mouse over them.

This is my first attempt at class coding. What is the issue ???? is it
something to do with my variable declaration e.g., Private, Dim,
Public

Any help appreciated as it is quite difficult to debug at the minute.

Thanks in advance

Regards
Colin Graham
Nov 21 '05 #1
6 1778
Have you tried looking at the Locals window? Or right clicking on the
variable and choose add watch? Not sure what you mean.

Nov 21 '05 #2
"Colin Graham" <cs********@hotmail.com> schrieb:
This is probably something small but when i am debugging my vb.net
class library code im not able to see the values of any of the
variables when i hover my mouse over them.

This is my first attempt at class coding. What is the issue ???? is it
something to do with my variable declaration e.g., Private, Dim,
Public


Are you sure you run your applications in debug mode, which means that
"Debug" is selected in the configuration combobox which is embedded into the
IDE's toolbar? If yes, right-click a variable in debug mode and choose
"Quick watch" from its context menu. Does the quick watch window show the
variable's contents?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #3
Im still having no luck with this and i dont understand why. All my
other projects that are linked in this solution can display the value
of the variable when i hover over it but not this one. its obviously
some debugging setting. The quick watch didnt show the value of the
variable either but they do have values as the code runs correctly
until i get an error.

any more help appreciated.
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:<#W*************@TK2MSFTNGP15.phx.gbl>...
"Colin Graham" <cs********@hotmail.com> schrieb:
This is probably something small but when i am debugging my vb.net
class library code im not able to see the values of any of the
variables when i hover my mouse over them.

This is my first attempt at class coding. What is the issue ???? is it
something to do with my variable declaration e.g., Private, Dim,
Public


Are you sure you run your applications in debug mode, which means that
"Debug" is selected in the configuration combobox which is embedded into the
IDE's toolbar? If yes, right-click a variable in debug mode and choose
"Quick watch" from its context menu. Does the quick watch window show the
variable's contents?

Nov 21 '05 #4
Colin,

"Colin Graham" <cs********@hotmail.com> schrieb:
Im still having no luck with this and i dont understand why. All my
other projects that are linked in this solution can display the value
of the variable when i hover over it but not this one. its obviously
some debugging setting. The quick watch didnt show the value of the
variable either but they do have values as the code runs correctly
until i get an error.


You can delete your project's "bin" and "obj" folders and recompile the
project.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5
Thanks again for your time but unfortunately still no joy with this
issue. its making it impossible to debug. is this a known issue ??? do
you know if there are any service packs availabe for VS 2003 ???

thanks again
colin graham
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message news:<uE**************@TK2MSFTNGP09.phx.gbl>...
Colin,

"Colin Graham" <cs********@hotmail.com> schrieb:
Im still having no luck with this and i dont understand why. All my
other projects that are linked in this solution can display the value
of the variable when i hover over it but not this one. its obviously
some debugging setting. The quick watch didnt show the value of the
variable either but they do have values as the code runs correctly
until i get an error.


You can delete your project's "bin" and "obj" folders and recompile the
project.

Nov 21 '05 #6
Colin,

"Colin Graham" <cs********@hotmail.com> schrieb:
Thanks again for your time but unfortunately still no joy with this
issue. its making it impossible to debug. is this a known issue ??? do
you know if there are any service packs availabe for VS 2003 ???


At least I have never experienced this problem. What you can do is trying
to build a short but complete program that causes this behavior.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #7

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

Similar topics

7
by: Michael | last post by:
Hi newsgroup, as the subject indicates I am looking for an advice using global variables. I am not if this problem is more about style then C. If its wrong in thi group, sorry. So I have a...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
1
by: Colin Graham | last post by:
This is probably something small but when i am debugging my vb.net class library code im not able to see the values of any of the variables when i hover my mouse over them. instead the value =...
6
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to...
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...
12
by: jelle | last post by:
That's basically the idea... Often i find myself annotating what variables actually stand for, so to refer back to the code in half a year or so. # check if ID's or coords self.pointIDs = ptIDs...
83
by: achintmehta | last post by:
I am working on MontaVista Linux on a PPC board. The compiler I am using is a gnu cross compiler cross compiler (ppc-82xx-gcc) The application/software that is being run, is messing up the...
5
by: rn5a | last post by:
Can someone please suggest me a text editor especially for DEBUGGING ASP scripts apart from Microsoft Visual Interdev? I tried using Visual Interdev & created a project but Interdev generates...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.