Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const bool debug_mode = true; // for now
- if (debug_mode)
- {
- // Configuring engine to support generating of DWARF info.
- // lldb can be used to attach to the program and observe source code and variables.
- wasm_config_t* config = wasm_config_new();
- wasmtime_config_debug_info_set(config, true);
- __engine = wasm_engine_new_with_config(config);
- Beep(3000, 100);
- }
- else
- __engine = wasm_engine_new();
Advertisement
Add Comment
Please, Sign In to add comment