I’m testing to get exception stack with the code below.
With IDE, I see the log file generated by Logging method but in case I make a .exe file I don’t see that.
How can I generate exception stack on running application(.exe)?
Try
raise new OutOfBoundsException
Catch exc As RuntimeException
Dim type As String = Introspection.GetType(exc).Name
Logging(type + EndOfLine + EndOfLine + Join(exc.Stack, EndOfLine))
MsgBox " exception detected ... "
End