Debugging "Invalid Params" when Inspecting Memory Usage

Hi there,

i’m currently working on writing a new platform for a ARM Cortex M4 based MCU using the arm-none-eabi-gcc toolchain (version 1.120301.0).
However, i’ve encountered a puzzling issue that I hope you’ll be able to help me with.

When trying to inspect the memory usage of a larger project (Marlin, to be precise), i encounter an “Invalid Params” error.
In vscode’s devtools, i see a error message “Exception during inspectProject {message: ‘Invalid params’, code: -32602}”.

The weird thing is this:

  1. inspecting the exact same repo, only with a ststm32-based env, memory inspection works → repo isn’t the issue (?)
  2. inspecting a different repo with my platform also works → custom platform isn’t the issue (?)

I’m at a loss as to what could be causing this issue and how to go about debugging it.
Is there a debug or verbose mode for memory inspection, or are there any specific steps I can take to resolve this issue?

Any guidance or insights into this issue would be greatly appreciated.
Thank you in advance for your help.

Best Regards,