Logo Search packages:      
Sourcecode: nemiver version File versions

nemiver::IDebugger Class Reference

#include <nmv-i-debugger.h>

Inheritance diagram for nemiver::IDebugger:

nemiver::common::DynamicModule

List of all members.


Detailed Description

a debugger engine.

It should abstract the real debugger used underneath, but it is modeled after the interfaces exposed by gdb. Please, read GDB/MI interface documentation for more.

Definition at line 58 of file nmv-i-debugger.h.


Public Types

typedef SafePtr< Config,
ObjectRef, ObjectUnref > 
ConfigSafePtr
typedef SafePtr< Loader,
ObjectRef, ObjectUnref > 
LoaderSafePtr
enum  State { NOT_STARTED = 0, READY, RUNNING, PROGRAM_EXITED }
typedef SafePtr< Variable,
ObjectRef, ObjectUnref > 
VariableSafePtr

Public Member Functions

virtual void add_env_variables (const map< UString, UString > &a_vars)=0
virtual bool attach_to_target (unsigned int a_pid, const UString &a_tty_path="")=0
virtual bool busy () const =0
virtual void continue_to_position (const UString &a_path, gint a_line_num, const UString &a_cookie="")=0
virtual void delete_breakpoint (gint a_break_num, const UString &a_cookie="")=0
virtual void delete_breakpoint (const UString &a_path, gint a_line_num, const UString &a_cookie="")=0
virtual void detach_from_target (const UString &a_cookie="")=0
virtual void disable_breakpoint (const UString &a_path, gint a_line_num, const UString &a_cookie="")=0
virtual void do_continue (const UString &a_cookie="")=0
virtual void do_init ()=0
 module init routinr
virtual void enable_breakpoint (const UString &a_path, gint a_line_num, const UString &a_cookie="")=0
virtual void evaluate_expression (const UString &a_expr, const UString &a_cookie="")=0
virtual void exit_engine ()=0
virtual const map< int,
BreakPoint > & 
get_cached_breakpoints ()=0
virtual map< UString, UString > & get_env_variables ()=0
virtual void get_info (Info &a_info) const =0
 get module info
Loader * get_module_loader ()
 get the module loader class
const UString & get_real_library_path () const
 gets the path of the library this module has been instanciated from.
virtual IDebugger::State get_state () const =0
virtual void get_target_info (const UString &a_cookie="")=0
virtual const UString & get_target_path ()=0
virtual void list_breakpoints (const UString &a_cookie="")=0
virtual void list_files (const UString &a_cookie="")=0
virtual void list_frames (const UString &a_cookie="")=0
virtual void list_frames_arguments (int a_low_frame=-1, int a_high_frame=-1, const UString &a_cookie="")=0
virtual void list_local_variables (const UString &a_cookie="")=0
virtual void list_threads (const UString &a_cookie="")=0
virtual void load_core_file (const UString &a_prog_file, const UString &a_core_file)=0
virtual void load_program (const vector< UString > &a_argv, const UString &working_dir, const vector< UString > &a_source_search_dirs, const UString &a_tty_path="")=0
virtual void print_pointed_variable_value (const UString &a_var_name, const UString &a_cookie="")=0
virtual void print_variable_type (const UString &a_var_name, const UString &a_cookie="")=0
virtual void print_variable_value (const UString &a_var_name, const UString &a_cookie="")=0
virtual map< UString, UString > & properties ()=0
virtual void run (const UString &a_cookie="")=0
virtual void run_loop_iterations (int a_nb_iters)=0
virtual void select_frame (int a_frame_id, const UString &a_cookie="")=0
virtual void select_thread (unsigned int a_thread_id, const UString &a_cookie="")=0
virtual void set_breakpoint (const UString &a_func_name, const UString &a_cookie="")=0
virtual void set_breakpoint (const UString &a_path, gint a_line_num, const UString &a_cookie="")=0
virtual void set_event_loop_context (const Glib::RefPtr< Glib::MainContext > &)=0
virtual void step_in (const UString &a_cookie="")=0
virtual void step_out (const UString &a_cookie="")=0
virtual void step_over (const UString &a_cookie="")=0
virtual bool stop_target ()=0
events you can connect to.
virtual sigc::signal< void,
const IDebugger::BreakPoint
&, int > & 
breakpoint_deleted_signal () const =0
virtual sigc::signal< void,
const map< int,
IDebugger::BreakPoint > & > & 
breakpoints_set_signal () const =0
virtual sigc::signal< void,
const UString &, const UString & > & 
command_done_signal () const =0
virtual sigc::signal< void,
const UString & > & 
console_message_signal () const =0
virtual sigc::signal< void,
const IDebugger::Frame & > & 
current_frame_signal () const =0
virtual sigc::signal< void > & detached_from_target_signal () const =0
virtual sigc::signal< void > & engine_died_signal () const =0
virtual sigc::signal< void,
const UString & > & 
error_signal () const =0
virtual sigc::signal< void,
const vector< UString > & > & 
files_listed_signal () const =0
virtual sigc::signal< void,
const vector< IDebugger::Frame > & > & 
frames_listed_signal () const =0
virtual sigc::signal< void,
const map< int, list
< IDebugger::VariableSafePtr > > & > & 
frames_params_listed_signal () const =0
virtual sigc::signal< void,
int, const UString & > & 
got_target_info_signal () const =0
virtual sigc::signal< void,
const list< VariableSafePtr > & > & 
local_variables_listed_signal () const =0
virtual sigc::signal< void,
const UString & > & 
log_message_signal () const =0
virtual sigc::signal< void,
const UString &, const
VariableSafePtr & > & 
pointed_variable_value_signal () const =0
virtual sigc::signal< void > & program_finished_signal () const =0
virtual sigc::signal< void > & running_signal () const =0
virtual sigc::signal< void,
const UString &, const UString & > & 
signal_received_signal () const =0
virtual sigc::signal< void,
IDebugger::State > & 
state_changed_signal () const =0
virtual sigc::signal< void,
const UString &, bool, const
IDebugger::Frame &, int > & 
stopped_signal () const =0
virtual sigc::signal< void,
const UString & > & 
target_output_message_signal () const =0
virtual sigc::signal< void,
int, const IDebugger::Frame & > & 
thread_selected_signal () const =0
virtual sigc::signal< void,
const list< int > > & 
threads_listed_signal () const =0
virtual sigc::signal< void,
const UString &, const UString & > & 
variable_type_signal () const =0
virtual sigc::signal< void,
const UString &, const
VariableSafePtr & > & 
variable_value_signal () const =0

Static Public Member Functions

static UString state_to_string (State a_state)

Private Member Functions

 IDebugger (const IDebugger &)
IDebuggeroperator= (const IDebugger &)

Classes

class  BreakPoint
 a breakpoint descriptor More...
class  Frame
 a function frame as seen by the debugger. More...
class  Variable

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index