/* * Copyright (c) 2021 Thakee Nathees * Licensed under: MIT License */ #ifndef DEBUG_H #define DEBUG_H #include "common.h" // Dump the value of the [value] without a new line at the end. void dumpValue(MSVM* vm, Var value); // Dump opcodes of the given function. void dumpInstructions(MSVM* vm, Function* func); // Print stack track. void reportStackTrace(MSVM* vm); #endif // DEBUG_H