Re: Problem with break point

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"Nancy T." <NancyT@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7780DA69-5ED2-4D78-9CDF-49871DFCB93C@xxxxxxxxxxxxx
> I have a form that I have some code under the Form Load procedure.
> When I was testing it, I put a break point there so I could step
> through the code. Once it was working as I wanted I removed the break
> point. However, now whenever I open the form, the VB window pops up
> like the break point is still there. It is really annoying and I
> don't know how to fix this. When I click on the X in the upper right
> corner to close the VB window, I get a message box stating "This
> command will stop the debugger." Any suggestions for me before I go
> insane?

That happens sometimes, especially if you modify code while the code is
running. Simplest, quick fix: open form in design view and open its
module in the VB Editor, modify some line in a trivial manner and then
change it back. Click Debug -> Clear All Breakpoints, then click
Debug -> Compile, then click the Save button, and close the form.

Usually that fixes it.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.



Relevant Pages

  • RUNTIME ERROR
    ... A Runtime Error has occured do you wish to Debug? ... I go ahead and press the OK button to debug, but it does not fix the problem, the same window pops up the next time I conduct a search. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Problem with break point
    ... Howard & Dirk, ... especially if you modify code while the code is ... quick fix: open form in design view and open its ... > Debug -> Compile, then click the Save button, and close the form. ...
    (microsoft.public.access.formscoding)
  • [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.8, v2.6.22.13, v2.6.21.7
    ... here is release -v24 of the CFS scheduler patch. ... As usual, any sort of feedback, bugreport, fix and suggestion is more ... Make scheduler debug file operations const ... clean up schedstat block in dequeue_entity ...
    (Linux-Kernel)
  • Re: Visual C++ Tools Refresh ready today
    ... generated the same errors as found in my debug build. ... Where will the fix be made available so that I won't be ... re-downloading the original Tools Refresh? ...
    (microsoft.public.dotnet.languages.vc)
  • Re: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.8, v2.6.22.13, v2.6.21.7
    ... here is release -v24 of the CFS scheduler patch. ... As usual, any sort of feedback, bugreport, fix and suggestion is more ... Make scheduler debug file operations const ... clean up schedstat block in dequeue_entity ...
    (Linux-Kernel)