Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newbie wants to view Debug.Write during execution
Message
De
05/09/2003 04:47:45
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Newbie wants to view Debug.Write during execution
Divers
Thread ID:
00826309
Message ID:
00826309
Vues:
58
I am new to ASP.Net

I can not seem to get the debug or console command to output anywhere.
My understanding is that debug outputs to the OUTPUT window, however this window diasappears whenever I run my app.

Or if they are outputting somewhere I can not find it.

I expect I am making some obvious mistake here.
If these commands can not work in ASP.Net then does it mean I have to add everything to a watch window? This would be clumsy for some operations.



Debug.WriteLine("Update command Generated by the Command Builder : ")
Debug.WriteLine("Update command Generated by the Command Builder : ")
Debug.WriteLine("==================================================")
Debug.WriteLine(cb.GetUpdateCommand.CommandText)
Debug.WriteLine(" ")



Console.WriteLine("Insert command Generated by the Command Builder : ")
Console.WriteLine("==================================================")
Console.WriteLine(cb.GetInsertCommand.CommandText)
Console.WriteLine(" ")
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform