wasm-micro-runtime/test-tools/wamr-ide/VSCode-Extension/resource/debug
Callum Macmillan 6eaf779a2d
Install patched LLDB on vscode extension activation (#1637)
Download and install the WAMR patched LLDB binary on vscode extension activation.

This allows the user to download the packaged .vsix file, where the activation script
should handle determining what LLDB binary they should use, and install it in the
correct location.
2022-12-01 10:39:14 +08:00
..
darwin Install patched LLDB on vscode extension activation (#1637) 2022-12-01 10:39:14 +08:00
linux VSCode-Extension: Add empty platform directories (#1460) 2022-09-07 14:30:39 +08:00
windows VSCode-Extension: Add empty platform directories (#1460) 2022-09-07 14:30:39 +08:00
README.md wamr-ide/VSCode-Extension: Make lldb binary path per platform (#1437) 2022-09-01 12:33:59 +08:00

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 linux directory, add following necessary target files into the folders.

```shell
 /llvm/build-lldb/bin/lldb # move this file to resource/debug/linux/bin/
 /llvm/build-lldb/bin/lldb-vscode # move this file to resource/debug/linux/bin/
 /llvm/build-lldb/lib/liblldb.so.13 # move this file to resource/debug/linux/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.