iarsystems / iar-vsc-debug

Visual Studio Code extension for the IAR C-SPY debugger
19 stars 1 forks source link

Peripheral view search does not always filter #27

Closed davidanderle closed 1 year ago

davidanderle commented 1 year ago

In debug mode the Peripheral View window has a search functionality that is meant to filter out all the unwanted registers. For example, the correct display for the STM32G473 when searching for I2C4 is this: image

Yet when the debugger is re-attached, the "invalid" search results do not disappear: image

If, however, I search for a keyword that's not found in any of the peripherals, the list completely disappears. After this if I now type in a keyword that's present in at least one of the peripherals, the filtering works correctly. Here's a little demonstration: https://github.com/IARSystems/iar-vsc-debug/assets/17354704/74b1e345-c502-437a-9204-c4bc923ff9d2

HampusAdolfsson commented 1 year ago

Hi!

The Peripheral View is provided by Microsoft's Embedded Tools extension. It is installed automatically when you install the IAR C-SPY Debug extension, but we are not involved in developing it. This sounds like it should be reported to the Embedded Tools repository instead: https://github.com/microsoft/vscode-embedded-tools

davidanderle commented 1 year ago

Thanks, issue submitted!