Update thread.Continue documentation

This commit is contained in:
Derek Parker
2015-06-19 08:08:25 -05:00
parent 1201b3201d
commit b018c6bc31

View File

@ -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 {