Kin Fat SZE
asked on
Whats the easy way to debug asp.net
Hi,
How could I debuging on asp.net pages that not running of iis server directly.
a way to make alert LIKE window.alert("sometext");
Thanks
How could I debuging on asp.net pages that not running of iis server directly.
a way to make alert LIKE window.alert("sometext");
Thanks
Typically what I use in this situation is either printing values of variables or "hey, I got here" messages to the screen or writing them to a file which I can manually check. Obviously, the second way is better in a production environment.
ASKER
how?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
"hey, I got here" messages to the screen
Check out Response.Write()
http://msdn.microsoft.com/en-us/library/1463ysyw(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2
http://msdn.microsoft.com/en-us/library/1463ysyw(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-2
ASKER
Sometimes is not works well by Response.Write()