Skip to content

Instantly share code, notes, and snippets.

@vibhatha
Last active November 30, 2022 08:11
Show Gist options
  • Save vibhatha/7412efb5a454938bed85a349d003afce to your computer and use it in GitHub Desktop.
Save vibhatha/7412efb5a454938bed85a349d003afce to your computer and use it in GitHub Desktop.
Velox VS Code Debug Sample Launch JSON
{
// 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": "Example 1",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/../../_build/debug/velox/examples/velox_example_vector_reader_writer",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
},
{
"name": "substrait-test",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/../../../_build/debug/velox/substrait/tests/velox_plan_conversion_test",
"args": ["--gtest_filter=VeloxSubstraitRoundTripTest.countAll"],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment