]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
devtool: ide-sdk source mapping for vscode
authorEnguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Sun, 25 Feb 2024 20:47:01 +0000 (21:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Feb 2024 11:38:44 +0000 (11:38 +0000)
commit24db2b8d0d7104960c1cdb2c7ee5216c830a6754
tree6476fe8d3dab6dd90c03b393eb13796fd616aeaf
parent63986b2c40d90fe96cdc6a46aa649efcf17f6ac2
devtool: ide-sdk source mapping for vscode

When launching the debug configuration, the source files from the debug
rootfs were openened in the editor instead of the local workspace files.
We add an exception to properly map them to the file being developed and
compiled by the IDE integration. This also more closely matches what the
user would expect compared to native development.

This is also true for the devtool fallback mode.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/ide_plugins/ide_code.py
scripts/lib/devtool/ide_sdk.py