diff --git a/HISTORY.rst b/HISTORY.rst index d97b9b9eab..251c7b8059 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -20,7 +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 `__ to fail to launch a debug session because of a missing objdump binary when GDB is not part of the toolchain package +* Resolved a possible issue that may cause generated projects for `PlatformIO IDE for VSCode `__ to fail to launch a debug session because of a missing "objdump" binary when GDB is not part of the toolchain package +* Resolved a regression issue that resulted in the malfunction of the Memory Inspection feature within `PIO Home `__ 6.1.10 (2023-08-11) ~~~~~~~~~~~~~~~~~~~ diff --git a/platformio/home/rpc/handlers/project.py b/platformio/home/rpc/handlers/project.py index 90b3ab78fe..2c03a7c980 100644 --- a/platformio/home/rpc/handlers/project.py +++ b/platformio/home/rpc/handlers/project.py @@ -42,9 +42,9 @@ def config_call(init_kwargs, method, *args): project_dir = init_kwargs["path"] init_kwargs["path"] = os.path.join(init_kwargs["path"], "platformio.ini") elif os.path.isfile(init_kwargs["path"]): - project_dir = get_project_dir() - else: project_dir = os.path.dirname(init_kwargs["path"]) + else: + project_dir = get_project_dir() with fs.cd(project_dir): return getattr(ProjectConfig(**init_kwargs), method)(*args)