Browse Source

Add a note about `_NO_DEBUG_HEAP` to the debugging document (#6963)

While this is not at all WASM-specific, it is somewhat rare that
LLDB is used for native debugging on Windows, so the cause of
the slowdown on the order of 50x may not be immediately obvious.
pull/6967/head
SingleAccretion 1 year ago
committed by GitHub
parent
commit
9377dfd7b8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/examples-debugging.md

3
docs/examples-debugging.md

@ -36,3 +36,6 @@ If you run into trouble, the following discussions might help:
(lldb) p *foo
```
- The address of the start of instance memory can be found in `__vmctx->memory`
- On Windows you may experience degraded WASM compilation throughput due to the
enablement of additional native heap checks when under the debugger by default.
You can set the environment variable `_NO_DEBUG_HEAP` to `1` to disable them.

Loading…
Cancel
Save