Why nothing in Var View after install PadWalk
brant_chen wrote on Fri Dec 19 03:54:48 CET 2008:
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 wrote on Fri Dec 19 05:19:34 CET 2008:
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.
jploski wrote on Fri Dec 19 11:15:23 CET 2008:
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.
Note: The above is an archived snapshot of a forum thread. Use the original thread at sf.net to post comments.