Unwanted breakpoints

  • Thread starter Thread starter David Rose
  • Start date Start date
D

David Rose

Hi,

I have an application with a switchboard. When I start up the application
and click on a button on the switchboard, the app breaks in a code window.
After hitting F5 to continue in the debugger everything functions normally,
leaving the code window open.

It always breaks on the same line and there is no breakpoint visible on that
line. After startup the behavior does not continue, but occurs on every
startup.

This confuses my client greatly.

Is there some way to get rid of this behavior?

David Rose
 
I have had one instance of a "phantom" breakpoint that I could neither find
nor get rid of. I created a new database and imported all the objects into
it from the existing database, which cleared the problem.

hth,
 
Copy the line that it breaks on.

Then delete the line.

Then paste back the line. It should take care of it.
 
This is a common problem. Using the undocumented (but useful) /decompile
command line switch has always resolved it for me. Open your database with
a shortcut or command line as follows:

"path to msaccess.exe" /decompile "path to your.mdb"
 
Kipp,

That did it! Thanks.

David


Kipp Woodard said:
Copy the line that it breaks on.

Then delete the line.

Then paste back the line. It should take care of it.
 
Paul,

Thanks for the response. I opted for the cut and paste back solution first
and it did work.

Sounds like the /decompile switch is a good thing to know about.

David
 
Well...

Cutting and pasting the line where the break occurs did not do it. It only
worked until I restarted the application. The break just moved to another
location. The /decompile switch did work though.

Thanks.

David
 
Back
Top