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

Bug 326677

Summary: [Regression] Wrong function name shown in Debug View
Product: z_Archived Reporter: Petyo Tanchev <petyo_tanchev>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch none

Description Petyo Tanchev CLA 2010-09-30 10:40:58 EDT
Using the ExampleProject, debug as PHP script DebugDemo.php file.
Using "Step Into" (F5) go through the file and observe the Debug view.
While I am inside display_workers() function, the Debug view is showing that I am somewhere in the file (not in function:
/ExampleProject/DebugDemo.php at line 49

When i step into row_color() function, the Debug view is showing: 
display_workers(): /ExampleProject/DebugDemo.php at line 26

But in this time, the line for the function call - 51, becomes correct: 
display_workers(): /ExampleProject/DebugDemo.php at line 51
Comment 1 Toshihiro Izumi CLA 2011-06-10 01:20:35 EDT
Created attachment 197751 [details]
patch
Comment 2 Zhongwei Zhao CLA 2011-06-20 23:51:43 EDT
applied the patch,thanks!
Comment 3 Ilina Stefanova CLA 2011-07-26 03:49:13 EDT
Verified.