"Inspect" fails with "invalid params"

I’m trying to use the inspect tool on an esp32 project, but it gets part-way through the memory check and then stops with the error “Invalid params”

How can I fix this, or get more info as to what the error was?

Code inspection only starts going slow at ~91% and eventually gets to 100% but it stays there for as long as ive waited.

pio check --skip-packages runs fairly quickly and returns a result.


platform = espressif32
board = esp32-s3-devkitc-1
build_type = debug
framework = arduino
monitor_speed = 115200
monitor_port = COM12
upload_port = COM12
build_src_filter = 	

And what’s the output in the CLI when you run just that command?

pio check

completes as well actaully, just takes its time. Output is all project/code related stuff, no tooling execution errors.

If pio check completes but the GUI shows “invalid params”, then “just” the GUI part may have errors. Can you file an issue in Issues · platformio/platformio-vscode-ide · GitHub with a minimal project and code that reproduces the problem?

I think youve missed part of my post or i wasnt clear,

The memory check aborts with “Invalid params”.

Can I run this from the CLI to see further info?

The code check has been sat at 100% for a good few mins now, maybe it will complete. Going for lunch, will report back after :slight_smile:

Otherwise I’ll try and make a minimal repro and post it


Ah. Hm no, I don’t see a way to trigger a memory check from the CLI in exactly the way the “PIO Inspect” page would do it. Best you at least do would be to add build_type = debug (docs) in the platformio.ini and build again – that would be the first step to generate the firmware with the debug symbols, as PIO Inspect would do it.

If that fails, you have something to go on. If that goes through, then still, file an issue at the link above.

Update: code check does complete, the pio check takes a few mins, the ui code check has completed some time withion 40 mins

Memory check aborts under a debug build, ill try and make a minimum repos

In the mean time, is there a way i can use idf.py size to get it’s analysis? It says it needs CMakeLists.txt


Opened an issue

A blank project repros it for me