有什么方法可以强制在断点上停止以检查 vars 等?我安装了 eclipse indigo 3.7 + PDT 工具,其次我配置了 xdebug,它在普通调试期间工作。最后我从市场安装了makegood并启用了它的“调试测试”功能,但它并没有在断点处停止,而是向我显示报告,这是正确的,加上一些错误的行,例如:
/mnt/public/midnight/www/sandbox/makegood/Tests/makeGoodTest.php:11
/home/midnight/Software/eclipse/plugins/com.piece_framework.makegood.stagehand_testrunner_1.9.0.v201201241509/resources/php/PEAR/Stagehand/TestRunner/Runner/PHPUnitRunner.php:112
/home/midnight/Software/eclipse/plugins/com.piece_framework.makegood.stagehand_testrunner_1.9.0.v201201241509/resources/php/PEAR/Stagehand/TestRunner/TestRunner.php:79
/home/midnight/Software/eclipse/plugins/com.piece_framework.makegood.stagehand_testrunner_1.9.0.v201201241509/resources/php/PEAR/Stagehand/TestRunner/TestRunnerCLIController.php:325
/home/midnight/Software/eclipse/plugins/com.piece_framework.makegood.stagehand_testrunner_1.9.0.v201201241509/resources/php/PEAR/Stagehand/TestRunner/TestRunnerCLIController.php:175
/home/midnight/Software/eclipse/plugins/com.piece_framework.makegood.stagehand_testrunner_1.9.0.v201201241509/resources/php/PEAR/Stagehand/CLIController.php:101
/home/midnight/Software/eclipse/plugins/com.piece_framework.makegood.stagehand_testrunner_1.9.0.v201201241509/resources/php/bin/phpunitrunner.php:80
我的/etc/php5/conf.d/xdebug.ini
:
zend_extension="/usr/lib/php5/20090626/xdebug.so"
xdebug.profiler_enable = Off
xdebug.default_enable = On
xdebug.remote_enable = On