Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
debugger.hpp
Go to the documentation of this file.
1#pragma once
2
3// For assert builds, we'll enable the debugger.
4#ifndef NDEBUG
5#define AVM_INCLUDE_DEBUGGER
6#endif
7
8#include <string>
9#include <vector>
10
12
13namespace bb::avm2 {
14
27 public:
31
32 void run(uint32_t starting_row = 0);
33
34 private:
36 uint32_t row = 0;
37 std::string prefix;
38
39 void print_columns(const std::vector<std::string>& regex);
40 void set_column(const std::string& column_name, const std::string& value);
41 void test_relation(const std::string& relation_name, std::optional<std::string> subrelation_name);
42};
43
44} // namespace bb::avm2
void run(uint32_t starting_row=0)
tracegen::TraceContainer & trace
Definition debugger.hpp:35
void print_columns(const std::vector< std::string > &regex)
InteractiveDebugger(tracegen::TraceContainer &trace)
Definition debugger.hpp:28
void test_relation(const std::string &relation_name, std::optional< std::string > subrelation_name)
void set_column(const std::string &column_name, const std::string &value)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13