Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catching line number in exception
Message
De
14/01/2005 19:00:16
 
 
À
11/01/2005 10:15:24
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
00975541
Message ID:
00977401
Vues:
25
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform