Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::DisableBreakpointsScope Class Reference

#include <debugger.h>

Inheritance diagram for dart::DisableBreakpointsScope:
dart::ValueObject

Public Member Functions

 DisableBreakpointsScope (Debugger *debugger, bool disable)
 
 ~DisableBreakpointsScope ()
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Detailed Description

Definition at line 931 of file debugger.h.

Constructor & Destructor Documentation

◆ DisableBreakpointsScope()

dart::DisableBreakpointsScope::DisableBreakpointsScope ( Debugger debugger,
bool  disable 
)
inline

Definition at line 933 of file debugger.h.

934 : debugger_(debugger) {
935 ASSERT(debugger_ != nullptr);
936 initial_state_ = debugger_->ignore_breakpoints();
937 debugger_->set_ignore_breakpoints(disable);
938 }
bool ignore_breakpoints() const
Definition: debugger.h:718
void set_ignore_breakpoints(bool ignore_breakpoints)
Definition: debugger.h:719
#define ASSERT(E)

◆ ~DisableBreakpointsScope()

dart::DisableBreakpointsScope::~DisableBreakpointsScope ( )
inline

Definition at line 940 of file debugger.h.

940 {
941 debugger_->set_ignore_breakpoints(initial_state_);
942 }

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