Cannot debug a project

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

    #1

    Cannot debug a project

    Have a solution which contains two projects. One is a MT/class project and
    another is a C# ASP.net project. The ASP.net project has a project reference
    set to the class project. I compile the projects in debug mode and run the
    ASP.net application but I cannot hit any break point.

    There are .pdb files with current date-time stamps generated for both the
    Class and Asp.net projects in the bin directory. The Debug->Process menu
    shows the correct IE process that is being debugged. There is no remote
    debugging that I am trying to do, this is all local to one machine. There
    are other projects on this same machine (VS 2002, .Net 1.0 SP2) that I can
    debug successfully.

    What am I missing?

    TIA



  • SM

    #2
    Re: Cannot debug a project

    Duh...The Enable Asp.Net Debugging property was set to false under projects
    Properties->Configuratio n Properties->Debugging

    "SM" <NOkksmkksmSPAM @yahoo.com> wrote in message
    news:uJvTRpCPDH A.1612@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Have a solution which contains two projects. One is a MT/class project and
    > another is a C# ASP.net project. The ASP.net project has a project[/color]
    reference[color=blue]
    > set to the class project. I compile the projects in debug mode and run the
    > ASP.net application but I cannot hit any break point.
    >
    > There are .pdb files with current date-time stamps generated for both the
    > Class and Asp.net projects in the bin directory. The Debug->Process menu
    > shows the correct IE process that is being debugged. There is no remote
    > debugging that I am trying to do, this is all local to one machine. There
    > are other projects on this same machine (VS 2002, .Net 1.0 SP2) that I can
    > debug successfully.
    >
    > What am I missing?
    >
    > TIA
    >
    >
    >[/color]


    Comment

    • nitc3

      #3
      Re: Cannot debug a project

      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

      "SM" <NOkksmkksmSPAM @yahoo.com> wrote in message
      news:uJvTRpCPDH A.1612@TK2MSFTN GP11.phx.gbl...[color=blue]
      > Have a solution which contains two projects. One is a MT/class project and
      > another is a C# ASP.net project. The ASP.net project has a project[/color]
      reference[color=blue]
      > set to the class project. I compile the projects in debug mode and run the
      > ASP.net application but I cannot hit any break point.
      >
      > There are .pdb files with current date-time stamps generated for both the
      > Class and Asp.net projects in the bin directory. The Debug->Process menu
      > shows the correct IE process that is being debugged. There is no remote
      > debugging that I am trying to do, this is all local to one machine. There
      > are other projects on this same machine (VS 2002, .Net 1.0 SP2) that I can
      > debug successfully.
      >
      > What am I missing?
      >
      > TIA
      >
      >
      >[/color]


      Comment

      Working...