Skip to content
  • aarzilli's avatar
    proc: prevent internal breakpoint conditions from failing · f90134eb
    aarzilli authored
    An internal breakpoint condition shouldn't ever error:
    * use a ThreadContext to evaluate conditions if a goroutine isn't
      available
    * evaluate runtime.curg to a fake g variable containing only
      `goid == 0` when there is no current goroutine
    
    Fixes #2113
    f90134eb