forked from platformio/platformio-core
Use CC location for resolving toolchain path in VSCode template
VSCode uses the "packagetoolchainBinDir" option to find the objdump binary and if GDB is shipped separately from the toolchain package then VSCode will fail to launch a debug session due to missing objdump
This commit is contained in:
@ -20,6 +20,8 @@ test-driven methodologies, and modern toolchains for unrivaled success.
|
||||
6.1.11 (2023-??-??)
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode <https://docs.platformio.org/en/latest/integration/ide/vscode.html>`__ to fail to launch a debug session because of a missing objdump binary when GDB is not part of the toolchain package
|
||||
|
||||
6.1.10 (2023-08-11)
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
% "name": "PIO Debug (skip Pre-Debug)",
|
||||
% "executable": _escape_path(prog_path),
|
||||
% "projectEnvName": env_name if forced_env_name else default_debug_env_name,
|
||||
% "toolchainBinDir": _escape_path(os.path.dirname(gdb_path)),
|
||||
% "toolchainBinDir": _escape_path(os.path.dirname(cc_path)),
|
||||
% "internalConsoleOptions": "openOnSessionStart",
|
||||
% }
|
||||
%
|
||||
|
Reference in New Issue
Block a user