General information
Title:
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(" ")
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only