Consulting

Results 1 to 4 of 4

Thread: Exiting Debugger when there's a constant stream of pop-ups

  1. #1
    VBAX Regular
    Joined
    Nov 2008
    Posts
    41
    Location

    Exiting Debugger when there's a constant stream of pop-ups

    Hi,

    I'm in an loop of a few thousand times a messagebox.

    I want to exit debugging however, but cannot press the stop button since by the time i can click my mouse a new popup is there.

    Can I do anything else?

    Thanks for the help,

    Wannes

    I'm on a thin client so cannot use CTrl-Alt-Delete. And I'm not sure whether I saved, plus unsaved stuff gets lost on this thin client.

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    You just have to keep smashing the Esc key hard and frequently whilst hitting enter with the other until you get an interrupt. Works for me.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Nov 2008
    Posts
    41
    Location
    Ok, it worked. Thanks!

  4. #4
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,730
    Location
    FWIW, I can use the Cntl-Break to get to a End/Debug/Continue even when the MsgBox is up, or when Debug is printing

    Sub aaa()
    Label_1:
    Debug.Print "Looping"
    GoTo Label_1
    Stop
    End Sub
     
    Sub bbb()
    Label_1:
    MsgBox "Looping"
    GoTo Label_1
    Stop
    End Sub
    Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •