PDA

View Full Version : Solved: Exiting Debugger when there's a constant stream of pop-ups



Marcke
12-01-2008, 10:04 AM
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.

Bob Phillips
12-01-2008, 10:12 AM
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.

Marcke
12-01-2008, 10:21 AM
Ok, it worked. Thanks!

Paul_Hossler
12-02-2008, 01:23 PM
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