Can you capture and store stack trace information in a managed package? This page says that the idea was delivered, but that's not what I'm seeing.
The same code stores this stack trace in the unmanaged version:
Stack Trace: Class.PMT_PaymentCreator.<init>: line 107, column 1 Class.PMT_Payment_TDTM.run: line 48, column 1 Class.TDTM_TriggerHandler.runClass: line 118, column 1 Class.TDTM_TriggerHandler.run: line 68, column 1 Trigger.TDTM_Opportunity: line 34, column 1
And this one in the managed one:
Stack Trace: (npsp)
I'm using the getStackTraceString method from the Exception class.