Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"a breakpoint could not be inserted at this location" on RaiseEvent Statement

If I try to set a breakpoint on any line that uses the RaiseEvent statement I get:

A breakpoint could not be inserted at this location.

enter image description here I am in debug mode and I can use breakpoints everywhere else. All other debugging features are working fine; project compiles just fine.

If I can debug step on this line, why can't I put a breakpoint there?

like image 900
toddmo Avatar asked Oct 14 '25 10:10

toddmo


1 Answers

I know this is an old question, but hopefully this helps someone in the future... I was getting the same error, but I had a syntax error that I had not noticed. Rebuilding the project pointed out the error, and once it was fixed, I was then able to insert breakpoints like normal.

like image 64
mpwhitt Avatar answered Oct 17 '25 07:10

mpwhitt



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!