Code stops as if at a breakpoint

  • Thread starter Thread starter Michael Beck
  • Start date Start date
M

Michael Beck

I have a large Access 2002 app that constantly is being updated. I often
make changes or additions to the code, test it on my machine and then
distribute it. Very often, the app will stop at a line of the new code as
if it were a breakpoint. We can hit F5 and continue, but the error stays
until I add lines before and after the bad line and then erase then. The
stoppage never happens on my development desktop.

Is there a way to find this problem and prevent it before I distribute the
app. It is getting annoying.

TIA

Michael
 
Access occasionally remembers the Breakpoints for no reason.

Just type some spaces at the end on any line then move to another the line
(so that you can use Compile). Use the Menu Debug / Clear All Break Points
then Compile and save your code.

This should clear the phantom breakpoints for you.
 

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

Back
Top