Top |
Functions
void | (*IAnjutaDebuggerBreakpointCallback) () |
GQuark | ianjuta_debugger_breakpoint_error_quark () |
gboolean | ianjuta_debugger_breakpoint_clear_breakpoint () |
gboolean | ianjuta_debugger_breakpoint_condition_breakpoint () |
gboolean | ianjuta_debugger_breakpoint_enable_breakpoint () |
gboolean | ianjuta_debugger_breakpoint_ignore_breakpoint () |
gint | ianjuta_debugger_breakpoint_implement_breakpoint () |
gboolean | ianjuta_debugger_breakpoint_list_breakpoint () |
gboolean | ianjuta_debugger_breakpoint_set_breakpoint_at_address () |
gboolean | ianjuta_debugger_breakpoint_set_breakpoint_at_function () |
gboolean | ianjuta_debugger_breakpoint_set_breakpoint_at_line () |
Object Hierarchy
GEnum ├── IAnjutaDebuggerBreakpointMethod ╰── IAnjutaDebuggerBreakpointType GInterface ╰── IAnjutaDebuggerBreakpoint
Functions
IAnjutaDebuggerBreakpointCallback ()
void (*IAnjutaDebuggerBreakpointCallback) (const IAnjutaDebuggerBreakpointItem *data
,gpointer user_data
,GError *err
);
This callback function is used to return a IAnjutaBreakpointItem.
ianjuta_debugger_breakpoint_clear_breakpoint ()
gboolean ianjuta_debugger_breakpoint_clear_breakpoint (IAnjutaDebuggerBreakpoint *obj
,guint id
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
Clear a breakpoint put by any set functions. The Id of the breakpoint is given in the callback of the set functions.
ianjuta_debugger_breakpoint_condition_breakpoint ()
gboolean ianjuta_debugger_breakpoint_condition_breakpoint (IAnjutaDebuggerBreakpoint *obj
,guint id
,const gchar *condition
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
Add a condition, evaluate in the program context, on the breakpoint, the program will stop when it reachs the breakpoint only if the condition is true. This function is optional.
ianjuta_debugger_breakpoint_enable_breakpoint ()
gboolean ianjuta_debugger_breakpoint_enable_breakpoint (IAnjutaDebuggerBreakpoint *obj
,guint id
,gboolean enable
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
Enable of disable a breakpoint. This function is optional.
ianjuta_debugger_breakpoint_ignore_breakpoint ()
gboolean ianjuta_debugger_breakpoint_ignore_breakpoint (IAnjutaDebuggerBreakpoint *obj
,guint id
,guint ignore
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
This allow to ignore the breakpoint a number of time before stopping. This function is optional.
ianjuta_debugger_breakpoint_implement_breakpoint ()
gint ianjuta_debugger_breakpoint_implement_breakpoint (IAnjutaDebuggerBreakpoint *obj
,GError **err
);
Return all implemented methods.
ianjuta_debugger_breakpoint_list_breakpoint ()
gboolean ianjuta_debugger_breakpoint_list_breakpoint (IAnjutaDebuggerBreakpoint *obj
,IAnjutaDebuggerGListCallback callback
,gpointer user_data
,GError **err
);
List all breakpoints set in the debugger. It is useful to know how many time a breakpoint has been hit.
ianjuta_debugger_breakpoint_set_breakpoint_at_address ()
gboolean ianjuta_debugger_breakpoint_set_breakpoint_at_address (IAnjutaDebuggerBreakpoint *obj
,gulong address
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
Set a breakpoint at the specified address. This function is optional.
ianjuta_debugger_breakpoint_set_breakpoint_at_function ()
gboolean ianjuta_debugger_breakpoint_set_breakpoint_at_function (IAnjutaDebuggerBreakpoint *obj
,const gchar *file
,const gchar *function
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
Set a breakpoint at the beginning of the specified function. This function is optional.
ianjuta_debugger_breakpoint_set_breakpoint_at_line ()
gboolean ianjuta_debugger_breakpoint_set_breakpoint_at_line (IAnjutaDebuggerBreakpoint *obj
,const gchar *file
,guint line
,IAnjutaDebuggerBreakpointCallback callback
,gpointer user_data
,GError **err
);
Set a breakpoint at the specified line in the file.
Types and Values
IANJUTA_DEBUGGER_BREAKPOINT_ERROR
#define IANJUTA_DEBUGGER_BREAKPOINT_ERROR ianjuta_debugger_breakpoint_error_quark()
enum IAnjutaDebuggerBreakpointMethod
Defines which breakpoint characteristics are supported by the debugger backend.
enum IAnjutaDebuggerBreakpointType
This enumeration defined various characteristics of the breakpoint.
Members
Set for removed breakpoint |
||
Set for changed breakpoint |
||
Set on source line |
||
Set on an addresse |
||
Set on a function name |
||
Set on read access |
||
Set on write access |
||
Has enable information |
||
Has ignore information, |
||
Has counter information |
||
Has a condition |
||
Temporary breakpoint, automatically removed when triggered |
||
Pending breakpoint |
struct IAnjutaDebuggerBreakpointItem
struct IAnjutaDebuggerBreakpointItem { gint type; guint id; gchar *file; guint line; gchar *function; gulong address; gboolean enable; guint ignore; guint times; gchar *condition; gboolean temporary; gboolean pending; };
This structure keeps all information about a breakpoint.
Members
type see IAnjutaBreakpointType enumeration |
||
unique identifier |
||
source file where is the breakpoint |
||
corresponding source file line number |
||
corresponding function name |
||
corresponding address |
||
TRUE if the breakpoint is enabled |
||
TRUE if the breakpoint is ignored |
||
Count how many time the breakpoint is triggered |
||
Additional condition for triggering the breakpoint |
||
TRUE if the breakpoint is temporary |
||
TRUE if the breakpoint is pending |