Wasmtime: C++
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | List of all members
wasmtime::Trace Class Reference

An owned vector of FrameRef instances representing the WebAssembly call-stack on a trap. More...

#include <wasmtime.hh>

Public Types

typedef const FrameRefiterator
 Iterator used to iterate over this trace.
 

Public Member Functions

 Trace (const Trace &other)=delete
 
 Trace (Trace &&other)=delete
 
Traceoperator= (const Trace &other)=delete
 
Traceoperator= (Trace &&other)=delete
 
iterator begin () const
 Returns the start of iteration.
 
iterator end () const
 Returns the end of iteration.
 
size_t size () const
 Returns the size of this trace, or how many frames it contains.
 

Detailed Description

An owned vector of FrameRef instances representing the WebAssembly call-stack on a trap.

This can be used to iterate over the frames of a trap and determine what was running when a trap happened.


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