Skip to content

Comments

Add CPP-enabled debugging functions#13

Open
jasagredo wants to merge 1 commit intomainfrom
js/debug-labels
Open

Add CPP-enabled debugging functions#13
jasagredo wants to merge 1 commit intomainfrom
js/debug-labels

Conversation

@jasagredo
Copy link
Contributor

This defines a new cabal flag debug-labels that emit traces when resources are being allocated/deallocated/transferred and when registries are closed.

#endif

-- | Generalization of 'allocate' for allocation functions that may fail
allocateEither ::
Copy link

Choose a reason for hiding this comment

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

Please explain in the haddock what the intended use of the Maybe Text argument when DEBUG_LABELS is enabled.

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.

2 participants