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.
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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With