plcopen 0.22.0
载入中...
搜索中...
未找到
plcopen::core::st::DebugSession类 参考final

#include <debug.h>

类 plcopen::core::st::DebugSession 继承关系图:
plcopen::core::st::DebugSession 的协作图:

Public 成员函数

 ~DebugSession ()
DebugError attach (ConfigurationRuntime &runtime, DebugTarget target, std::atomic< std::uint64_t > *publish_storage, std::size_t publish_word_capacity, DebugSnapshotEntry *publish_entries, std::size_t publish_entry_capacity, std::atomic< std::uint64_t > *trace_storage, std::size_t trace_word_capacity, const DebugSessionOptions &options={})
DebugError last_error () const noexcept
DebugError add_watch (SymbolId id)
DebugError add_breakpoint (const char *source, std::uint32_t line, std::uint32_t column, BreakpointId &id)
DebugError add_breakpoint_instruction (std::uint32_t instruction, BreakpointId &id)
DebugError remove_breakpoint_at (const char *source, std::uint32_t line, std::uint32_t column)
std::size_t breakpoint_count () const noexcept
DebugError poll_stop (DebugStop &stop) const noexcept
DebugError control (DebugCommand command) noexcept
DebugError read_snapshot (DebugSnapshot &snapshot, DebugSnapshotEntry *entries, std::size_t entry_capacity, unsigned char *values, std::size_t value_capacity, std::size_t retries) const noexcept
DebugError write_symbol (SymbolId, TypeId, const void *, std::size_t) const noexcept
DebugError queue_force (SymbolId id, TypeId type, const void *value, std::size_t size, ForceReceipt &receipt)
DebugError release_force (SymbolId id, ForceReceipt &receipt)
DebugError read_trace (DebugTraceRecord *records, std::size_t capacity, DebugTraceReport &report) const noexcept
bool on_probe (std::size_t mapping, const SourceMapEntry &entry, std::uint32_t instruction) noexcept override
void on_task_boundary (const void *resource, std::size_t task, bool faulted) noexcept override
void on_debug_event (const void *resource, std::size_t task, DebugEventKind kind, std::uint32_t instruction, const SourceMapEntry *entry, const InstructionId *instruction_id) noexcept override
void on_scheduler_boundary () noexcept override
void on_runtime_detach () noexcept override
Public 成员函数 继承自 plcopen::core::st::RuntimeDebugHooks
virtual ~RuntimeDebugHooks ()=default

详细描述

在文件 debug.h 第 18 行定义.

构造及析构函数说明

◆ ~DebugSession()

plcopen::core::st::DebugSession::~DebugSession ( )
inline

在文件 debug.h 第 21 行定义.

成员函数说明

◆ add_breakpoint()

DebugError plcopen::core::st::DebugSession::add_breakpoint ( const char * source,
std::uint32_t line,
std::uint32_t column,
BreakpointId & id )
inline

在文件 debug.h 第 236 行定义.

◆ add_breakpoint_instruction()

DebugError plcopen::core::st::DebugSession::add_breakpoint_instruction ( std::uint32_t instruction,
BreakpointId & id )
inline

在文件 debug.h 第 281 行定义.

◆ add_watch()

DebugError plcopen::core::st::DebugSession::add_watch ( SymbolId id)
inline

在文件 debug.h 第 185 行定义.

◆ attach()

DebugError plcopen::core::st::DebugSession::attach ( ConfigurationRuntime & runtime,
DebugTarget target,
std::atomic< std::uint64_t > * publish_storage,
std::size_t publish_word_capacity,
DebugSnapshotEntry * publish_entries,
std::size_t publish_entry_capacity,
std::atomic< std::uint64_t > * trace_storage,
std::size_t trace_word_capacity,
const DebugSessionOptions & options = {} )
inline

在文件 debug.h 第 23 行定义.

◆ breakpoint_count()

std::size_t plcopen::core::st::DebugSession::breakpoint_count ( ) const
inlinenoexcept

在文件 debug.h 第 332 行定义.

◆ control()

DebugError plcopen::core::st::DebugSession::control ( DebugCommand command)
inlinenoexcept

在文件 debug.h 第 390 行定义.

◆ last_error()

DebugError plcopen::core::st::DebugSession::last_error ( ) const
inlinenoexcept

在文件 debug.h 第 183 行定义.

◆ on_debug_event()

void plcopen::core::st::DebugSession::on_debug_event ( const void * resource,
std::size_t task,
DebugEventKind kind,
std::uint32_t instruction,
const SourceMapEntry * entry,
const InstructionId * instruction_id )
inlineoverridevirtualnoexcept

实现了 plcopen::core::st::RuntimeDebugHooks.

在文件 debug.h 第 712 行定义.

◆ on_probe()

bool plcopen::core::st::DebugSession::on_probe ( std::size_t mapping,
const SourceMapEntry & entry,
std::uint32_t instruction )
inlineoverridevirtualnoexcept

实现了 plcopen::core::st::RuntimeDebugHooks.

在文件 debug.h 第 631 行定义.

◆ on_runtime_detach()

void plcopen::core::st::DebugSession::on_runtime_detach ( )
inlineoverridevirtualnoexcept

实现了 plcopen::core::st::RuntimeDebugHooks.

在文件 debug.h 第 760 行定义.

◆ on_scheduler_boundary()

void plcopen::core::st::DebugSession::on_scheduler_boundary ( )
inlineoverridevirtualnoexcept

实现了 plcopen::core::st::RuntimeDebugHooks.

在文件 debug.h 第 737 行定义.

◆ on_task_boundary()

void plcopen::core::st::DebugSession::on_task_boundary ( const void * resource,
std::size_t task,
bool faulted )
inlineoverridevirtualnoexcept

实现了 plcopen::core::st::RuntimeDebugHooks.

在文件 debug.h 第 678 行定义.

◆ poll_stop()

DebugError plcopen::core::st::DebugSession::poll_stop ( DebugStop & stop) const
inlinenoexcept

在文件 debug.h 第 337 行定义.

◆ queue_force()

DebugError plcopen::core::st::DebugSession::queue_force ( SymbolId id,
TypeId type,
const void * value,
std::size_t size,
ForceReceipt & receipt )
inline

在文件 debug.h 第 528 行定义.

◆ read_snapshot()

DebugError plcopen::core::st::DebugSession::read_snapshot ( DebugSnapshot & snapshot,
DebugSnapshotEntry * entries,
std::size_t entry_capacity,
unsigned char * values,
std::size_t value_capacity,
std::size_t retries ) const
inlinenoexcept

在文件 debug.h 第 413 行定义.

◆ read_trace()

DebugError plcopen::core::st::DebugSession::read_trace ( DebugTraceRecord * records,
std::size_t capacity,
DebugTraceReport & report ) const
inlinenoexcept

在文件 debug.h 第 587 行定义.

◆ release_force()

DebugError plcopen::core::st::DebugSession::release_force ( SymbolId id,
ForceReceipt & receipt )
inline

在文件 debug.h 第 561 行定义.

◆ remove_breakpoint_at()

DebugError plcopen::core::st::DebugSession::remove_breakpoint_at ( const char * source,
std::uint32_t line,
std::uint32_t column )
inline

在文件 debug.h 第 304 行定义.

◆ write_symbol()

DebugError plcopen::core::st::DebugSession::write_symbol ( SymbolId ,
TypeId ,
const void * ,
std::size_t  ) const
inlinenoexcept

在文件 debug.h 第 522 行定义.


该类的文档由以下文件生成: