A method, apparatus, and article of manufacture for implementing a
stack-based callback in a software program to acquire diagnostic
information. The five phases of the logic include Registration, Stack
Determination, Callback Notification, Callback Processing and Diagnostic
Data Packaging.