Guest User

Untitled

a guest
Jun 8th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. const bool debug_mode = true; // for now
  2.  
  3. if (debug_mode)
  4. {
  5. // Configuring engine to support generating of DWARF info.
  6. // lldb can be used to attach to the program and observe source code and variables.
  7. wasm_config_t* config = wasm_config_new();
  8. wasmtime_config_debug_info_set(config, true);
  9. __engine = wasm_engine_new_with_config(config);
  10. Beep(3000, 100);
  11. }
  12. else
  13. __engine = wasm_engine_new();
Advertisement
Add Comment
Please, Sign In to add comment