rdebug_verbose

NAME

rdebug_verbose(): Invoke dump of worker's status: stack, variables, statement.

TYPE

Procedure

DESCRIPTION

This procedure is part of the rdebug API.

rdebug_verbose() presents with some status details about a running debugging session. It does so by calling upon several other API routines.

rdebug_verbose() is useful for command line debugging sessions, and saves some typing efforts. Calling this routine implicitly invokes:

Execution of this routine only makes sense throughout a debug session.

SYNOPSIS

rdebug_verbose()
  READS SQL DATA

EXAMPLES

A sample verbose output, invoked throughout a debugging session:

mysql> call rdebug_verbose();
+-------------+----------------+--------------------+--------------+---------------------+
| stack_level | routine_schema | routine_name       | statement_id | entry_time          |
+-------------+----------------+--------------------+--------------+---------------------+
|           1 | test           | analyze_continents |           98 | 2013-03-30 16:37:56 |
+-------------+----------------+--------------------+--------------+---------------------+

+----------------+--------------------+-------------------+---------------+----------------+
| routine_schema | routine_name       | variable_name     | variable_type | variable_value |
+----------------+--------------------+-------------------+---------------+----------------+
| test           | analyze_continents | current_continent | local         | Asia           |
| test           | analyze_continents | done              | local         | 0              |
+----------------+--------------------+-------------------+---------------+----------------+

+----------------+--------------------+--------------+------------------------------------------------+
| routine_schema | routine_name       | statement_id | statement                                      |
+----------------+--------------------+--------------+------------------------------------------------+
| test           | analyze_continents |           98 | fetch continents_cursor into current_continent |
+----------------+--------------------+--------------+------------------------------------------------+

ENVIRONMENT

MySQL 5.1 or newer

SEE ALSO

rdebug_set_verbose(), rdebug_show_stack_state(), rdebug_show_statement(), rdebug_watch_variables()

AUTHOR

Shlomi Noach
 
common_schema documentation