Hi,
Is there a way to get the line number where an event happens in VB .NET application?
I'm using VB .NET 2008 and when a try catch statement is run I wan't to know what line it happens on. I have a custom function which writes to a debug file the stacktrace and time (This can be toggled on and off by the user). I know this can be found when debugging but I want to know when it is a release version, short of manually going through each try catch and typing in the line number I can't find anything.
Thanks in advance for any help
Is there a way to get the line number where an event happens in VB .NET application?
I'm using VB .NET 2008 and when a try catch statement is run I wan't to know what line it happens on. I have a custom function which writes to a debug file the stacktrace and time (This can be toggled on and off by the user). I know this can be found when debugging but I want to know when it is a release version, short of manually going through each try catch and typing in the line number I can't find anything.
Thanks in advance for any help
Comment