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

Debug module #16

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Debug module #16

wants to merge 3 commits into from

Conversation

messmerd
Copy link
Owner

@messmerd messmerd commented May 21, 2023

This PR will finish the work on the Debug module.

Unfortunately, the state and generated data were not designed in a polymorphic way, so generated data from every different module requires duplicate code to access state data common to all modules. Since that common data cannot be accessed through a simple base class interface and requires casting to the derived type for every module, that mostly defeats the purpose of having a set of common state data because it requires duplicate conversion code for any module types I want to convert between.

So this PR also refactors the generated data and state code to get that to work.

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

Successfully merging this pull request may close these issues.

1 participant