MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime-go / SetDebugInfo

Method SetDebugInfo

config.go:60–63  ·  view source on GitHub ↗

SetDebugInfo configures whether dwarf debug information for JIT code is enabled

(enabled bool)

Source from the content-addressed store, hash-verified

58
59// SetDebugInfo configures whether dwarf debug information for JIT code is enabled
60func (cfg *Config) SetDebugInfo(enabled bool) {
61 C.wasmtime_config_debug_info_set(cfg.ptr(), C.bool(enabled))
62 runtime.KeepAlive(cfg)
63}
64
65// SetMaxWasmStack configures the maximum stack size, in bytes, that JIT code can use.
66// The amount of stack space that wasm takes is always relative to the first invocation of wasm on the stack.

Callers 1

TestConfigFunction · 0.80

Calls 1

ptrMethod · 0.95

Tested by 1

TestConfigFunction · 0.64