• A
    proc: Next implemented as conditional breakpoints + Continue · 54411356
    aarzilli 提交于
    Next sets its temporary breakpoints with the condition that they
    must only activate on the current goroutine, and then calls Continue
    When Continue encounters a temporary breakpoint it clears all
    the breakpoint.
    
    User visible changes: breakpoints that get hit while executing Next
    are not ignored.
    
    This commit does not implement full conditional breakpoints
    functionality, the only condition that can be set is on the
    goroutine id.
    
    Fixes race conditions in Next affecting TestNextConcurrent.
    54411356
debugger.go 12.4 KB