PC Review


Reply
Thread Tools Rate Thread

break occurs no breakpoint set

 
 
=?Utf-8?B?ZXJlZGxlYWY=?=
Guest
Posts: n/a
 
      22nd Feb 2005
I have a form that pops up, when you press the close button it runs some code
that does some general cleanup. The code is working fine, but even though
there is no breakpoint sent in the debugger, when I click this button the
debugger pops up and appears with the yellow arrow pointing to the first line
of this exit handling routine.

It does not show a break point on this line, but the Microssoft Visual Basic
title bare indicates [break]

If I continue it runs fine. If I cause this form to pop up again it exits
without breaking. Also if I reload the database using the file menu and go
to this form I can exit without the debugger poping up, but if I exit access
and go then load this database, then exiting from this popup will once again
cause the debugger to appear in break mode as if a breakpoint had been hit.

What is causing this problem and how do I stop it from happening.
 
Reply With Quote
 
 
 
 
Dirk Goldgar
Guest
Posts: n/a
 
      22nd Feb 2005
"eredleaf" <(E-Mail Removed)> wrote in message
news:120D294A-D062-4C53-AC97-(E-Mail Removed)
> I have a form that pops up, when you press the close button it runs
> some code that does some general cleanup. The code is working fine,
> but even though there is no breakpoint sent in the debugger, when I
> click this button the debugger pops up and appears with the yellow
> arrow pointing to the first line of this exit handling routine.
>
> It does not show a break point on this line, but the Microssoft
> Visual Basic title bare indicates [break]
>
> If I continue it runs fine. If I cause this form to pop up again it
> exits without breaking. Also if I reload the database using the file
> menu and go to this form I can exit without the debugger poping up,
> but if I exit access and go then load this database, then exiting
> from this popup will once again cause the debugger to appear in break
> mode as if a breakpoint had been hit.
>
> What is causing this problem and how do I stop it from happening.


Sometimes "ghost" breakpoints are left behind in code as a result of the
development process, especially if you edit code while the form is
running. Try opening the form in design view, opening the form's code
module, make a minor change to any line of code (such as changing a
letter and then changing it back), and then click Debug -> Compile.
Save and close the form. Now try it out and see if that has fixed it.

If it hasn't, you might try adapting these instructions, posted by "'69
Camaro", aka Gunny, on 13 January 2005:

--------- begin quoted post ---------
To fix it, open the database, then open the form in Form View. Press
<ALT><F11> to open the VB Editor. Click the "Reset" button on the
toolbar
three times. (Answer to question I know you are going to ask: Because
sometimes twice just isn't enough.) Select the Debug menu -> Compile
<DatabaseName>, just in case the code wasn't already compiled.

Press <ALT><Q> to return to Access. Select the Tools menu -> Database
Utilities -> Compact and Repair Database to compact the database. When
finished, close the database. Open the database again and open the form
in
Form View, then enter text into the field that has recently been causing
the
problem. The problem should be gone because you've removed the ghost
breakpoint.
--------- end quoted post ---------


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

(please reply to the newsgroup)


 
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
Access xp - Why does debugger break in when I have no breakpoint . =?Utf-8?B?REogQmVja2Vy?= Microsoft Access VBA Modules 10 28th Feb 2008 05:49 PM
Problem with the breakpoint hitting(at runtime breakpoint was disa Ranjit Microsoft Dot NET Compact Framework 0 23rd Feb 2008 06:56 AM
project stops at imaginary breakpoint, but no breakpoint exists Mark Microsoft ASP .NET 4 26th Apr 2004 05:23 AM
Access 2K does not break at breakpoint =?Utf-8?B?VGVycnk=?= Microsoft Access 2 9th Mar 2004 08:51 PM
Why my form runs in break-mode without Toggle Breakpoint? kim Nguye Microsoft Access Form Coding 1 26th Sep 2003 09:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:53 AM.