When clicking button in debug mode, the page reloads but the break points inside of the click event are never reached. However, breakpoints in the page_load work just fine.
Basically, it’s as if code inside of the button’s click event is not being executed.
I checked the site into source control and another developer tried it on his computer. The click events worked just fine there, catching the break points inside.
I tried another site on my computer and it has the same issue. So it’s something specific to my computer, and not specific to any site.
Is there some setting I may have mistakenly changed that could cause click events to stop working while debugging?
Any help would be appreciated.
Edited:
This issue is happening on all sites I run in my debugger, and the buttons are not created dynamically.
Edited:
There are no indication of problems when adding the break points. I don’t think it’s a breakpoint issue, I believe it’s an issue with click events not firing. I put identical code on another developers machine and the click event’s worked fine while debugging on that machine.
So it seems all the click events I was testing were image buttons, and I didn’t have the images on my local machine. For some reason, when the image was missing, the click event wouldn’t fire.