I don't know the answer, but I'd like to know it too ;) On 08/11, srikar.dronamr...@d23av02.au.ibm.com wrote: > > If we have two utrace engines for a thread with first engine requesting > UTRACE_STOP and second one requesting UTRACE_SINGLESTEP, utrace > correctly gives priority to UTRACE_STOP. > > However when the first engine detaches(or resumes) the singlestep > request from the second engine is not given preference and the traced > thread resumes instead of single stepping. The second engine doesnt > even get a chance to re-assert singlestep.
Not only UTRACE_SINGLESTEP... UTRACE_REPORT can't be lost, we have utrace_report->reports. But what about UTRACE_INTERRUPT ? IOW, should any callback ever return (say) UTRACE_INTERRUPT instead of utrace_control(UTRACE_INTERRUPT) ? Oleg.