
Introduces a new TargetGroup abstraction that can be used to manage multiple related targets. No actual management of child processes is implemented here, this is just a refactoring to make it possible to do that in the future. Updates #2551
10 lines
154 B
Go
10 lines
154 B
Go
package debugger
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func attachErrorMessage(pid int, err error) error {
|
|
return fmt.Errorf("could not attach to pid %d: %s", pid, err)
|
|
}
|