* @param {Bool} defaultToLimit - if true jump to the end of the trace if no more breakpoint found
*
*/
asyncjumpNextBreakpoint(defaultToLimit){
this.jump(1,defaultToLimit)
}
/**
* start looking for the previous breakpoint
* @param {Bool} defaultToLimit - if true jump to the start of the trace if no more breakpoint found
*
*/
asyncjumpPreviousBreakpoint(defaultToLimit){
this.jump(-1,defaultToLimit)
}
/**
* start looking for the previous or next breakpoint
* @param {Int} direction - 1 or -1 direction of the search
* @param {Bool} defaultToLimit - if true jump to the limit (end if direction is 1, beginning if direction is -1) of the trace if no more breakpoint found
*
*/
asyncjump(direction,defaultToLimit){
if(!this.locationToRowConverter){
console.log('row converter not provided')
return
}
functiondepthChange(step,trace){
returntrace[step].depth!==trace[step-1].depth
}
functionhitLine(currentStep,sourceLocation,self){
// isJumpDestInstruction -> returning from a internal function call
<button id='jumppreviousbreakpoint' title='jump to the previous breakpoint' class='fa fa-step-backward' style=${ui.formatCss(style.button)} onclick=${function(){self.event.trigger('jumpPreviousBreakpoint')}} disabled=${this.jumpPreviousBreakpointDisabled} >
</button>
<button id='jumpnextbreakpoint' title='jump to the next breakpoint' class='fa fa-step-forward' style=${ui.formatCss(style.button)} onclick=${function(){self.event.trigger('jumpNextBreakpoint')}} disabled=${this.jumpNextBreakpointDisabled} >