#执行php文件入口
break zend_execute_scripts
#编译文件为opcode
break compile_file
#为opcode设置handler
break pass_two
#执行opcode
break execute
#监控编译时变化
watch compiler_globals.function_table.nNumOfElements
watch compiler_globals.class_table.nNumOfElements
watch compiler_globals.filenames_table.nNumOfElements
#监控运行时变化
watch executor_globals.function_table.nNumOfElements
watch executor_globals.class_table.nNumOfElements
watch executor_globals.included_files.nNumOfElements
#监控当前在执行的文件
watch executor_globals->active_op_array->filename
#监控当前在执行的函数
watch executor_globals->active_op_array->function_name
#监控当前在执行的opline
watch executor_globals->current_execute_data->opline
#监控当前在执行的函数
watch executor_globals->current_execute_data->function_state
#监控异常情况
watch executor_globals.exception
php5.3.3 gdb breakpoints
最新推荐文章于 2025-08-23 15:05:11 发布