Help: Cant debug ASP.NET code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • VB Programmer

    Help: Cant debug ASP.NET code

    I set a breakpoint in my ASP.NET code (Page_Load). But, when I run the
    application it never stops at the breakpoint. Any ideas?
    Thanks,
    Robert


  • PJ

    #2
    Re: Cant debug ASP.NET code

    Project -> Properties -> Configuration Properties -> Debugging
    Make sure that "Enable ASP.NET" debugging is checked.

    ~PJ

    "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
    news:%23DpO0zoO DHA.2316@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > I set a breakpoint in my ASP.NET code (Page_Load). But, when I run the
    > application it never stops at the breakpoint. Any ideas?
    > Thanks,
    > Robert
    >
    >[/color]


    Comment

    • Bill Priess

      #3
      Re: Cant debug ASP.NET code

      Have you checked to make sure that the Page_Load event is handled and wired
      up in the InitializeCompo nents event?

      HTH,

      Bill Priess
      eCircle Software, LLC

      "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
      news:%23DpO0zoO DHA.2316@TK2MSF TNGP11.phx.gbl. ..[color=blue]
      > I set a breakpoint in my ASP.NET code (Page_Load). But, when I run the
      > application it never stops at the breakpoint. Any ideas?
      > Thanks,
      > Robert
      >
      >[/color]


      Comment

      • nitc3

        #4
        Re: Cant debug ASP.NET code

        This usally happenes when sysmbols are not loaded properly.
        What you have to make sure is
        1.you are running the application in debug mode and not release mode.
        2. Make sure debugging is enabled by right clicking on
        Project->Properties->Configuratio n Properties->Debugging and on right pane
        make sure "Enable ASP.NET Debugging" is set to True.

        Cheers
        nitc3



        "Bill Priess" <no.spam@nospam .com> wrote in message
        news:#iccxBzODH A.4024@tk2msftn gp13.phx.gbl...[color=blue]
        > Have you checked to make sure that the Page_Load event is handled and[/color]
        wired[color=blue]
        > up in the InitializeCompo nents event?
        >
        > HTH,
        >
        > Bill Priess
        > eCircle Software, LLC
        >
        > "VB Programmer" <growNO-SPAM@go-intech.com> wrote in message
        > news:%23DpO0zoO DHA.2316@TK2MSF TNGP11.phx.gbl. ..[color=green]
        > > I set a breakpoint in my ASP.NET code (Page_Load). But, when I run the
        > > application it never stops at the breakpoint. Any ideas?
        > > Thanks,
        > > Robert
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...