Re: [orca-list] debug in eclipse



Hey JosÃ.

So looking at your output, I'm guessing the events are for the same
object. Any idea what is at offset 919 (first event's event.detail1)
versus what is at offset 1006 (second event's event.detail1)?

If you go to the next breakpoint after that, do you get a pair of events
where the first event's offset is 1006?

--joanie

On Mon, 2010-05-17 at 10:57 -0300, Josà Vilmar EstÃcio de Souza wrote:
Hi all.
I am trying to turn debug in eclipse more accessible with orca.

One thing I might note is that if a breakpoint  that is in a different 
method than the current is reached, the line  is read twice.
This seems to happen because two events object:text-caret-moved are created.

---------> QUEUEING EVENT object:text-caret-moved
DEQUEUED EVENT object:text-caret-moved <----------

vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv
OBJECT EVENT: object:text-caret-moved                  detail=(919,0,None)
---------> QUEUEING EVENT object:text-caret-moved
---------> QUEUEING EVENT object:property-change:accessible-value
     app.name='Eclipse' name='None' role='text' state='editable enabled 
focusable focused multi line sensitive showing visible' relations=''
generate braille for app.name='Eclipse' name='None' role='text' 
state='editable enabled focusable focused multi line sensitive showing 
visible' relations='' (args={'formatType': 'focused', 'role': ROLE_TEXT, 
'mode': 'braille', 'recursing': True}) using 
'(includeContext                           and 
(ancestors                                + (rowHeader and [Region(" " + 
asString(rowHeader))])                                + (columnHeader 
and [Region(" " + 
asString(columnHeader))])                                + 
(radioButtonGroup and [Region(" " + 
asString(radioButtonGroup))])                                + [Region(" 
")])                           or []) + [Text(obj, asString(label), 
asString(eol))]                + (required and [Region(" " + 
asString(required))])                + (readOnly and [Region(" " + 
asString(readOnly))]) + (nodeLevel and [Region(" " + asString(nodeLevel))])'
---------> QUEUEING EVENT object:property-change:accessible-value
---------> QUEUEING EVENT object:text-caret-moved
---------> QUEUEING EVENT object:text-caret-moved
includeContext=False
label=[]
eol=[' $l']
required=[]
isReadOnlyTextArea=False for app.name='Eclipse' name='None' role='text' 
state='editable enabled focusable focused multi line sensitive showing 
visible' relations=''
readOnly=[]
nodeLevel=[]
generate braille results:
   Text: '        System.out.println("Restart"); $l', 0
BRAILLE LINE:  '        System.out.println("Restart"); $l'
      VISIBLE:  '        System.out.println("Restart");', cursor=1
KEYEVENT: type=1
           id=65474
           hw_code=71
           modifiers=0
           event_string=(F5)
           is_text=True
           timestamp=1808076
           time=1274100533.845009
KEYBOARDEVENT: type=1
                 id=65474
                 hw_code=71
                 modifiers=0
                 event_string=(F5)
                 keyval_name=(F5)
                 is_text=True
                 timestamp=1808076
                 time=1274100533.845124
orca.isModifierKey: returning: False
orca.isModifierKey: returning: False
sayLine: line=<        System.out.println("Restart");>, len=32, start=1006,
caret=1006, speakBlankLines=True
SPEECH OUTPUT: '2 tabs '
SPEECH OUTPUT: '        System.out.println("Restart");'
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^

DEQUEUED EVENT object:text-caret-moved <----------

vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv
OBJECT EVENT: object:text-caret-moved                  detail=(1006,0,None)
     app.name='Eclipse' name='None' role='text' state='editable enabled 
focusable focused multi line sensitive showing visible' relations=''
BRAILLE LINE:  '        System.out.println("Restart"); $l'
      VISIBLE:  '        System.out.println("Restart");', cursor=1
sayLine: line=<        System.out.println("Restart");>, len=32, start=1006,
caret=1006, speakBlankLines=True
SPEECH OUTPUT: '2 tabs '
SPEECH OUTPUT: '        System.out.println("Restart");'
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^

DEQUEUED EVENT object:property-change:accessible-value <----------

vvvvv PROCESS OBJECT EVENT object:property-change:accessible-value vvvvv
OBJECT EVENT: object:property-change:accessible-value  detail=(0,0,None)
     app.name='gnome-terminal' name='None' role='scroll bar' 
state='enabled sensitive vertical visible' relations=''
^^^^^ PROCESS OBJECT EVENT object:property-change:accessible-value ^^^^^

DEQUEUED EVENT object:property-change:accessible-value <----------

vvvvv PROCESS OBJECT EVENT object:property-change:accessible-value vvvvv
OBJECT EVENT: object:property-change:accessible-value  detail=(0,0,None)
     app.name='gnome-terminal' name='None' role='scroll bar' 
state='enabled sensitive vertical visible' relations=''
^^^^^ PROCESS OBJECT EVENT object:property-change:accessible-value ^^^^^

DEQUEUED EVENT object:text-caret-moved <----------

vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv
OBJECT EVENT: object:text-caret-moved                  detail=(713,0,None)
     app.name='gnome-terminal' name='Terminal' role='terminal' 
state='enabled focusable sensitive' relations=''
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^

DEQUEUED EVENT object:text-caret-moved <----------

vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv
OBJECT EVENT: object:text-caret-moved                  detail=(712,0,None)
     app.name='gnome-terminal' name='Terminal' role='terminal' 
state='enabled focusable sensitive' relations=''
^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^

Thanks!
_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]