Breakpoints Set in the Project Don't Work for Imported Projects

Follow

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.

  1. In PHP Explorer right-click the PHP Include Path node and choose Include Path | Configure Inclide Path:

  1. In the dialog that opens switch to the Source tab and click Add Folder.
  2. In the Source Folder Selection dialog, select the top node of the project.
  3. 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.

_____
Tags: Apple OS X 10.7 (Lion),Apple OS X 10.8 (Mountain Lion),Apple OS X 10.9 (Mavericks),breakpoint,Debian / Ubuntu,debugging,import,include path,MacOS 10.6 and earlier,MS Windows 2003 Server,MS Windows 2008 Server,MS Windows 2012 Server,MS Windows 7,MS Windows 8,MS Windows XP,path mapping,RedHat Enterprise Linux / CentOS,SUSE Linux Enterprise Server / OpenSUSE,Zend Studio 7.x,oldKB,attachment

Have more questions? Submit a request

Comments

Powered by Zendesk