Microsoft Developer Network >
Página principal de foros
>
Visual Studio Debugger
>
Unable to hit the brakpionts
Unable to hit the brakpionts
- 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
- 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!- Marcado como respuestaRoahn LuoMSFT, Moderadormartes, 07 de julio de 2009 1:57
Todas las respuestas
- 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! - 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. - 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! - Sorry,
It is not a web application. It is a win32 form. c#/.net - 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!- Marcado como respuestaRoahn LuoMSFT, Moderadormartes, 07 de julio de 2009 1:57
- 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....

