When is a breakpoint not a breakpoint

R

Rob Wills

Hello,

I've had a number of instances now of "ghost" breakpoints. This has
generally happened under the following context

1, I'll be debugging some code and will place a breakpoint in the code at a
suitable point.

2, The breakpoint works successfully and I step through the code and make
any changes as required (usually at the users desk).

3. A User will run the code after I've finished making any changes and the
code will stop mid stream - with no breakpoint shown - at the point where my
breakpoint was previously.

Is this a known bug? Do I need to change my methods??

Thanks in Advance
Rob
 
S

Sergey Poberezovskiy

Oine way I found to remove those "ghosts" is to declare a public variable in
a module and re-compile the project - that rebuilds function table and
removes all these "ghosts". You can then remove that variable.
This also helps (not every time though) when your Access application
suddenly "gets corrupted" and needs to shut down.

HTH
 
E

Ed Adamthwaite

It sounds as though you have several users opening the same Access file.
Never do that. Split the database into front-end and backend tables. Have a
separate front end file for each user.
You will then be able to design code on your own front end with no hiccups.
When your design is OK just convert it to an mde file and distribute it to
the users.
HTH,
Ed.
 
R

Rob Wills

Thanks Dave / Sergey...

Much appreciated!!!

Dave Patrick said:
Yes, it is a known issue. I always try to be careful and unset any that I
set before saving the module.

http://groups.google.com/groups?as_...xm=12&as_maxy=2005&num=100&as_scoring=d&hl=en

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Rob Wills said:
Hello,

I've had a number of instances now of "ghost" breakpoints. This has
generally happened under the following context

1, I'll be debugging some code and will place a breakpoint in the code at
a
suitable point.

2, The breakpoint works successfully and I step through the code and make
any changes as required (usually at the users desk).

3. A User will run the code after I've finished making any changes and the
code will stop mid stream - with no breakpoint shown - at the point where
my
breakpoint was previously.

Is this a known bug? Do I need to change my methods??

Thanks in Advance
Rob
 

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