Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349514 - Feature Request: php error log parser and tool to click on file:line links
Summary: Feature Request: php error log parser and tool to click on file:line links
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-15 20:05 EDT by Stu CLA
Modified: 2020-05-14 11:50 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 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