PrintCallStack #19888
markcmiller86
started this conversation in
Share cool stuff
PrintCallStack
#19888
Replies: 5 comments 2 replies
-
|
@markcmiller86 I think this would be great to add to our Debugging Tips section of the manual. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is very cool 😎 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Saved my bacon. 🥓 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Saved my bacon yet again 🥓🥓🥓 |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I can't thank you enough for this. Every month it saves me. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Just some helpful stuff about debugging. If you are using GCC (Gnu Compiler Collection), you can use
PrintCallStack()insrc/common/utility/Utility.hto print out the current call stack from anywhere within the code.For example, in debugging a feature for MOAB database to support per-instance file open options, I added a call in
avtMOAB Options.Clike so...And, that will result in some output like so...
Beta Was this translation helpful? Give feedback.
All reactions