mirror of
https://github.com/luxfi/ledger.git
synced 2026-10-30 16:21:35 +00:00
tests(eth): fix payload to not have extra bytes chore: update snapshots feat: add vscode debug configuration
52 lines
1.9 KiB
JSON
52 lines
1.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Zemu Attach S",
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"executable": "${workspaceFolder}/build/output/app_s.elf",
|
|
"target": ":1234",
|
|
"remote": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"valuesFormatting": "parseText",
|
|
"gdbpath": "gdb-multiarch",
|
|
"stopOnEntry": true,
|
|
"autorun": [
|
|
"set substitute-path /project ${workspaceFolder}",
|
|
"set substitute-path /cargo ${env:HOME}/.cargo",
|
|
"set substitute-path /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b ${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust",
|
|
"set architecture arm",
|
|
"set backtrace limit 15",
|
|
"handle SIGILL nostop pass noprint",
|
|
"add-symbol-file ${workspaceFolder}/build/output/app_s.elf 0x40000000",
|
|
"b rslib::dispatcher::apdu_dispatch",
|
|
"b rslib::__panic_handler::panic"
|
|
]
|
|
},
|
|
{
|
|
"name": "Zemu Attach SP",
|
|
"type": "gdb",
|
|
"request": "attach",
|
|
"executable": "${workspaceFolder}/build/output/app_sp.elf",
|
|
"target": ":1234",
|
|
"remote": true,
|
|
"cwd": "${workspaceFolder}",
|
|
"valuesFormatting": "parseText",
|
|
"gdbpath": "gdb-multiarch",
|
|
"stopOnEntry": true,
|
|
"autorun": [
|
|
"set substitute-path /project ${workspaceFolder}",
|
|
"set substitute-path /cargo ${env:HOME}/.cargo",
|
|
"set substitute-path /rustc/db9d1b20bba1968c1ec1fc49616d4742c1725b4b ${env:HOME}/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust",
|
|
"set architecture arm",
|
|
"set backtrace limit 15",
|
|
"handle SIGILL nostop pass noprint",
|
|
"add-symbol-file ${workspaceFolder}/build/output/app_sp.elf 0x40000000",
|
|
"b rslib::dispatcher::apdu_dispatch",
|
|
"b rslib::__panic_handler::panic"
|
|
]
|
|
}
|
|
]
|
|
}
|