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

Bug 349514

Summary: Feature Request: php error log parser and tool to click on file:line links
Product: z_Archived Reporter: Stu <stu>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: zulus
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Stu CLA 2011-06-15 20:05:08 EDT
Build Identifier: 20110301-1815

I come from developing C++ applications, and one of the most time-consuming thing with developing PHP is the fact that there is no compiler and errors are all written to a log file. To shrink this tedious cycle, if the IDE could tell you about errors right away and make it easy to get to them quickly (open the source file and goto the line), many hours of coding time would be saved. 

I think a great feature would be a new panel where you could point it to your local phperrors.log file and Eclipse would automatically parse it when it changes and keep a list of recent errors in the panel. Then you could click a button to clear the list, so only the errors shown since the last "clear time" would appear in the list.

The phperror log typically dumps problems like so:

[13-Jun-2011 16:26:01] Undefined property: stdClass::$index - in /Library/WebServer/Documents/electrolab/server/mma/classes/CombatActor.class.php(237)

Which can be easily parsed into date, time, file and line references, and an error body, such as a stack dump or other custom data. Each new error begins with this date and time marker, so the errors and their output can be delineated.


Reproducible: Always
Comment 1 Dawid Pakula CLA 2020-04-23 09:12:05 EDT
Such feature already exists: https://marketplace.eclipse.org/content/logviewer