add .vscode debug configuration

This commit is contained in:
2026-05-13 12:55:38 +02:00
parent 156ce50116
commit 31e8f9d093
2 changed files with 52 additions and 0 deletions

50
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,50 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "sum0_base AOT Array.Text Mmap.Text",
"type": "lldb",
"request": "launch",
"program": "/home/christoph/Notes/TU/MastersThesis/FailNix/builds/2026-05-11T19:19:39_sum0_base-linux-aot/system.elf",
"args": [],
"cwd": "/home/christoph/Notes/TU/MastersThesis/FailNix/builds/2026-05-11T19:19:39_sum0_base-linux-aot",
"initCommands": [
"settings set target.x86-disassembly-flavor intel",
"breakpoint set -b main",
"breakpoint set -b fail_start_trace",
"breakpoint set -b fail_stop_trace",
"breakpoint set -b fail_marker_positive",
"breakpoint set -b fail_marker_negative",
"breakpoint set -b invokeNative_Void",
],
"sourceMap": {
"/build/source/core": "/home/christoph/Notes/TU/MastersThesis/05 WAMR/core",
"/home/christoph/Notes/TU/MastersThesis/FailNix/build-sum0_base": "/home/christoph/Notes/TU/MastersThesis/FailNix/builds/2026-05-11T19:19:39_sum0_base-linux-aot",
},
},
{
"name": "sum0_base AOT Array.Text Mmap.Text --xip",
"type": "lldb",
"request": "launch",
"program": "/home/christoph/Notes/TU/MastersThesis/FailNix/builds/2026-05-13T13:16:09_sum0_base-linux-aot/system.elf",
"args": [],
"cwd": "/home/christoph/Notes/TU/MastersThesis/FailNix/builds/2026-05-13T13:16:09_sum0_base-linux-aot",
"initCommands": [
"settings set target.x86-disassembly-flavor intel",
"breakpoint set -b main",
"breakpoint set -b fail_start_trace",
"breakpoint set -b fail_stop_trace",
"breakpoint set -b fail_marker_positive",
"breakpoint set -b fail_marker_negative",
"breakpoint set -b invokeNative_Void",
],
"sourceMap": {
"/build/source/core": "/home/christoph/Notes/TU/MastersThesis/05 WAMR/core",
"/home/christoph/Notes/TU/MastersThesis/FailNix/build-sum0_base": "/home/christoph/Notes/TU/MastersThesis/FailNix/builds/2026-05-13T13:16:09_sum0_base-linux-aot",
},
},
],
}