[orca] Add debugging details for skipped events
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add debugging details for skipped events
- Date: Wed, 27 May 2015 18:22:16 +0000 (UTC)
commit c225663a84e0fddea12b19158a6a67da4fa262f6
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed May 27 14:21:57 2015 -0400
Add debugging details for skipped events
src/orca/script.py | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/script.py b/src/orca/script.py
index 6cc15d0..f0a4fea 100644
--- a/src/orca/script.py
+++ b/src/orca/script.py
@@ -413,9 +413,11 @@ class Script:
if skip:
debug.println(debug.LEVEL_FINE,
- "script.skipObjectEvent: skipped due to %s" \
+ "script.skipObjectEvent: skipped due to %s:" \
% reason)
-
+ debug.println(debug.LEVEL_FINE,
+ "\tType: %s\n\tSource: %s\n\tDetail1: %s"
+ % (cachedEvent.type, cachedEvent.source, cachedEvent.detail1))
return skip
def checkKeyboardEventData(self, keyboardEvent):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]