[orca] Add debugging output
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add debugging output
- Date: Tue, 22 Sep 2015 17:13:35 +0000 (UTC)
commit b5ad0ed8327dac32abe4509f61b5a66c91e74b1a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Sep 22 13:12:11 2015 -0400
Add debugging output
src/orca/scripts/web/script_utilities.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index eed1b83..529bb15 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -2248,9 +2248,14 @@ class Utilities(script_utilities.Utilities):
try:
extents = obj.queryComponent().getExtents(0)
except:
+ msg = "WEB: Exception getting extents for %s" % obj
+ debug.println(debug.LEVEL_INFO, msg)
rv = True
else:
rv = not (extents.width and extents.height)
+ if rv:
+ msg = "WEB: %s has no size %s" % (obj, extents)
+ debug.println(debug.LEVEL_INFO, msg)
self._hasNoSize[hash(obj)] = rv
return rv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]