Results 1 to 3 of 3
  1. #1
    twgonder is offline Expert
    Windows 10 Access 2021
    Join Date
    Jun 2022
    Location
    Colombia
    Posts
    652

    Debugger F8 acting like F5 and trapping variable changes

    I've spent the day going line-by-line through code today. Using a lot of F8 and F5.


    Then all of the sudden, if I'm using F8, when it hits the end of the sub, the debugger doesn't stop on the first line of the next procedure,
    it just runs like there was an F5 (to a next break-point if there is one).
    Years ago, I read something about Procedure Stepping, but I never figured it out,
    and I don't see it in the Access 2021 VBA editor, as the old documentation describes.
    I've restarted Access a few times and the situation continues. Even rebooted Windows.

    Is there some key or toggle I may have pressed to get this behavior?
    I've looked all over the VBA menus and buttons.
    I am using MZ-Tool too, maybe something there?

    Also, I remember reading about a way to stop execution when a variable is not = to something,
    but it's not in my old Access manual either, can't remember what it may be called or how to get to it.

    Thanks
    Last edited by twgonder; 01-25-2023 at 03:36 AM.

  2. #2
    orange's Avatar
    orange is online now Moderator
    Windows 10 Office 365
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,716

  3. #3
    twgonder is offline Expert
    Windows 10 Access 2021
    Join Date
    Jun 2022
    Location
    Colombia
    Posts
    652
    Quote Originally Posted by orange View Post
    Debug.Assert.

    You may have asked similar question here.
    I think the first is completely different., But I was looking for the second question. You've got a good memory!

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

Similar Threads

  1. Error trapping ms access
    By niktsol1978 in forum Access
    Replies: 12
    Last Post: 11-23-2019, 01:56 AM
  2. Trapping a GoToRecord event.
    By casinc815 in forum Forms
    Replies: 10
    Last Post: 04-10-2014, 01:04 PM
  3. Debugger and Timer
    By DepricatedZero in forum Programming
    Replies: 2
    Last Post: 05-29-2013, 01:15 PM
  4. Debugger Not Working
    By dccjr in forum Access
    Replies: 2
    Last Post: 02-20-2013, 07:10 PM
  5. Proper Error Trapping
    By SemiAuto40 in forum Programming
    Replies: 6
    Last Post: 08-11-2011, 10:22 AM

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