Information générale
Titre:
Newbie wants to view Debug.Write during execution
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement