This little script will print out Apple event debugging info.
Such as:
Returns, in part:
event data:
{ 1 } 'aevt': - 0 items {
}
}
------oo end of event oo------
AE2000 (918): Received an event reply:
------oo start of event oo------
{ 1 } 'aevt': aevt/ansr (ppc ){
return id: 60162053 (0x3960005)
transaction id: 0 (0x0)
interaction level: 112 (0x70)
reply required: 0 (0x0)
remote: 0 (0x0)
target:
{ 1 } 'psn ': 8 bytes {
{ 0x0, 0xe0001 } (Finder)
}
optional attributes:
< empty record >
event data:
{ 1 } 'aevt': - 0 items {
}
}
------oo end of event oo------
With the glue script I can do this, to get a similar result: