Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Catching line number in exception
Message
From
14/01/2005 19:00:16
 
 
To
11/01/2005 10:15:24
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
00975541
Message ID:
00977401
Views:
24
>I print the Exception.stacktrace which has a lot of info including the line number. In VB.Net this looks like this:
>
>
> Try
> 'some stuff
> Catch ex As Exception
>     Me.LogMessage(ex.Message + ex.StackTrace, EventLogEntryType.Error)
> End Try
>
Thanks, this is exactly what I was looking for.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform