Immediate Command

  • Thread starter Thread starter Larry Rebich
  • Start date Start date
L

Larry Rebich

In VB6 I could enter an immediate command to, for example, determine the
value of a variable. Is there some why to do this in VB 2005? Something
like:

?sUserName

would return:

"Joe Blow"

Thanks,
Larry Rebich
 
Larry said:
In VB6 I could enter an immediate command to, for example, determine the
value of a variable. Is there some why to do this in VB 2005? Something
like:

Menu option: Debug | Windows | Immediate

You can type in expressions in there.

-- Barry
 
I'm sorry but the Windows under Debug are:

Breakpoints
Watch
Locals
Call Stack
Threads

in my web application.

I don't see an Immediate window!

Larry Rebich
 
Larry said:
I'm sorry but the Windows under Debug are:

Breakpoints
Watch
Locals
Call Stack
Threads

in my web application.

I don't see an Immediate window!

In VS 2005 Professional, for an ASP.NET VB application that is running
and paused at a breakpoint, there are the following menu items in the
Debug | Windows menu

---8<---
breakpoints
output
script explorer
-
watch >
autos
locals
immediate
-
call stack
threads
modules
processes
-
memory >
disassembly
registers
--->8---

I don't know the details for any other versions of VS 2005; you haven't
mentioned which version you are using.

-- Barry
 
I'm using VB 2005 Standard Edition. Does it have an Immediate Window for
Asp.Net applications?

Larry
 
Note: In the Solution Explorer,

#1. Click on the 'Project' Then right click and go to Properties.
#2. Check 'Configuration Properties' If the configuration says
'Release' Debug and changing code and values is not allowed. Change this
to 'Debug' and it works just fine for me.
 
Larry,

Right click on the toolbar and click Customize. From there you can add
the Immediate menu item to the toolbar or the menu.

Brian
 
Back
Top