Display all tokens programmatically? Trying to debug token
There's a function in the token module called token_get_list() which is:

A helper function that retrieves all currently exposed tokens, and merges them recursively.

It invokes hook_token_list() for all modules so should give you every single token defined in the site.