Immediate window

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vul

    #1

    Immediate window

    In VB6 I used to use Immediate Window to get or change values of variables.
    It is very convenient while debugging. I used drag and drop operation to
    paste the variable name into Immediate Window. In VB 2005 this approach
    either doesn't work or I need to do it some different way. Of course VB 2005
    environment allows to see values right in the code window, but it's true
    only for not too long strings. With a long string I still need Immediate
    Window.
    How does it work now?
    Or there is no more drag and drop for this window?

    Thank you
    Al


  • Chris Dunaway

    #2
    Re: Immediate window


    vul wrote:
    In VB6 I used to use Immediate Window to get or change values of variables.
    It is very convenient while debugging. I used drag and drop operation to
    paste the variable name into Immediate Window. In VB 2005 this approach
    either doesn't work or I need to do it some different way. Of course VB 2005
    environment allows to see values right in the code window, but it's true
    only for not too long strings. With a long string I still need Immediate
    Window.
    How does it work now?
    Or there is no more drag and drop for this window?
    >
    Thank you
    Al
    Add the variable to the watch window. Then you can change its value
    during debugging.

    Comment

    • vul

      #3
      Re: Immediate window

      Thank you Chris.
      I know that way, but still want to use what I like in VB6.
      Watch Window doesn't replace Immediate Window. For instance I'm walking
      through my code and with Immediate Window (in VB6) I can quickly drag and
      drop any variable I suspect. I do not need to remember them after I saw
      their values, or changed the value. With Watch I need to add variables,
      delete them etc.
      My question is just if it's possible to use Immediate Window the way it was
      used in VB6 (drag/drop). It allows to paste the variable into it, but no
      drag/drop.

      Al

      "Chris Dunaway" <dunawayc@gmail .comwrote in message
      news:1158086398 .763105.155190@ d34g2000cwd.goo glegroups.com.. .
      >
      vul wrote:
      >In VB6 I used to use Immediate Window to get or change values of
      >variables.
      >It is very convenient while debugging. I used drag and drop operation to
      >paste the variable name into Immediate Window. In VB 2005 this approach
      >either doesn't work or I need to do it some different way. Of course VB
      >2005
      >environment allows to see values right in the code window, but it's true
      >only for not too long strings. With a long string I still need Immediate
      >Window.
      >How does it work now?
      >Or there is no more drag and drop for this window?
      >>
      >Thank you
      >Al
      >
      Add the variable to the watch window. Then you can change its value
      during debugging.
      >

      Comment

      • Oenone

        #4
        Re: Immediate window

        vul wrote:
        With a long string I still need Immediate Window.
        I know it's not quite what you're asking for, but if you hover over a string
        variable so that the value tooltip appears, and then click the little
        magnifying glass icon next to the value, it'll open a pop-up window with the
        full content of the string in it. Personally I find this substantially more
        useful then printing the value into the immediate window in most cases.

        If you click the little drop-down arrow next to the magnifying glass, you
        can choose to view the string as HTML or XML too.

        --

        (O)enone


        Comment

        • vul

          #5
          Re: Immediate window

          Thank you Oenone.
          Either it requires some changes in settings or some other things, but after
          I hover over a string, I get tool tip only, no magnifying glass, no little
          drop down error. Toll tip shows the string if it's short in length,
          otherwise it appears truncated. Just due to this limitation I was looking
          for an approach to use drag/drop

          Al

          "Oenone" <oenone@nowhere .comwrote in message
          news:fSENg.8549 $s4.4485@newsfe 3-win.ntli.net...
          vul wrote:
          >With a long string I still need Immediate Window.
          >
          I know it's not quite what you're asking for, but if you hover over a
          string variable so that the value tooltip appears, and then click the
          little magnifying glass icon next to the value, it'll open a pop-up window
          with the full content of the string in it. Personally I find this
          substantially more useful then printing the value into the immediate
          window in most cases.
          >
          If you click the little drop-down arrow next to the magnifying glass, you
          can choose to view the string as HTML or XML too.
          >
          --
          >
          (O)enone
          >

          Comment

          • The Grim Reaper

            #6
            Re: Immediate window

            Am I just being a bit presumptious here, or have you all missed
            something?!?!
            I've got an Immediate Window in VS 2005 that I've been using for months!!

            Admittedly, it was a challenge to remember how I opened it... since it's not
            on the default menus.
            Open the Command Window (View menu --Other Windows --Command Window),
            then just type Immed and press enter in that window.
            The Immediate Window pops up - or at least it does on my work machine, my
            home machine and my laptop :D
            All running Professional edition - that might make a difference.
            _______________ _______________ ___
            The Grim Reaper

            "vul" <aaa@optonline. netwrote in message
            news:%23xCQlip1 GHA.1568@TK2MSF TNGP03.phx.gbl. ..
            In VB6 I used to use Immediate Window to get or change values of
            variables. It is very convenient while debugging. I used drag and drop
            operation to paste the variable name into Immediate Window. In VB 2005
            this approach either doesn't work or I need to do it some different way.
            Of course VB 2005 environment allows to see values right in the code
            window, but it's true only for not too long strings. With a long string I
            still need Immediate Window.
            How does it work now?
            Or there is no more drag and drop for this window?
            >
            Thank you
            Al
            >

            Comment

            Working...