PDT + XDEBUG + EASYPHP [message #504600] |
Mon, 21 December 2009 12:45 |
Missing name Mising name Messages: 5 Registered: December 2009 |
Junior Member |
|
|
This is my first post
I installed Eclipse PDT, Xdebug, and as a server EasyPHP. Everything works and I can (a little) to use xdebug,
and I write to ask about help, I think, configuring xdebug.
In the code below:
<?php
function somma($a,$b,$c)
{
$risultato = $a+$b+$c;
return $risultato;
}
$x = 1;
$y=2;
$z=3;
echo $x." ".$y." ".$z ."<br />";
echo somma($x,$y,$z);
?>
I can only see( In the windows variable) the value of variables $x,$y,$z but not value of variable $a,$b,$c.
For variable $a,$b,$c PDT in the windows write <uninitialized>
What can I do?
Thanks in advance
|
|
|
Re: PDT + XDEBUG + EASYPHP [message #504655 is a reply to message #504600] |
Mon, 21 December 2009 22:23 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
If you set a breakpoint on the return $risultato line and then execute
so that it breaks on that line do you get the values of $a, $b, $c ?
Dave Kelsey
On 21/12/09 12:45, MaxMax wrote:
> This is my first post :blush: I installed Eclipse PDT, Xdebug, and as a
> server EasyPHP. Everything works and I can (a little) :( to use xdebug,
> and I write to ask about help, I think, configuring xdebug.
> In the code below:
>
>
> <?php
> function somma($a,$b,$c)
> {
> $risultato = $a+$b+$c;
> return $risultato;
> }
> $x = 1;
> $y=2;
> $z=3;
> echo $x." ".$y." ".$z ."<br />";
> echo somma($x,$y,$z);
> ?>
>
> I can only see( In the windows variable) the value of variables $x,$y,$z
> but not value of variable $a,$b,$c.
> For variable $a,$b,$c PDT in the windows write <uninitialized>
> What can I do? Thanks in advance
|
|
|
|
Re: PDT + XDEBUG + EASYPHP [message #504746 is a reply to message #504709] |
Tue, 22 December 2009 07:26 |
Eclipse User |
|
|
|
Originally posted by: dkel50.hotremovemail.com
what version of xdebug are you using in easyphp ? It sounds like an
issue with xdebug on the server side. You could get a log of what is
going on from xdebug, see
http://www.eclipse.org/pdt/documents/XDebugGuideForPDT2.0.pd f
for details.
Dave Kelsey
On 22/12/09 09:55, MaxMax wrote:
> Eclipse User wrote on Mon, 21 December 2009 17:23
>> Originally posted by: dkel50.hotremovemail.com
>>
>> If you set a breakpoint on the return $risultato line and then execute
>> so that it breaks on that line do you get the values of $a, $b, $c ?
>>
>> Dave Kelsey
>
>
> Not even in this way I can see the values :(
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds