This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/test-tools/wamr-ide/VSCode-Extension/resource/debug/README.md
YAMAMOTO Takashi e8f0c9580b
Some wamr-ide improvements (#1354)
including:
- enable macOS support
- documentation improvements
- fix some warnings
2022-08-08 17:52:47 +08:00

808 B

If you want to enable source debugging for this extension, please build lldb firstly following this instruction.

After building(linux for example), create bin folder and lib folder respectively in current directory, add following necessary target files into the folders.

```shell
 /llvm/build-lldb/bin/lldb # move this file to resource/debug/bin/
 /llvm/build-lldb/bin/lldb-vscode # move this file to resource/debug/bin/
 /llvm/build-lldb/lib/liblldb.so.13 # move this file to resource/debug/lib/
```

Note: For macOS, the library is named like liblldb.13.0.1.dylib.

Then you can start the extension and run the execute source debugging by clicking the debug button in the extension panel.