Cannot debug ASP.Net

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

    #1

    Cannot debug ASP.Net

    I start in debug mode and set a breakpoint on the page load event for the
    startup page. The browser opens and the page renders. The breakpoint turns
    to a "?" and says the breakpiont cannot be reached. Here is my output and I
    notice the aspnet_wp.exe is exiting. No idea how to fix this. Yes I am in
    debig and not release mode.

    Auto-attach to process '[3052] aspnet_wp.exe' on machine 'DELL' succeeded.
    'DefaultDomain' : Loaded
    'c:\winnt\micro soft.net\framew ork\v1.1.4322\m scorlib.dll', No symbols loaded.
    'DefaultDomain' : Loaded
    'c:\winnt\assem bly\gac\system. web\1.0.5000.0_ _b03f5f7f11d50a 3a\system.web.d ll', No symbols loaded.
    'DefaultDomain' : Loaded
    'c:\winnt\assem bly\gac\system\ 1.0.5000.0__b77 a5c561934e089\s ystem.dll', No
    symbols loaded.
    'DefaultDomain' : Loaded
    'c:\winnt\assem bly\gac\system. xml\1.0.5000.0_ _b77a5c561934e0 89\system.xml.d ll', No symbols loaded.
    '/LM/w3svc/1/root-1-127598359525625 000': Loaded
    'c:\winnt\micro soft.net\framew ork\v1.1.4322\m scorlib.dll', No symbols loaded.
    '/LM/w3svc/1/root-1-127598359525625 000': Loaded
    'c:\winnt\assem bly\gac\system. web\1.0.5000.0_ _b03f5f7f11d50a 3a\system.web.d ll', No symbols loaded.
    '/LM/w3svc/1/root-1-127598359525625 000': Loaded
    'c:\winnt\assem bly\gac\system\ 1.0.5000.0__b77 a5c561934e089\s ystem.dll', No
    symbols loaded.
    '/LM/w3svc/1/root-1-127598359525625 000': Loaded
    'c:\winnt\assem bly\gac\system. xml\1.0.5000.0_ _b77a5c561934e0 89\system.xml.d ll', No symbols loaded.
    The thread '<No Name>' (0xccc) has exited with code 0 (0x0).
    The program '[3052] aspnet_wp.exe: DefaultDomain' has exited with code 0
    (0x0).
    The program '[3052] aspnet_wp.exe: /LM/w3svc/1/root-1-127598359525625 000'
    has exited with code 0 (0x0).
    The thread has exited with code 0 (0x0).
    The program '[3092] IEXPLORE.EXE: Script program' has exited with code 0
    (0x0).
  • Cor Ligthert

    #2
    Re: Cannot debug ASP.Net

    Roblenderman,

    Did you already set the breakpoint on an earlier point. That is what I do in
    those cases. Sometimes with ASPNET the program breaks (not breakpoint)
    earlier and throws than an error.

    Therefore set it by instance on the first instruction to try.

    Cor


    Comment

    • roblenderman

      #3
      Re: Cannot debug ASP.Net

      I set the break point on the startup pages load event. Then I start the
      debug and the code in that event runs but it never breaks. Right after the
      IE window opens showing the page the breakpoint get the ? and says it cannot
      be hit. No ideas here.

      Rob


      "Cor Ligthert" wrote:
      [color=blue]
      > Roblenderman,
      >
      > Did you already set the breakpoint on an earlier point. That is what I do in
      > those cases. Sometimes with ASPNET the program breaks (not breakpoint)
      > earlier and throws than an error.
      >
      > Therefore set it by instance on the first instruction to try.
      >
      > Cor
      >
      >
      >[/color]

      Comment

      • PRASAD MUTTAHAMSETTY

        #4
        Re: Cannot debug ASP.Net





        *** Sent via Developersdex http://www.developersdex.com ***

        Comment

        Working...