Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318452 - Breakpoints matching different for first file vs. further files
Summary: Breakpoints matching different for first file vs. further files
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-30 08:34 EDT by Jacek Pospychala CLA
Modified: 2020-05-14 11:24 EDT (History)
1 user (show)

See Also:


Attachments
patch (3.23 KB, patch)
2010-06-30 08:53 EDT, Jacek Pospychala CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacek Pospychala CLA 2010-06-30 08:34:08 EDT
In org.eclipse.php.internal.debug.core.zend.debugger.handlers.StartProcessFileNotificationHandler.prepareForProcessing(String, PHPDebugTarget)

There's distinction between first and further files. First file uses different way to locate the resource containing breakpoints, than it's used for other files.

As a result in some cases, breakpoints are incorrectly set for first debugged file.
Comment 1 Jacek Pospychala CLA 2010-06-30 08:53:58 EDT
Created attachment 173085 [details]
patch

Fix is to call anything that's required for first file (e.g. first mapping and change dir), but use same method for resolving file path in all cases.
Comment 2 Jacek Pospychala CLA 2010-06-30 09:00:27 EDT
Patch applied to branch and head.
Comment 3 Sylvia Tancheva CLA 2010-09-02 04:37:00 EDT
Closing