7#ifndef SkSLDebugTracePlayer_DEFINED
8#define SkSLDebugTracePlayer_DEFINED
19#include <unordered_map>
20#include <unordered_set>
100 bool execute(
size_t position);
108 void updateVariableWriteTime(
int slotIdx,
size_t writeTime);
111 std::vector<VariableData> getVariablesForDisplayMask(
const SkBitSet&
bits)
const;
128 std::vector<Slot> fSlots;
129 std::vector<StackFrame> fStack;
130 std::optional<SkBitSet> fDirtyMask;
132 std::optional<SkBitSet> fReturnValues;
SkSL::SkSLDebugTracePlayer::LineNumberMap LineNumberMap
const BreakpointSet & getBreakpoints()
int getStackDepth() const
const LineNumberMap & getLineNumbersReached() const
void reset(sk_sp< DebugTracePriv > trace)
std::vector< VariableData > getGlobalVariables() const
std::unordered_set< int > BreakpointSet
std::vector< VariableData > getLocalVariables(int stackFrameIndex) const
int32_t getCurrentLineInStackFrame(int stackFrameIndex) const
void removeBreakpoint(int line)
std::unordered_map< int, int > LineNumberMap
void setBreakpoints(std::unordered_set< int > breakpointLines)
bool traceHasCompleted() const
int32_t getCurrentLine() const
std::vector< int > getCallStack() const
void addBreakpoint(int line)
bool atBreakpoint() const