Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TracebackInnerFrames (0.18 sec)

  1. src/runtime/proc.go

    	n := int32(len(callerAncestors)) + 1
    	if n > debug.tracebackancestors {
    		n = debug.tracebackancestors
    	}
    	ancestors := make([]ancestorInfo, n)
    	copy(ancestors[1:], callerAncestors)
    
    	var pcs [tracebackInnerFrames]uintptr
    	npcs := gcallers(callergp, 0, pcs[:])
    	ipcs := make([]uintptr, npcs)
    	copy(ipcs, pcs[:])
    	ancestors[0] = ancestorInfo{
    		pcs:  ipcs,
    		goid: callergp.goid,
    		gopc: callergp.gopc,
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top