Opened 4 years ago

Closed 2 years ago

#783 closed Bugs (fixed)

Multiple source files with the same name but different paths are mishandled

Reported by: iandall Owned by: incastrix
Priority: 1 Milestone:
Component: XDebug Version: 1.2.1
Keywords: non-unique filename instruction pointer Cc:


If you are remote debugging (xdebug) a project with (for example) files:


Then phpeclipse gets very confused about which file has the current instruction pointer in the editor pane. The debug backtrace shows the correct pathnames perfectly, so phpeclipse knows the correct path.

Double clicking on any lines in the backtrace which refer to one of the index.php files always switches to the first index.php opened. For any other files (which have unique file names within the project), double clicking the lines on the traceback works perfectly to open the correct file (if it is not already open) and display the instruction pointer position in it. Similarly stepping through calls to code in different files works correctly when the filenames are unique, but not if the filenames are the same.

It seems like somewhere a filename (or perhaps the tab name) is being compared, when the full path should be compared.

I am not sure if the same behaviour occurs with local debugging.

Change History (2)

comment:1 Changed 4 years ago by ed_mann

  • Component changed from PHP Editor to XDebug
  • Owner set to incastrix

I take it you are using XDebug, if not please let me know and i will update accordingly.

comment:2 Changed 2 years ago by robekras

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.