Synchronization of Concurrent Threads
Although you can use the Debugger features to help you synchronize concurrent threads (for example, to determine whether frames are receiving the proper user and database events), the only way to ensure synchronization is to use the WaitFor method. For more information about this method, see the Language Reference Guide.
When you stop a thread to debug its code, user and database events "pile up" in the event queue of the thread's current frame, and the thread sends no user or database events of its own. This behavior can distort the usual sequence of events.
Last modified date: 12/20/2023