Groups | Blog | Home
all groups > visual studio .net debugging > october 2007 >

visual studio .net debugging : Command Window


Greg
10/19/2007 5:45:01 PM
From what I have read the Command window is similar to the Immediate Window
in MS Access, thus you can type in the name of a function prefixed with a ?
and run the function while the application is NOT running. For example, to
test this, I created a PUBLIC Function Adding(byval x as integer, byval y as
integer) integer.

In the Command Windows I typed:

?Adding(1,2)

and I got the error: Command "Adding(1,2)" is not valid.

Is there a switch or option I must turn on somewhere?

jetan NO[at]SPAM online.microsoft.com (
10/24/2007 12:00:00 AM
Dear Greg,

Based on my experience, the "Command Window" is used to execute pre-defined
commands or aliases directly in the Visual Studio IDE. It can not be used
to execute the function. See the official document below:
"Command Window"
http://msdn2.microsoft.com/en-us/library/c785s0kz(VS.80).aspx

However, you may use the "Immediate Window" to execute statements. Please
refer to the link below for details:
"Immediate Window"
http://msdn2.microsoft.com/en-us/library/f177hahy(VS.80).aspx

Hope it helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

AddThis Social Bookmark Button