VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "Tracker"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Option Explicit

Private m_ModuleName As String
Private m_ProcName As String

Friend Property Let Module(ModName As String)
    m_ModuleName = ModName
End Property

Friend Property Get Module() As String
    Module = m_ModuleName
End Property

Friend Property Let Proc(ProcName As String)
    m_ProcName = ProcName
End Property

Friend Property Get Proc() As String
    Proc = m_ProcName
End Property

Public Sub Report()
    GStackTrace.Report m_ModuleName, m_ProcName
End Sub

Private Sub Class_Terminate()
    GStacker.Leave m_ModuleName, m_ProcName
End Sub

