callstack.hpp
Go to the documentation of this file.
1
2#pragma once
3
7
8namespace by {
9
10 class frame;
11 class frames;
12
16 class _nout calltrace: public instance {
17 BY(CLASS(calltrace, instance))
18
19 public:
20 calltrace(const frame& newFrame);
21
22 public:
23 tstr<frame> fr;
24 std::string at;
25 std::string in;
26 };
27
31 class _nout callstack: public tnarr<calltrace>, public dumpable {
32 BY(CLASS(callstack, instance))
33
34 public:
35 callstack();
36 callstack(const frames& frs);
37
38 public:
39 void dump() const override;
40 };
41} // namespace by
Call stack for error reporting and debugging.
Definition: callstack.hpp:31
void dump() const override
Dump object state for debugging.
Single call trace entry.
Definition: callstack.hpp:16
Interface for objects that can dump their state.
Definition: dumpable.hpp:12
Execution frame for byeol runtime.
Definition: frame.hpp:29
Container for execution frame stack.
Definition: frames.hpp:11
Base class for all managed instances in memlite system.
Definition: instance.hpp:20
Definition: tnarr.hpp:9
Strong reference smart pointer with strict type checking.
Definition: tstr.hpp:13