Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 10th, 2004, 09:27 AM
Authorized User
 
Join Date: Mar 2004
Posts: 61
Thanks: 0
Thanked 0 Times in 0 Posts
Default Debugging

In Visual Studio I used to be able to enter commands into the immediate window to change variable values and access properties while debugging. Now when I try to do this it says, "Command is not valid" Did I inadvertantly change a setting somewhere? How do I get it back?

Thanks in advance.
Brian
 
Old June 16th, 2004, 10:32 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

If you want to see a variable, prefix the variable/object property with ?:

?myObject.Property

To set it, just type it as usual:

myObject.Property = "blah"





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help Debugging fs22 Javascript 3 May 17th, 2005 10:13 AM
Debugging Louisa VB.NET 2002/2003 Basics 1 March 18th, 2004 11:55 AM
debugging Adam H-W Classic ASP Basics 1 February 11th, 2004 02:30 PM
Need help debugging.... reg03 Beginning PHP 5 January 27th, 2004 03:51 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.