mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-09 00:15:07 +00:00
![]() Allow to add watchpoints to variables for source debugging. For instance: `breakpoint set variable var` will pause WAMR execution when the address at var is written to. Can also set read/write watchpoints by passing r/w flags. This will pause execution when the address at var is read: `watchpoint set variable -w read var` Add two linked lists for read/write watchpoints. When the debug message handler receives a watchpoint request, it adds/removes to one/both of these lists. In the interpreter, when an address is read or stored to, check whether the address is in these lists. If so, throw a sigtrap and suspend the process. |
||
---|---|---|
.. | ||
debug-engine | ||
lib-pthread | ||
lib-rats | ||
lib-socket | ||
libc-builtin | ||
libc-emcc | ||
libc-uvwasi | ||
libc-wasi | ||
thread-mgr | ||
wasi-nn |