Changing Variable Values

Help
jrsade
2007-10-11
2013-05-20
  • jrsade

    jrsade - 2007-10-11

    Have a simple question.

    How can I change variable values when debugging.

    I am using Perl Expression View.

    If I type "$a=5;" it says "<command(1) finished". I actually expect then that the Variables view refreshes showing the new value of $a. But neither it's refreshed nor is the value changed.

    I remember this working in earlier versions of EPIC. What am I doing wrong?

     
    • Jan Ploski

      Jan Ploski - 2007-10-12

      The Variables view does not refresh after executing commands in Perl Expression view. A variable's value is nevertheless changed correctly (at least in my tests). You should see the updated value after a step.

       
      • jrsade

        jrsade - 2007-10-18

        Seeing it after a step can be too late!

         
        • Jan Ploski

          Jan Ploski - 2007-10-18

          I agree, the Variables view should be refreshed after executing anything in the Perl Expression view (at least - refresh the expanded variables). Feel free to add a feature request along these lines. Until this is implemented you can still use "print" in the expression view explicitly.

           

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks