Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324452

Summary: Debugger opens library files and breaking and start debugging.
Product: z_Archived Reporter: vinod <vinodperoor>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description vinod CLA 2010-09-03 12:39:26 EDT
Build Identifier: 20100617-1415

When I am debugging a php file that includes Pear.php or DB.php or some other libraries and setting break points after the include statement, especially after some lines of the said include statement, it opens that library file in the editor and starting to debug from that libray file. Then I need to press many resume(F8) keys to reach my break points.  But with Eclipse Galeleo it works fine.


Reproducible: Always

Steps to Reproduce:
1. create a php file with the following statements

// i have installed pear and set php.ini to : include_path=".;D:\PHP\pear"
include_once 'Pear.php'; // <-pear library file
//include_once 'DB.php'; // <-pear library file

//put some statements i use echo
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing";
echo "testing"; // <- SET BREAKPOINT HERE

2. try to debug , it will break execution some where in the Pear.php

Eclipse Debug configuration:
============================
Break at first line - set to off
Server Debugger - Zend Debugger

php.ini configuration
============================
PHP Version 5.2.12
[Zend]
zend_extension_ts = "D:/php/ext/ZendDebugger.dll"
zend_debugger.allow_hosts = 127.0.0.1
zend_debugger.expose_remotely = always

Operating System:
============================
I have tested it with Windows XP in my office and home, both fails. 

The same configuration works fine with eclipse galeleo.
Comment 1 Zhongwei Zhao CLA 2011-05-16 00:48:27 EDT
fixed already
Comment 2 Kalin CLA 2011-08-02 10:24:26 EDT
Verified.
Closing...