nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::DebugSession Class Reference

Classes

struct  WatchResult
struct  Variable
struct  Snapshot

Public Member Functions

 DebugSession (Engine &engine)
 DebugSession (const DebugSession &)=delete
DebugSession & operator= (const DebugSession &)=delete
void setBreakpoints (const std::vector< uint16_t > &lines)
ExecStatus start (const std::string &code)
ExecStatus resume (DebugAction action)
void stop ()
void setStopOnError (bool enabled)
bool atErrorPause () const
std::string errorPauseMessage () const
bool frameUp ()
bool frameDown ()
size_t selectedFrame () const
size_t frameCount () const
void addWatch (const std::string &expr)
void removeWatch (size_t index)
void clearWatches ()
const std::vector< std::string > & watchExpressions () const
std::vector< WatchResult > evalWatches ()
Snapshot snapshot () const
std::string eval (const std::string &code)
std::string takeOutput ()
const std::string & errorMessage () const
int errorLine () const
bool isActive () const

Detailed Description

Definition at line 35 of file debug_session.hpp.

Member Function Documentation

◆ errorLine()

int nk::DebugSession::errorLine ( ) const
inline

Definition at line 129 of file debug_session.hpp.

◆ errorMessage()

const std::string & nk::DebugSession::errorMessage ( ) const
inline

Definition at line 128 of file debug_session.hpp.

◆ isActive()

bool nk::DebugSession::isActive ( ) const
inline

Definition at line 131 of file debug_session.hpp.

◆ selectedFrame()

size_t nk::DebugSession::selectedFrame ( ) const
inline

Definition at line 76 of file debug_session.hpp.

◆ watchExpressions()

const std::vector< std::string > & nk::DebugSession::watchExpressions ( ) const
inline

Definition at line 89 of file debug_session.hpp.


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