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

Enabling/Disabling Debug Nodes as Setting #306

Open
stellarpower opened this issue Sep 23, 2023 · 0 comments
Open

Enabling/Disabling Debug Nodes as Setting #306

stellarpower opened this issue Sep 23, 2023 · 0 comments

Comments

@stellarpower
Copy link

Unstable / deprecated nodes are removed by a macro in the build:

#ifdef PRODUCTION_BUILD
		if (node->IsDeprecated() == true || node->IsUnstable() == true)
			continue;
#endif

This is a sensible default, but, it would be nice to make this a tunable parameter in the settings, so this can be edited without recompiling. I tend to avoid training using the debug builds, because when they fail an assertion (and they always do eventually - this would also be good as a setting I can tune with e.g. environment variables), it aborts and kill the whole program. Meanwhile, there are nodes not enabled in the release build I would like to add to my nice shiny new protocols!

Thanks

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