Phantom debug break points in MS Access VBA code.

C

Chrisso

Hi All

I debugged a problem on a colleagues PC and used a break point on a
line of VBA code. I fixed the problem, removed the break point and
walked away happily.

Since then this colleague keeps reporting that VBA *stops* at this
"phantom" break point each time the code runs! The VBA editor comes up
with the line highlighted where I *had* the break point but it is no
longer marked - but the code still stops.

As you can imagine this is causing acute confusion and embarassment
for me.

Does anyone have experience of such a problem? How do I make sure that
the break points are cleared completely? I am desperate! :)

Thanks for any ideas,
Chrisso
 
E

eighthman11

Hi All

I debugged a problem on a colleagues PC and used a break point on a
line of VBA code. I fixed the problem, removed the break point and
walked away happily.

Since then this colleague keeps reporting that VBA *stops* at this
"phantom" break point each time the code runs! The VBA editor comes up
with the line highlighted where I *had* the break point but it is no
longer marked - but the code still stops.

As you can imagine this is causing acute confusion and embarassment
for me.

Does anyone have experience of such a problem? How do I make sure that
the break points are cleared completely? I am desperate! :)

Thanks for any ideas,
Chrisso

Hey Chrisso,

I had the same problem and had to decompile the application. I can't
swear this will help you but it sounds like you have the exact same
problem as me. There are several postings already on how to decompile
an application just remember to save the original application
somewhere before doing the decompile.

Ray
 
B

Bob Barnes

Select the breakpoint line...Cut it.

Move the cursor down, or up, a line..and paste.

HTH - Bob
 
C

Chrisso

Select the breakpoint line...Cut it.

Move the cursor down, or up, a line..and paste.

HTH - Bob

Thanks very much Ray & Bob. I tried Bob's suggestion as it seemed
quicker and it worked a treat.

Thanks
Chrisso
 
B

Bob Barnes

Chrisso - Glad to help.

Bob

Chrisso said:
Thanks very much Ray & Bob. I tried Bob's suggestion as it seemed
quicker and it worked a treat.

Thanks
Chrisso
 
T

Tony Toews [MVP]

Chrisso said:
I debugged a problem on a colleagues PC and used a break point on a
line of VBA code. I fixed the problem, removed the break point and
walked away happily.

Since then this colleague keeps reporting that VBA *stops* at this
"phantom" break point each time the code runs! The VBA editor comes up
with the line highlighted where I *had* the break point but it is no
longer marked - but the code still stops.

FWIW that's why I started inserting Stop statements.

Tony
 

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