vscode: Add configurations to run the executables under the debugger
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 24 Apr 2024 19:34:46 +0000 (15:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Apr 2024 20:44:54 +0000 (16:44 -0400)
commita881d7c95fa9f6d47dbc89e9ddffbc2e950c05cb
tree5b4142ede74d2ad947b7a8ce573fed61e536bdb5
parent9a28bc04902b4a98d4f6ed613b27607c10ee5a3b
vscode: Add configurations to run the executables under the debugger

Add tasks.json and launch.json which allow VSCode users to build the
project and run the various binaries (lttng, lttng-relayd,
lttng-sessiond) under the integrated debugger.

For the moment, the configuration assumes the user wants to build
"in-tree" and has setup the tree to build the project (running
./bootstrap and ./configure).

The build job attempts to build a compile database if 'bear' is
available on the system.

To debug the LTTng client, make sure to edit the matching configuration
in .vscode/launch.json to provide your desired arguments (for the
moment, 'help' is passed by default).

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Iee6d6e012bef82f5d3df4296925a3669ad7027d6
.gitignore
.vscode/build.sh [new file with mode: 0755]
.vscode/launch.json [new file with mode: 0644]
.vscode/libtool_gdb_wrapper.sh [new file with mode: 0755]
.vscode/tasks.json [new file with mode: 0644]
This page took 0.032223 seconds and 4 git commands to generate.