Re: Breakpoints cleared but execution stops

From: Ken Snell (kthissnellis9_at_notcomcast.realnet)
Date: 04/30/04


Date: Fri, 30 Apr 2004 07:59:53 -0400

I've noted this problem off and on. What I do to clear it in a module is
this:
    -- Copy the line of code on which the phantom breakpoint "exists", and
write it into NotePad for retrieval. If the line is crucial to proper VBA
syntax (e.g., "If ... Then") and its absence would cause compiler error,
then copy enough lines to allow the deletion of those lines and still be
able to compile.
    -- Delete the line(s) of code.
    -- Compile the database.
    -- Copy the deleted lines of code back into the module at the proper
location.
    -- Compile the database.

-- 
        Ken Snell
<MS ACCESS MVP>
"Eje" <anonymous@discussions.microsoft.com> wrote in message
news:689a01c42e99$855b1770$a001280a@phx.gbl...
> I am responsible for a multiuser application in which we
> add new funcionality a few times per year. I clear all
> breakpoints before I compile, save and distribute the new
> version. Now and then a breakpoint doesn't clear in the
> new version. The execution stops without any error and
> you have to press F5 to continue execution. I can't get
> rid of this unwanted break. (Stop point is always one
> where I have used breakpoint during the last
> development.) The problem seems to "self-heal" after some
> time. I have had this problem for a long time. Changing
> computer for development or reinstalling Office doesn't
> help. I have Office 2000 and use computers with as well
> Windows 2000 as XP. Does anyone recognize this problem
> and have a solution?
>
> Eje


Relevant Pages

  • Re: Breakpoints cleared but execution stops
    ... Eje ... >> breakpoints before I compile, ... Now and then a breakpoint doesn't clear in the ... >> computer for development or reinstalling Office doesn't ...
    (microsoft.public.access.modulesdaovba)
  • Breakpoints cleared but execution stops
    ... breakpoints before I compile, ... Now and then a breakpoint doesn't clear in the ... The execution stops without any error and ... computer for development or reinstalling Office doesn't ...
    (microsoft.public.access.modulesdaovba)
  • Re: Saving breakpoints
    ... I once considered to add a breakpoint ... Scheme 1: ... Const DebugNewCustomer As Boolean = True ... ' A compile time constant which is also set during testing ...
    (microsoft.public.vb.general.discussion)
  • Re: trouble converting CFileDialog to CFile to get size
    ... Place a breakpoint at the beginning of your method (navigate to the line ... > CString CFileDialog::GetFolderPathconst ... > I was aware how to use GetFileSize() but it seems my test program isn't! ... If there are errors, it doesn't compile, period! ...
    (microsoft.public.vc.language)
  • Re: Break point persists after all breakpoints have been cleared
    ... VBA sometimes "remembers" a breakpoint even after being cleared. ... Compile the database again. ... the same line BUT only the first time Access encounters the line of code. ...
    (microsoft.public.access.modulesdaovba)