×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

(OP)
Colleagues,
The IDE has "Locals" tab that shows only local memvars ("Dah!")
Me, personally, ain't like using Public memvars, but sometimes I need them. I keep their quantity to minimum, but they are still present.
"As fate would have it", I need to check these Public memvars during Debug execution (especially - when it's a pointer on an object or an array).
Is there any way (except memory dump on disk every once in a while) to check the contents of these Public memvars during the Debug run in IDE?

AHWBGA!

Regards,

Ilya

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

What is a memvars?

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

Ilya means 'variables'

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

(OP)
Clarification: "Memvars" == "Memory variables".
T's old habit to call them "memvars", since my early days of programming on FoxBase, Turbo C/C++ and VB ver. 1.0.

Regards,

Ilya

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

>Clarification: "Memvars" == "Memory variables".

Or, as most of us would probably refer to them: variables

By Public, I presume you mean globally available variables

Add the ones you are interested in to the Watch window.

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

"T's old habit to call them "memvars", since my early days of programming on FoxBase, Turbo C/C++ and VB ver. 1.0."

I've been programming over thirty years and never once heard them referred to as that.

Maybe I missing the question...if they are public variables can't you just hover over them for the value? Plug then into the Immediate window with a question mark in from of it?

?memvars

Put it in a debug statement Debug.Print(memvars)

Put it in a message box MessageBox.Show(memvars)

So many options...I think I misunderstand your question.

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?

(OP)
To StrongM: this is exactly what I needed! Thank you!

To SaltyTheFrog: hovering mouse pointer over the memvar during Debug works, but you can see the variable's value only if it's a scalar one, whereas I need to see the properties of an object defined by a pointer, that latter being a Public variable.

To all: consider me enriching your vocabulary with this new term, "MemVar"! smile

Thank you all, colleagues, and I wish nice weekend to y'al! bigsmile

Regards,

Ilya

RE: VS 20102, VB .NET: how to check Public memvars/arrays/objects in IDE in Debug mode?


To all: consider me enriching your vocabulary with this new term, "MemVar"! smile

You should let Google know about it also...they don't seem to nosmiley

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close