Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2020
    Posts
    21

    I can't prevent applications stops on the lines that wese sighned with stop marks lately wh debgging

    When using the stop signs for the form debugging in vb mode , I marked several lines with the stop signs to stop running the application and continued running step by step (F8). In general these stop signs were disappeared after finishing the debugging proccess or closing the application. But it does not happen this time ... Now, every time when I run my application, the running process stops on the lines that were marked lately and I can't prevent it.

    Please , help me to cancel these stops !

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716
    By stop sign do you mean Breakpoint? If so you should remove the breakpoints when you have finshed your debug session; otherwise they will remain in the code and be executed/actioned when encountered.

    There is a ClearAllBreakpoints option under Debug in the VBE environment.

  3. #3
    Join Date
    Sep 2020
    Posts
    21
    First of all, thanks a lot for your reply,

    I found this option that you mean within the design view of the form but it does not help.

    I even pressed the SAVE button to reinforce the effect of the action.

    The application stops its running on the the same lines.

  4. #4
    ssanfu is offline Master of Nothing
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Under "Database Tools", try doing a "Compact & Repair".

  5. #5
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,737
    Is this about ghost breaks - code stopping on lines where there was a break but there isn't any longer?
    Inserting a new blank line above the line where it stops is all it takes to enable the compile button. Then compiling should then remove the ghost break. I can't recall if doing so on just one line will fix all or if you need to move every line where it is breaking but shouldn't.

    My guess is that while the code was in break mode you made code changes. That's not recommended.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  6. #6
    Join Date
    Sep 2020
    Posts
    21
    First of all, thanks a lot to everybody whom sent his reply to my request.

    Now, the solution of "Micron" helped me to solve the problem ! Thank you, "Micron" !
    I did not check some other way (as, doing "Compact & Repair"), so I can't comment it (Thank you, "ssanfu").

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Prevent lines with duplicate entries across 3 fields
    By Marlene23 in forum Programming
    Replies: 3
    Last Post: 08-22-2019, 12:09 PM
  2. Bacode Applications.
    By cap.zadi in forum Reports
    Replies: 10
    Last Post: 12-28-2011, 11:34 AM
  3. Applications.CreateControl
    By msr71 in forum Programming
    Replies: 5
    Last Post: 04-24-2011, 09:01 PM
  4. How to use one DB file in many other DB applications ?
    By cement in forum Database Design
    Replies: 4
    Last Post: 01-01-2011, 05:50 AM
  5. Replies: 2
    Last Post: 11-29-2009, 12:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums