#include <formula_debugger.hpp>

Definition at line 77 of file formula_debugger.hpp.
| game_logic::formula_debugger::formula_debugger | ( | ) |
Definition at line 100 of file formula_debugger.cpp.
References add_breakpoint_continue_to_end(), and add_breakpoint_step_into().

| game_logic::formula_debugger::~formula_debugger | ( | ) | [virtual] |
Definition at line 108 of file formula_debugger.cpp.
| void game_logic::formula_debugger::add_breakpoint_continue_to_end | ( | ) |
Definition at line 365 of file formula_debugger.cpp.
References breakpoints_, and LOG_FDB.
Referenced by gui2::tformula_debugger::callback_continue_button(), and formula_debugger().

| void game_logic::formula_debugger::add_breakpoint_next | ( | ) |
Definition at line 386 of file formula_debugger.cpp.
References breakpoints_, and LOG_FDB.
Referenced by gui2::tformula_debugger::callback_next_button().

| void game_logic::formula_debugger::add_breakpoint_step_into | ( | ) |
Definition at line 372 of file formula_debugger.cpp.
References breakpoints_, and LOG_FDB.
Referenced by gui2::tformula_debugger::callback_step_button(), and formula_debugger().

| void game_logic::formula_debugger::add_breakpoint_step_out | ( | ) |
Definition at line 379 of file formula_debugger.cpp.
References breakpoints_, and LOG_FDB.
Referenced by gui2::tformula_debugger::callback_stepout_button().

| static formula_debugger* game_logic::formula_debugger::add_debug_info | ( | formula_debugger * | fdb, | |
| int | arg_number, | |||
| const char * | f_name | |||
| ) | [inline, static] |
Definition at line 138 of file formula_debugger.hpp.
References add_debug_info().

| void game_logic::formula_debugger::add_debug_info | ( | int | arg_number, | |
| const char * | f_name | |||
| ) |
Definition at line 119 of file formula_debugger.cpp.
References arg_number_extra_debug_info, and f_name_extra_debug_info.
Referenced by add_debug_info().

| void game_logic::formula_debugger::call_stack_pop | ( | ) |
Definition at line 180 of file formula_debugger.cpp.
References call_stack_, and execution_trace_.
Referenced by evaluate_arg_callback(), and evaluate_formula_callback().

| void game_logic::formula_debugger::call_stack_push | ( | const std::string & | str | ) |
Definition at line 171 of file formula_debugger.cpp.
References arg_number_extra_debug_info, call_stack_, counter_, execution_trace_, and f_name_extra_debug_info.
Referenced by evaluate_arg_callback(), and evaluate_formula_callback().

| void game_logic::formula_debugger::call_stack_set_evaluated | ( | bool | evaluated | ) |
Definition at line 187 of file formula_debugger.cpp.
References call_stack_.
Referenced by evaluate_arg_callback(), and evaluate_formula_callback().

| void game_logic::formula_debugger::call_stack_set_value | ( | const variant & | v | ) |
Definition at line 192 of file formula_debugger.cpp.
References call_stack_.
Referenced by evaluate_arg_callback(), and evaluate_formula_callback().

| void game_logic::formula_debugger::check_breakpoints | ( | ) |
Definition at line 142 of file formula_debugger.cpp.
References breakpoints_, current_breakpoint_, and show_gui().
Referenced by evaluate_arg_callback(), and evaluate_formula_callback().


| variant game_logic::formula_debugger::evaluate_arg_callback | ( | const formula_expression & | expression, | |
| const formula_callable & | variables | |||
| ) |
Definition at line 197 of file formula_debugger.cpp.
References call_stack_, call_stack_pop(), call_stack_push(), call_stack_set_evaluated(), call_stack_set_value(), check_breakpoints(), game_logic::formula_expression::execute(), game_logic::msg(), and game_logic::formula_expression::str().

| variant game_logic::formula_debugger::evaluate_formula_callback | ( | const formula & | f, | |
| const formula_callable & | variables | |||
| ) |
Definition at line 212 of file formula_debugger.cpp.
References call_stack_, call_stack_pop(), call_stack_push(), call_stack_set_evaluated(), call_stack_set_value(), check_breakpoints(), game_logic::formula::execute(), game_logic::msg(), and game_logic::formula::str().

Definition at line 227 of file formula_debugger.cpp.
References call_stack_, call_stack_pop(), call_stack_push(), call_stack_set_evaluated(), call_stack_set_value(), check_breakpoints(), game_logic::formula::execute(), game_logic::msg(), and game_logic::formula::str().

| const std::deque< debug_info > & game_logic::formula_debugger::get_call_stack | ( | ) | const |
Definition at line 126 of file formula_debugger.cpp.
References call_stack_.
Referenced by game_logic::next_breakpoint::is_break_now(), game_logic::step_out_breakpoint::is_break_now(), game_logic::step_in_breakpoint::is_break_now(), and game_logic::end_breakpoint::is_break_now().

| const breakpoint_ptr game_logic::formula_debugger::get_current_breakpoint | ( | ) | const |
Definition at line 132 of file formula_debugger.cpp.
References current_breakpoint_.
| const std::deque< debug_info > & game_logic::formula_debugger::get_execution_trace | ( | ) | const |
Definition at line 137 of file formula_debugger.cpp.
References execution_trace_.
| void game_logic::formula_debugger::show_gui | ( | ) |
Definition at line 157 of file formula_debugger.cpp.
References gui2::new_widgets, resources::screen, gui2::tdialog::show(), and WRN_FDB.
Referenced by check_breakpoints().


Definition at line 153 of file formula_debugger.hpp.
Referenced by add_debug_info(), and call_stack_push().
std::deque< breakpoint_ptr > game_logic::formula_debugger::breakpoints_ [private] |
Definition at line 151 of file formula_debugger.hpp.
Referenced by add_breakpoint_continue_to_end(), add_breakpoint_next(), add_breakpoint_step_into(), add_breakpoint_step_out(), and check_breakpoints().
std::deque<debug_info> game_logic::formula_debugger::call_stack_ [private] |
Definition at line 148 of file formula_debugger.hpp.
Referenced by call_stack_pop(), call_stack_push(), call_stack_set_evaluated(), call_stack_set_value(), evaluate_arg_callback(), evaluate_formula_callback(), and get_call_stack().
int game_logic::formula_debugger::counter_ [private] |
Definition at line 149 of file formula_debugger.hpp.
Referenced by call_stack_push().
Definition at line 150 of file formula_debugger.hpp.
Referenced by check_breakpoints(), and get_current_breakpoint().
std::deque<debug_info> game_logic::formula_debugger::execution_trace_ [private] |
Definition at line 152 of file formula_debugger.hpp.
Referenced by call_stack_pop(), call_stack_push(), and get_execution_trace().
const char* game_logic::formula_debugger::f_name_extra_debug_info [private] |
Definition at line 154 of file formula_debugger.hpp.
Referenced by add_debug_info(), and call_stack_push().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:59 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |