Skip to content

Commit

Permalink
Add VSCode launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirius902 committed Nov 11, 2024
1 parent ae70e69 commit 4e7df36
Show file tree
Hide file tree
Showing 2 changed files with 122 additions and 0 deletions.
121 changes: 121 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
// 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": [
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'gcinput'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=gcinput"
],
"filter": {
"name": "gcinput",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'panic_log'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=panic-log"
],
"filter": {
"name": "panic_log",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'gcfeeder'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=gcfeeder"
],
"filter": {
"name": "gcfeeder",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug executable 'gcfeeder'",
"cargo": {
"args": [
"build",
"--bin=gcfeeder",
"--package=gcfeeder"
],
"filter": {
"name": "gcfeeder",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in executable 'gcfeeder'",
"cargo": {
"args": [
"test",
"--no-run",
"--bin=gcfeeder",
"--package=gcfeeder"
],
"filter": {
"name": "gcfeeder",
"kind": "bin"
}
},
"args": [],
"cwd": "${workspaceFolder}"
},
{
"type": "lldb",
"request": "launch",
"name": "Debug unit tests in library 'gcfeeder_core'",
"cargo": {
"args": [
"test",
"--no-run",
"--lib",
"--package=gcfeeder-core"
],
"filter": {
"name": "gcfeeder_core",
"kind": "lib"
}
},
"args": [],
"cwd": "${workspaceFolder}"
}
]
}
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@

# nice tools
gdb
lldb
rr
evcxr
valgrind
Expand Down

0 comments on commit 4e7df36

Please sign in to comment.