LLDB mainline
ThreadPlanStepOverBreakpoint.h
Go to the documentation of this file.
1//===-- ThreadPlanStepOverBreakpoint.h --------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLDB_TARGET_THREADPLANSTEPOVERBREAKPOINT_H
10#define LLDB_TARGET_THREADPLANSTEPOVERBREAKPOINT_H
11
12#include "lldb/Target/Thread.h"
14
15namespace lldb_private {
16
18public:
20
22
23 void GetDescription(Stream *s, lldb::DescriptionLevel level) override;
24 bool ValidatePlan(Stream *error) override;
25 bool ShouldStop(Event *event_ptr) override;
26 bool SupportsResumeOthers() override;
27 bool StopOthers() override;
29 bool WillStop() override;
30 void DidPop() override;
31 bool MischiefManaged() override;
32 void ThreadDestroyed() override;
33 void SetAutoContinue(bool do_it);
34 bool ShouldAutoContinue(Event *event_ptr) override;
35 bool IsPlanStale() override;
36
38
39protected:
40 bool DoPlanExplainsStop(Event *event_ptr) override;
41 bool DoWillResume(lldb::StateType resume_state, bool current_plan) override;
42
44
45private:
50
54};
55
56} // namespace lldb_private
57
58#endif // LLDB_TARGET_THREADPLANSTEPOVERBREAKPOINT_H
static llvm::raw_ostream & error(Stream &strm)
A stream class that can stream formatted output to a file.
Definition: Stream.h:28
bool ValidatePlan(Stream *error) override
Returns whether this plan could be successfully created.
bool DoWillResume(lldb::StateType resume_state, bool current_plan) override
ThreadPlanStepOverBreakpoint(const ThreadPlanStepOverBreakpoint &)=delete
void GetDescription(Stream *s, lldb::DescriptionLevel level) override
Print a description of this thread to the stream s.
const ThreadPlanStepOverBreakpoint & operator=(const ThreadPlanStepOverBreakpoint &)=delete
bool ShouldAutoContinue(Event *event_ptr) override
Returns whether this thread plan overrides the ShouldStop of subsequently processed plans.
A class that represents a running process on the host machine.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
StateType
Process and Thread States.
uint64_t user_id_t
Definition: lldb-types.h:82
uint64_t addr_t
Definition: lldb-types.h:80