Debugging variables = nothing

  • Thread starter Thread starter Colin Graham
  • Start date Start date
C

Colin Graham

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
 
Have you tried looking at the Locals window? Or right clicking on the
variable and choose add watch? Not sure what you mean.
 
Colin Graham said:
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?
 
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.
 
Colin,

Colin Graham said:
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.
 
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
 
Colin,

Colin Graham said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top