Applies To:
[ Zend Studio 7.x ]
[ All operating systems ]
Symptom
When debugging a project, the debugger doesn't stop on breakpoints pre-set in Zend Studio 7 project. The configuration is correct:
- "Debug Local Copy" is selected in Zend Browser Toolbar settings (for debugging from a web browser).
- "Local copy, if available" is selected in Debug Configurations (for debugging from Zend Studio).
This only happens for projects that were previously imported from Zend Studio for Eclipse 6.x.
Technical Details
Upon debugging session start, Path Mapping is not created automatically. A prompt to create Path Mapping is not displayed either. Path Mapping is the necessary part for associating the files on the debug server with the project in Zend Studio.
More deeply the problem is in the Import process. During this process the PHP Include Path for the project is not updated correctly.
Resolution / Workaround
The workaround is very simple. A PHP Include Path entry for the project needs to be created in this very project.
- In PHP Explorer right-click the PHP Include Path node and choose Include Path | Configure Inclide Path:
- In the dialog that opens switch to the Source tab and click Add Folder.
- In the Source Folder Selection dialog, select the top node of the project.
- Click OK in both dialogs to confirm the change.
To verify the result of this procedure, expand the PHP Include Path node and ensure that the project entry has been created:
Excerpt: When debugging a project, the debugger doesn't stop on breakpoints pre-set in Zend Studio 7 project. This only happens for projects that were previously imported from Zend Studio for Eclipse 6.x. The article provides a workaround for this problem.
Original Post Date: 2009-10-23 14:09:20
Alternative Description:
When debugging a project, the debugger doesn't stop on breakpoints pre-set in Zend Studio 7 project. This only happens for projects that were previously imported from Zend Studio for Eclipse 6.x. The article provides a workaround for this problem.
Comments