From b018c6bc3103886e650da82b7fc1902a0d0e33cb Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Fri, 19 Jun 2015 08:08:25 -0500 Subject: [PATCH] Update thread.Continue documentation --- proc/threads.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/proc/threads.go b/proc/threads.go index d20d4b1f..c22c1b8b 100644 --- a/proc/threads.go +++ b/proc/threads.go @@ -36,10 +36,11 @@ type Location struct { Fn *gosym.Func } -// Continue the execution of this thread. This method takes -// software breakpoints into consideration and ensures that -// we step over any breakpoints. It will restore the instruction, -// step, and then restore the breakpoint and continue. +// Continue the execution of this thread. +// +// If we are currently at a breakpoint, we'll clear it +// first and then resume execution. Thread will continue until +// it hits a breakpoint or is signaled. func (thread *Thread) Continue() error { pc, err := thread.PC() if err != nil { -- GitLab