add .vscode debug configuration
This commit is contained in:
50
.vscode/launch.json
vendored
Normal file
50
.vscode/launch.json
vendored
Normal 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
@ -419,6 +419,8 @@ my %handlers = (
|
|||||||
'-q',
|
'-q',
|
||||||
"$build_dir/system.elf",
|
"$build_dir/system.elf",
|
||||||
'-ex',
|
'-ex',
|
||||||
|
'set disassembly-flavor intel',
|
||||||
|
'-ex',
|
||||||
"set substitute-path '$module_source' '$build_dir'",
|
"set substitute-path '$module_source' '$build_dir'",
|
||||||
'-ex',
|
'-ex',
|
||||||
"set substitute-path '/build/source/core' '$local_wamr/core'",
|
"set substitute-path '/build/source/core' '$local_wamr/core'",
|
||||||
|
|||||||
Reference in New Issue
Block a user