ASP.Net/Page/Page Trace
Set page debug flag to true (C#)
<source lang="csharp">
<%@ Page Language="C#" Debug="true" %> <script runat="server">
void Page_Load() { int zero = 0; Label1.Text = (1 / zero).ToString(); }
</script> <html> <head id="Head1" runat="server">
<title>Show Error</title>
</head> <body>
<form id="form1" runat="server">
<asp:Label id="Label1" Runat="server" />
</form>
</body> </html>
</source>