Menu

Why nothing in Var View after install PadWalk

Help
Brant Chen
2008-12-19
2013-05-20
  • Brant Chen

    Brant Chen - 2008-12-19

    Configuration:
    ------------------------------------------------------------------------------------------
    OS: Windows Standard Server 2003

    ActivePerl 5,10,0,1004 [Build 1004 287188]

    Eclipse version:
    Version: 3.3.2
    Build id: M20080221-1800

    EPIC: 0.6.27
    Installed by Eclipse->Help->Software Updates->Find and install...

    PadWalker:
    Running: ppm install PadWalker
    Success, PadWalker is 1.7, Released: 2008-02-04.
    ------------------------------------------------------------------------------------------

    I make a perl script as:
    ---------------------------------------------------

    #!/usr/bin/perl -w
    use warnings;

    sub total {
    my(@arr)=@_;
    my $result;
    foreach (0..$#arr){
    $result += $arr[$_];
    }
    return $result;
    }

    my @fred = qw(1 3 5 7 9);
    my $fred_total = total @fred;
    print "The total of \@fred is $fred_total.\n";

    ---------------------------------------------------
    Setting Eclipse->Windows->Preference->Perl EPIC->
    Set "Perl Execute" to "C:\Perl\bin\perl.exe", Interpreter Type is Standard, Save all.

    Create a Debug configuartoin through:Eclipse->Run->
    Open Debug Dialog...->Perl Local->New a debug configuration
    named "tmp_debug"->Just setting Project and Perl File(containing above code) to execute.

    Run a debug session of "tmp_debug", Step into, step over works well, but there is nothing in Variable View. I can't see such as $result value in Variable View?
    Anybody know Why ?
    Thanks!

     
    • Brant Chen

      Brant Chen - 2008-12-19

      Sorry I haven't select to show local varible~~~~(How could I konw the little square can display a long menu! Oh my god)

      Forum Admin, how to delete this thread to tidy this forum? Thanks.

       
      • Jan Ploski

        Jan Ploski - 2008-12-19

        No need to delete, it's a good post. You could have found out about the little square (arrow?) by reading Section 6.4.2 (Variables View) of the User's Guide.

         

Log in to post a comment.