diff options
author | Graham Linden <graham@lindenlab.com> | 2018-11-14 15:22:47 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-11-14 15:22:47 -0800 |
commit | aa0115053aaa28de1c472410931c57b3e43b72a7 (patch) | |
tree | 9a8ba45529cb125a2ae5cd4672b3fd093af9b45c /indra/llcommon/llcallstack.h | |
parent | 4662ba8a2693780198d555a49a00cfafba838d41 (diff) | |
parent | 1d022e86c84039f88c531e91ce857666acd224a1 (diff) |
Merge
Diffstat (limited to 'indra/llcommon/llcallstack.h')
-rw-r--r-- | indra/llcommon/llcallstack.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llcommon/llcallstack.h b/indra/llcommon/llcallstack.h index 1f7a7689d7..5acf04a49f 100644 --- a/indra/llcommon/llcallstack.h +++ b/indra/llcommon/llcallstack.h @@ -78,3 +78,10 @@ struct LLContextStatus }; LL_COMMON_API std::ostream& operator<<(std::ostream& s, const LLContextStatus& context_status); + +#define dumpStack(tag) \ + if (debugLoggingEnabled(tag)) \ + { \ + LLCallStack cs; \ + LL_DEBUGS(tag) << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; \ + } |