Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 324452 - Debugger opens library files and breaking and start debugging.
Summary: Debugger opens library files and breaking and start debugging.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 12:39 EDT by vinod CLA
Modified: 2020-05-14 11:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...