28#define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags) \
29 PHPDBG_COMMAND_D_EXP(f, h, a, m, l, s, &phpdbg_prompt_commands[17], flags)
62 }
else switch (param->type) {
72 phpdbg_error(
"set pagination used incorrectly: set pagination <on|off>");
82 }
else switch (param->type) {
88 phpdbg_error(
"set lines used incorrectly: set lines <number>");
96 switch (param->type) {
99 if (param->next->num) {
115 phpdbg_error(
"set break used incorrectly: set break [id] <on|off>");
125 }
else switch (param->type) {
135 phpdbg_error(
"set breaks used incorrectly: set breaks <on|off>");
147 phpdbg_error(
"Failed to find the requested color (%s)", param->next->str);
172 phpdbg_error(
"Failed to find the requested element (%s)", param->str);
182 }
else switch (param->type) {
192 phpdbg_error(
"set colors used incorrectly: set colors <on|off>");
203 }
else switch (param->type) {
222 }
else switch (param->type) {
224 if (param->len ==
sizeof(
"opcode") - 1 && !memcmp(param->str,
"opcode",
sizeof(
"opcode"))) {
226 }
else if (param->len ==
sizeof(
"line") - 1 && !memcmp(param->str,
"line",
sizeof(
"line"))) {
243 }
else switch (param->type) {
#define PHPDBG_SHOW_REFCOUNTS
#define PHPDBG_STEP_OPCODE
#define PHPDBG_HAS_PAGINATION
#define PHPDBG_IS_COLOURED
#define PHPDBG_IS_BP_ENABLED
const phpdbg_color_t * colors[PHPDBG_COLORS]
PHPDBG_API void phpdbg_disable_breakpoints(void)
PHPDBG_API void phpdbg_disable_breakpoint(zend_ulong id)
PHPDBG_API void phpdbg_enable_breakpoint(zend_ulong id)
PHPDBG_API phpdbg_breakbase_t * phpdbg_find_breakbase(zend_ulong id)
PHPDBG_API void phpdbg_enable_breakpoints(void)
struct _phpdbg_breakbase_t phpdbg_breakbase_t
#define PHPDBG_END_COMMAND
#define phpdbg_default_switch_case()
struct _phpdbg_command_t phpdbg_command_t
#define PHPDBG_ASYNC_SAFE
#define phpdbg_error(strfmt,...)
#define phpdbg_notice(strfmt,...)
#define phpdbg_writeln(strfmt,...)
#define PHPDBG_SET_COMMAND_D(f, h, a, m, l, s, flags)
const phpdbg_command_t phpdbg_set_commands[]
PHPDBG_API const phpdbg_color_t * phpdbg_get_color(const char *name, size_t name_length)
PHPDBG_API int phpdbg_get_element(const char *name, size_t len)
PHPDBG_API void phpdbg_set_prompt(const char *prompt)
PHPDBG_API const char * phpdbg_get_prompt(void)
PHPDBG_API void phpdbg_set_color(int element, const phpdbg_color_t *color)
#define PHPDBG_COLOR_PROMPT
struct _phpdbg_color_t phpdbg_color_t
#define PHPDBG_COLOR_NOTICE
#define PHPDBG_COLOR_ERROR
#define ZEND_EXTERN_MODULE_GLOBALS(module_name)