[resolved] Failed to start debug, phped 4.6 |
|
I am running:
PhpED: Version 4.6.3 (Build 4635) System: Windows Vista Business Apache: 2.2.3 PHP: 5.2.0 I copied php_dbg.dll-5.2.x from my Phped installation, C:\phped\debugger\server\Win32\x86\, to my php ext directory (C:\php\ext) I setup php.ini as follows: (any line with zend has been commented out) extension=php_dbg.dll-5.2.x [debugger] debugger.enabled=on debugger.profiler_enabled=on debugger.hosts_allow=localhost debugger.hosts_deny=ALL debugger.ports=7869, 10000/16 I get the following output in php info which indicates degguer is installed: DBG php debugger, version 3.1.9, Copyright 2001, 2006 Dmitri Dmitrienko, http://www.nusphere.com/dbg But when I select "Run in Debugger" option in PhpED, I get the following error: "Failed to start debug session (error:2)Please make sure that debugger module is installed for locally running php" I see no module load errors in apache error logs. Any ideas, anyone? |
||||||||||||
|
Veteran
|
Your version 4.6.3 is a bit old. I do not know how well it works in Vista
When I first started using PhpEd, I could not get the debugger to work until I specified the full path to the DBG module. The following setting currently works 100% for me (Windows XP, IIS, and PhpEd 5.0.1):
Also worth considering, is running the DBG Wizard. It may just provide the clues you need! See http://www.nusphere.com/products/dbg_wizard_download.htm for more information. Good luck |
||||||||||||||
_________________ |
Site Admin
|
try with external browser and check what it shows.
|
||||||||||||
_________________ The PHP IDE team |
Similar Problem |
Site Admin
|
just run phpinfo() and check its output to see if _SERVER['REMOTE_ADDR'] is set. If not, you're in trouble and should address this issue to php and apache dev teams, see http://bugs.php.net and http://httpd.apache.org/bug_report.html BTW, this problem did never happen under Apache 2.2.3 and earlier versions. |
||||||||||||||
_________________ The PHP IDE team |
|
What other issues can cause this ? I have been using the debugger fine for some time now on apache 1.3.x, but I now need to develop against apache 2.2.x and am seeing this problem. So far, I have been using php 5.2.5 and have tried with apache versions 2.0, s.3 and 2.6 on both windows and linux (I need to test on both platforms) and I always get this error. I have checked with phpinfo(); and it always shows the correct value for the _SERVER['REMOTE_ADDR'] variable, but for some reason, dbg.so cannot see that value. Currently, the debug client is running on windows vista 32 bit with all the latest updates (though I think the problem is in the bdg module, not the client). If required, I can provide access to a system that exhibits this problem for you to debug. The linux server is running Centos 5 in a Xen virtual machine (if that matters) on a static real internet IP (ie. not NAT'd) and apache was installed / configured by cpanels easyapache. Thanks for any pointers. I also have a copy of komodo that I used to use for development and when I try that using the xdebug module, everything works perfectly. But I really want to use the debugger built into phped as it is a much better debugger (when it works). Oh, and I'm using the latest version of phped and dbg. Thanks for any pointers. Martin *EDIT* Never mind, I found the problem. For some reason, firefox updated and screwed the settings in the toolbar. I had to set the clienthost setting correctly (which I don't think I've used in the past). That'll teach me to rely on the toolbar too much. |
||||||||||||||||
|
[resolved] Failed to start debug, phped 4.6 |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by