Opened 7 years ago
Closed 5 years ago
#504 closed Bugs (worksforme)
DBG: Unable to find source file in proj. using linked dirs.
| Reported by: | taoism | Owned by: | dizmo |
|---|---|---|---|
| Priority: | 5 | Milestone: | 1.2.0 |
| Component: | DBG | Version: | 1.2.0-nightly |
| Keywords: | DBG, lookup | Cc: |
Description (last modified by ed_mann)
Here is the setup: Workspace: C:\_www\eclipse-workbench PHP Project in workbench: C:\_www\eclipse-workbench\[PHP] misc The project contains a directory resource link to: C:\_www\misc Actual source file location: C:\_www\misc\DebugTest.php Relevant Debug profile configuration is as follows. === File tab === Project: [PHP] misc File: misc\DebugTest.php The debugging session starts fine and stops at the breakpoint. The problem is that the debugger wants to open the source file for debugging highlighting and it cannot find the source file. === Error === java.io.FileNotFoundException: C:\_www\eclipse-workbench\[PHP] misc\DebugTest.php (The system cannot find the file specified) When selecting a file on the File tab in the Debug configuration, the editor is clearly following the linked directory resource to produce a list of files to choose from. However, it seems when the debugger actually executes it is not following the linked directory to correctly find the file. Cheers, Keith.
Change History (3)
comment:1 Changed 7 years ago by taoism
- Summary changed from Unable to find source file in project using linked dirs. to DBG: Unable to find source file in proj. using linked dirs.
comment:2 Changed 5 years ago by ed_mann
- billable set to 0
- Description modified (diff)
- Keywords DBG, lookup added
- Milestone set to 1.2.x
- os_platform set to Linux
- Version changed from None to 1.2.0-nightly
comment:3 Changed 5 years ago by ed_mann
- Resolution changed from None to worksforme
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/eclipsebutton_med.png)
I have used linked directories and it works, but i am on Linux and these are Symlink directories. If you are using the Link Resource inside Eclipse then i can see problems arising. Because the server that is executing the code, or the php interpreter itself will not know where theses files are because that directory is only an entry in the .project file. I have requested others to comment on this ticket, but have not gotten any responses. If this is an issue and you can verify if it is a link directory on the system level or a link directory in the Eclipse level that would help allot.