Go to the documentation of this file.
25 #ifndef __NMV_DBG_PERSPECTIVE_H__
26 #define __NMV_DBG_PERSPECTIVE_H__
33 #include <sigc++/trackable.h>
35 NEMIVER_BEGIN_NAMESPACE (
nemiver)
49 #ifdef WITH_MEMORYVIEW
51 #endif // WITH_MEMORYVIEW
74 virtual void get_toolbars (list<Gtk::Widget*> &a_tbs) = 0;
76 virtual Gtk::Widget*
get_body () = 0;
78 virtual Gtk::Widget& get_source_view_widget () = 0;
87 int current_line=-1)= 0;
94 const UString &a_widget_name) = 0;
96 virtual void close_opened_files () = 0;
98 virtual ISessMgr& session_manager () = 0;
102 virtual void execute_program () = 0;
104 virtual void execute_program (
const UString &a_prog,
105 const vector<UString> &a_args,
106 const map<UString, UString> &a_env,
108 bool a_close_opened_files =
false,
109 bool a_break_in_main_run =
true) = 0;
111 virtual void execute_program (
const UString &a_prog,
112 const vector<UString> &a_args,
113 const map<UString, UString> &a_env,
115 const vector<IDebugger::Breakpoint>
117 bool a_check_is_new_program =
true,
118 bool a_close_opened_files =
false,
119 bool a_break_in_main_run =
true) = 0;
121 virtual void attach_to_program (
unsigned int a_pid,
122 bool a_close_open_files =
false) = 0;
124 virtual void connect_to_remote_target (
const UString &a_server_address,
125 unsigned a_server_port,
127 const UString &a_solib_prefix) = 0;
129 virtual void connect_to_remote_target (
const UString &a_serial_line,
131 const UString &a_solib_prefix) = 0;
133 virtual void load_core_file () = 0;
135 virtual void load_core_file (
const UString &a_prog_path,
136 const UString &a_core_file_path) = 0;
138 virtual void run () = 0;
140 virtual void step_over () = 0;
142 virtual void step_into () = 0;
144 virtual void step_out () = 0;
146 virtual void do_continue () = 0;
148 virtual void set_breakpoint () = 0;
150 virtual void set_breakpoint (
const UString &a_file,
153 bool a_is_count_point) = 0;
155 virtual void set_breakpoint (
const UString &a_func_name,
157 bool a_is_count_point) = 0;
161 virtual void append_breakpoints
162 (
const map<string, IDebugger::Breakpoint> &a_breaks) = 0;
164 virtual bool delete_breakpoint () = 0;
166 virtual bool delete_breakpoint (
const string &a_breakpoint_num) = 0;
168 virtual bool delete_breakpoint (
const UString &a_file_uri,
173 virtual bool set_where (
const UString &a_uri,
175 bool a_do_scroll=
true) = 0;
177 virtual Gtk::Widget* get_contextual_menu () = 0;
179 virtual IConfMgr& get_conf_mgr () = 0;
181 virtual bool uses_launch_terminal ()
const = 0;
183 virtual void uses_launch_terminal (
bool a_flag) = 0;
192 NEMIVER_END_NAMESPACE (
nemiver)
193 #endif //__NMV_DBG_PERSPECTIVE_H__
Definition: nmv-sess-mgr.h:49
virtual void edit_workbench_menu()=0
const char * MEMORY_VIEW_TITLE
Definition: nmv-address.h:31
@ CONTEXT_VIEW_INDEX
Definition: nmv-dbg-perspective.h:46
virtual Gtk::Widget * get_body()=0
the interface of the Workbench. The workbench is what you see graphically when you use Nemiver....
Definition: nmv-i-workbench.h:93
@ TARGET_TERMINAL_VIEW_INDEX
Definition: nmv-dbg-perspective.h:45
#define NEMIVER_API
Definition: nmv-api-macros.h:53
virtual Gtk::Widget * load_menu(const UString &a_filename, const UString &a_widget_name)=0
load a menu file
The base class for loadable modules.
Definition: nmv-dynamic-module.h:76
virtual void close_current_file()=0
close the currently selected file
@ EXPR_MONITOR_VIEW_INDEX
Definition: nmv-dbg-perspective.h:52
Definition: nmv-ustring.h:45
virtual ~IDBGPerspective()
Definition: nmv-dbg-perspective.h:68
const char * BREAKPOINTS_VIEW_TITLE
const char * TARGET_TERMINAL_VIEW_TITLE
const char * REGISTERS_VIEW_TITLE
IDBGPerspective(DynamicModule *a_dynmod)
Definition: nmv-dbg-perspective.h:63
Definition: nmv-i-conf-mgr.h:46
virtual bool agree_to_shutdown()=0
Should return true to allow shutdown. This Method will be called for each perspective before workbenc...
virtual void get_toolbars(list< Gtk::Widget * > &a_tbs)=0
Definition: nmv-dbg-perspective.h:56
@ REGISTERS_VIEW_INDEX
Definition: nmv-dbg-perspective.h:48
Definition: nmv-sess-mgr.h:163
virtual sigc::signal< void, bool > & activated_signal()=0
ViewsIndex
Definition: nmv-dbg-perspective.h:43
@ BREAKPOINTS_VIEW_INDEX
Definition: nmv-dbg-perspective.h:47
virtual void do_init(IWorkbench *a_workbench)=0
a breakpoint descriptor
Definition: nmv-i-debugger.h:90
const char * CONTEXT_VIEW_TITLE
Definition: nmv-i-perspective.h:54
virtual sigc::signal< void > & layout_changed_signal()=0
virtual IWorkbench & get_workbench()=0
Definition: nmv-safe-ptr.h:71
virtual const UString & get_perspective_identifier()=0
virtual void close_file(const UString &a_uri)=0
closes a file
virtual void open_file()=0
open a source file