mirror of
https://github.com/beego/bee.git
synced 2025-06-20 08:20:39 +00:00
Update vendor folder (Delve support)
This commit is contained in:
15
vendor/github.com/derekparker/delve/service/debugger/debugger_darwin.go
generated
vendored
Normal file
15
vendor/github.com/derekparker/delve/service/debugger/debugger_darwin.go
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
package debugger
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
sys "golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
func attachErrorMessage(pid int, err error) error {
|
||||
//TODO: mention certificates?
|
||||
return fmt.Errorf("could not attach to pid %d: %s", pid, err)
|
||||
}
|
||||
|
||||
func stopProcess(pid int) error {
|
||||
return sys.Kill(pid, sys.SIGSTOP)
|
||||
}
|
Reference in New Issue
Block a user