From e8edb043d7c3ecbb9a6f749cf43e9ac4b804cec2 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 1 May 2015 15:37:17 -0500 Subject: [PATCH] Do not print notifications for new threads This information is hardly going to be useful to a user of Delve and if the user really needs information on new threads they can simply using the provided commands to list and switch between threads. --- proctl/proctl_darwin.go | 1 - proctl/proctl_linux.go | 1 - 2 files changed, 2 deletions(-) diff --git a/proctl/proctl_darwin.go b/proctl/proctl_darwin.go index 38456cac..b0270379 100644 --- a/proctl/proctl_darwin.go +++ b/proctl/proctl_darwin.go @@ -111,7 +111,6 @@ func (dbp *DebuggedProcess) addThread(port int, attach bool) (*ThreadContext, er if thread, ok := dbp.Threads[port]; ok { return thread, nil } - fmt.Println("new thread spawned", port) thread := &ThreadContext{ Id: port, Process: dbp, diff --git a/proctl/proctl_linux.go b/proctl/proctl_linux.go index a88d94a3..0da0c105 100644 --- a/proctl/proctl_linux.go +++ b/proctl/proctl_linux.go @@ -65,7 +65,6 @@ func (dbp *DebuggedProcess) addThread(tid int, attach bool) (*ThreadContext, err if thread, ok := dbp.Threads[tid]; ok { return thread, nil } - fmt.Println("new thread spawned", tid) if attach { err := sys.PtraceAttach(tid)