XLEAccessGuru
XLEGuru
- Local time
- Today, 15:48
- Joined
- Nov 17, 2006
- Messages
- 65
Something's been occurring recently that has me stumped and I want to know if anyone else have ever experienced this when programming Access.
I'll be using the debugger to step through code and it will do just fine for hours. Then all of a sudden, without having changed anything in my code, error handlers stop working, breakpoints don't break and "on error" statements no longer break or resume as they are supposed to. Essentially, all debugging and error handling stops working entirely in my program.
I've done the following to troubleshoot this and none have resolved it for me:
1. Compact/Repair
2. Place several breakpoints throughout my app at the very beginning of procedures where I know they are not bypassing a condition that could be causing the breakpoint to be skipped.
3. Checked all general DB and VBA Editor properties and options to make sure something didn't flip.
A few more points to note... There have been times when I've exported the form I was working on to another DB, closed the DB I'm having the problem with and reimported the form I exported back into my project. This has fixed the problem a few times in the past but is no longer doing the trick.
It's driving me insane because I can't debug my program and its occurrence is becoming more and more frequent of late. It seems the more complex the programming gets, the more this seems to happen.
Has this ever happened to anyone else and have you ever figured out why?
Any ideas are welcome! Thanks friends!
I'll be using the debugger to step through code and it will do just fine for hours. Then all of a sudden, without having changed anything in my code, error handlers stop working, breakpoints don't break and "on error" statements no longer break or resume as they are supposed to. Essentially, all debugging and error handling stops working entirely in my program.
I've done the following to troubleshoot this and none have resolved it for me:
1. Compact/Repair
2. Place several breakpoints throughout my app at the very beginning of procedures where I know they are not bypassing a condition that could be causing the breakpoint to be skipped.
3. Checked all general DB and VBA Editor properties and options to make sure something didn't flip.
A few more points to note... There have been times when I've exported the form I was working on to another DB, closed the DB I'm having the problem with and reimported the form I exported back into my project. This has fixed the problem a few times in the past but is no longer doing the trick.
It's driving me insane because I can't debug my program and its occurrence is becoming more and more frequent of late. It seems the more complex the programming gets, the more this seems to happen.
Has this ever happened to anyone else and have you ever figured out why?
Any ideas are welcome! Thanks friends!