
前言介紹
- 這款 WordPress 外掛「oik bwtrace」是 2015-09-07 上架。
- 目前有 20 個安裝啟用數。
- 上一次更新是 2025-05-10,距離現在已有 292 天。
- 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
- 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
vsgloik | bobbingwide |
外掛標籤
debug | trace | backtrace | ad hoc tracing |
內容簡介
這是一個針對 WordPress 的除錯追蹤外掛,包括特定操作鈎子和過濾器的跟蹤。 主要目的在於幫助 PHP 代碼(插件或主題)的開發,次要功能為追蹤伺服器中事件的順序。 另外,此外掛的特點還包括可以讓您查看正在發生的事情而無需更改任何代碼的特殊跟蹤功能 (即 "Ad hoc tracing"),以及跟踪某些輸出來源的 "string watch" 特性。 此外掛提供了管理介面,以追蹤函數、方法、操作以及過濾器。 不過此外掛不會改變網頁輸出,而是將記錄寫入使用者指定的跟蹤檔案目錄,您可以使用 oik trace 功能協助故障排除,輸出寫入伺服器上的檔案中,當在 live 或 staging 的網站中進行跟蹤時,您應確保跟蹤檔案目錄不公開。
原文外掛簡介
The primary purpose of debug trace is to help in the development of PHP code: plugins or themes.
The primary purpose of action trace is to help you understand the sequence of events in the server.
The primary purpose of ad hoc tracing is to let you see what’s happening without changing any code.
The primary purpose of ‘string watch’ is to track the source of some output.
This plugin provides the admin interface to trace functions and methods and action and filter tracing.
oik bwtrace does not alter the output of your web pages though there are options
which cause some output to be written to the browser during ‘shutdown’ processing.
You can also use the oik trace facilities to assist in problem determination in a live site.
Output is written to files on the server in a user defined trace files directory.
When tracing a live or staging site you should ensure that the trace files directory is not publicly accessible.
Features:
Traces to a defined Trace files directory
Traces ALL server functionality, including AJAX, REST and other background requests
Writes summary trace record for each transaction into Daily Trace summary files
Traces browser transactions separately, if required
Traces AJAX transactions separately, if required
Traces REST requests separately, if required
Traces CLI requests separately, if required
Ability to choose the IP address to trace, defaults to ALL requests
Supports ad hoc tracing of user defined hooks
Action trace counts help you understand the sequence of actions and filters
Provides contextual information
Minimum performance overhead when tracing is not enabled
Tracing can be enabled programmatically
Traces and backtraces PHP Error, Warning and Notice messages
Backtraces deprecated logic messages
Does not require WP_DEBUG to be defined
Does not require SAVEQUERIES to be defined
Dynamically activates trace functions
Implemented as lazy just-in-time code
Can be used during regression testing
Can be activated in wp-config.php and db.php to trace code before WordPress is fully loaded
Plugin does not need to be activated if started programmatically or from wp-config.php
Operates as a standalone plugin
Integrated with oik-lib shared library management
Easy to code APIs: bw_trace2(), bw_backtrace().
API supports multiple trace levels
Ad hoc tracing allows you to:
trace parameters
trace results
trace registered functions
trace the global post
set the priority for the trace hook
debug backtrace hook invocation
perform ‘string watch’ to watch for a particular string
The trace record output can include:
Fully qualified source file name
Trace record count and trace error count
Time stamp
Current filter information
Hook count
Number of database queries that have been performed.
Current post ID
Current and peak memory usage (in bytes)
Files loaded count
Contextual information
The output for action tracing can include trace records showing:
Count of action hooks and filters
Invocation of the ‘wp’ actions
Contents of the global wp_rewrite for the ‘wp’ action
Summary reports at ‘shutdown’
Information about deprecated logic
Information related to Errors, Warnings and Notices
New in v3.4.0
Experimental Performance trace option
Experimental front end links to trace file and daily trace summary
Is there a tutorial?
See this page and short video
Introduction to oik-bwtrace
Can I get support?
Use the contact form on the oik-plugins website.
How can I contribute?
[github bobbingwide oik-bwtrace]
Further reading
If you want to read more about the oik plugins then please visit the
oik plugin
“the oik plugin – for often included key-information”
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「oik bwtrace」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
2.0.5 | 2.0.6 | 2.0.7 | 2.0.8 | 2.0.9 | 2.1.1 | 3.0.0 | 3.2.1 | 3.2.2 | 3.3.1 | 3.4.0 | 3.4.1 | 3.4.2 | 3.4.3 | 3.4.5 | 3.4.6 | 3.4.7 | 3.5.0 | 4.0.0 | 4.1.0 | trunk | 2.0.11 |
延伸相關外掛(你可能也想知道)
WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
Query Monitor – The developer tools panel for WordPress 》ministrator user). This cookie can be set by defining QM_AUTH_KEY in your wp-config.php file., To learn more about how to use Query Monitor, please...。
P3 (Plugin Performance Profiler) 》這個外掛程式可以創建您 WordPress 網站的外掛程式效能概況,並且藉由測量這些外掛對網站載入時間的影響。通常WordPress網站由於過多或配置不佳的外掛程式而...。
Debug Bar 》在管理列上新增一個除錯選單,顯示查詢、快取及其他有用的除錯資訊。, 開發者必備的外掛!, 當啟用WP_DEBUG時,也會追蹤 PHP 的警告和注意事項,使它們更容易...。
WP Debugging 》此外掛在啟用時會在 wp-config.php 中設定以下偵錯常數,並在停用時移除它們。任何錯誤都會導致拋出 PHP Exception。偵錯常數請參考 WordPress 的「Debugging...。
Debug Log Manager – Conveniently Monitor and Inspect Errors 》Debug Log Manager 可以讓您:, , 單擊啟用 WP_DEBUG 以記錄 PHP、數據庫和 JavaScript 錯誤,不需要手動編輯 wp-config.php 文件,完成後再禁用。 , 在自訂...。
My WP Customize Admin/Frontend 》這個外掛讓管理者和前端使用者都能輕鬆地進行自訂設定。許多自訂篩選器和操作,還包含開發者工具。, 示範網站在這裡:https://tastewp.com/new/?pre-installe...。
Code Profiler – WordPress Performance Profiling and Debugging Made Easy 》一個可以測量 WordPress 外掛與佈景主題效能的分析工具。, Code Profiler 可以協助您在 PHP 層面上測量您的外掛與佈景主題的效能,並快速找到任何潛在的 Word...。reBusted! 》這個外掛可以免去你問「你有清空快取嗎?」的問題。, 這是根據原本由 Paul Clark 開發的外掛更新,以符合今天的 WordPress 和 PHP。, 功能, , 在線上網站上安...。
Plugin Detective – Troubleshooting Conflicts 》Plugin Detective 可以幫助您快速且輕鬆地排除網站上的問題,並找出問題的原因。一旦找到罪犯,您可以快速停用有問題的外掛程式。甚至當您的網站出現白屏、致...。
which template file 》想知道 WordPress 在前台顯示頁面時使用哪個模板嗎?, 這個外掛可以幫您達成這個目的。您可以在免費的模擬網站上嘗試使用:點此連結 => https://tastewp.c...。
Dashboard Widgets Suite 》插件名稱:Dashboard Widgets Suite(控制面板小工具套裝), , 該外掛提供 1 個插件與 9 個小工具,可簡化您的工作流程並提高工作效率。該套裝小工具包括以下...。
Debug Log – Manager Tool 》這是一個簡單的除錯日誌外掛程式,您可以在儀表板中檢查除錯日誌。透過一個點擊,您可以啟用或停用除錯功能(例如 ‘ WP_DEBUG’、‘WP_DEBUG...。
WP Safe Mode 》WP Safe Mode 可讓您暫時停用/啟用特定外掛,並切換到其他佈景主題以檢視您的網站。, 如果您遇到特定外掛或佈景主題的問題並需要進行疑難排解,但又不想影響...。
Template Debugger 》你是否常常感到困惑,想知道你正在編輯的模板檔案是哪一個?你曾經因為不確定 WordPress 是否正在使用你期望的檔案而印出一些文字嗎?, 如果是的話,試試這個...。
