Do not ask to kill process we spawned

This commit is contained in:
Derek Parker
2015-07-07 09:04:03 -05:00
parent 05517c62c1
commit c1e7f8c45a
4 changed files with 27 additions and 6 deletions

View File

@ -205,6 +205,12 @@ func (c *RPCClient) Stacktrace(goroutineId, depth int) ([]api.Location, error) {
return locations, err
}
func (c *RPCClient) AttachedToExistingProcess() bool {
var answer bool
c.call("AttachedToRunningProcess", nil, &answer)
return answer
}
func (c *RPCClient) url(path string) string {
return fmt.Sprintf("http://%s%s", c.addr, path)
}