Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Variables" column tightly coupled to the VARIABLES view #154

Open
AdrianOltean opened this issue Jan 30, 2025 · 0 comments
Open

"Variables" column tightly coupled to the VARIABLES view #154

AdrianOltean opened this issue Jan 30, 2025 · 0 comments

Comments

@AdrianOltean
Copy link

Description
Memory Inspector editors allow enabling a Variables column. A nice and useful feature but its enablement is completely unintuitive and undocumented. In other words, the column is eventually populated only if the VARIABLES view is visible and its nodes are expanded. Current implementation seems to intercept debug adapter message/responses that are related to variables retrieval and only populate the Variables column when such messages are intercepted.

From my experiments, I have never been able to see anything in the Variables column when using CPPDBG debug adapter. Whereas when using Cortex Debug, the behavior is as described above.

Requests:

  1. Document the dependency of the Variables column from Memory Inspector editors. Make it clear that Variables column depends on the visibility/expanded state of the nodes from VARIABLES view.
  2. When Variables column is enabled, make sure the Memory Inspector initiates requests for locals/globals/statics instead of relying on other entities (e.g. VARIABLES view) to make such requests and then simply track/intercept DAP messages.

Additional information

Memory Inspector editor with VARIABLES collapsed:

Image

Memory Inspector editor with VARIABLES nodes expanded:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant