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

Add debugging protocol for non-invasive inspection #306

Open
dphfox opened this issue Jan 28, 2024 · 0 comments · May be fixed by #351
Open

Add debugging protocol for non-invasive inspection #306

dphfox opened this issue Jan 28, 2024 · 0 comments · May be fixed by #351
Labels
kind: enhancement New feature or request status: approved Enhancements/changes that will be made

Comments

@dphfox
Copy link
Owner

dphfox commented Jan 28, 2024

I've made a variety of tools that depend on invasive modification of Fusion's internals to hijack certain calls and expose certain tracked variables. These mods allow for uniquely powerful insights into Fusion code at a level of granularity not possible elsewhere.

For example, it's possible to dump all of Fusion's memory management structures in real time, and inspect the creation order and hierarchy of all alive objects. This not only helps to diagnose user code, but has proven useful in finding bugs nestled inside of Fusion's internals.

image

Instead of requiring invasive mods to access this valuable information, it'd be desirable to have Fusion expose this information on its own. It could use a similar mechanism to what we currently use for External - a series of callbacks that can be hooked into by an extending module, which can then analyse incoming data and communicate with a debugging host.

@dphfox dphfox added kind: enhancement New feature or request status: evaluating Currently gauging feedback labels Jan 28, 2024
@dphfox dphfox added status: approved Enhancements/changes that will be made and removed status: evaluating Currently gauging feedback labels Jun 20, 2024
@dphfox dphfox linked a pull request Jun 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement New feature or request status: approved Enhancements/changes that will be made
Projects
Status: To Do
Development

Successfully merging a pull request may close this issue.

1 participant