a breakpoint descriptor
More...
#include <nmv-i-debugger.h>
◆ Type
| Enumerator |
|---|
| UNDEFINED_TYPE | |
| STANDARD_BREAKPOINT_TYPE | |
| WATCHPOINT_TYPE | |
| COUNTPOINT_TYPE | |
◆ Breakpoint()
| nemiver::IDebugger::Breakpoint::Breakpoint |
( |
| ) |
|
|
inline |
◆ address() [1/3]
| Address& nemiver::IDebugger::Breakpoint::address |
( |
| ) |
|
|
inline |
◆ address() [2/3]
| const Address& nemiver::IDebugger::Breakpoint::address |
( |
| ) |
const |
|
inline |
◆ address() [3/3]
| void nemiver::IDebugger::Breakpoint::address |
( |
const string & |
a_in | ) |
|
|
inline |
◆ append_sub_breakpoint()
| void nemiver::IDebugger::Breakpoint::append_sub_breakpoint |
( |
Breakpoint & |
b | ) |
|
|
inline |
◆ clear()
| void nemiver::IDebugger::Breakpoint::clear |
( |
| ) |
|
|
inline |
◆ condition() [1/2]
| const string& nemiver::IDebugger::Breakpoint::condition |
( |
| ) |
const |
|
inline |
◆ condition() [2/2]
| void nemiver::IDebugger::Breakpoint::condition |
( |
const string & |
a_cond | ) |
|
|
inline |
◆ enabled() [1/2]
| bool nemiver::IDebugger::Breakpoint::enabled |
( |
| ) |
const |
|
inline |
◆ enabled() [2/2]
| void nemiver::IDebugger::Breakpoint::enabled |
( |
bool |
a_in | ) |
|
|
inline |
◆ expression() [1/2]
| const string& nemiver::IDebugger::Breakpoint::expression |
( |
| ) |
const |
|
inline |
◆ expression() [2/2]
| void nemiver::IDebugger::Breakpoint::expression |
( |
const string & |
a_expr | ) |
|
|
inline |
◆ file_full_name() [1/2]
| const UString& nemiver::IDebugger::Breakpoint::file_full_name |
( |
| ) |
const |
|
inline |
◆ file_full_name() [2/2]
| void nemiver::IDebugger::Breakpoint::file_full_name |
( |
const UString & |
a_in | ) |
|
|
inline |
◆ file_name() [1/2]
| const UString& nemiver::IDebugger::Breakpoint::file_name |
( |
| ) |
const |
|
inline |
◆ file_name() [2/2]
| void nemiver::IDebugger::Breakpoint::file_name |
( |
const UString & |
a_in | ) |
|
|
inline |
◆ function() [1/2]
| const string& nemiver::IDebugger::Breakpoint::function |
( |
| ) |
const |
|
inline |
◆ function() [2/2]
| void nemiver::IDebugger::Breakpoint::function |
( |
const string & |
a_in | ) |
|
|
inline |
◆ has_condition()
| bool nemiver::IDebugger::Breakpoint::has_condition |
( |
| ) |
const |
|
inline |
◆ has_multiple_locations()
| bool nemiver::IDebugger::Breakpoint::has_multiple_locations |
( |
| ) |
const |
|
inline |
Test whether this breakpoint has multiple location.
Each location is then represented by a sub-breakpoint, that is a child breakpoint of this instance of breakpoint. The sub-breakpoints can be retrieved by the sub_breakpoints below.
◆ id() [1/2]
| string nemiver::IDebugger::Breakpoint::id |
( |
| ) |
const |
|
inline |
Getter of the ID of this breakpoint. If the breakpoint is a sub breakpoint, its id has the form of the string "5.4" where 5 is the number of the parent breakpoint and 4 is the number of this sub breakpoint.
- Returns
- the ID this breakpoint.
References nemiver::str_utils::int_to_string().
◆ id() [2/2]
| void nemiver::IDebugger::Breakpoint::id |
( |
string & |
s | ) |
const |
|
inline |
Getter of the ID of this breakpoint. If the breakpoint is a sub breakpoint, its id has the form of the string "5.4" where 5 is the number of the parent breakpoint and 4 is the number of this sub breakpoint.
- Parameters
-
| s | out parameter. Set to the ID of this breakpoint. |
◆ ignore_count() [1/2]
| int nemiver::IDebugger::Breakpoint::ignore_count |
( |
| ) |
const |
|
inline |
This is the current ignore count present on the breakpoint. It gets decremented each time the breakpoint is hit.
◆ ignore_count() [2/2]
| void nemiver::IDebugger::Breakpoint::ignore_count |
( |
int |
a | ) |
|
|
inline |
◆ initial_ignore_count() [1/2]
| int nemiver::IDebugger::Breakpoint::initial_ignore_count |
( |
| ) |
const |
|
inline |
This is the ignore count as set by the user through the user interface.
◆ initial_ignore_count() [2/2]
| void nemiver::IDebugger::Breakpoint::initial_ignore_count |
( |
int |
a | ) |
|
|
inline |
◆ is_pending() [1/2]
| bool nemiver::IDebugger::Breakpoint::is_pending |
( |
| ) |
const |
|
inline |
◆ is_pending() [2/2]
| void nemiver::IDebugger::Breakpoint::is_pending |
( |
bool |
a | ) |
|
|
inline |
◆ is_read_watchpoint() [1/2]
| bool nemiver::IDebugger::Breakpoint::is_read_watchpoint |
( |
| ) |
const |
|
inline |
◆ is_read_watchpoint() [2/2]
| void nemiver::IDebugger::Breakpoint::is_read_watchpoint |
( |
bool |
f | ) |
|
|
inline |
◆ is_sub_breakpoint()
| bool nemiver::IDebugger::Breakpoint::is_sub_breakpoint |
( |
| ) |
const |
|
inline |
◆ is_write_watchpoint() [1/2]
| bool nemiver::IDebugger::Breakpoint::is_write_watchpoint |
( |
| ) |
const |
|
inline |
◆ is_write_watchpoint() [2/2]
| void nemiver::IDebugger::Breakpoint::is_write_watchpoint |
( |
bool |
f | ) |
|
|
inline |
◆ line() [1/2]
| int nemiver::IDebugger::Breakpoint::line |
( |
| ) |
const |
|
inline |
◆ line() [2/2]
| void nemiver::IDebugger::Breakpoint::line |
( |
int |
a_in | ) |
|
|
inline |
◆ nb_times_hit() [1/2]
| int nemiver::IDebugger::Breakpoint::nb_times_hit |
( |
| ) |
const |
|
inline |
◆ nb_times_hit() [2/2]
| void nemiver::IDebugger::Breakpoint::nb_times_hit |
( |
int |
a_nb | ) |
|
|
inline |
◆ number() [1/2]
| int nemiver::IDebugger::Breakpoint::number |
( |
| ) |
const |
|
inline |
Getter of the number of this breakpoint. Note that if this is a sub breakpoint, what you might want is the number of the parent breakpoint.
- Returns
- the integer number of this breakpoint.
◆ number() [2/2]
| void nemiver::IDebugger::Breakpoint::number |
( |
int |
a_in | ) |
|
|
inline |
◆ parent_breakpoint_number()
| int nemiver::IDebugger::Breakpoint::parent_breakpoint_number |
( |
| ) |
const |
|
inline |
◆ parent_id()
| string nemiver::IDebugger::Breakpoint::parent_id |
( |
| ) |
const |
|
inline |
Getter of the ID of the parent of this breakpoint.
Note that (at least for GDB) only parent breakpoints can be deleted by ID
- Returns
- the ID of the parent of this breakpoint.
References nemiver::str_utils::int_to_string().
◆ sub_breakpoint_number()
| int nemiver::IDebugger::Breakpoint::sub_breakpoint_number |
( |
| ) |
const |
|
inline |
◆ sub_breakpoints()
| const vector<Breakpoint>& nemiver::IDebugger::Breakpoint::sub_breakpoints |
( |
| ) |
const |
|
inline |
◆ type() [1/2]
| Type nemiver::IDebugger::Breakpoint::type |
( |
| ) |
const |
|
inline |
◆ type() [2/2]
| void nemiver::IDebugger::Breakpoint::type |
( |
Type |
a_type | ) |
|
|
inline |
The documentation for this class was generated from the following file: