added more debugging information to try to figure out if the 'window with no button' error is a bug or not

svn: r17898
This commit is contained in:
Robby Findler 2010-01-30 20:53:03 +00:00
parent 30c5d37b81
commit 32faba2964

View File

@ -109,16 +109,16 @@
[action
(with-handlers ((exn:fail? (λ (x)
(fprintf (current-error-port)
"\nExecution fail: Bug? transcript of ~a clicking follows\n"
"\nExecution fail: transcript of ~a clicking follows\n"
(send window get-label))
(apply show-log (cons action actions))
(raise x))))
(action))
(loop (- n 1) (cons action actions))]
[else
(fprintf (current-error-port) "\nExists/Meets window with no button: Bug? -> Reopen Dialog")
(open-dialog)
(loop n actions)]))]))]))))))
(fprintf (current-error-port) "\nExists/Meets window with no button: Bug?\n")
(apply show-log (cons action actions))
(error 'randomly-click.ss "giving up")]))]))]))))))
(define (show-log . actions)
(for ((action (in-list actions)))