call stack tracing

Mark J Twain via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Aug 5 18:29:37 PDT 2016


Any solution out there that can get call stack, file and line 
info? Similar to exceptions but I simply want to track memory 
allocations and need the complete call stack rather than just the 
previous call(using __FUNCTION__/__FILE__/etc), which is usually 
useless.

Of course, exceptions have TraceInfo... could that be used 
anywhere or hacked to get what I need?




More information about the Digitalmars-d-learn mailing list