首先先确认是否打开了Trace配置项,ThinkPHP3.*为'SHOW_PAGE_TRACE'=>true,ThinkPHP5.*为'app_trace'=>true.
如果已经确认开启了Trace,可能是由于输出了"<pre>"标签的原因,导致Trace的CSS样式和JavaScript重写,不能显示或点击.
解决办法就是删除"<pre>"标签的格式化输出,如果想清晰的显示数据可以右键查看源代码.
无法显示或点击的Trace样式:
正常情况下的Trace样式:
可以看出一个没有加粗显示,一个为加粗显示,加粗显示是对的.