Skip to content

Instantly share code, notes, and snippets.

@nd
Last active December 1, 2020 16:12
Show Gist options
  • Save nd/ce53f5972a6ee847992bfe6429a50f46 to your computer and use it in GitHub Desktop.
Save nd/ce53f5972a6ee847992bfe6429a50f46 to your computer and use it in GitHub Desktop.
API server listening at: [::]:6818
2020-11-30T20:17:38+08:00 debug layer=rpc API server pid = 19292
2020-11-30T20:17:38+08:00 debug layer=rpc (async 1) <- RPCServer.State(rpc2.StateIn{"NonBlocking":true})
2020-11-30T20:17:38+08:00 debug layer=rpc (async 1) -> rpc2.StateOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":7164,"pc":140719548794289,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":7164,"pc":140719548794289,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:38+08:00 debug layer=rpc <- RPCServer.GetVersion(api.GetVersionIn{})
2020-11-30T20:17:38+08:00 debug layer=rpc -> *api.GetVersionOut{"DelveVersion":"Version: 1.5.0\nBuild: 775c923ec41e92db72122482d69343ef712546c7","APIVersion":2,"Backend":"native","TargetGoVersion":"Go cmd/compile go1.15","MinSupportedVersionOfGo":"1.13.0","MaxSupportedVersionOfGo":"1.15.0"} error: ""
2020-11-30T20:17:38+08:00 debug layer=rpc <- RPCServer.Recorded(rpc2.RecordedIn{})
2020-11-30T20:17:38+08:00 debug layer=rpc -> *rpc2.RecordedOut{"Recorded":false,"TraceDirectory":""} error: ""
2020-11-30T20:17:38+08:00 debug layer=rpc <- RPCServer.FindLocation(rpc2.FindLocationIn{"Scope":{"GoroutineID":-1,"Frame":0,"DeferredCall":0},"Loc":"main.main","IncludeNonExecutableLines":false})
2020-11-30T20:17:38+08:00 debug layer=rpc -> *rpc2.FindLocationOut{"Locations":[{"pc":946559,"file":"D:/project-go/testTime/src/main.go","line":31,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false},"pcs":[946559]}]} error: ""
2020-11-30T20:17:38+08:00 debug layer=rpc (async 5) <- RPCServer.State(rpc2.StateIn{"NonBlocking":true})
2020-11-30T20:17:38+08:00 debug layer=rpc (async 5) -> rpc2.StateOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":7164,"pc":140719548794289,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":7164,"pc":140719548794289,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:38+08:00 debug layer=rpc (async 6) <- RPCServer.Command(api.DebuggerCommand{"name":"continue","ReturnInfoLoadConfig":null})
2020-11-30T20:17:41+08:00 debug layer=rpc (async 7) <- RPCServer.Command(api.DebuggerCommand{"name":"halt","ReturnInfoLoadConfig":null})
2020-11-30T20:17:41+08:00 debug layer=rpc (async 6) -> rpc2.CommandOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":15668,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":15668,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7164,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":3716,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":14736,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":20408,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16080,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":17968,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7004,"pc":140719548590996,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:41+08:00 debug layer=rpc (async 7) -> rpc2.CommandOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":15668,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":7164,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":3716,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":14736,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":20408,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16080,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":17968,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7004,"pc":140719548590996,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":15668,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:41+08:00 debug layer=rpc <- RPCServer.CreateBreakpoint(rpc2.CreateBreakpointIn{"Breakpoint":{"id":0,"name":"","addr":0,"addrs":null,"file":"D:/project-go/testTime/src/main.go","line":37,"Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":null,"totalHitCount":0}})
2020-11-30T20:17:41+08:00 debug layer=rpc -> *rpc2.CreateBreakpointOut{"Breakpoint":{"id":1,"name":"","addr":946760,"addrs":[946760],"file":"D:/project-go/testTime/src/main.go","line":37,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{},"totalHitCount":0}} error: ""
2020-11-30T20:17:41+08:00 debug layer=rpc (async 9) <- RPCServer.Command(api.DebuggerCommand{"name":"continue","ReturnInfoLoadConfig":null})
2020-11-30T20:17:41+08:00 debug layer=rpc (async 9) -> rpc2.CommandOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":7004,"pc":946760,"file":"D:/project-go/testTime/src/main.go","line":37,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false},"goroutineID":1,"breakPoint":{"id":1,"name":"","addr":946760,"addrs":[946760],"file":"D:/project-go/testTime/src/main.go","line":37,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1},"breakPointInfo":{},"ReturnValues":null},"currentGoroutine":{"id":1,"currentLoc":{"pc":946760,"file":"D:/project-go/testTime/src/main.go","line":37,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false}},"userCurrentLoc":{"pc":946760,"file":"D:/project-go/testTime/src/main.go","line":37,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false}},"goStatementLoc":{"pc":569516,"file":"D:/application/go 1.15/src/runtime/asm_amd64.s","line":220,"function":{"name":"runtime.rt0_go","value":569184,"type":0,"goType":0,"optimized":true}},"startLoc":{"pc":385312,"file":"D:/application/go 1.15/src/runtime/proc.go","line":114,"function":{"name":"runtime.main","value":385312,"type":0,"goType":0,"optimized":true}},"threadID":7004,"unreadable":""},"Threads":[{"id":7164,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":3716,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":14736,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":20408,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16080,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":17968,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7004,"pc":946760,"file":"D:/project-go/testTime/src/main.go","line":37,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false},"goroutineID":1,"breakPoint":{"id":1,"name":"","addr":946760,"addrs":[946760],"file":"D:/project-go/testTime/src/main.go","line":37,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1},"breakPointInfo":{},"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:41+08:00 debug layer=rpc <- RPCServer.Stacktrace(rpc2.StacktraceIn{"Id":1,"Depth":50,"Full":false,"Defers":false,"Opts":0,"Cfg":null})
2020-11-30T20:17:41+08:00 debug layer=rpc -> *rpc2.StacktraceOut{"Locations":[{"pc":946760,"file":"D:/project-go/testTime/src/main.go","line":37,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false},"Locals":null,"Arguments":null,"FrameOffset":-120,"FramePointerOffset":-136,"Defers":[],"Err":""},{"pc":385769,"file":"D:/application/go 1.15/src/runtime/proc.go","line":204,"function":{"name":"runtime.main","value":385312,"type":0,"goType":0,"optimized":true},"Locals":null,"Arguments":null,"FrameOffset":-32,"FramePointerOffset":-48,"Defers":[],"Err":""},{"pc":577441,"file":"D:/application/go 1.15/src/runtime/asm_amd64.s","line":1374,"function":{"name":"runtime.goexit","value":577440,"type":0,"goType":0,"optimized":true},"Locals":null,"Arguments":null,"FrameOffset":-24,"FramePointerOffset":-824634843136,"Defers":[],"Bottom":true,"Err":""}]} error: ""
2020-11-30T20:17:41+08:00 debug layer=rpc <- RPCServer.ListLocalVars(rpc2.ListLocalVarsIn{"Scope":{"GoroutineID":1,"Frame":0,"DeferredCall":0},"Cfg":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":100,"MaxArrayValues":100,"MaxStructFields":-1}})
2020-11-30T20:17:41+08:00 debug layer=rpc -> *rpc2.ListLocalVarsOut{"Variables":[{"name":"i","addr":824634842896,"onlyAddr":false,"type":"int","realType":"int","flags":0,"kind":2,"value":"2231","len":0,"cap":0,"children":[],"base":0,"unreadable":"","LocationExpr":"[block] DW_OP_fbreg -0x78 ","DeclLine":33}]} error: ""
2020-11-30T20:17:41+08:00 debug layer=rpc <- RPCServer.ListFunctionArgs(rpc2.ListFunctionArgsIn{"Scope":{"GoroutineID":1,"Frame":0,"DeferredCall":0},"Cfg":{"FollowPointers":true,"MaxVariableRecurse":1,"MaxStringLen":100,"MaxArrayValues":100,"MaxStructFields":-1}})
2020-11-30T20:17:41+08:00 debug layer=rpc -> *rpc2.ListFunctionArgsOut{"Args":[]} error: ""
2020-11-30T20:17:42+08:00 debug layer=rpc <- RPCServer.ClearBreakpoint(rpc2.ClearBreakpointIn{"Id":1,"Name":""})
2020-11-30T20:17:42+08:00 debug layer=rpc -> *rpc2.ClearBreakpointOut{"Breakpoint":{"id":1,"name":"","addr":946760,"addrs":[946760],"file":"D:/project-go/testTime/src/main.go","line":37,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1}} error: ""
2020-11-30T20:17:43+08:00 debug layer=rpc (async 14) <- RPCServer.Command(api.DebuggerCommand{"name":"continue","ReturnInfoLoadConfig":null})
2020-11-30T20:17:44+08:00 debug layer=rpc (async 15) <- RPCServer.Command(api.DebuggerCommand{"name":"halt","ReturnInfoLoadConfig":null})
2020-11-30T20:17:44+08:00 debug layer=rpc (async 14) -> rpc2.CommandOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":16132,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":7004,"pc":140719548590996,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16132,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7164,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":3716,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":14736,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":20408,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16080,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":17968,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:44+08:00 debug layer=rpc (async 15) -> rpc2.CommandOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":16132,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":3716,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":14736,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":20408,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16080,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":17968,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7004,"pc":140719548590996,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16132,"pc":140719548594321,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7164,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:17:44+08:00 debug layer=rpc <- RPCServer.CreateBreakpoint(rpc2.CreateBreakpointIn{"Breakpoint":{"id":0,"name":"","addr":0,"addrs":null,"file":"D:/project-go/testTime/src/main.go","line":36,"Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":null,"totalHitCount":0}})
2020-11-30T20:17:44+08:00 debug layer=rpc -> *rpc2.CreateBreakpointOut{"Breakpoint":{"id":2,"name":"","addr":946609,"addrs":[946609],"file":"D:/project-go/testTime/src/main.go","line":36,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{},"totalHitCount":0}} error: ""
2020-11-30T20:17:44+08:00 debug layer=rpc (async 17) <- RPCServer.Command(api.DebuggerCommand{"name":"continue","ReturnInfoLoadConfig":null})
2020-11-30T20:17:44+08:00 debug layer=rpc (async 17) -> <nil>null error: "Access is denied."
2020-11-30T20:18:49+08:00 debug layer=rpc (async 18) <- RPCServer.Command(api.DebuggerCommand{"name":"halt","ReturnInfoLoadConfig":null})
2020-11-30T20:18:49+08:00 debug layer=rpc (async 18) -> rpc2.CommandOut{"State":{"Running":false,"Recording":false,"currentThread":{"id":16132,"pc":140719548581892,"file":"","line":0,"goroutineID":0,"ReturnValues":null},"Threads":[{"id":3716,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":14736,"pc":140719548594164,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":20408,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16080,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":17968,"pc":946609,"file":"D:/project-go/testTime/src/main.go","line":36,"function":{"name":"main.main","value":946528,"type":0,"goType":0,"optimized":false},"goroutineID":1,"breakPoint":{"id":2,"name":"","addr":946609,"addrs":[946609],"file":"D:/project-go/testTime/src/main.go","line":36,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1},"ReturnValues":null},{"id":7004,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":16132,"pc":140719548581892,"file":"","line":0,"goroutineID":0,"ReturnValues":null},{"id":7164,"pc":140719548579364,"file":"","line":0,"goroutineID":0,"ReturnValues":null}],"NextInProgress":false,"exited":false,"exitStatus":0,"When":""}} error: ""
2020-11-30T20:18:49+08:00 debug layer=rpc <- RPCServer.ClearBreakpoint(rpc2.ClearBreakpointIn{"Id":2,"Name":""})
2020-11-30T20:18:49+08:00 debug layer=rpc -> *rpc2.ClearBreakpointOut{"Breakpoint":{"id":2,"name":"","addr":946609,"addrs":[946609],"file":"D:/project-go/testTime/src/main.go","line":36,"functionName":"main.main","Cond":"","continue":false,"traceReturn":false,"goroutine":false,"stacktrace":0,"LoadArgs":null,"LoadLocals":null,"hitCount":{"1":1},"totalHitCount":1}} error: ""
2020-11-30T20:18:49+08:00 debug layer=rpc (async 20) <- RPCServer.Command(api.DebuggerCommand{"name":"continue","ReturnInfoLoadConfig":null})
2020-11-30T20:18:50+08:00 debug layer=rpc (async 21) <- RPCServer.Command(api.DebuggerCommand{"name":"halt","ReturnInfoLoadConfig":null})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment