waaay too much work for such a small task. All the OP needs is ode instrumentation ... Tom and Mogens and a whole bunch of others have been preaching this for a long time. You do it once. Once ... that's the key word.
IMHO the only way to get uncommitted data of another session is to dump the information from either the buffer cache or the datafile.