Formular una preguntaFormular una pregunta
 

RespondidaUnable to hit the brakpionts

  • martes, 30 de junio de 2009 6:28RamaRatna Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I am able to bulid and debug without any error message my project but brakpoints are not been hit. what must be the issue?
    • CambiadoAlan PageMSFTmartes, 30 de junio de 2009 20:45Not a testing question (From:Software Testing Discussion)
    •  

Respuestas

  • viernes, 03 de julio de 2009 4:22Roahn LuoMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    Well,

    There's hidden file under the directory where our solution file located, its name is <solutionName>.suo. This file stored the information of the file opened, all the breakpoints and the contents in the watch windows. What's more, this file is very fragile. Would you please delete the .suo file and try again? (before deleting the file, please back up it if you will.)

    Please have a try and tell me the result.
    Best regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!

Todas las respuestas

  • miércoles, 01 de julio de 2009 9:06Roahn LuoMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hello,

    Could you please be more specific about the issue?
     1. what kind of project it is?
     2. open the Cinfiguration Manager, has the Buid checkbox for the project been checked?
     3. if we create a new project and try again, could the breakpoint been hit?
     4. could you please provide the detailed steps to reproduce it?

    Thanks a lot!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • miércoles, 01 de julio de 2009 15:39useruser1 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    I am having a similar problem.  I have a solution in vs 2008 the build checkbox has been checked.
    I am developing c# code.
    I am able have to stop the execution at the breakpoints in a class I have in the solution, but then I have another
    class in the project which is a partial class, and I am not able to hit the breakpoints.  The code just continues on ignoring the breakpoint.
    Any help?
    Thanks.
  • jueves, 02 de julio de 2009 11:40Roahn LuoMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Hello useruser1,

    I assumed that it is a Web application. (if it is not, please correct me.)
    1. Has the ASP.NET Debugger been choosen? (right click the project -> Properties -> Web tab -> Debuggers section)
    2. Has the project been published to the IIS? (If we published to IIS, then, we  may need to config IIS to enable debugging)
    3. We'd be very appreciated if you could be more specific about the issue! This will benifit us to narrow the issue.

    Thanks a lot!
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • jueves, 02 de julio de 2009 13:36useruser1 Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    Sorry,
      It is not a web application.  It is a win32 form.  c#/.net
  • viernes, 03 de julio de 2009 4:22Roahn LuoMSFT, ModeradorMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    Well,

    There's hidden file under the directory where our solution file located, its name is <solutionName>.suo. This file stored the information of the file opened, all the breakpoints and the contents in the watch windows. What's more, this file is very fragile. Would you please delete the .suo file and try again? (before deleting the file, please back up it if you will.)

    Please have a try and tell me the result.
    Best regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • viernes, 02 de octubre de 2009 4:54RamaRatna Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     
    yes build checkbox is been checked.
    its ASP.NET(VB) project.

    it had resolved by itself after 2 days. but now again i am facing the same problem...

    IIS--> Application-->Configuration--> Debugging-->Enable ASP Server
    side debugging----- is checked

    any help?

    i think its issue arises when symbol files are missing or blank while debugging....