Skip to content

Cortex Peripheral window resets to middle while debugging with openocd. #2280

Open
@danyhm

Description

@danyhm

Describe the problem

Hello,

In IDE 2.2.1 while debugging with SVD files, the Cortex Peripheral window resets its position to the middle after every breakpoint hit or Step which is very annoying because you have to scroll up or down for the register you want to work with.

To reproduce

compile any sketch and use the debugger with the SVD file. scroll to the bottom or remain at top. after every step, the window jumps to the middle of the scroll position.

before step
image

after step or Arduino IDE window switch
image

Expected behavior

the scroll position should remain the same after every step or breakpoint hit.

Arduino IDE version

2.2.1

Operating system

Windows

Operating system version

10 22H2

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: debuggerRelated to the integrated debuggertopic: theiaRelated to the Theia IDE frameworktype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions