NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugger won't work in symbolic link directories


Joined: 14 Dec 2004
Posts: 21
Reply with quote
I am using Windows 7 symbolic links to add my TYPO3 source folders and the index.php file to my document root.
PHPed shows the index.php with a link symbol in the workspace pane and opens it without problems. But the debugger won't stop on breakpoints set in this file or in any of the files in the linked directories.
On the other hand it is possible to step into these linked directories and debug files in there if the debugging starts in a normal file in the document root.
Is this a known limitation and is there some way to overcome it?
View user's profileFind all posts by DigiLogSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
if you're running Apache, it's an expected behaviour because before running your script, Apache resolves the links and php does not know the original file name (symlink name). Hence debugger won't know the name either. Try echo __FILE__ and you'll see name of the file that both php and php debugger work with.
Just don't use symlinks or open original file in phped and set breakpoint in it, not in the symlink.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debugger won't work in symbolic link directories
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic