mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
Added frames and beautified backtrace
This commit is contained in:
parent
0488640f4c
commit
5b51fb40e9
9 changed files with 213 additions and 14 deletions
36
phpdbg_frame.h
Normal file
36
phpdbg_frame.h
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| PHP Version 5 |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 1997-2013 The PHP Group |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
| Authors: Felipe Pena <felipe@php.net> |
|
||||
| Authors: Joe Watkins <joe.watkins@live.co.uk> |
|
||||
| Authors: Bob Weinand <bwoebi@php.net> |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef PHPDBG_FRAME_H
|
||||
#define PHPDBG_FRAME_H
|
||||
|
||||
#include "php.h"
|
||||
|
||||
typedef struct {
|
||||
long num;
|
||||
|
||||
zend_execute_data *execute_data;
|
||||
} phpdbg_frame;
|
||||
|
||||
void switch_to_frame(int frame);
|
||||
|
||||
void restore_frame();
|
||||
|
||||
#endif /* PHPDBG_FRAME_H */
|
Loading…
Add table
Add a link
Reference in a new issue