Forum Discussion

rdsfernanda's avatar
rdsfernanda
Occasional Contributor
9 years ago

Local Panel isn't showing me the local variables available

Hi,

 

Please, does anybody can help me?

 

I need that my local panel show me the local variables available, but when start the execution of my code the panel doesn't show me anything.

 

I have a file in attachments, my code is Delphi... but I have tryed with VBScript and doesn't work too.

 

thanks :)

 

 

  • Hi Fernanda,

     

    Your InicialTelnet procedure uses global variables and doesn't have any local variables. Local variables are defined like this:

     

    procedure Test;
    var LocalVar1, LocalVar2; // <------
    begin
    ...
    end;

    The Locals list shows just the locals and not globals, that's why it's empty. To watch global variables, add them to the Watch List instead, or evaluate them in the "calculator" (Ctrl + F12).

  • HKosova's avatar
    HKosova
    SmartBear Alumni (Retired)

    Hi Fernanda,

     

    Your InicialTelnet procedure uses global variables and doesn't have any local variables. Local variables are defined like this:

     

    procedure Test;
    var LocalVar1, LocalVar2; // <------
    begin
    ...
    end;

    The Locals list shows just the locals and not globals, that's why it's empty. To watch global variables, add them to the Watch List instead, or evaluate them in the "calculator" (Ctrl + F12).

    • rdsfernanda's avatar
      rdsfernanda
      Occasional Contributor

      Hi Helen, 

       

      Thank you soo much for helping. My problem was solved.


      Fernanda R.