ActiveState Powered by ActiveState

ActiveState Community


Map URL

Posted by peter2108 on 2008-03-05 05:28

file://81.149.xxx.xxx/home/webs/somedomain.org.uk/htdocs mapped to
file://M:/somedomain.org.uk/htdocs

My machine is 192.168.1.2 runing windows and 81.149 .. is in the same room running Ubuntu Linux. I can use M: to access this machine because Samba lets me. But the url mapping breaks xdebugging of PHP - the browser hangs.

I am not surprised that it does not work and it is not important but I thought
I would mention it

BTW when are you going to put the alphabetical PHP vartiables in the beta's -
I keep having to patch it. That was important!

Komodo IDE, version 4.3.0-beta2, build 15465, platform win32-x86.
Built on Wed Feb 27 just before teatime.

Cheers, Peter

ToddW | Wed, 2008-03-05 10:13

Hi Peter,

The uri map settings you are using all look correct. There may be an exception happening in Komodo that is causing the browser to always wait for input (but it will never be sent). Can you check your Komodo log files:
http://community.activestate.com/faq/komodo-file-locations#log_files

The PHP sorting patch will not make it into the initial Komodo 4.3.0 release. This is because it needs additional testing first, on other languages (Perl, Python, Ruby, JavaScript, TCL) to ensure it does not break any of these.

I would think this will make it into the first patch release (4.3.1).

Cheers,
Todd

peter2108 | Wed, 2008-03-05 12:48

There is nothing in the logs --- well there is actually because code completion for PHP is not working very well for some reason. But nothing connected to url mapping. When the map-me dialog first pops up I fill in my mapped drive M:\ ... and everything is fine, debugging proceeds as expected and using an editable version of the file. But when I try and debug again the browser hangs. To fix I only need to 'stop' the browser request and delete the url mapping.

Good about the sorting patch.

Cheers, Peter

ToddW | Wed, 2008-03-05 13:27

Peter, can you tell me which version of xdebug are using?

Thanks.

peter2108 | Wed, 2008-03-05 14:44

It is version 2.0.2 in /usr/lib/php5/20060613+lfs/xdebug.so

It announces itself:

Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Xdebug v2.0.2, Copyright (c) 2002-2007, by Derick Rethans

in phpinfo. Also shows itself as a PHP module

Cheers, Peter

ToddW | Wed, 2008-03-05 16:24

Hi Peter,

Your right, after more playing with this I found the bug your running into:
http://bugs.activestate.com/show_bug.cgi?id=75385

Thanks for the report, this will *just* make it into the 4.3.0 release.

Thanks,
Todd

-->