nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::DebugContext Struct Reference

Public Member Functions

const StackFrame * currentFrame () const
const Value * getVariable (const std::string &name) const
std::vector< std::string > variableNames () const

Public Attributes

uint16_t line = 0
uint16_t col = 0
const std::string * functionName = nullptr
const std::string * sourceCode = nullptr
const std::vector< StackFrame > * callStack = nullptr

Detailed Description

Definition at line 70 of file debugger.hpp.

Member Function Documentation

◆ currentFrame()

const StackFrame * nk::DebugContext::currentFrame ( ) const
inline

Definition at line 83 of file debugger.hpp.

Member Data Documentation

◆ callStack

const std::vector<StackFrame>* nk::DebugContext::callStack = nullptr

Definition at line 81 of file debugger.hpp.

◆ col

uint16_t nk::DebugContext::col = 0

Definition at line 73 of file debugger.hpp.

◆ functionName

const std::string* nk::DebugContext::functionName = nullptr

Definition at line 74 of file debugger.hpp.

◆ line

uint16_t nk::DebugContext::line = 0

Definition at line 72 of file debugger.hpp.

◆ sourceCode

const std::string* nk::DebugContext::sourceCode = nullptr

Definition at line 78 of file debugger.hpp.


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