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

Fine-grained control over debug output #241

Closed
hannobraun opened this issue Feb 23, 2022 · 1 comment
Closed

Fine-grained control over debug output #241

hannobraun opened this issue Feb 23, 2022 · 1 comment
Labels
status: blocked Issue or pull request is blocked by another issue or pull request, or some outside circumstance topic: core Issues relating to core geometry, operations, algorithms topic: display Displaying Fornjot models type: feature New features and improvements to existing features

Comments

@hannobraun
Copy link
Owner

Right now, there exists an option to enable debug output from the triangulation algorithm. This has been helpful again and again in debugging issues, or sometimes just understanding what's happening with a model. I expect that this concept will be extended to other algorithms in the future, as required.

However, the debug output can already be pretty busy, especially if the model is not very simple, and adding more types of debug output will only make that worse. It should be possible to control the debug output in two ways:

  • By type of debug output. It should be possible to only enable debug output from specific algorithms.
  • By part of the model. It should be possible to enable debug output for the whole model, part of the model, or even just a single operation.

The way I imagine this happening is the following:

  • Once a model tree (see Display model structure #13) exists, each entry should have a drop-down menu for debug options.
  • The expanded drop-down menu can be a scrollable list of types of debug output, each with a check box.
  • By default, the check box will inherit the value from the parent in the model tree. For the model as a whole, debug info will be off by default.
  • It is possible to override the value for each node in the tree.

This is blocked on #13.

@hannobraun hannobraun added type: feature New features and improvements to existing features status: blocked Issue or pull request is blocked by another issue or pull request, or some outside circumstance topic: display Displaying Fornjot models topic: ui topic: core Issues relating to core geometry, operations, algorithms labels Feb 23, 2022
@hannobraun
Copy link
Owner Author

This issue is no longer applicable. See A New Direction for context.

@hannobraun hannobraun closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked Issue or pull request is blocked by another issue or pull request, or some outside circumstance topic: core Issues relating to core geometry, operations, algorithms topic: display Displaying Fornjot models type: feature New features and improvements to existing features
Projects
None yet
Development

No branches or pull requests

1 participant