MSDN > フォーラム ホーム > Visual Studio Debugger > Unable to hit the brakpionts
質問する質問する
 

回答済みUnable to hit the brakpionts

回答

  • 2009年7月3日 4:22Roahn LuoMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み
    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!

すべての返信

  • 2009年7月1日 9:06Roahn LuoMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    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!
  • 2009年7月1日 15:39useruser1 ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    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.
  • 2009年7月2日 11:40Roahn LuoMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    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!
  • 2009年7月2日 13:36useruser1 ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Sorry,
      It is not a web application.  It is a win32 form.  c#/.net
  • 2009年7月3日 4:22Roahn LuoMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み
    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!
  • 2009年10月2日 4:54RamaRatna ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    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....