Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Stack Trace

hweisberg
Beginner
604 Views
If I call TRACEBACKQQ from my DLL, I get a nice stack trace in a message box on the desktop of the system on which the DLL is running.
Is there a function can I call that will return the same text as a string to the routine that calls it? The reason I am interested in this is that my DLL runs on a server, and popping up a message box on the server's desktop is not very useful. If I had the text of the stack trace I could publish it in some useful way before exiting.
0 Kudos
2 Replies
Steven_L_Intel1
Employee
604 Views

No, but you can redirect the info to a file using an environment variable. Look up "environment variables" in the Visual Fortran documentation.

It would be a good idea to be able to supply a user callback routine for "displaying" the text.

0 Kudos
hweisberg
Beginner
604 Views
Thanks Steve, that looks like it would work for us.
0 Kudos
Reply