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

Make debug config variables available in conf.py #533

Merged
merged 1 commit into from
May 25, 2020

Conversation

jakobandersen
Copy link
Collaborator

In order to make debugging easier #512 added some variables for debug output. This PR makes them formal config variables so users can create more descriptive logs.

  • breathe_debug_trace_directives = False: the main variable that will print out the domain directives that Breathe runs, indented to indicate the scoping.
  • breathe_debug_trace_doxygen_ids = False: write some information about the Doxygen IDs that Breathe attaches to the declarations in order for inline references to be resolved. This can for example be used to get information for the remaining part of Duplicate IDs when using INLINE_INHERITED_MEMBERS=YES #356.
  • breathe_debug_trace_qualification = False: when a Breathe directive has found the entity to document, it may be nested somewhere inside the Doxygen XML. In order to construct the correct Sphinx directive it needs to figure out how the XML nesting translates into scope nesting. This variable prints out information about this process.

breathe_debug_trace_directives = False
breathe_debug_trace_doxygen_ids = False
breathe_debug_trace_qualification = False
Copy link
Collaborator

@vermeeren vermeeren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@vermeeren vermeeren self-assigned this May 25, 2020
@vermeeren vermeeren added the code Source code label May 25, 2020
@vermeeren vermeeren merged commit 4c2a294 into breathe-doc:master May 25, 2020
vermeeren added a commit that referenced this pull request May 25, 2020
@jakobandersen jakobandersen deleted the debug_config branch May 25, 2020 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Source code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants