Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What I don't like about debugging
Message
De
04/09/2013 04:47:46
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Test et débogage
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581956
Message ID:
01582040
Vues:
49
>>Or use the CallSTack and go back .. each line allows you to view the variables at that spot.
>
>Nope, CallsStack didn't work for me. The original line of code was not even in the Stack. In any case, it was because I tried using Convert.ToInt64 and the variable was empty.

As said - works with the call stack - don't forget to double click on the line in the stack. That will give you the same information as if you had put a breakpoint.

Found one exception so far : if an exception is thrown in a static initializer - you need to copy the stacktrace to the clipboard, paste it in notepad and look where it went wrong. Then you put a breakpoint on it
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform