[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.tools.pdt] Simple script terminates when I try to debug it.

I am trying to get XDebug to work.

I have written the following simple script:

<?php
$name = "world";
for ($i = 0; $i >100; $i++ ){
	print("Hello, $name ($i)!\n");
}
?>

When I execute the Eclipse Debug, I get an immediate:

	<terminated> PHP Application
	<terminated, exit value:1>G:\xampp\php\php.exe

in the Debug View. The system does not suspend on the first line of PHP code as I would expect, given that the Debug configuration specifies to do so.

Debug Configuration Settings:

debugger=Xdebug
exe=G:\xampp\php\php.exe
file=/simpleDebugExample/helloworld.php
break at first line=checked

php -m lists XDebug as installed

XDebug Settings:
port=9000
show super globals=checked
max array debth=3
max children=31
use multisession=not checked
accept remote session=off
output capture=off
stderr=copy
use proxy=not checked
step filtering=not checked
multi debug sessions=Prompt
Switch back to PHP Perspective=Never
Open in browser=not checked
Open debug views=not checked

PDT Plugin version: 2.0.0.v20081229-1135
WST version: 3.0.3.v200809250443

php.ini settings (note I commented out the [Zend] settings):

[Zend]
;zend_extension_ts = "G:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
;zend_extension_manager.optimizer_ts = "G:\xampp\php\zendOptimizer\lib\Optimizer"
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:


[XDebug]
;; Only Zend OR (!) XDebug
zend_extension_ts="G:\xampp\php\ext\php_xdebug.dll"
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.profiler_enable=1
xdebug.profiler_output_dir="G:\xampp\tmp"


max_execution_time = 600; max_input_time = 600; memory_limit = 32M;


cachegrind.out file: version: 0.9.6 cmd: Z:\Workspace\simpleDebugExample\helloworld.php part: 1

events: Time

fl=Z:\Workspace\simpleDebugExample\helloworld.php
fn={main}

summary: 30162

0 30162

ANY HELP IS GREATLY APPRECIATED!!