Skip to content

Scope or Watch View do not work as intended for projects with structure variables with union members #91

@Afsal-mchp

Description

@Afsal-mchp

I encountered three problems while using pyx2cscope on a motor control project with structure variables consisting of union variables as members.

  1. The structure variable with union members is missing from the variable selection list. In MPLABX within X2CScope, I am able to view and add the variables to Watch View.

Image

  1. Scope View does not provide any output for any variables in the project. The terminal warnings are attached with the screenshot below. (It does not work in MPLABX either)
    Image

  2. Watch View does not provide proper values for added variables. Also, dynamic variables stay still (Do not change) under live mode. Comparatively, X2CScope from MPLABX is able to provide proper dynamic output for Watch View under live mode (Also the variables within the structure of unions). A comparison between the two along with terminal warnings is attached below.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions