Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging an Exception - ToString()?
Message
De
10/11/2009 08:04:04
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Test et débogage
Titre:
Debugging an Exception - ToString()?
Versions des environnements
Environment:
C# 3.0
Divers
Thread ID:
01433972
Message ID:
01433972
Vues:
87
Hi,

I am investigating the CSLA Silverlight framework and have downloaded and installed and built everything as described. When I run the InventoryDemo I am getting this error when I click on the Products (or Warehouses or Customers) button:

DataPortal.Fetch failed (The type initializer for 'InvDal.MockDb' threw an exception.)

Now I am very new to this whole VS .NET C# thing so debugging this is proving to be a problem. I have been told:

If you get the exception, just do a ToString() on it - that'll get you the stack trace.

So, can anybody explain to me how I do this, please?

Thanks
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Répondre
Fil
Voir

Click here to load this message in the networking platform