Diagnostic System


เมื่อระบบโตขึ้น ก็มักมีความยุ่งยากเกิดขึ้น ไม่ว่าจะเป็นเรื่องบำรุงรักษา source code การตรวจสอบข้อผิดพลาดในระบบ(bug) การติดตามการทำงาน (process) ของระบบ และอื่นๆ อีกจิปาถะ....

Diagnostic System
ปวดหัว ปวดหัว ปวดหัว.... เมื่อระบบโตขึ้น ก็มักมีความยุ่งยากเกิดขึ้น
ไม่ว่าจะเป็นเรื่องบำรุงรักษา source code การตรวจสอบข้อผิดพลาดในระบบ(bug) การติดตามการทำงาน (process) ของระบบ และอื่นๆ อีกจิปาถะ

ในระหว่างการพัฒนาระบบนั้น สิ่งที่หนีไม่พ้นคือ การตรวจสอบว่าระบบทำงานได้ถูกต้องตามที่ต้องการหรือไม่ ยกตัวอย่างกระบวนการทำงานของ process หนึ่ง มีการติดต่อระหว่างระบบย่อย 3 ระบบ มีการส่งข้อมูลพูดคุยไปมาระหว่างกัน(XML) ... ถ้าหากมีจุดใดจุดหนึ่งผิดพลาด การตรวจสอบเป็นสิ่งที่ค่อนข้างยุ่งยาก และน่าเบื่อ

ก็เลยมามองหา script library, classes สำหรับช่วยในการตรวจสอบ หวังว่าจะไม่ต้องเขียนเอง

 

PHP Debugger Scripts
Advanced PHP debugger

QUOTE
APD is the Advanced PHP Debugger. It was written to provide profiling and debugging capabilities for PHP code, as well as to provide the ability to print out a full stack backtrace. APD supports interactive debugging, but by default it writes data to trace files. It also offers event based logging so that varying levels of information (including function calls, arguments passed, timings, etc.) can be turned on or off for individual scripts.



PHP_Debug Project

QUOTE
The basic purpose of PHP_Debug is to provide assistance in debugging PHP code, by "debug" i don't mean "step by step debug" but program trace, variables display, process time, included files, queries executed... These informations are gathered through the script execution and therefore are displayed at the end of the script so that it can be read and used at any moment. (during the development phase or using a special account in production)



Class: PHP Debug

QUOTE
This package is meant to trace the execution steps of PHP scripts to assist in their eventual debugging.
The class can keep track of messages associated with different types of script activity so it can later generate a report that can be outputted for instance at the end of each script pages.



PHP Debugger and Helper

A Custom Error Handling And Debugging Class

PHP Dump

logdigester

QUOTE
It is highly recommended that you log your errors to a file instead of displaying them in the browser.  As this log file grows, it can become difficult to find and react to errors. This script will read and analyze your php error log and spit out a more readable version with the worst errors highlighted so you can fix those first.



dBug

QUOTE
It's a tool for displaying structured information about a variable in a colored tabular format.



จริงๆ ก็คือพวก debugger นี่เอง แต่ผมน่าจะประยุกต์ เอามาเชื่อมกับระบบ AI sytem, knowledge base เพื่อตรวจสอบสิ่งผิดปกติ, error แปลกๆ หรือพฤติกรรมการใช้งานแปลกๆ ได้ในอนาคต...

คำสำคัญ (Tags): #php#debug#diagnostic
หมายเลขบันทึก: 39585เขียนเมื่อ 19 กรกฎาคม 2006 10:11 น. ()แก้ไขเมื่อ 11 กุมภาพันธ์ 2012 15:23 น. ()สัญญาอนุญาต: จำนวนที่อ่านจำนวนที่อ่าน:


ความเห็น (0)

ไม่มีความเห็น

พบปัญหาการใช้งานกรุณาแจ้ง LINE ID @gotoknow
ClassStart
ระบบจัดการการเรียนการสอนผ่านอินเทอร์เน็ต
ทั้งเว็บทั้งแอปใช้งานฟรี
ClassStart Books
โครงการหนังสือจากคลาสสตาร์ท