3DCoatScripting  4.8.31β
You can manage 3DСoat features with help of scripting
coat::scripto::Debug Class Reference

General access to debugging. More...

Inherits CDebugger.

Public Member Functions

DebugDraw draw () const
 Access to viewport-output log. More...
 
DebugLog log () const
 Access to text-output log. More...
 
std::string callstack () const
 Returns all calls from the stack. More...
 
std::string variables () const
 Returns a list of all local variables. More...
 
std::string vars () const
 
std::string globalVariables () const
 Returns a list of all global variables. More...
 
std::string gvars () const
 

Static Public Member Functions

static Debuginstance ()
 Common constructor. More...
 

Detailed Description

Member Function Documentation

Debug * coat::scripto::Debug::instance ( )
static

Common constructor.

Debug dbg;
DebugDraw coat::scripto::Debug::draw ( ) const

Access to viewport-output log.

Debug dbg;
DebugLog drw = dbg.draw();
See Also
log()
DebugLog coat::scripto::Debug::log ( ) const

Access to text-output log.

Debug dbg;
DebugLog log = dbg.log();
See Also
draw()
std::string coat::scripto::Debug::callstack ( ) const

Returns all calls from the stack.

Todo:
Debug& clear();
Debug dbg;
DebugLog log = dbg.log();
log += dbg.callstack();
std::string coat::scripto::Debug::variables ( ) const

Returns a list of all local variables.

Debug dbg;
DebugLog log = dbg.log();
log += dbg.variables();
See Also
vars()
std::string coat::scripto::Debug::vars ( ) const
inline
See Also
variables()
std::string coat::scripto::Debug::globalVariables ( ) const

Returns a list of all global variables.

Debug dbg;
DebugLog log = dbg.log();
log += dbg.globalVariables();
See Also
gvars()
std::string coat::scripto::Debug::gvars ( ) const
inline