PC Review


Reply
Thread Tools Rate Thread

Breakpoint doesn't clear

 
 
Günter Brandstätter
Guest
Posts: n/a
 
      24th Jan 2006
Hi all,

I distributed an Access-frontend to several computers and it works fine.
Only one computer stops the application at a breakpoint that I have been set
once to debug. I cleared the breakpoint before distributing the app. The one
machine still stops there, but the breakpoint is'nt visible (red). When
stopped, F5 runs the app normally. Even compact and repair did not work.
Any suggestions to this??

--
Günter Brandstätter, MCP


 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      24th Jan 2006
Decompile a copy of the database by entering something like this at the
command prompt while Access is not running. It is all one line, and include
the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

Access keeps 2 copies of the code you an mdb:
- the text version (what you see and edit), and
- the compiles version (what actually executes).
If these 2 copies are out of sync, you see strange errors, including the
failed breakpoints. A decompile tells Access to discard the compiled
version. It then creates the compiled version again from the text, and so
they corruption is gone.

You can avoid this by creating an MDE to give to your users as the front
end. The MDE does not have the text version of the front end and cannot
decompile, so you circumvent that whole issue, avoid that kind of
corruption, and keep nosy users from modifying your forms, reports, and
modules.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"G|nter Brandstdtter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> I distributed an Access-frontend to several computers and it works fine.
> Only one computer stops the application at a breakpoint that I have been
> set once to debug. I cleared the breakpoint before distributing the app.
> The one machine still stops there, but the breakpoint is'nt visible (red).
> When stopped, F5 runs the app normally. Even compact and repair did not
> work.
> Any suggestions to this??



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
float.Parse works with a breakpoint, doesn't without. =?Utf-8?B?YzB1Y2g=?= Microsoft C# .NET 3 18th Oct 2005 09:21 PM
HELP!! Toggle breakpoint doesn't work Chedva Microsoft Access VBA Modules 6 8th Apr 2004 07:36 PM
HELP!! Toggle breakpoint doesn't work Chedva Microsoft Access Form Coding 3 29th Jan 2004 04:56 PM
Breakpoint doesn't work anywere in the application Chedva Microsoft Access Form Coding 3 29th Jan 2004 06:23 AM
Breakpoint doesn't work anywere in the application Chedva Microsoft Access 1 29th Jan 2004 06:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:11 PM.