Environment.StackTrace
Imports System Public Class MainClass Shared Sub Main() Console.WriteLine("StackTrace: " & System.Environment.StackTrace ) End Sub End Class