MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / StackContext

Method StackContext

src/hx/Debug.cpp:191–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189
190
191StackContext::StackContext()
192{
193 #ifdef HXCPP_STACK_TRACE
194 mIsUnwindingException = false;
195 #endif
196
197 #if HXCPP_TELEMETRY
198 mTelemetry = tlmCreate(this);
199 #endif
200
201 #ifdef HXCPP_DEBUGGER
202 mDebugger = 0;
203 #endif
204
205 #ifdef HXCPP_PROFILER
206 mProfiler = 0;
207 #endif
208
209 #ifdef HXCPP_SCRIPTABLE
210 stack = new unsigned char[128*1024];
211 pointer = &stack[0];
212 push((hx::Object *)0);
213 frame = pointer;
214 exception = 0;
215 breakContReturn = 0;
216 #endif
217
218 #ifdef HXCPP_COMBINE_STRINGS
219 stringSet = 0;
220 #endif
221}
222
223StackContext::~StackContext()
224{

Callers

nothing calls this directly

Calls 2

tlmCreateFunction · 0.85
pushFunction · 0.50

Tested by

no test coverage detected