Set debug mode to true : Debug Mode « Development « ASP.Net






Set debug mode to true

       
<%--  This page has an error --%>       
       
       
<%@ Page Language="VB" Debug="true" %>
<script language="VB" runat="server">
 Sub CreateRunTimeError
 dim intCounter as integer
 intCounter = "Test"
 response.write ("The value of counter is :" & intCounter)
 End sub
</script>

<%
 CreateRunTimeError()
%>

           
       








Related examples in the same category