Debugger not breaking

G

Guest

Hi there,
I have an mdb file that will not stop on any breakpoint that I place in the
code. I have other mdb files on my system that still break just fine.
I've compiled, and decompiled (with "C:\Program Files\Microsoft
Office\OFFICE11\msaccess.exe" /decompile "c:\POApps\POD Develop\POD.mdb") I
got this from Allen Browne's response to a question in this forum.

What would cause this? Any help would be appreciated.
Thanks!
Marty
 
A

Allen Browne

The decompile will help solve this issue. It won't cause it.

If you open a code window and choose Options from the Tools menu, what
setting you have for:
Error Trapping

Presumably you have disabled your error handler, so it's not just bypassing
your code with an error.

Can you verify that the code is running (by adding some Debug.Print
statements)?

If this is happening with the module of a particular form, you could copy
all the text out of the module, and save it in a text file. Then set the
form's HasModule property to No. Save the form with no module. Compact the
database. Then open the form's empty module, and paste the text back in from
your text file.

If it is happening in a standard module, copy the code out to a text file,
delete the module, compact the database, and create the module again.
 
G

George Nicholson

Also: Breakpoints may be ignored because Tools>Startup> "Use Special Keys"
has been checked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top