Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for traceapi (0.09 sec)

  1. src/runtime/traceback.go

    	print("created by ")
    	printFuncName(funcname(f))
    	if goid != 0 {
    		print(" in goroutine ", goid)
    	}
    	print("\n")
    	tracepc := pc // back up to CALL instruction for funcline.
    	if pc > f.entry() {
    		tracepc -= sys.PCQuantum
    	}
    	file, line := funcline(f, tracepc)
    	print("\t", file, ":", line)
    	if pc > f.entry() {
    		print(" +", hex(pc-f.entry()))
    	}
    	print("\n")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top