Breakpoints

rwilson32

Registered User.
Local time
Today, 09:45
Joined
Jul 10, 2003
Messages
23
I have a large access project that I have been working with for months now. I have been debugging all of my code with no problems but for some reason now it will not stop at my breakpoints. The code is behind a form and I know the lines that I am setting the points on are being executed, but it will not stop at them for me to debug not sure of what the problem is. I hope someone can help.
 
The only way a break point is not triggered is if the code isn't run.
Are you are using error handling, have you turned it off?


you could try outputting to the immediate window to test the execution of the code.

try adding this line to your code and running a test.

Code:
debug.print "Test"

if this appears you know for certain the code is being run.
 
Something is definetly wrong, I tried the debug.print "test" and I got test i the immediate window but still no breakpoints work and now even when there is an error in my code it doesn't stop and no errors are displayed so I cannot debug at all, It used to stop in the code where the error was, but now it does nothing. If anyone has an answer I would appreciate it.
 
I already had that problem.
Make sure that "Use access special keys" is checked in the Tools, Startup dialog.
For some odd reason, VBA debugging is disabled if this is unchecked.
 

Users who are viewing this thread

Back
Top Bottom