mirror of
https://github.com/go-delve/delve.git
synced 2025-11-03 05:47:34 +08:00
cleanup
This commit is contained in:
@ -44,7 +44,6 @@ func (dbp *DebuggedProcess) PrintGoroutinesInfo() error {
|
|||||||
fmt.Printf("[%d goroutines]\n", allglen)
|
fmt.Printf("[%d goroutines]\n", allglen)
|
||||||
faddr, err := dbp.CurrentThread.readMemory(uintptr(allgentryaddr), 8)
|
faddr, err := dbp.CurrentThread.readMemory(uintptr(allgentryaddr), 8)
|
||||||
allg := binary.LittleEndian.Uint64(faddr)
|
allg := binary.LittleEndian.Uint64(faddr)
|
||||||
fmt.Println("sched", schedoffset)
|
|
||||||
|
|
||||||
for i := uint64(0); i < allglen; i++ {
|
for i := uint64(0); i < allglen; i++ {
|
||||||
err = printGoroutineInfo(dbp, allg+(i*8), goidoffset, schedoffset)
|
err = printGoroutineInfo(dbp, allg+(i*8), goidoffset, schedoffset)
|
||||||
|
|||||||
Reference in New Issue
Block a user