From 246d5b97c5a9634d18c1713266da933e891bd6d6 Mon Sep 17 00:00:00 2001 From: cperkonig Date: Tue, 4 Oct 2005 21:12:57 +0000 Subject: [PATCH] do a check for no environment values --- .../launching/PHPLaunchConfigurationDelegate.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/launching/PHPLaunchConfigurationDelegate.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/launching/PHPLaunchConfigurationDelegate.java index 484f75a..509d40d 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/launching/PHPLaunchConfigurationDelegate.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/php/launching/PHPLaunchConfigurationDelegate.java @@ -85,9 +85,13 @@ public class PHPLaunchConfigurationDelegate extends LaunchConfigurationDelegate // nativeEnvVars.put("XDEBUG_CONFIG", "idekey=xdebug_test remote_enable=1"); // } if (mode.equals(ILaunchManager.DEBUG_MODE)) { - String[] env = new String[envp.length+1]; - for(int i=0;i