#include <debugger.h>
Definition at line 48 of file debugger.h.
◆ Breakpoint()
dart::Breakpoint::Breakpoint |
( |
intptr_t |
id, |
|
|
BreakpointLocation * |
bpt_location, |
|
|
bool |
is_single_shot, |
|
|
const Closure & |
closure |
|
) |
| |
|
inline |
Definition at line 50 of file debugger.h.
54 : id_(id),
55 next_(nullptr),
ClosurePtr closure() const
BreakpointLocation * bpt_location() const
bool is_single_shot() const
◆ bpt_location()
Definition at line 64 of file debugger.h.
64{ return bpt_location_; }
◆ closure()
ClosurePtr dart::Breakpoint::closure |
( |
| ) |
const |
|
inline |
◆ Disable()
void dart::Breakpoint::Disable |
( |
| ) |
|
|
inline |
Definition at line 75 of file debugger.h.
75 {
77 enabled_ = false;
78 }
◆ Enable()
void dart::Breakpoint::Enable |
( |
| ) |
|
|
inline |
Definition at line 70 of file debugger.h.
70 {
72 enabled_ = true;
73 }
◆ id()
intptr_t dart::Breakpoint::id |
( |
| ) |
const |
|
inline |
◆ is_enabled()
bool dart::Breakpoint::is_enabled |
( |
| ) |
const |
|
inline |
◆ is_single_shot()
bool dart::Breakpoint::is_single_shot |
( |
| ) |
const |
|
inline |
Definition at line 67 of file debugger.h.
67{ return is_single_shot_; }
◆ next()
◆ PrintJSON()
void dart::Breakpoint::PrintJSON |
( |
JSONStream * |
stream | ) |
|
Definition at line 191 of file debugger.cc.
191 {
193 jsobj.AddProperty("type", "Breakpoint");
194
195 jsobj.AddFixedServiceId(
"breakpoints/%" Pd "",
id());
196 jsobj.AddProperty("enabled", enabled_);
197 jsobj.AddProperty("breakpointNumber", id());
198 jsobj.AddProperty(
"resolved", bpt_location_->
IsResolved());
200 jsobj.AddLocation(bpt_location_);
201 } else {
202 jsobj.AddUnresolvedLocation(bpt_location_);
203 }
204}
◆ set_bpt_location()
Definition at line 168 of file debugger.cc.
168 {
169
170 ASSERT((new_bpt_location ==
nullptr) || bpt_location_->
IsLatent());
171 bpt_location_ = new_bpt_location;
172}
◆ set_next()
◆ BreakpointLocation
The documentation for this class was generated from the following files: