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:
parent
30c5d37b81
commit
32faba2964
|
@ -109,16 +109,16 @@
|
||||||
[action
|
[action
|
||||||
(with-handlers ((exn:fail? (λ (x)
|
(with-handlers ((exn:fail? (λ (x)
|
||||||
(fprintf (current-error-port)
|
(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))
|
(send window get-label))
|
||||||
(apply show-log (cons action actions))
|
(apply show-log (cons action actions))
|
||||||
(raise x))))
|
(raise x))))
|
||||||
(action))
|
(action))
|
||||||
(loop (- n 1) (cons action actions))]
|
(loop (- n 1) (cons action actions))]
|
||||||
[else
|
[else
|
||||||
(fprintf (current-error-port) "\nExists/Meets window with no button: Bug? -> Reopen Dialog")
|
(fprintf (current-error-port) "\nExists/Meets window with no button: Bug?\n")
|
||||||
(open-dialog)
|
(apply show-log (cons action actions))
|
||||||
(loop n actions)]))]))]))))))
|
(error 'randomly-click.ss "giving up")]))]))]))))))
|
||||||
|
|
||||||
(define (show-log . actions)
|
(define (show-log . actions)
|
||||||
(for ((action (in-list actions)))
|
(for ((action (in-list actions)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user