断点不起作用 [英] Breakpoint not working

查看:73
本文介绍了断点不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我有一个断点无法正常工作.

我在登录页面和下一页中设置了一个断点.
但是在登录页面中,断点无法正常工作.当我将鼠标悬停在它上面时,它显示消息断点不起作用,当前将不会断点".

In my application I have a breakpoint not working properly.

I set a break point in the login page and in the next page.
But in login page breakpoint is not working. When I hover over it with the mouse, it shows the message "Breakpoint Not working, breakpoint will not currently be hit"

推荐答案

这种情况发生在 PDB文件未更新.编译的DLL和相应的PDB文件必须具有相同时间戳.

删除BIN文件夹,在Debug模式下再次编译应用程序.
之后,您应该可以对其进行调试.
This happens when PDB file is not updated. Compiled DLL and the respective PDB file needs to be of same timestamp.

Delete the BIN folder, compile the application again n Debug mode.
You should be able to debug it after that.


您还可以尝试使用清理项目"功能...
You can also try using the "Clean Project" funtion...


这篇关于断点不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆