Skip to main content
The 2024 Developer Survey results are live! See the results
deleted 144 characters in body
Source Link

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Test method generated is as follows

 <TestMethod(), _
 HostType("ASP.NET"), _
 AspNetDevelopmentServerHost("c:\documents and settings\z08763ddev\my documents\visual studio 2010\Projects\WebApplication3\WebApplication3", "/"), _
 UrlToTest("http://localhost:1560/"), _
 DeploymentItem("WebApplication3.dll")> _
Public Sub Page_LoadTest()
    Dim target As _Default_Accessor = New _Default_Accessor() ' TODO: Initialize to an appropriate value
    Dim sender As Object = Nothing ' TODO: Initialize to an appropriate value
    Dim e As EventArgs = Nothing ' TODO: Initialize to an appropriate value
    target.Page_Load(sender, e)
    Threading.Thread.Sleep(1000)
    Dim url As String = HttpContext.Current.Request.Url.ToString()

    Assert.Inconclusive(url)
End Sub

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Test method generated is as follows

 <TestMethod(), _
 HostType("ASP.NET"), _
 AspNetDevelopmentServerHost("c:\documents and settings\z08763ddev\my documents\visual studio 2010\Projects\WebApplication3\WebApplication3", "/"), _
 UrlToTest("http://localhost:1560/"), _
 DeploymentItem("WebApplication3.dll")> _
Public Sub Page_LoadTest()
    Dim target As _Default_Accessor = New _Default_Accessor() ' TODO: Initialize to an appropriate value
    Dim sender As Object = Nothing ' TODO: Initialize to an appropriate value
    Dim e As EventArgs = Nothing ' TODO: Initialize to an appropriate value
    target.Page_Load(sender, e)
    Threading.Thread.Sleep(1000)
    Dim url As String = HttpContext.Current.Request.Url.ToString()

    Assert.Inconclusive(url)
End Sub

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Test method generated is as follows

 <TestMethod(), _
 HostType("ASP.NET"), _
 AspNetDevelopmentServerHost("c:\documents and settings\z08763ddev\my documents\visual studio 2010\Projects\WebApplication3\WebApplication3", "/"), _
 UrlToTest("http://localhost:1560/"), _
 DeploymentItem("WebApplication3.dll")> _
Public Sub Page_LoadTest()
    Dim target As _Default_Accessor = New _Default_Accessor() ' TODO: Initialize to an appropriate value
    Dim sender As Object = Nothing ' TODO: Initialize to an appropriate value
    Dim e As EventArgs = Nothing ' TODO: Initialize to an appropriate value
    target.Page_Load(sender, e)
  End Sub
added 840 characters in body
Source Link

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Test method generated is as follows

 <TestMethod(), _
 HostType("ASP.NET"), _
 AspNetDevelopmentServerHost("c:\documents and settings\z08763ddev\my documents\visual studio 2010\Projects\WebApplication3\WebApplication3", "/"), _
 UrlToTest("http://localhost:1560/"), _
 DeploymentItem("WebApplication3.dll")> _
Public Sub Page_LoadTest()
    Dim target As _Default_Accessor = New _Default_Accessor() ' TODO: Initialize to an appropriate value
    Dim sender As Object = Nothing ' TODO: Initialize to an appropriate value
    Dim e As EventArgs = Nothing ' TODO: Initialize to an appropriate value
    target.Page_Load(sender, e)
    Threading.Thread.Sleep(1000)
    Dim url As String = HttpContext.Current.Request.Url.ToString()

    Assert.Inconclusive(url)
End Sub

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Test method generated is as follows

 <TestMethod(), _
 HostType("ASP.NET"), _
 AspNetDevelopmentServerHost("c:\documents and settings\z08763ddev\my documents\visual studio 2010\Projects\WebApplication3\WebApplication3", "/"), _
 UrlToTest("http://localhost:1560/"), _
 DeploymentItem("WebApplication3.dll")> _
Public Sub Page_LoadTest()
    Dim target As _Default_Accessor = New _Default_Accessor() ' TODO: Initialize to an appropriate value
    Dim sender As Object = Nothing ' TODO: Initialize to an appropriate value
    Dim e As EventArgs = Nothing ' TODO: Initialize to an appropriate value
    target.Page_Load(sender, e)
    Threading.Thread.Sleep(1000)
    Dim url As String = HttpContext.Current.Request.Url.ToString()

    Assert.Inconclusive(url)
End Sub
added 6 characters in body
Source Link
user596075
user596075

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on TestTest menu item, used Test WizardTest Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test "Page_LoadTest"Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTestPage_LoadTest test.

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test "Page_LoadTest" ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Just created a new ASP.NET website using VS2010 (did not change anything)

Clicked on Test menu item, used Test Wizard to generate test. Selected PageLoad of Default page to generate a test.

This has created a test Page_LoadTest ,all works fine as expected apart from debugger does not stops at breakpoint I put in Page_LoadTest test.

Source Link
Loading